记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
f572b6be
Commit
f572b6be
authored
Dec 01, 2021
by
Tice
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
171e0c30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
MerchantAuthorizationRecordsServiceImpl.java
...service/impl/MerchantAuthorizationRecordsServiceImpl.java
+4
-4
errors.properties
...ervice-merchant-impl/src/main/resources/errors.properties
+1
-0
No files found.
liquidnet-bus-service/liquidnet-service-merchant/liquidnet-service-merchant-impl/src/main/java/com/liquidnet/service/merchant/service/impl/MerchantAuthorizationRecordsServiceImpl.java
View file @
f572b6be
...
@@ -68,7 +68,7 @@ public class MerchantAuthorizationRecordsServiceImpl implements IMerchantAuthori
...
@@ -68,7 +68,7 @@ public class MerchantAuthorizationRecordsServiceImpl implements IMerchantAuthori
// 目前仅授权 验票 统计
// 目前仅授权 验票 统计
if
(
cuid
.
equals
(
parameter
.
getUid
()))
{
if
(
cuid
.
equals
(
parameter
.
getUid
()))
{
//
无授权
权限
//
不能授权自己
权限
ErrorMapping
.
ErrorMessage
errorMessage
=
ErrorMapping
.
get
(
"13304"
);
ErrorMapping
.
ErrorMessage
errorMessage
=
ErrorMapping
.
get
(
"13304"
);
throw
new
LiquidnetServiceException
(
errorMessage
.
getCode
(),
errorMessage
.
getMessage
());
throw
new
LiquidnetServiceException
(
errorMessage
.
getCode
(),
errorMessage
.
getMessage
());
}
}
...
@@ -83,8 +83,8 @@ public class MerchantAuthorizationRecordsServiceImpl implements IMerchantAuthori
...
@@ -83,8 +83,8 @@ public class MerchantAuthorizationRecordsServiceImpl implements IMerchantAuthori
}
}
}
}
if
(
null
==
checkPermissionParam
&&
null
==
salesPermissionParam
)
{
if
(
null
==
checkPermissionParam
&&
null
==
salesPermissionParam
)
{
//
无
授权权限
//
至少选择一个
授权权限
ErrorMapping
.
ErrorMessage
errorMessage
=
ErrorMapping
.
get
(
"1330
1
"
);
ErrorMapping
.
ErrorMessage
errorMessage
=
ErrorMapping
.
get
(
"1330
5
"
);
throw
new
LiquidnetServiceException
(
errorMessage
.
getCode
(),
errorMessage
.
getMessage
());
throw
new
LiquidnetServiceException
(
errorMessage
.
getCode
(),
errorMessage
.
getMessage
());
}
}
// 获取最大权限角色
// 获取最大权限角色
...
@@ -233,7 +233,7 @@ public class MerchantAuthorizationRecordsServiceImpl implements IMerchantAuthori
...
@@ -233,7 +233,7 @@ public class MerchantAuthorizationRecordsServiceImpl implements IMerchantAuthori
if
(
null
==
authorizationPerformanceVo
)
{
if
(
null
==
authorizationPerformanceVo
)
{
return
null
;
return
null
;
}
}
if
(
!
CollectionUtil
.
isEmpty
(
authorizationPerformanceVo
.
getUidRoles
()))
{
if
(
CollectionUtil
.
isEmpty
(
authorizationPerformanceVo
.
getUidRoles
()))
{
return
null
;
return
null
;
}
}
...
...
liquidnet-bus-service/liquidnet-service-merchant/liquidnet-service-merchant-impl/src/main/resources/errors.properties
View file @
f572b6be
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
13302
=
无权限授于统计权限
13302
=
无权限授于统计权限
13303
=
授权时间有误
13303
=
授权时间有误
13304
=
不能授权自己权限
13304
=
不能授权自己权限
13305
=
至少选择一个授权权限
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment