Commit bbe29aae by qwmqiuwenmin

fix

parent c1bb41e7
......@@ -415,9 +415,10 @@ public class StaffApiServiceImpl implements StaffApiService {
}
//不包含,则说明员工删除了该部门
if(!departmentIds.contains(tab1.getDepartmentId())){
logger.info("【员工修改删除部门】tab1.getDepartmentId()={}",tab1.getDepartmentId());
StaffDepartmentRelatedDTO related = EntityUtil.changeEntityByJSON(StaffDepartmentRelatedDTO.class, tab1);
staffDepartmentRelatedService.del(related);
if(org.apache.commons.lang3.StringUtils.isNoneBlank(tab1.getClerkCode())){
if(org.apache.commons.lang3.StringUtils.isNotBlank(tab1.getClerkCode())){
cleanGicClerk(tab1.getClerkCode(), tab1.getDepartmentId());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment