Browse Source

可视化资源详情添加图片

lyq 1 year ago
parent
commit
ccf6d5da15
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/main/resources/mapper/base/BaseMapper.xml

+ 6 - 0
src/main/resources/mapper/base/BaseMapper.xml

@@ -40,4 +40,10 @@
             </if>
         </where>
     </select>
+
+    <select id="getPictureList" resultType="java.lang.String">
+        select concat( b.config_value, a.attach_path ) url
+        from ${dataDB}.centerdata_t_attach a,${systemDB}.sys_config b
+        where a.bus_id = #{busId} and b.config_key = 'fileUrl'
+    </select>
 </mapper>