fix: 授权部门非空校验报错
This commit is contained in:
+4
-1
@@ -833,7 +833,10 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
|
||||
|
||||
// 企标授权部门处理
|
||||
if (TableNameEnum.ENTERPRISE_STANDARDS.getValue().equals(module)) {
|
||||
esAuthUserService.resetAuthDept(id, parameterMap.get(FieldCommon.AUTH_DEPT).toString());
|
||||
Object authDept = parameterMap.get(FieldCommon.AUTH_DEPT);
|
||||
if (authDept != null) {
|
||||
esAuthUserService.resetAuthDept(id, parameterMap.get(FieldCommon.AUTH_DEPT).toString());
|
||||
}
|
||||
}
|
||||
|
||||
// 同步es数据库
|
||||
|
||||
Reference in New Issue
Block a user