|
|
|
@ -170,7 +170,7 @@ public class Job { |
|
|
|
SupPolice police = policeService.getByIdCode(item.getGmsfhm()); |
|
|
|
SupPolice police = policeService.getByIdCode(item.getGmsfhm()); |
|
|
|
if (Objects.nonNull(police)) { |
|
|
|
if (Objects.nonNull(police)) { |
|
|
|
// 警号
|
|
|
|
// 警号
|
|
|
|
apply.setApplicantEmpName(police.getEmpNo()); |
|
|
|
apply.setApplicantEmpNo(police.getEmpNo()); |
|
|
|
rpcApply.setApplicantEmpNo(police.getEmpNo()); |
|
|
|
rpcApply.setApplicantEmpNo(police.getEmpNo()); |
|
|
|
|
|
|
|
|
|
|
|
RpcPerson person = new RpcPerson(); |
|
|
|
RpcPerson person = new RpcPerson(); |
|
|
|
@ -184,8 +184,10 @@ public class Job { |
|
|
|
person.setName(police.getName()); |
|
|
|
person.setName(police.getName()); |
|
|
|
if(!police.getOrgId().isEmpty()){ |
|
|
|
if(!police.getOrgId().isEmpty()){ |
|
|
|
person.setDepartId(police.getOrgId()); |
|
|
|
person.setDepartId(police.getOrgId()); |
|
|
|
|
|
|
|
apply.setDepartId(police.getOrgId()); |
|
|
|
SupDepart departs = departService.getOne(new LambdaQueryWrapper<SupDepart>().eq(SupDepart::getId,police.getOrgId())); |
|
|
|
SupDepart departs = departService.getOne(new LambdaQueryWrapper<SupDepart>().eq(SupDepart::getId,police.getOrgId())); |
|
|
|
person.setDepartName(departs.getShortName()); |
|
|
|
person.setDepartName(departs.getShortName()); |
|
|
|
|
|
|
|
apply.setDepartName(departs.getShortName()); |
|
|
|
} |
|
|
|
} |
|
|
|
rpcPersonService.saveOrUpdate(person); |
|
|
|
rpcPersonService.saveOrUpdate(person); |
|
|
|
|
|
|
|
|
|
|
|
|