The node ID under serial is greater than the current ID. (#9820)

Co-authored-by: WangJPLeo <wangjipeng@whaleops.com>
This commit is contained in:
WangJPLeo 2022-04-28 11:00:33 +08:00 committed by GitHub
parent 828034f8b9
commit ab2d535e54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -250,8 +250,8 @@
from t_ds_process_instance
where process_definition_code=#{processDefinitionCode}
and state = #{state}
and id <![CDATA[ < ]]> #{id}
order by id desc limit 1
and id <![CDATA[ > ]]> #{id}
order by id asc limit 1
</select>
<update id="updateGlobalParamsById">
update t_ds_process_instance