修复新增人员手机号未保存问题
This commit is contained in:
parent
a455bff335
commit
a2d287dce9
|
@ -1815,7 +1815,7 @@ public class HttpApiController {
|
|||
String appKey = jsonContent.getString("appKey");
|
||||
String timestamp = jsonContent.getString("timestamp");
|
||||
String sign = jsonContent.getString("sign");
|
||||
String mobile = jsonContent.getString("mobile");
|
||||
//String mobile = jsonContent.getString("mobile");
|
||||
//鉴权
|
||||
R res = authService.auth(sn,appKey,timestamp,sign);
|
||||
if((Integer) res.get("code") != 0){
|
||||
|
@ -1882,6 +1882,7 @@ public class HttpApiController {
|
|||
personEntity.setGender(tenPersonJson.getGender());
|
||||
personEntity.setName(tenPersonJson.getName());
|
||||
personEntity.setDeptId(tenPersonJson.getDeptId());
|
||||
personEntity.setMobile(tenPersonJson.getMobile());
|
||||
|
||||
|
||||
Date now = new Date();
|
||||
|
@ -1894,7 +1895,7 @@ public class HttpApiController {
|
|||
personEntity.setStatus(Constant.PESON_SUATUS_NOMOR);
|
||||
personEntity.setCreateTime(now);
|
||||
personEntity.setLastUpdateTime(now);
|
||||
personEntity.setMobile(mobile);
|
||||
|
||||
|
||||
personEntity.setCellId(deviceEntity.getCellId());
|
||||
|
||||
|
|
Loading…
Reference in New Issue