成品模糊查询

master
mengjiao 10 months ago
parent 79d0a701e6
commit 2ee57da594

@ -53,7 +53,8 @@
<if test="waCode != null and waCode != ''">and wa_code = #{waCode}</if>
<if test="storageType != null and storageType != ''">and storage_type = #{storageType}</if>
<if test="wlCode != null and wlCode != ''">and wl_code = #{wlCode}</if>
<if test="productCode != null and productCode != ''">and product_code = #{productCode}</if>
<if test="productCode != null and productCode != ''">and product_code like concat('%', #{productCode},
'%') </if>
<if test="productName != null and productName != ''">and product_name like concat('%', #{productName},
'%')
</if>
@ -82,6 +83,7 @@
<if test="sapFactoryCode != null and sapFactoryCode != ''">and sap_factory_code = #{sapFactoryCode}</if>
<if test="wlName != null and wlName != ''">and wl_name like concat('%', #{wlName}, '%')</if>
</where>
ORDER BY gmt_create DESC
</select>
<select id="selectWmsFpStorageNewsByStorageId" parameterType="String" resultMap="WmsFpStorageNewsResult">

Loading…
Cancel
Save