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

Commit 404a791e authored by wangyifan's avatar wangyifan

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

parent 8723ad53
...@@ -176,4 +176,7 @@ CREATE TABLE `goblin_sqb_order` ( ...@@ -176,4 +176,7 @@ CREATE TABLE `goblin_sqb_order` (
KEY `idx_user_id` (`user_id`), KEY `idx_user_id` (`user_id`),
KEY `idx_performances_id` (`performances_id`), KEY `idx_performances_id` (`performances_id`),
KEY `idx_sqb_acquiring_sn` (`sqb_acquiring_sn`) KEY `idx_sqb_acquiring_sn` (`sqb_acquiring_sn`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='收钱吧订单'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='收钱吧订单';
\ No newline at end of file
-- 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 { ...@@ -42,6 +42,11 @@ public class GoblinSqbGoodsExt implements Serializable {
*/ */
private String mallSn; private String mallSn;
/**
* 收钱吧商城名称
*/
private String sqbMallName;
/** /**
* 商城签名 * 商城签名
*/ */
......
...@@ -254,6 +254,7 @@ public class GoblinStoreMgtSqbGoodsController { ...@@ -254,6 +254,7 @@ public class GoblinStoreMgtSqbGoodsController {
ext.setSpuId(goodsInfoVo.getSpuId()); ext.setSpuId(goodsInfoVo.getSpuId());
ext.setSkuId(i < localSkuIds.size() ? localSkuIds.get(i) : null); ext.setSkuId(i < localSkuIds.size() ? localSkuIds.get(i) : null);
ext.setMallSn(sqbGoods.getMallSn()); ext.setMallSn(sqbGoods.getMallSn());
ext.setSqbMallName(sqbGoods.getMallName());
ext.setSignature(sqbGoods.getSignature()); ext.setSignature(sqbGoods.getSignature());
ext.setSqbSpuId(sqbGoods.getSpuId()); ext.setSqbSpuId(sqbGoods.getSpuId());
ext.setSqbSkuId(i < sqbSkus.size() ? sqbSkus.get(i).getSkuId() : null); ext.setSqbSkuId(i < sqbSkus.size() ? sqbSkus.get(i).getSkuId() : null);
......
...@@ -521,11 +521,7 @@ public class GoblinStoreMgtGoodsServiceImpl implements IGoblinstoreMgtGoodsServi ...@@ -521,11 +521,7 @@ public class GoblinStoreMgtGoodsServiceImpl implements IGoblinstoreMgtGoodsServi
goodsInfoVo.setSqbSpuId(ext.getSqbSpuId()); goodsInfoVo.setSqbSpuId(ext.getSqbSpuId());
goodsInfoVo.setMallSn(ext.getMallSn()); goodsInfoVo.setMallSn(ext.getMallSn());
// 添加收钱吧商城名称 // 添加收钱吧商城名称
GoblinSqbPerfGoodsVo sqbPerfGoodsVo = goblinstoreMgtSqbGoodsService.fetchSqbGoodsByMallAndSpu(ext.getMallSn(), goodsInfoVo.setSqbStoreName(ext.getSqbMallName());
ext.getSqbSpuId(), ext.getSignature());
if (null != sqbPerfGoodsVo) {
goodsInfoVo.setSqbStoreName(sqbPerfGoodsVo.getMallName());
}
} }
} }
......
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