|
@@ -2934,6 +2934,9 @@
|
|
|
<if test="supplierCode!=null and supplierCode!=''">
|
|
<if test="supplierCode!=null and supplierCode!=''">
|
|
|
AND tms.sup_code LIKE concat('%', #{supplierCode}, '%')
|
|
AND tms.sup_code LIKE concat('%', #{supplierCode}, '%')
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="supplierType!=null and supplierType!=''">
|
|
|
|
|
+ AND tms.sup_type LIKE concat('%', #{supplierType}, '%')
|
|
|
|
|
+ </if>
|
|
|
order by tms.sup_code
|
|
order by tms.sup_code
|
|
|
<if test="pageSize != null and currentPage != null and pageSize != 0 and currentPage != 0">
|
|
<if test="pageSize != null and currentPage != null and pageSize != 0 and currentPage != 0">
|
|
|
limit #{end} offset #{start}
|
|
limit #{end} offset #{start}
|