优化执行结果根据失败关键字筛选
优化告警日志 监控看板概览功能
This commit is contained in:
@@ -44,7 +44,14 @@
|
||||
<if test="resultFlag != null "> and result_flag = #{resultFlag}</if>
|
||||
<if test="scriptId != null "> and script_id = #{scriptId}</if>
|
||||
</where>
|
||||
order by result_flag asc,create_time desc
|
||||
<choose>
|
||||
<when test="clientId != null and clientId != ''">
|
||||
order by create_time desc
|
||||
</when>
|
||||
<otherwise>
|
||||
order by result_flag asc,create_time desc
|
||||
</otherwise>
|
||||
</choose>
|
||||
</select>
|
||||
|
||||
<select id="selectRmResourceRemoteById" parameterType="Long" resultMap="RmResourceRemoteResult">
|
||||
|
||||
Reference in New Issue
Block a user