fileDir, fileUrl 분리

master
mjkhan21 4 months ago
parent 1b705ab446
commit c42812caab

@ -41,7 +41,7 @@ SELECT A.*,<include refid="cokr.xit.base.file.dao.FileMapper.fileUrl" /> URL
WHERE FILE_ID IN (<foreach collection="fileIDs" item="fileID" separator=",">#{fileID}</foreach>) WHERE FILE_ID IN (<foreach collection="fileIDs" item="fileID" separator=",">#{fileID}</foreach>)
ORDER BY FILE_ID</if> ORDER BY FILE_ID</if>
<if test="fileIDs == null"><include refid="utility.paging-prefix" /> <if test="fileIDs == null"><include refid="utility.paging-prefix" />
SELECT A.*, FILE_PATH URL SELECT A.*,<include refid="cokr.xit.base.file.dao.FileMapper.fileUrl" /> URL
FROM TB_FILE A FROM TB_FILE A
<where> <where>
<if test="infoType != null"> AND A.INF_TYPE = #{infoType}</if> <if test="infoType != null"> AND A.INF_TYPE = #{infoType}</if>

Loading…
Cancel
Save