资源管理添加环境以及到期时间

This commit is contained in:
2026-05-25 14:14:24 +08:00
parent 739e864699
commit 58e4e55a61
4 changed files with 36 additions and 1 deletions
@@ -60,7 +60,12 @@
<if test=" qo.house != null and qo.house != ''">
and house = #{qo.house}
</if>
order by id desc
<if test="qo.useEnv != null and qo.useEnv != ''">
and use_env = #{qo.useEnv}
</if>
order by
CASE WHEN expire_date IS NOT NULL AND expire_date <![CDATA[<]]> NOW() THEN 0 ELSE 1 END ASC,
id desc
</select>
</mapper>