|
@@ -8,7 +8,6 @@
|
|
|
<result property="supplierName" column="supplier_name"/>
|
|
|
<result property="supplierResponsiblePerson" column="supplier_responsible_person"/>
|
|
|
<result property="supplierAddress" column="supplier_address"/>
|
|
|
- <result property="supplierType" column="supplier_type"/>
|
|
|
<result property="supplierState" column="supplier_state"/>
|
|
|
<result property="supplierAdvancePurchase" column="supplier_advance_purchase"/>
|
|
|
<result property="postalCode" column="postal_code"/>
|
|
@@ -29,7 +28,6 @@
|
|
|
<if test="supplierName != null">supplier_name,</if>
|
|
|
<if test="supplierResponsiblePerson != null">supplier_responsible_person,</if>
|
|
|
<if test="supplierAddress != null">supplier_address,</if>
|
|
|
- <if test="supplierType != null">supplier_type,</if>
|
|
|
<if test="supplierState != null">supplier_state,</if>
|
|
|
<if test="supplierAdvancePurchase != null">supplier_advance_purchase,</if>
|
|
|
<if test="postalCode != null">postal_code,</if>
|
|
@@ -47,7 +45,6 @@
|
|
|
<if test="supplierName != null">#{supplierName},</if>
|
|
|
<if test="supplierResponsiblePerson != null">#{supplierResponsiblePerson},</if>
|
|
|
<if test="supplierAddress != null">#{supplierAddress},</if>
|
|
|
- <if test="supplierType != null">#{supplierType},</if>
|
|
|
<if test="supplierState != null">#{supplierState},</if>
|
|
|
<if test="supplierAdvancePurchase != null">#{supplierAdvancePurchase},</if>
|
|
|
<if test="postalCode != null">#{postalCode},</if>
|
|
@@ -75,7 +72,6 @@
|
|
|
<if test="supplierName != null">supplier_name = #{supplierName},</if>
|
|
|
<if test="supplierResponsiblePerson != null">supplier_responsible_person = #{supplierResponsiblePerson},</if>
|
|
|
<if test="supplierAddress != null">supplier_address = #{supplierAddress},</if>
|
|
|
- <if test="supplierType != null">supplier_type = #{supplierType},</if>
|
|
|
<if test="supplierState != null">supplier_state = #{supplierState},</if>
|
|
|
<if test="supplierAdvancePurchase != null">supplier_advance_purchase = #{supplierAdvancePurchase},</if>
|
|
|
<if test="postalCode != null">postal_code = #{postalCode},</if>
|
|
@@ -107,9 +103,6 @@
|
|
|
<if test="supplierAddress != null and supplierAddress != ''">
|
|
|
and supplier_address like '% +' #{supplierAddress} '+ %'
|
|
|
</if>
|
|
|
- <if test="supplierType != null and supplierType != ''">
|
|
|
- and supplier_type = #{supplierType}
|
|
|
- </if>
|
|
|
<if test="supplierState != null and supplierState != ''">
|
|
|
and supplier_state = #{supplierState}
|
|
|
</if>
|
|
@@ -148,4 +141,4 @@
|
|
|
</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
-</mapper>
|
|
|
+</mapper>
|