Commit 580fc63d authored by hongguangwu's avatar hongguangwu

EKP1.7.1-hgw-权限

parent 101205ab
......@@ -475,7 +475,7 @@ public class SysUserPermissionServiceImpl extends ServiceImpl<SysUserPermissionM
.eq(SysUserPermission::getEmpLoginName, sysUserPermission.getEmpLoginName())
.eq(SysUserPermission::getPermissionType, sysUserPermission.getPermissionType())
.eq(SysUserPermission::getCode, sysUserPermission.getCode()).last(CommonConstants.LAST_ONE_SQL));
if (Common.isEmpty(permission) && Common.isEmpty(permission.getId())) {
if (permission == null || Common.isEmpty(permission) || Common.isEmpty(permission.getId())) {
this.save(sysUserPermission);
}
}
......
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