wms供应商字段的查询

master
mengjiao 5 months ago
parent e7e9d57758
commit eaf3066869

@ -649,7 +649,7 @@
<if test="userDefined9 != null and userDefined9 != ''">and o.User_Defined9 = #{userDefined9}</if> <if test="userDefined9 != null and userDefined9 != ''">and o.User_Defined9 = #{userDefined9}</if>
<if test="userDefined10 != null and userDefined10 != ''">and o.User_Defined10 = #{userDefined10}</if> <if test="userDefined10 != null and userDefined10 != ''">and o.User_Defined10 = #{userDefined10}</if>
<if test="userDefined11 != null and userDefined11 != ''">and o.User_Defined11 = #{userDefined11}</if> <if test="userDefined11 != null and userDefined11 != ''">and o.User_Defined11 = #{userDefined11}</if>
<if test="supplierCode != null and supplierCode != ''">and o.Supplier_Code = #{supplierCode}</if> <if test="supplierCode != null and supplierCode != ''">and o.Supplier_Code like concat('%', #{supplierCode}, '%')</if>
<if test="supplierName != null and supplierName != ''">and o.Supplier_Name like concat('%', #{supplierName}, <if test="supplierName != null and supplierName != ''">and o.Supplier_Name like concat('%', #{supplierName},
'%') '%')
</if> </if>

@ -84,7 +84,8 @@
'%') </if> '%') </if>
<if test="unit != null and unit != ''">and unit = #{unit}</if> <if test="unit != null and unit != ''">and unit = #{unit}</if>
<if test="buyerGroup != null and buyerGroup != ''">and buyer_group = #{buyerGroup}</if> <if test="buyerGroup != null and buyerGroup != ''">and buyer_group = #{buyerGroup}</if>
<if test="supplyCode != null and supplyCode != ''">and supply_code = #{supplyCode}</if> <if test="supplyCode != null and supplyCode != ''">and supply_code like concat('%', #{supplyCode}, '%')
</if>
<if test="sapFactoryCode != null and sapFactoryCode != ''">and sap_factory_code = #{sapFactoryCode}</if> <if test="sapFactoryCode != null and sapFactoryCode != ''">and sap_factory_code = #{sapFactoryCode}</if>
<if test="sendSpot != null and sendSpot != ''">and send_spot = #{sendSpot}</if> <if test="sendSpot != null and sendSpot != ''">and send_spot = #{sendSpot}</if>
<if test="requestAmount != null ">and request_amount = #{requestAmount}</if> <if test="requestAmount != null ">and request_amount = #{requestAmount}</if>

Loading…
Cancel
Save