Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
iClear-Connect-Pre-Clearance
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
tao.mo
2024-12-20 18:09:24 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
517afd84d5adf6a6b66e98d4398aabf715ce200c
517afd84
1 parent
61b3ede3
biz-customer、kafka-cdnc-server | 修改 | 处理事务不生效问题
mt 2024年12月20日18:09:19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
server/biz-customer/src/main/java/com/fedex/connect/customer/enums/ResponseCode.java
server/biz-customer/src/main/java/com/fedex/connect/customer/util/service/biz/ConsignmentUtil.java
server/biz-customer/src/main/java/com/fedex/connect/customer/enums/ResponseCode.java
View file @
517afd8
...
...
@@ -35,6 +35,7 @@ public enum ResponseCode {
MESSAGE_CODE_30015
(
30015
,
"business_success_30015"
),
MESSAGE_CODE_30016
(
30016
,
"business_exception_30016"
),
MESSAGE_CODE_30017
(
30017
,
"business_exception_30017"
),
MESSAGE_CODE_30018
(
30018
,
"business_exception_30018"
),
/******打个样,编写样例*****/
// MESSAGE_CODE_30001(30001,"business_exception_30001"),
...
...
server/biz-customer/src/main/java/com/fedex/connect/customer/util/service/biz/ConsignmentUtil.java
View file @
517afd8
...
...
@@ -232,7 +232,7 @@ public class ConsignmentUtil {
//增加行级锁
consignmentRepository
.
lockConsignmentRow
(
consignment
.
getId
());
}
catch
(
Exception
ex
){
responseUtils
.
fail
(
ResponseCode
.
MESSAGE_CODE_3001
7
,
ex
);
responseUtils
.
fail
(
ResponseCode
.
MESSAGE_CODE_3001
8
,
ex
);
}
}
/**
...
...
Please
register
or
login
to post a comment