记得上下班打卡 | git大法好,push需谨慎

Commit f572b6be authored by Tice's avatar Tice

bug fix

parent 171e0c30
......@@ -68,7 +68,7 @@ public class MerchantAuthorizationRecordsServiceImpl implements IMerchantAuthori
// 目前仅授权 验票 统计
if (cuid.equals(parameter.getUid())) {
// 无授权权限
// 不能授权自己权限
ErrorMapping.ErrorMessage errorMessage = ErrorMapping.get("13304");
throw new LiquidnetServiceException(errorMessage.getCode(), errorMessage.getMessage());
}
......@@ -83,8 +83,8 @@ public class MerchantAuthorizationRecordsServiceImpl implements IMerchantAuthori
}
}
if (null == checkPermissionParam && null == salesPermissionParam) {
// 授权权限
ErrorMapping.ErrorMessage errorMessage = ErrorMapping.get("13301");
// 至少选择一个授权权限
ErrorMapping.ErrorMessage errorMessage = ErrorMapping.get("13305");
throw new LiquidnetServiceException(errorMessage.getCode(), errorMessage.getMessage());
}
// 获取最大权限角色
......@@ -233,7 +233,7 @@ public class MerchantAuthorizationRecordsServiceImpl implements IMerchantAuthori
if (null == authorizationPerformanceVo) {
return null;
}
if (!CollectionUtil.isEmpty(authorizationPerformanceVo.getUidRoles())) {
if (CollectionUtil.isEmpty(authorizationPerformanceVo.getUidRoles())) {
return null;
}
......
......@@ -33,6 +33,7 @@
13302=无权限授于统计权限
13303=授权时间有误
13304=不能授权自己权限
13305=至少选择一个授权权限
......
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