修复新增人员手机号未保存问题

This commit is contained in:
gaoben 2024-09-02 13:48:04 +08:00
parent 33a56b7d95
commit a455bff335
1 changed files with 2 additions and 0 deletions

View File

@ -1815,6 +1815,7 @@ public class HttpApiController {
String appKey = jsonContent.getString("appKey"); String appKey = jsonContent.getString("appKey");
String timestamp = jsonContent.getString("timestamp"); String timestamp = jsonContent.getString("timestamp");
String sign = jsonContent.getString("sign"); String sign = jsonContent.getString("sign");
String mobile = jsonContent.getString("mobile");
//鉴权 //鉴权
R res = authService.auth(sn,appKey,timestamp,sign); R res = authService.auth(sn,appKey,timestamp,sign);
if((Integer) res.get("code") != 0){ if((Integer) res.get("code") != 0){
@ -1893,6 +1894,7 @@ public class HttpApiController {
personEntity.setStatus(Constant.PESON_SUATUS_NOMOR); personEntity.setStatus(Constant.PESON_SUATUS_NOMOR);
personEntity.setCreateTime(now); personEntity.setCreateTime(now);
personEntity.setLastUpdateTime(now); personEntity.setLastUpdateTime(now);
personEntity.setMobile(mobile);
personEntity.setCellId(deviceEntity.getCellId()); personEntity.setCellId(deviceEntity.getCellId());