1
This commit is contained in:
parent
fb3c3b44f1
commit
76cf1cfc2b
@ -298,6 +298,8 @@ public class SysStaffServiceImpl extends ServiceImpl<SysStaffMapper, SysStaff> i
|
||||
JSONObject deptObject = JSONObject.parseObject(deptResult).getJSONObject("result");
|
||||
String deptName = deptObject.getString("name");
|
||||
dept = deptMapper.selectByName(deptName);
|
||||
dept.setDingId(dingDeptId);
|
||||
deptMapper.updateById(dept);
|
||||
if(dept != null){
|
||||
return dept.getDeptId()+"_"+dept.getAncestors();
|
||||
}else{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user