From fb446c34d8f1413f8a373cf3ca6e9a7ada385953 Mon Sep 17 00:00:00 2001 From: pengwei Date: Wed, 29 Oct 2025 18:25:21 +0800 Subject: [PATCH] =?UTF-8?q?fiex:=E8=A1=A5=E5=85=85=E6=80=A7=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/biutag/supervision/job/Job.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/biutag/supervision/job/Job.java b/src/main/java/com/biutag/supervision/job/Job.java index 3866701..5c263e2 100644 --- a/src/main/java/com/biutag/supervision/job/Job.java +++ b/src/main/java/com/biutag/supervision/job/Job.java @@ -618,8 +618,9 @@ public class Job { person.setType(RpcApplyTypeEnum.RIGHTS_PROTECTION.getValue()); person.setEmpNo(victim.getEmpNo()); person.setEmpName(victim.getXm()); + person.setIdCode(victim.getGmsfhm()); if(StrUtil.isNotEmpty(victim.getXbmc()) ){ - person.setGender(victim.getXbmc().split("性")[0]); + person.setGender("1".equals(victim.getXbmc())?"男":"女"); } rpcApplyPersonService.saveOrUpdate(person); }catch (Exception e){