11/15 供应商选入药品优化1.0

dev_unify
wangwei 8 months ago
parent 32570637c9
commit a5504c85de

@ -57,4 +57,6 @@ public class FilterThrProductsRequest extends ListPageRequest {
private Integer productsType ;
private Integer productType ;
private String keyWords;
}

@ -213,7 +213,7 @@
AND tdi.internalMaterialCode like concat('%', #{internalMaterialCode}, '%')
</if>
<if test="spec != '' and spec != null">
AND tdi.spec = #{spec}
AND tdi.spec like concat('%', #{spec}, '%'))
</if>
<if test="checkStatus != null">
AND tdi.status = #{checkStatus}
@ -222,7 +222,16 @@
AND tdi.customerId = #{customerId}
</if>
<if test="registerNo != '' and registerNo != null">
AND tdi.registerNo = #{registerNo}
AND tdi.registerNo like concat('%', #{registerNo}, '%')
</if>
<if test="keyWords != '' and keyWords != null">
AND (
tdi.sptm like concat('%', #{keyWords}, '%')
or tdi.code like concat('%', #{keyWords}, '%')
or tdi.ybbm like concat('%', #{keyWords}, '%')
or tdi.name like concat('%', #{keyWords}, '%')
or tdi.registerNo like concat('%', #{keyWords}, '%')
or tdi.spec like concat('%', #{keyWords}, '%'))
</if>
</where>
order by tdi.createTime DESC

Loading…
Cancel
Save