资产核查查询条件新增

dongdingding
dongdingding 5 days ago
parent 813bc40735
commit 63fde845cf

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

Loading…
Cancel
Save