资源管理添加环境以及到期时间
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user