|
@@ -146,7 +146,7 @@
|
|
|
from mall_goods_product
|
|
|
WHERE 1=1
|
|
|
<if test="name != null and name.trim() != ''">
|
|
|
- AND name LIKE concat('%',#{name},'%')
|
|
|
+ AND `prod_name` LIKE concat('%',#{name},'%')
|
|
|
</if>
|
|
|
<choose>
|
|
|
<when test="sidx != null and sidx.trim() != ''">
|
|
@@ -165,7 +165,7 @@
|
|
|
select count(*) from mall_goods_product
|
|
|
WHERE 1=1
|
|
|
<if test="name != null and name.trim() != ''">
|
|
|
- AND name LIKE concat('%',#{name},'%')
|
|
|
+ AND `prod_name` LIKE concat('%',#{name},'%')
|
|
|
</if>
|
|
|
</select>
|
|
|
<select id="selectByParams" resultType="com.kmall.admin.entity.GoodsProductEntity">
|