10/15 界面优化1.0

dev_unify
wangwei 8 months ago
parent 634775a6c8
commit 15b676dbef

@ -58,4 +58,11 @@ public class FilterOrderDetailResultRequest extends ListPageRequest {
private List<IoOrderDetailResultResponse> list;
private Integer productType = 1;//默认耗材
private String keyWords;
private String cpmctymc;
private String ggxh;
private String prepnSpec;
}

@ -84,6 +84,17 @@
</if>
<if test="batchNo != null and batchNo != ''">
AND a2.batchNo like concat('%', #{batchNo}, '%')
</if>ggxh
<if test="cpmctymc != null and cpmctymc != ''">
AND bp.cpmctymc like concat('%', #{cpmctymc}, '%')
</if>
<if test="ggxh != null and ggxh != ''">
AND (
bp.ggxh LIKE concat('%', #{ggxh}, '%')
or bp.bzgg LIKE concat('%', #{ggxh}, '%'))
</if>
<if test="prepnSpec != null and prepnSpec != ''">
AND bp.prepnSpec LIKE concat('%', #{prepnSpec}, '%')
</if>
<if test="coName != null and coName != ''">
AND a2.coName like concat('%', #{coName}, '%')
@ -97,6 +108,18 @@
#{item}
</foreach>
</if>
<if test="keyWords != '' and keyWords != null">
AND (
a2.nameCode LIKE concat('%', #{keyWords}, '%')
or a2.orderIdFk LIKE concat('%', #{keyWords}, '%')
or bp.bzgg LIKE concat('%', #{keyWords}, '%')
or bp.prepnSpec LIKE concat('%', #{keyWords}, '%')
or bp.cpmctymc LIKE concat('%', #{keyWords}, '%')
or bp.ggxh LIKE concat('%', #{keyWords}, '%')
or a2.batchNo like concat('%', #{keyWords}, '%')
or a2.certCode like concat('%', #{keyWords}, '%')
or a2.manufacturer like concat('%', #{keyWords}, '%'))
</if>
</where>
group by a2.id
</select>

Loading…
Cancel
Save