标准详情->分解单->排序split_pid函数

This commit is contained in:
zhaokaiyao@91isoft.com
2021-09-22 16:26:02 +08:00
parent 0ccbc5cacf
commit d4a293cbef
4 changed files with 8 additions and 14 deletions
@@ -408,16 +408,14 @@
<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
FROM
sar_stand_items
<include refid="sarItemWhere"/>
<if test="orderBy !=null and orderBy!=''">
order by ${orderBy} ${order}
order by tt ${order}
</if>
LIMIT #{page},#{pageSize}
LIMIT ${pager.startIndex-1},${pageSize}
</select>
<!-- 查询SAR_STAND_ITEMS列表 -->