获取绩效的考核流程时按照flow_index升序排序

This commit is contained in:
wulin 2021-12-07 11:48:14 +08:00
parent 35844251b0
commit 23b62cd6a5

View File

@ -260,7 +260,7 @@
select * from lz_flow_record where is_delete = 0 and record_id = #{resultRecordId} and flow_index = #{flowIndex}
</select>
<select id="selectFlowRecordByResultRecordId" resultType="com.lz.modules.flow.entity.FlowRecord">
select * from lz_flow_record where is_delete = 0 and record_id = #{resultRecordId}
select * from lz_flow_record where is_delete = 0 and record_id = #{resultRecordId} order by flow_index asc
</select>
<select id="selectFlowRecordByRecordIdMinIdStatus" resultType="com.lz.modules.flow.entity.FlowRecord">