src/main/java/com/lf/server/service/sys/AttachService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/mapper/sys/AttachMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/lf/server/service/sys/AttachService.java
@@ -3,7 +3,6 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.lf.server.entity.all.BaseEntity; import com.lf.server.entity.data.FmeLogEntity; import com.lf.server.entity.data.MetaEntity; import com.lf.server.entity.sys.AttachEntity; import com.lf.server.helper.ClassHelper; import com.lf.server.helper.StringHelper; @@ -115,7 +114,7 @@ * 查询FME日志 */ public List<FmeLogEntity> selectFmeLogs() { if (null == tabs) { if (StringHelper.isEmpty(tabs)) { tabs = UploadAttachService.getTabs().replace("'", ""); } src/main/resources/mapper/sys/AttachMapper.xml
@@ -106,7 +106,7 @@ <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 create_time > now()::timestamp + '-5 min' and position(tcdm in '${tabs}') > 0; </select> <update id="updateFmeLog"> @@ -121,7 +121,7 @@ <where> name = #{metaName} <if test="dirid != null"> and dirid like #{dirid} and dircode like #{dirid} </if> </where> order by id desc