src/main/resources/mapper/sys/AttachMapper.xml
@@ -112,4 +112,11 @@ <update id="updateFmeLog"> update lf.sys_fme_log set update_time = now() where id = #{id}; </update> <select id="selectMetaByName" resultType="com.lf.server.entity.data.MetaEntity"> select * from lf.sys_meta where name = #{name} and create_time > now()::timestamp + '-10 min' order by id desc limit 1; </select> </mapper>