管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-03-06 44c9a9a4f3543fd2d0ec6bc66f952e5f82942544
src/main/resources/mapper/sys/AttachMapper.xml
@@ -33,6 +33,13 @@
        select * from lf.sys_attach where guid = #{guid} limit 1
    </select>
    <select id="selectByGuids" resultType="com.lf.server.entity.sys.AttachEntity">
        select * from lf.sys_attach where guid in
        <foreach item="guid" collection="guids" index="index" open="(" separator="," close=")">
            #{guid}
        </foreach>
    </select>
    <select id="selectByTabAndGuid" resultType="com.lf.server.entity.sys.AttachEntity">
        select * from lf.sys_attach where tab = #{tab} and tab_guid = #{tabGuid} and guid = #{guid} limit 1
    </select>