员工信息新增增加返回人员id
This commit is contained in:
parent
4d88351a0d
commit
c2157c0d87
|
|
@ -56,6 +56,10 @@ public class SyncRzglPersonInfo implements EsbServerlessRpcRemoteInterface {
|
|||
log.error("SyncRzglPersonInfo.map:{}", map);
|
||||
//2.查询员工信息表字段
|
||||
//更新入职类型判断新增还是更新
|
||||
/**
|
||||
* 新增返回的人员id
|
||||
*/
|
||||
String ryid = "";
|
||||
if("0".equalsIgnoreCase(rzlx)){
|
||||
//新增
|
||||
if(!map.isEmpty()){
|
||||
|
|
@ -63,7 +67,7 @@ public class SyncRzglPersonInfo implements EsbServerlessRpcRemoteInterface {
|
|||
cleanUpTime(map);
|
||||
code = insert("uf_jcl_employee_information",map);
|
||||
log.error("SyncRzglPersonInfo.code:{}", code);
|
||||
|
||||
ryid = String.valueOf(map.get("id"));
|
||||
/**
|
||||
* 员工信息明细表数据同步处理
|
||||
*/
|
||||
|
|
@ -111,6 +115,7 @@ public class SyncRzglPersonInfo implements EsbServerlessRpcRemoteInterface {
|
|||
}
|
||||
//判断新增/更新数据是否都成功
|
||||
if(code==200){
|
||||
result.put("ryid",ryid);
|
||||
result.put("code",200);
|
||||
result.put("msg","更新员工信息表数据成功!");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue