zrj
2024-10-24 1a4792fdff667d3b9590c6ab4c085a08cdca1399
src/main/java/org/springblade/modules/hd/mapper/HdMapper.xml
@@ -15,7 +15,26 @@
    <select id="selectHdPage" resultMap="hdResultMap">
        select * from sys_hd where is_deleted = 0
        select *
        from sys_hd
    </select>
    <select id="selectInList" resultType="java.util.HashMap">
        select id, hdname
        from sys_hd
    </select>
    <select id="selectInfo" resultType="java.lang.String">
        SELECT mapUrl,mapname FROM sys_hdmap where hdid=#{id}
    </select>
    <select id="selectInfos" resultType="java.lang.String">
        SELECT mapname FROM sys_hdmap where hdid=#{id}
    </select>
<!--    <select id="selectInfo" resultType="java.util.HashMap">-->
<!--        SELECT h.*,hd.mapUrl as mapurl-->
<!--        FROM sys_hd h-->
<!--                 LEFT JOIN sys_hdmap hd ON h.id = hd.hdid where h.id=#{id}-->
<!--    </select>-->
</mapper>