diff --git a/jero-boot-incoming-payment/src/main/java/com/jero/project/controller/PayWorkingGroupSubItemController.java b/jero-boot-incoming-payment/src/main/java/com/jero/project/controller/PayWorkingGroupSubItemController.java index 43780358..0c9ebf08 100644 --- a/jero-boot-incoming-payment/src/main/java/com/jero/project/controller/PayWorkingGroupSubItemController.java +++ b/jero-boot-incoming-payment/src/main/java/com/jero/project/controller/PayWorkingGroupSubItemController.java @@ -145,11 +145,12 @@ public class PayWorkingGroupSubItemController extends JeroController getCharge(@RequestParam(name = "ids") String ids) { + public Result getCharge(@RequestParam(name = "ids") String ids,@RequestParam(name = "workingGroupId") String workingGroupId) { if(StringUtils.isBlank(ids)){ return Result.error("id不能为空!"); } @@ -161,6 +162,7 @@ public class PayWorkingGroupSubItemController extends JeroController query = new LambdaQueryWrapper<>(); query.in(PayWorkingGroupSubItem::getId,Arrays.asList(ids.split(","))); + query.eq(PayWorkingGroupSubItem::getWorkingGroupId,workingGroupId); List list = payWorkingGroupSubItemService.list(); if(!CollectionUtils.isEmpty(list)){ List listNew = list.stream().filter(p->!Objects.equals(p.getChargeWay(),PayProjectCommon.CHARGE_WAY3)).collect(Collectors.toList());