| | |
| | | </foreach> |
| | | </update> |
| | | |
| | | <!-- where count > 0 and update_time is null and create_time > now()::timestamp + '-5 min' and position(tcdm in '${tabs}') > 0; --> |
| | | <select id="selectFmeLogs" resultType="com.lf.server.entity.data.FmeLogEntity"> |
| | | select * from lf.sys_fme_log |
| | | where count > 0 and update_time is null and create_time > now()::timestamp + '-1 min' and position(tcdm in '${tabs}') > 0; |
| | | where count > 0 and update_time is null and position(tcdm in '${tabs}') > 0; |
| | | </select> |
| | | |
| | | <update id="updateFmeLog"> |
| | |
| | | <where> |
| | | name = #{metaName} |
| | | <if test="dirid != null"> |
| | | and dirid like #{dirid} |
| | | and dircode like #{dirid} |
| | | </if> |
| | | </where> |
| | | order by id desc |