9/18 字段查询优化

dev_no_inv
wangwei 10 months ago
parent fa2ca710bd
commit 0b32274b65

@ -121,6 +121,10 @@ public class IoSplitFifoInvRequest extends ListPageRequest {
private String remind;
private String cpmctymc;
//批准文号 || 注册备案证号
private String zczbhhzbapzbh;
//生产企业
private String ylqxzcrbarmc;
}

@ -12,6 +12,7 @@
ico.orderCirType,
ico.createTime,
ico.workPlaceCode,
ico.shipperName,
ico.remark,
ico.createUser,
ico.updateTime,

@ -196,6 +196,7 @@
or io.fromCorp like concat('%', #{keywords}, '%')
or io.workPlaceCode like concat('%', #{keywords}, '%')
or io.busType like concat('%', #{keywords}, '%')
or sw.workplaceName like concat('%', #{keywords}, '%')
or io.fromType like concat('%', #{keywords}, '%'))
</if>

@ -57,6 +57,14 @@
<if test="nameCode != '' and nameCode != null">
AND bp.nameCode = #{nameCode}
</if>
<if test="zczbhhzbapzbh != '' and zczbhhzbapzbh != null">
AND bp.zczbhhzbapzbh like concat('%', #{zczbhhzbapzbh}, '%')
</if>
<if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null">
AND (
bp.ylqxzcrbarmc like concat('%', #{ylqxzcrbarmc}, '%')
or bp.manufactory like concat('%', #{ylqxzcrbarmc}, '%'))
</if>
<if test="batchNo != '' and batchNo != null">
AND isfi.batchNo = #{batchNo}
</if>

Loading…
Cancel
Save