英译 问题 + 老系统附件重复问题
This commit is contained in:
+21
-5
@@ -1891,12 +1891,8 @@
|
||||
<select id="selectOldSystemInfo" resultType="com.adc.da.slrs.sarBussionessStand.entity.OldSystem">
|
||||
SELECT
|
||||
km.lore_doc_id as 'loreDocId',
|
||||
km.sort_id as 'sortId',
|
||||
lo.Src as 'fileSrc',
|
||||
ld.Sign as 'sortSign'
|
||||
km.sort_id as 'sortId'
|
||||
from kmpro_addon34 km
|
||||
left JOIN lore_attache lo on km.lore_doc_id = lo.id
|
||||
left JOIN lore_depot_sort ld on km.sort_id = ld.id
|
||||
</select>
|
||||
|
||||
<select id="selectListInfo" resultType="com.adc.da.slrs.sarBussionessStand.entity.OldSystem">
|
||||
@@ -1922,10 +1918,30 @@
|
||||
</select>
|
||||
|
||||
<select id="selectOldSystemFile" resultType="com.adc.da.slrs.sarBussionessStand.entity.OldSystem">
|
||||
SELECT
|
||||
lo.ID as 'fileId',
|
||||
lo.Src as 'fileSrc'
|
||||
from lore_attache lo
|
||||
</select>
|
||||
|
||||
<select id="selectOldSystemFileBuildId" resultType="com.adc.da.slrs.sarBussionessStand.entity.OldSystem">
|
||||
SELECT
|
||||
lo.Src as 'fileSrc'
|
||||
from lore_attache lo
|
||||
where 1=1
|
||||
<if test="buildId != null">
|
||||
and lo.LoreDocId = #{buildId}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="loreDepotSort" resultType="com.adc.da.slrs.sarBussionessStand.entity.OldSystem">
|
||||
SELECT
|
||||
lo.Sign as 'sortSign'
|
||||
from lore_depot_sort lo
|
||||
where 1=1
|
||||
<if test="sortId != null">
|
||||
and lo.id = #{sortId}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user