工作流修改

This commit is contained in:
guoshengxiong 2025-04-21 10:47:58 +08:00
parent a952421d78
commit b227642843

View File

@ -4,8 +4,9 @@
<select id="getNewsVersionList" resultType="com.wflow.bean.entity.WflowModelHistorys">
SELECT h1.*
FROM wflow_model_historys h1
join (select max(version) as version from wflow_model_historys group by version)t on t.version=h1.version
WHERE id in
join (select max(version) as version,form_id from wflow_model_historys group by form_id)t on
t.version=h1.version and t.form_id=h1.form_id
WHERE h1.form_id in
<foreach collection="idList" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>