Browse Source

fix: 修复警员手机号查询

master
wxc 4 months ago
parent
commit
52a095d903
  1. 4
      src/main/java/com/biutag/supervision/service/SupPoliceService.java

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

@ -45,7 +45,7 @@ public class SupPoliceService extends ServiceImpl<SupPoliceMapper, SupPolice> {
.like(StrUtil.isNotBlank(param.getName()), "p.name", StrUtil.trim(param.getName())); .like(StrUtil.isNotBlank(param.getName()), "p.name", StrUtil.trim(param.getName()));
queryWrapper.like(StrUtil.isNotBlank(param.getIdCode()), "p.id_code", StrUtil.trim(param.getIdCode())); queryWrapper.like(StrUtil.isNotBlank(param.getIdCode()), "p.id_code", StrUtil.trim(param.getIdCode()));
queryWrapper.like(StrUtil.isNotBlank(param.getEmpNo()), "p.emp_no", StrUtil.trim(param.getEmpNo())); queryWrapper.like(StrUtil.isNotBlank(param.getEmpNo()), "p.emp_no", StrUtil.trim(param.getEmpNo()));
queryWrapper.like(StrUtil.isNotBlank(param.getPhone()), "p.phone", StrUtil.trim(param.getPhone())); queryWrapper.like(StrUtil.isNotBlank(param.getPhone()), "p.mobile", StrUtil.trim(param.getPhone()));
if (StrUtil.isNotBlank(param.getDepartId())) { if (StrUtil.isNotBlank(param.getDepartId())) {
if (Objects.nonNull(param.getDepartBranch()) && param.getDepartBranch()) { if (Objects.nonNull(param.getDepartBranch()) && param.getDepartBranch()) {
List<String> orgIds = departService.getAllNodeIds(param.getDepartId()); List<String> orgIds = departService.getAllNodeIds(param.getDepartId());
@ -90,7 +90,7 @@ public class SupPoliceService extends ServiceImpl<SupPoliceMapper, SupPolice> {
.like(StrUtil.isNotBlank(param.getName()), "p.name", StrUtil.trim(param.getName())); .like(StrUtil.isNotBlank(param.getName()), "p.name", StrUtil.trim(param.getName()));
queryWrapper.like(StrUtil.isNotBlank(param.getIdCode()), "p.id_code", StrUtil.trim(param.getIdCode())); queryWrapper.like(StrUtil.isNotBlank(param.getIdCode()), "p.id_code", StrUtil.trim(param.getIdCode()));
queryWrapper.like(StrUtil.isNotBlank(param.getEmpNo()), "p.emp_no", StrUtil.trim(param.getEmpNo())); queryWrapper.like(StrUtil.isNotBlank(param.getEmpNo()), "p.emp_no", StrUtil.trim(param.getEmpNo()));
queryWrapper.like(StrUtil.isNotBlank(param.getPhone()), "p.phone", StrUtil.trim(param.getPhone())); queryWrapper.like(StrUtil.isNotBlank(param.getPhone()), "p.mobile", StrUtil.trim(param.getPhone()));
if (StrUtil.isNotBlank(param.getDepartId())) { if (StrUtil.isNotBlank(param.getDepartId())) {
if (Objects.nonNull(param.getDepartBranch()) && param.getDepartBranch()) { if (Objects.nonNull(param.getDepartBranch()) && param.getDepartBranch()) {
List<String> orgIds = departService.getAllNodeIds(param.getDepartId()); List<String> orgIds = departService.getAllNodeIds(param.getDepartId());

Loading…
Cancel
Save