|
@@ -954,10 +954,10 @@ public class OwnCompanyManageController extends BaseController
|
|
|
for(SysUserCompanyRel sysUserCompanyRel : relList) {
|
|
|
Long userId = sysUserCompanyRel.getSucrUserId();
|
|
|
Long deptId = sysUserCompanyRel.getSucrDeptId();
|
|
|
-// Map<String, Object> flowableRes = flowableService.deleteFlowableUserGroup(String.valueOf(userId), String.valueOf(deptId));
|
|
|
-// if (!"200".equals(flowableRes.get("code"))) {
|
|
|
-// throw new Exception("审批数据删除部门分组失败!");
|
|
|
-// }
|
|
|
+ Map<String, Object> flowableRes = flowableService.deleteFlowableUserGroup(String.valueOf(userId), String.valueOf(deptId));
|
|
|
+ if (!"200".equals(flowableRes.get("code"))) {
|
|
|
+ throw new Exception("审批数据删除部门分组失败!");
|
|
|
+ }
|
|
|
}
|
|
|
return R.ok();
|
|
|
}
|