bug修改
This commit is contained in:
parent
f245ad29d8
commit
f38a6ab9a4
|
|
@ -160,12 +160,18 @@
|
||||||
<if test="gxId != null">
|
<if test="gxId != null">
|
||||||
and tsv.gx_id = #{gxId}
|
and tsv.gx_id = #{gxId}
|
||||||
</if>
|
</if>
|
||||||
<if test="proStatus != null and proStatus != ''">
|
<if test="rectStatus != null and rectStatus != ''">
|
||||||
and tp.status = #{proStatus}
|
and tsv.rect_status = #{rectStatus}
|
||||||
</if>
|
</if>
|
||||||
<if test="keyWord != null and keyWord != ''">
|
<if test="keyWord != null and keyWord != ''">
|
||||||
and locate(#{keyWord},tsv.check_place)
|
and locate(#{keyWord},tsv.check_place)
|
||||||
</if>
|
</if>
|
||||||
|
<if test="proIds != null and proIds.size() > 0">
|
||||||
|
and tsv.pro_id in
|
||||||
|
<foreach collection="proIds" item="proId" open="(" separator="," close=")">
|
||||||
|
#{proId}
|
||||||
|
</foreach>
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
GROUP BY tsv.id
|
GROUP BY tsv.id
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue