|
@@ -78,7 +78,7 @@ public class WmScorePackageSettleNoteController {
|
|
*/
|
|
*/
|
|
@ApiOperation(value = "分页查询任务+结算信息", notes = "分页查询任务+结算信息")
|
|
@ApiOperation(value = "分页查询任务+结算信息", notes = "分页查询任务+结算信息")
|
|
@GetMapping("/settle/page")
|
|
@GetMapping("/settle/page")
|
|
- public R getWmTaskForSettlePage(Page page, WmScorePackageSettleNote note) {
|
|
|
|
|
|
+ public R getWmTaskForSettlePage(Page page, WmScorePackageSettleNote note, String[] settleStatusArr) {
|
|
if (StringUtils.isEmpty(note.getPackageId())) {
|
|
if (StringUtils.isEmpty(note.getPackageId())) {
|
|
return R.failed("参数异常");
|
|
return R.failed("参数异常");
|
|
}
|
|
}
|
|
@@ -93,7 +93,7 @@ public class WmScorePackageSettleNoteController {
|
|
|
|
|
|
WmScorePackage scorePackage = wmScorePackageService.getById(note.getPackageId());
|
|
WmScorePackage scorePackage = wmScorePackageService.getById(note.getPackageId());
|
|
if (PackageTypeEnum.TYPE1_SCORE_AND_TASK_PACKAGE.val().equals(scorePackage.getPackageType1())) {
|
|
if (PackageTypeEnum.TYPE1_SCORE_AND_TASK_PACKAGE.val().equals(scorePackage.getPackageType1())) {
|
|
- IPage<WmTaskSettleNoteOutput> settlePage2 = wmScorePackageSettleNoteService.getWmTaskForSettlePage2(page, note);
|
|
|
|
|
|
+ IPage<WmTaskSettleNoteOutput> settlePage2 = wmScorePackageSettleNoteService.getWmTaskForSettlePage2(page, note, settleStatusArr);
|
|
settlePage2.getRecords().forEach(output -> {
|
|
settlePage2.getRecords().forEach(output -> {
|
|
if (output.getSubjectLocation() != null) {
|
|
if (output.getSubjectLocation() != null) {
|
|
output.setSubjectLocationName(output.getSubjectLocation().getDescription());
|
|
output.setSubjectLocationName(output.getSubjectLocation().getDescription());
|
|
@@ -102,7 +102,7 @@ public class WmScorePackageSettleNoteController {
|
|
return R.ok(settlePage2);
|
|
return R.ok(settlePage2);
|
|
}
|
|
}
|
|
|
|
|
|
- IPage<WmTaskSettleNoteOutput> settlePage = wmScorePackageSettleNoteService.getWmTaskForSettlePage(page, note);
|
|
|
|
|
|
+ IPage<WmTaskSettleNoteOutput> settlePage = wmScorePackageSettleNoteService.getWmTaskForSettlePage(page, note, settleStatusArr);
|
|
settlePage.getRecords().forEach(output -> {
|
|
settlePage.getRecords().forEach(output -> {
|
|
if (output.getSubjectLocation() != null) {
|
|
if (output.getSubjectLocation() != null) {
|
|
output.setSubjectLocationName(output.getSubjectLocation().getDescription());
|
|
output.setSubjectLocationName(output.getSubjectLocation().getDescription());
|