Ver código fonte

打款表分页 归属公司查询bug

24282 2 anos atrás
pai
commit
bffbcd047d

+ 1 - 1
hx-account/src/main/java/com/fjhx/account/service/account/impl/AccountPaymentServiceImpl.java

@@ -73,7 +73,7 @@ public class AccountPaymentServiceImpl extends ServiceImpl<AccountPaymentMapper,
         // 归属公司
         wrapper.eq(ObjectUtil.isNotEmpty(dto.getCorporationId()), "ap.corporation_id", dto.getCorporationId());
         // 归属部门
-        wrapper.eq(ObjectUtil.isNotEmpty(dto.getDepartmentId()), "ap.corporation_id", dto.getDepartmentId());
+        wrapper.eq(ObjectUtil.isNotEmpty(dto.getDepartmentId()), "ap.department_id", dto.getDepartmentId());
         // 申请人
         wrapper.eq(ObjectUtil.isNotEmpty(dto.getCreateUser()), "ap.create_user", dto.getCreateUser());
         // 打款类型