|
|
@ -234,7 +234,13 @@
|
|
|
|
and b.xtlx = #{req.xtlx}
|
|
|
|
and b.xtlx = #{req.xtlx}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
order by b.status asc
|
|
|
|
ORDER BY
|
|
|
|
|
|
|
|
CASE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WHEN b.STATUS = 1 THEN
|
|
|
|
|
|
|
|
0 ELSE 1
|
|
|
|
|
|
|
|
END,
|
|
|
|
|
|
|
|
b.STATUS ASC
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="findBytaskIdandAssestId" resultType="com.ruoyi.tc.entity.po.AssetCurrentCpPo">
|
|
|
|
<select id="findBytaskIdandAssestId" resultType="com.ruoyi.tc.entity.po.AssetCurrentCpPo">
|
|
|
|
select *
|
|
|
|
select *
|
|
|
@ -458,7 +464,13 @@
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
order by b.status asc
|
|
|
|
ORDER BY
|
|
|
|
|
|
|
|
CASE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WHEN b.STATUS = 1 THEN
|
|
|
|
|
|
|
|
0 ELSE 1
|
|
|
|
|
|
|
|
END,
|
|
|
|
|
|
|
|
b.STATUS ASC
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="gzhZcHc" resultType="com.ruoyi.tc.entity.response.AssestTaskXqresponse">
|
|
|
|
<select id="gzhZcHc" resultType="com.ruoyi.tc.entity.response.AssestTaskXqresponse">
|
|
|
|
select
|
|
|
|
select
|
|
|
@ -485,7 +497,13 @@
|
|
|
|
and b.status =#{req.status}
|
|
|
|
and b.status =#{req.status}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
order by b.status asc
|
|
|
|
ORDER BY
|
|
|
|
|
|
|
|
CASE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WHEN b.STATUS = 1 THEN
|
|
|
|
|
|
|
|
0 ELSE 1
|
|
|
|
|
|
|
|
END,
|
|
|
|
|
|
|
|
b.STATUS ASC
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="emailZcHc" resultType="com.ruoyi.tc.entity.response.AssestTaskXqresponse">
|
|
|
|
<select id="emailZcHc" resultType="com.ruoyi.tc.entity.response.AssestTaskXqresponse">
|
|
|
|
select
|
|
|
|
select
|
|
|
@ -512,7 +530,13 @@
|
|
|
|
and b.status =#{req.status}
|
|
|
|
and b.status =#{req.status}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
order by b.status asc
|
|
|
|
ORDER BY
|
|
|
|
|
|
|
|
CASE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WHEN b.STATUS = 1 THEN
|
|
|
|
|
|
|
|
0 ELSE 1
|
|
|
|
|
|
|
|
END,
|
|
|
|
|
|
|
|
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">
|
|
|
|
|
|
|
|
|
|
|
@ -541,7 +565,13 @@
|
|
|
|
and b.status =#{req.status}
|
|
|
|
and b.status =#{req.status}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
order by b.status asc
|
|
|
|
ORDER BY
|
|
|
|
|
|
|
|
CASE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WHEN b.STATUS = 1 THEN
|
|
|
|
|
|
|
|
0 ELSE 1
|
|
|
|
|
|
|
|
END,
|
|
|
|
|
|
|
|
b.STATUS ASC
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="getByTaskId" resultType="com.ruoyi.tc.entity.AssetTask" parameterType="int">
|
|
|
|
<select id="getByTaskId" resultType="com.ruoyi.tc.entity.AssetTask" parameterType="int">
|
|
|
|
select * from asset_task where id=#{taskId}
|
|
|
|
select * from asset_task where id=#{taskId}
|
|
|
|