Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-dj-goods-listing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b54cce4c
authored
May 10, 2026
by
zhoulm
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 修正错误枚举值从SERVICE_ERROR到SERVER_ERROR
1 parent
37e89119
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
rpc-dj-goods-listing/src/main/java/cn/com/glsx/dj/goods/listing/service/GoodsListingProductBaseService.java
rpc-dj-goods-listing/src/main/java/cn/com/glsx/dj/goods/listing/service/GoodsListingProductBaseService.java
View file @
b54cce4
...
...
@@ -282,7 +282,7 @@ public class GoodsListingProductBaseService {
RpcAssert
.
assertNotNull
(
o
.
getUpgradeGoodsId
(),
DefaultErrorEnum
.
DATA_NULL
,
"升级商品ID is null"
);
RpcAssert
.
assertNotNull
(
o
.
getSellPrice
(),
DefaultErrorEnum
.
DATA_NULL
,
"销售价格 is null"
);
RpcAssert
.
assertNotNull
(
o
.
getMinSellPrice
(),
DefaultErrorEnum
.
DATA_NULL
,
"最低销售价格 is null"
);
RpcAssert
.
assertIsTrue
(
o
.
getSellPrice
().
compareTo
(
o
.
getMinSellPrice
())
>=
0
,
DefaultErrorEnum
.
SERV
ICE
_ERROR
,
"最低售价不得大于售价"
);
RpcAssert
.
assertIsTrue
(
o
.
getSellPrice
().
compareTo
(
o
.
getMinSellPrice
())
>=
0
,
DefaultErrorEnum
.
SERV
ER
_ERROR
,
"最低售价不得大于售价"
);
RpcAssert
.
assertNotNull
(
o
.
getInventoryType
(),
DefaultErrorEnum
.
DATA_NULL
,
"库存模式 is null"
);
if
(
isScene0
)
{
RpcAssert
.
assertNotNull
(
o
.
getThirdPartyCost
(),
DefaultErrorEnum
.
DATA_NULL
,
"第三方成本 is null"
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment