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 7180c2d5
authored
May 10, 2026
by
zhoulm
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 修改商品详情比较逻辑中的字段匹配条件
将商品详情比较逻辑中的匹配字段从upgradeGoodsId改为merchantGoodsCode,以符合业务需求
1 parent
3170f302
Show 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/GoodsListingProductDetailService.java
rpc-dj-goods-listing/src/main/java/cn/com/glsx/dj/goods/listing/service/GoodsListingProductDetailService.java
View file @
7180c2d
...
@@ -139,7 +139,7 @@ public class GoodsListingProductDetailService {
...
@@ -139,7 +139,7 @@ public class GoodsListingProductDetailService {
new
CompareResultHandler
<
GoodsListingProductDetailDTO
>()
{
new
CompareResultHandler
<
GoodsListingProductDetailDTO
>()
{
@Override
@Override
public
boolean
equals
(
GoodsListingProductDetailDTO
v
,
GoodsListingProductDetailDTO
item
)
{
public
boolean
equals
(
GoodsListingProductDetailDTO
v
,
GoodsListingProductDetailDTO
item
)
{
return
Objects
.
equals
(
v
.
get
UpgradeGoodsId
(),
item
.
getUpgradeGoodsId
());
return
Objects
.
equals
(
v
.
get
MerchantGoodsCode
(),
item
.
getMerchantGoodsCode
());
}
}
@Override
@Override
...
...
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