提交 cfc5a53a 作者: xiaowang

修复:产品管理搜索

上级 2dca54dc
......@@ -40,6 +40,7 @@
set product_name = #{productName},
model = #{model},
brand_info_id = #{brandInfoId}
`type` = #{type}
where id = #{id}
</update>
<update id="updateProductSpec">
......@@ -130,7 +131,7 @@
and ps.product_name like CONCAT ('%',#{productName},'%')
</if>
<if test="type != null">
and `type` = #{type}
and `type` = #{type} or `type` is null
</if>
</where>
order by ps.create_time desc
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论