|
@@ -644,8 +644,8 @@ public class WmPayOffController {
|
|
|
List<Map<String, String>> msgList = new ArrayList<>();
|
|
|
|
|
|
// 获取当日所在月份
|
|
|
- LocalDateTime today = LocalDateTime.now();
|
|
|
- int monthValue = today.getMonthValue();
|
|
|
+// LocalDateTime today = LocalDateTime.now();
|
|
|
+// int monthValue = today.getMonthValue();
|
|
|
|
|
|
for (WmScorePackageSettleInput input : inputList) {
|
|
|
|
|
@@ -660,10 +660,10 @@ public class WmPayOffController {
|
|
|
Map<String, Object> queryData = (Map<String, Object>) queryR.getData();
|
|
|
List<WmScorePackageSettleNote> notes = (List<WmScorePackageSettleNote>) queryData.get("notes");
|
|
|
|
|
|
- Optional<WmScorePackageSettleNote> checkMonthOpt = notes.stream().filter(note -> note.getSubTime() == null || note.getSubTime().getMonthValue() != monthValue).findAny();
|
|
|
- if (checkMonthOpt.isPresent()) {
|
|
|
- return R.failed("不支持结算非当月提交记录,请回退并重新提交后重试");
|
|
|
- }
|
|
|
+// Optional<WmScorePackageSettleNote> checkMonthOpt = notes.stream().filter(note -> note.getSubTime() == null || note.getSubTime().getMonthValue() != monthValue).findAny();
|
|
|
+// if (checkMonthOpt.isPresent()) {
|
|
|
+// return R.failed("不支持结算非当月提交记录,请回退并重新提交后重试");
|
|
|
+// }
|
|
|
|
|
|
input.setNotes(notes);
|
|
|
// 调用单个结算
|