13693261870
2025-07-07 ecee75f72d6e14ef15e31c3c6da22601a3658abb
se-system/src/main/resources/mapper/sys/AttachMapper.xml
@@ -104,16 +104,6 @@
        </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.terra.system.entity.data.FmeLogEntity">
        select * from lf.sys_fme_log
        where count > 0 and update_time is null and position(tcdm in '${tabs}') > 0;
    </select>
    <update id="updateFmeLog">
        update lf.sys_fme_log set update_time = now() where id = #{id};
    </update>
    <!-- and create_time > now()::timestamp + '-15 min' -->
    <insert id="insertAttachByMeta">
        insert into lf.sys_attach (name, guid, path, sizes, create_user, tab, tab_guid)