fix(sql): 修正库存类型插入逻辑
- 修改插入语句,新增对商品类型的判断条件 - 根据goods_type字段设置inventory_type,goods_type为10时为1,否则为2 - 添加关联dj_car_life_upgrade_goods和dj_car_life_goods_info表以获取goods_type - 保持原有套餐编码和删除标记过滤条件不变 - 优化SQL格式,提高可读性
Showing
1 changed file
with
27 additions
and
25 deletions
-
Please register or sign in to post a comment