|
|
|
@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<select id="selectMesBaseSupplierInfoList" parameterType="MesBaseSupplierInfo" resultMap="MesBaseSupplierInfoResult">
|
|
|
|
|
<include refid="selectMesBaseSupplierInfoVo"/>
|
|
|
|
|
<where>
|
|
|
|
|
<if test="supplierCode != null and supplierCode != ''"> and supplier_code = #{supplierCode}</if>
|
|
|
|
|
<if test="supplierCode != null and supplierCode != ''"> and supplier_code like concat('%', #{supplierCode}, '%')</if>
|
|
|
|
|
<if test="supplierName != null and supplierName != ''"> and supplier_name like concat('%', #{supplierName}, '%')</if>
|
|
|
|
|
<if test="erpId != null "> and erp_id = #{erpId}</if>
|
|
|
|
|
<if test="supplierStatus != null and supplierStatus != ''"> and supplier_status = #{supplierStatus}</if>
|
|
|
|
|