工作流修改
This commit is contained in:
parent
a952421d78
commit
b227642843
@ -4,8 +4,9 @@
|
|||||||
<select id="getNewsVersionList" resultType="com.wflow.bean.entity.WflowModelHistorys">
|
<select id="getNewsVersionList" resultType="com.wflow.bean.entity.WflowModelHistorys">
|
||||||
SELECT h1.*
|
SELECT h1.*
|
||||||
FROM wflow_model_historys 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
|
join (select max(version) as version,form_id from wflow_model_historys group by form_id)t on
|
||||||
WHERE id in
|
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=")">
|
<foreach collection="idList" index="index" item="item" open="(" separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user