|
@@ -1336,6 +1336,24 @@
|
|
|
"orderNumber" like '%${item}%'
|
|
|
</foreach>
|
|
|
</if>
|
|
|
+ <if test="gatepostName1 != null">
|
|
|
+ and
|
|
|
+ <foreach collection="gatepostName1" item="item" open="(" separator="or" close=")">
|
|
|
+ "gatepostName1" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="gatepostName2 != null">
|
|
|
+ and
|
|
|
+ <foreach collection="gatepostName2" item="item" open="(" separator="or" close=")">
|
|
|
+ "gatepostName2" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="materialName != null">
|
|
|
+ and
|
|
|
+ <foreach collection="materialName" item="item" open="(" separator="or" close=")">
|
|
|
+ "materialName" like '%${item}%'
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
</where>
|
|
|
<include refid="orderBy"></include>
|
|
|
</select>
|