nnnn
This commit is contained in:
@@ -4,3 +4,5 @@ ALTER TABLE cai_pay_trd_config
|
|||||||
-- 2025-11-25
|
-- 2025-11-25
|
||||||
ALTER TABLE cai_goods
|
ALTER TABLE cai_goods
|
||||||
ADD COLUMN `wx_amount` int default 0 not null comment '微信钻石';
|
ADD COLUMN `wx_amount` int default 0 not null comment '微信钻石';
|
||||||
|
update cai_goods
|
||||||
|
set wx_amount = amount;
|
||||||
|
|||||||
@@ -69,7 +69,8 @@ public class SettingAppController {
|
|||||||
.eq(Goods::getStatus,0)
|
.eq(Goods::getStatus,0)
|
||||||
.orderByAsc(Goods::getPrice));
|
.orderByAsc(Goods::getPrice));
|
||||||
list.forEach(i -> {
|
list.forEach(i -> {
|
||||||
i.setAliAmountDiff(i.getAmount() - i.getWxAmount());
|
// i.setAliAmountDiff(i.getAmount() - i.getWxAmount());
|
||||||
|
i.setAliAmountDiff(0L);
|
||||||
});
|
});
|
||||||
vo.setGoods(list);
|
vo.setGoods(list);
|
||||||
return R.ok(vo);
|
return R.ok(vo);
|
||||||
|
|||||||
Reference in New Issue
Block a user