Commit dac636c8 by qwmqiuwenmin

fix

parent 07806183
......@@ -240,7 +240,9 @@ public class StaffApiServiceImpl implements StaffApiService {
departmentIds += tabHaobanStaffDepartmentRelated.getDepartmentId() + ",";
}
}
departmentIds = departmentIds.substring(0,departmentIds.length() - 1);
if(StringUtils.isNotBlank(departmentIds)){
departmentIds = departmentIds.substring(0,departmentIds.length() - 1);
}
TabHaobanStaff staff = staffService.selectById(relatedList.get(0).getStaffId());
staffEdit(EntityUtil.changeEntityByJSON(StaffDTO.class, staff), departmentIds);
}
......
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