fix: 处理所有的标准拆分单的顺序

This commit is contained in:
wxyclub
2023-11-26 18:29:42 +08:00
parent 423894bc6f
commit 5731936b24
5 changed files with 52 additions and 1 deletions
@@ -817,5 +817,15 @@
#{item}
</foreach>
</select>
<select id="getAllStandIdInItems" resultType="map">
select stand_id as standId,FILE_TYPE as fileType from sar_stand_items where STAND_ID is not null and stand_id!= '' and FILE_TYPE!= '' and file_type is not null group by stand_id, FILE_TYPE;
</select>
<select id="getstandItemsByStandId" resultType="com.adc.da.slrs.sarStandItems.entity.SarStandItems">
SELECT
sar_stand_items.*,split_pid(sar_stand_items.ITEMS_NUM,'.') as tt
FROM
sar_stand_items where STAND_ID = #{standId} and FILE_TYPE = #{fileType}
order by tt asc
</select>
</mapper>