译文原文问题(返回文件有名称重复,代码优化)
This commit is contained in:
+21
-7
@@ -1888,13 +1888,6 @@
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectOldSystemInfo" resultType="com.adc.da.slrs.sarBussionessStand.entity.OldSystem">
|
||||
SELECT
|
||||
km.lore_doc_id as 'loreDocId',
|
||||
km.sort_id as 'sortId'
|
||||
from kmpro_addon34 km
|
||||
</select>
|
||||
|
||||
<select id="selectListInfo" resultType="com.adc.da.slrs.sarBussionessStand.entity.OldSystem">
|
||||
SELECT
|
||||
std.id as 'standId',
|
||||
@@ -1946,4 +1939,25 @@
|
||||
</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>
|
||||
|
||||
<select id="selectOldSystemInfoByBuidId" resultType="com.adc.da.slrs.sarBussionessStand.entity.OldSystem">
|
||||
SELECT
|
||||
km.lore_doc_id as 'loreDocId',
|
||||
km.sort_id as 'sortId'
|
||||
from kmpro_addon34 km
|
||||
where 1=1
|
||||
<if test="buildId != null">
|
||||
and km.lore_doc_id = #{buildId}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user