Browse Source

fix--维权抚慰查询支持二级查三级

master
buaixuexideshitongxue 3 weeks ago
parent
commit
97e7a9cc16
  1. 4
      src/main/java/com/biutag/supervision/service/RpcApplyService.java

4
src/main/java/com/biutag/supervision/service/RpcApplyService.java

@ -76,7 +76,7 @@ public class RpcApplyService extends ServiceImpl<RpcApplyMapper, RpcApply> {
}
}
queryWrapper.like(StrUtil.isNotBlank(queryParam.getApplicantEmpName()), "a.applicant_emp_name", queryParam.getApplicantEmpName())
.eq(StrUtil.isNotBlank(queryParam.getDepartId()), "a.depart_id", queryParam.getDepartId())
.in(StrUtil.isNotBlank(queryParam.getDepartId()), "a.depart_id",departService.getAllNodeIds(queryParam.getDepartId()))
.eq("a.type", type)
.eq(StrUtil.isNotBlank(queryParam.getRpcStatus()), "a.rpc_status", queryParam.getRpcStatus())
.orderByDesc("a.crt_time");
@ -114,7 +114,7 @@ public class RpcApplyService extends ServiceImpl<RpcApplyMapper, RpcApply> {
}
}
queryWrapper.like(StrUtil.isNotBlank(queryParam.getApplicantEmpName()), "a.applicant_emp_name", queryParam.getApplicantEmpName())
.eq(StrUtil.isNotBlank(queryParam.getDepartId()), "a.depart_id", queryParam.getDepartId())
.in(StrUtil.isNotBlank(queryParam.getDepartId()), "a.depart_id",departService.getAllNodeIds(queryParam.getDepartId()))
.eq("a.type", type)
.eq(StrUtil.isNotBlank(queryParam.getCaseType()),"a.case_type",queryParam.getCaseType())
.like(StrUtil.isNotBlank(queryParam.getCaseCategory()),"a.case_category",queryParam.getCaseCategory())

Loading…
Cancel
Save