修改 绑定身份证 结果返回值
parent
289c978282
commit
f5d177c552
|
@ -54,6 +54,7 @@ public class SysIdCardServiceImpl implements SysIdCardService {
|
||||||
String address = (String) faceMap.get("address");
|
String address = (String) faceMap.get("address");
|
||||||
String birthday = (String) faceMap.get("birth");
|
String birthday = (String) faceMap.get("birth");
|
||||||
String name = (String) faceMap.get("name");
|
String name = (String) faceMap.get("name");
|
||||||
|
System.out.println("身份证真实姓名是"+name);
|
||||||
String sex = (String) faceMap.get("sex");
|
String sex = (String) faceMap.get("sex");
|
||||||
String nation = (String) faceMap.get("nationality");
|
String nation = (String) faceMap.get("nationality");
|
||||||
String num = (String) faceMap.get("num");
|
String num = (String) faceMap.get("num");
|
||||||
|
@ -76,6 +77,7 @@ public class SysIdCardServiceImpl implements SysIdCardService {
|
||||||
idCard.setIssueOffice(issueOffice);
|
idCard.setIssueOffice(issueOffice);
|
||||||
idCard.setAddress(address);
|
idCard.setAddress(address);
|
||||||
idCard.setUserId(SecurityUtils.getUserId());
|
idCard.setUserId(SecurityUtils.getUserId());
|
||||||
|
System.out.println(idCard);
|
||||||
return sysIdCardMapper.insertIdCard(idCard)>0;
|
return sysIdCardMapper.insertIdCard(idCard)>0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,9 @@
|
||||||
<if test="sex!=null and sex!=''" >
|
<if test="sex!=null and sex!=''" >
|
||||||
sex,
|
sex,
|
||||||
</if>
|
</if>
|
||||||
|
<if test="name!=null and name!=''" >
|
||||||
|
name,
|
||||||
|
</if>
|
||||||
<if test="nation!=null and nation!=''" >
|
<if test="nation!=null and nation!=''" >
|
||||||
nation,
|
nation,
|
||||||
</if>
|
</if>
|
||||||
|
@ -36,6 +39,9 @@
|
||||||
<if test="sex!=null and sex!=''" >
|
<if test="sex!=null and sex!=''" >
|
||||||
#{sex},
|
#{sex},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="name!=null and name!=''" >
|
||||||
|
#{name},
|
||||||
|
</if>
|
||||||
<if test="nation!=null and nation!=''" >
|
<if test="nation!=null and nation!=''" >
|
||||||
#{nation},
|
#{nation},
|
||||||
</if>
|
</if>
|
||||||
|
|
Loading…
Reference in New Issue