记得上下班打卡 | 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
cf058708
Commit
cf058708
authored
May 07, 2026
by
姜秀龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sqb 关联商品售价错误修复
parent
7c8b5759
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
GoblinSqbPerfLinkedGoodsVo.java
...net/service/goblin/dto/vo/GoblinSqbPerfLinkedGoodsVo.java
+2
-2
index.html
...n/resources/templates/zhengzai/goblin/sqbGoods/index.html
+2
-1
SqbPerformanceGoodsServiceImpl.java
...i/goblin/service/impl/SqbPerformanceGoodsServiceImpl.java
+1
-1
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/GoblinSqbPerfLinkedGoodsVo.java
View file @
cf058708
...
...
@@ -28,8 +28,8 @@ public class GoblinSqbPerfLinkedGoodsVo implements Serializable {
@ApiModelProperty
(
value
=
"商品头图(本地)"
)
private
String
coverPic
;
@ApiModelProperty
(
value
=
"商品售价(
分,本地
)"
)
private
Long
price
;
@ApiModelProperty
(
value
=
"商品售价(
元,与 goblin_goods_sku.price 一致
)"
)
private
BigDecimal
price
;
@ApiModelProperty
(
value
=
"商品库存(本地)"
)
private
Integer
stock
;
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/goblin/sqbGoods/index.html
View file @
cf058708
...
...
@@ -141,7 +141,8 @@
}
var
html
=
''
;
linkedGoods
.
forEach
(
function
(
item
,
idx
)
{
var
priceYuan
=
item
.
price
?
(
item
.
price
/
100
).
toFixed
(
2
)
:
'-'
;
// 与接口一致:price 已为「元」(BigDecimal 序列化),不再按「分」/100
var
priceYuan
=
(
item
.
price
!=
null
&&
item
.
price
!==
''
)
?
Number
(
item
.
price
).
toFixed
(
2
)
:
'-'
;
var
settlementVal
=
item
.
settlementPrice
||
''
;
var
imgHtml
=
item
.
coverPic
?
'<img src="'
+
item
.
coverPic
+
'" class="img-thumb"/>'
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/goblin/service/impl/SqbPerformanceGoodsServiceImpl.java
View file @
cf058708
...
...
@@ -214,7 +214,7 @@ public class SqbPerformanceGoodsServiceImpl implements ISqbPerformanceGoodsServi
vo
.
setSkuName
(
sku
.
getName
());
vo
.
setSpuName
(
sku
.
getName
());
vo
.
setCoverPic
(
sku
.
getSkuPic
());
vo
.
setPrice
(
sku
.
getPrice
()
!=
null
?
sku
.
getPrice
().
longValue
()
:
null
);
vo
.
setPrice
(
sku
.
getPrice
());
vo
.
setStock
(
sku
.
getSkuStock
());
}
goodsList
.
add
(
vo
);
...
...
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