|
@@ -176,6 +176,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</if>
|
|
|
<if test="majorId != null and majorId != ''">
|
|
|
AND g.major_id = #{majorId}
|
|
|
+ </if>
|
|
|
+ <if test="searchKey != null and searchKey != ''">
|
|
|
+ and (g.goods_name like concat('%', #{searchKey}, '%') or g.code like concat('%', #{searchKey}, '%'))
|
|
|
</if>
|
|
|
<if test="goodsStatus != null ">
|
|
|
AND g.goods_status = #{goodsStatus}
|