Commit a0d2ba63 authored by tianyiming's avatar tianyiming

一码通96333使用报废码顺序调整

parent 3fe79752
......@@ -29,7 +29,8 @@
<if test="status != null and status != ''">
and status = #{status}
</if>
ORDER BY CODE96333 DESC LIMIT 1
<if test="status != 2 ">ORDER BY CODE96333 DESC LIMIT 1 </if>
<if test="status == 2 ">ORDER BY CODE96333 ASC LIMIT 1 </if>
</select>
<select id="selectEquipInfo" resultType="com.yeejoin.amos.boot.module.tzs.api.dto.EquInfoDto">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment