记得上下班打卡 | git大法好,push需谨慎

Commit 404a791e authored by wangyifan's avatar wangyifan

收钱吧商品扩展表增加收钱吧商城名称字段

parent 8723ad53
......@@ -177,3 +177,6 @@ CREATE TABLE `goblin_sqb_order` (
KEY `idx_performances_id` (`performances_id`),
KEY `idx_sqb_acquiring_sn` (`sqb_acquiring_sn`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='收钱吧订单';
-- 2026-5-15 增加收钱吧商城名称字段
ALTER TABLE goblin_sqb_goods_ext ADD sqb_mall_name varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT "" COMMENT '收钱吧商城名称';
......@@ -42,6 +42,11 @@ public class GoblinSqbGoodsExt implements Serializable {
*/
private String mallSn;
/**
* 收钱吧商城名称
*/
private String sqbMallName;
/**
* 商城签名
*/
......
......@@ -254,6 +254,7 @@ public class GoblinStoreMgtSqbGoodsController {
ext.setSpuId(goodsInfoVo.getSpuId());
ext.setSkuId(i < localSkuIds.size() ? localSkuIds.get(i) : null);
ext.setMallSn(sqbGoods.getMallSn());
ext.setSqbMallName(sqbGoods.getMallName());
ext.setSignature(sqbGoods.getSignature());
ext.setSqbSpuId(sqbGoods.getSpuId());
ext.setSqbSkuId(i < sqbSkus.size() ? sqbSkus.get(i).getSkuId() : null);
......
......@@ -521,11 +521,7 @@ public class GoblinStoreMgtGoodsServiceImpl implements IGoblinstoreMgtGoodsServi
goodsInfoVo.setSqbSpuId(ext.getSqbSpuId());
goodsInfoVo.setMallSn(ext.getMallSn());
// 添加收钱吧商城名称
GoblinSqbPerfGoodsVo sqbPerfGoodsVo = goblinstoreMgtSqbGoodsService.fetchSqbGoodsByMallAndSpu(ext.getMallSn(),
ext.getSqbSpuId(), ext.getSignature());
if (null != sqbPerfGoodsVo) {
goodsInfoVo.setSqbStoreName(sqbPerfGoodsVo.getMallName());
}
goodsInfoVo.setSqbStoreName(ext.getSqbMallName());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment