Commit 8b081ecf by qwmqiuwenmin

fix

parent 2e800e0e
......@@ -148,6 +148,15 @@ public class StaffController extends WebBaseController{
}
String[] staffArr = staffDepartmentRelatedIds.split(",");
for (String string : staffArr) {
StaffDepartmentRelatedDTO related = staffDepartmentRelatedApiService.getByStaffDepartmentRelatedId(string);
if(related == null){
continue;
}
DepartmentDTO department = departmentApiService.selectById(related.getDepartmentId());
if(department.getTempFlag() != null && department.getTempFlag() == 1){
//return resultResponse(HaoBanErrCode.ERR_10014);
continue;
}
staffApiService.del(string);
}
return resultResponse(HaoBanErrCode.ERR_1);
......
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