Commit 8e0f2ab4 by 林永健

fix(query): 修复商品名称查询字段映射错误

- 修正了MarketingGoodsQueryMapper.xml中的字段引用
- 将mgi.upgrade_goods_name更正为ug.upgrade_goods_name
- 确保查询条件正确映射到对应的数据库表别名
1 parent 5003e540
......@@ -25,7 +25,7 @@
#{mid}
</foreach>
<if test="query.goodsName != null and query.goodsName != ''">
AND mgi.upgrade_goods_name LIKE CONCAT('%', #{query.goodsName}, '%')
AND ug.upgrade_goods_name LIKE CONCAT('%', #{query.goodsName}, '%')
</if>
<if test="query.goodsCode != null and query.goodsCode != ''">
AND (mgi.merchant_goods_code LIKE CONCAT('%', #{query.goodsCode}, '%')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!