fix: 标准拆分排序问题修改
This commit is contained in:
@@ -408,12 +408,12 @@
|
||||
<select id="querySarItemAndInterpretation" resultMap="sarItemVOResultMap"
|
||||
parameterType="com.adc.da.slrs.sarStandItems.entity.FindSarItemsPageReqDTO">
|
||||
SELECT
|
||||
sar_stand_items.*,split_pid(sar_stand_items.ITEMS_NUM,'.') as tt
|
||||
sar_stand_items.*
|
||||
FROM
|
||||
sar_stand_items
|
||||
<include refid="sarItemWhere"/>
|
||||
<if test="orderBy !=null and orderBy!=''">
|
||||
order by tt ${order}
|
||||
order by ${orderBy} ${order}
|
||||
</if>
|
||||
LIMIT ${pager.startIndex-1},${pageSize}
|
||||
</select>
|
||||
|
||||
+2
-1
@@ -335,7 +335,8 @@
|
||||
</delete>
|
||||
|
||||
<select id="querySame" resultType="com.adc.da.slrs.standardSplit.entity.SarFileSplitItemsEO" parameterType="com.adc.da.slrs.standardSplit.entity.SarFileSplitItemsEO">
|
||||
select * from SAR_FILE_SPLIT_ITEMS
|
||||
select *, (SELECT DISPLAY_SEQ displaySeq from SAR_FILE_SPLIT_MENU where SAR_FILE_SPLIT_MENU.ID = SAR_FILE_SPLIT_ITEMS.MENU_ID limit 1) displaySeq
|
||||
from SAR_FILE_SPLIT_ITEMS
|
||||
LEFT JOIN SAR_FILE_SPLIT_INFO ON SAR_FILE_SPLIT_ITEMS.INFO_ID = SAR_FILE_SPLIT_INFO.ID
|
||||
where SAR_FILE_SPLIT_INFO.ID = #{id}
|
||||
</select>
|
||||
|
||||
+3
@@ -633,5 +633,8 @@
|
||||
<select id="selectByName">
|
||||
select ITEMS_NAME from sar_file_split_items where ITEMS_NAME like '%' #{itemsName} '%';
|
||||
</select>
|
||||
<select id="selectDisplaySeqByEditFlag" resultType="long">
|
||||
select DISPLAY_SEQ from sar_file_edit_menu where ID = (select menu_id from sar_file_split_items where edit_flag=#{editFlag})
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user