资产核查查询条件新增

dongdingding
dongdingding 5 days ago
parent 813bc40735
commit 63fde845cf

@ -233,6 +233,9 @@
<if test="req.xtlx!=null and req.xtlx!='' "> <if test="req.xtlx!=null and req.xtlx!='' ">
and b.xtlx = #{req.xtlx} and b.xtlx = #{req.xtlx}
</if> </if>
<if test="req.xtmc!=null and req.xtmc!='' ">
and b.xtmc = #{req.xtmc}
</if>
</where> </where>
order by FIELD(status,1,0,3,4,5) order by FIELD(status,1,0,3,4,5)
</select> </select>
@ -466,6 +469,9 @@
<if test="req.status!=null "> <if test="req.status!=null ">
and b.status =#{req.status} and b.status =#{req.status}
</if> </if>
<if test="req.xtmc!=null and req.xtmc!='' ">
and b.xcxmc = #{req.xtmc}
</if>
</where> </where>
ORDER BY ORDER BY
@ -500,6 +506,9 @@
<if test="req.status!=null "> <if test="req.status!=null ">
and b.status =#{req.status} and b.status =#{req.status}
</if> </if>
<if test="req.xtmc!=null and req.xtmc!='' ">
and b.gzhmc = #{req.xtmc}
</if>
</where> </where>
ORDER BY ORDER BY
CASE CASE
@ -533,6 +542,9 @@
<if test="req.status!=null "> <if test="req.status!=null ">
and b.status =#{req.status} and b.status =#{req.status}
</if> </if>
<if test="req.xtmc!=null and req.xtmc!='' ">
and b.dzyxhz = #{req.xtmc}
</if>
</where> </where>
ORDER BY ORDER BY
CASE CASE
@ -543,8 +555,6 @@
b.STATUS ASC b.STATUS ASC
</select> </select>
<select id="appZcHc" resultType="com.ruoyi.tc.entity.response.AssestTaskXqresponse"> <select id="appZcHc" resultType="com.ruoyi.tc.entity.response.AssestTaskXqresponse">
select select
b.app_name as xtmc, b.app_name as xtmc,
b.ssdw as zcdwmc, b.ssdw as zcdwmc,
@ -568,6 +578,9 @@
<if test="req.status!=null "> <if test="req.status!=null ">
and b.status =#{req.status} and b.status =#{req.status}
</if> </if>
<if test="req.xtmc!=null and req.xtmc!='' ">
and b.app_name = #{req.xtmc}
</if>
</where> </where>
ORDER BY ORDER BY
CASE CASE

Loading…
Cancel
Save