管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-03-25 70ddec6cf736c0174bafaef0a9bfe4c9412af133
src/main/resources/mapper/sys/AttachMapper.xml
@@ -103,4 +103,14 @@
            where id = #{item.id}
        </foreach>
    </update>
    <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'
            position(tcdm in 'bd.b_pac_hydrogeology,bd.b_pac_frozensoil,bd.b_pac_geologic_hazard,bd.b_pac_marine_meteorological,bd.b_pac_meteorological,bs.m_equipment_nameplate,bs.m_hydraulic_protection,bs.m_marker,bs.s_explorationpoint,bs.u_sectionline') > 0;
    </select>
    <update id="updateFmeLog">
        update lf.sys_fme_log set update_time = now() where id = #{id};
    </update>
</mapper>