Merge branch 'dev'

This commit is contained in:
wangliwen 2022-11-28 10:58:41 +08:00
commit a789733f6a
2 changed files with 3 additions and 4 deletions

View File

@ -165,12 +165,11 @@ public class TAbilityApplicationServiceImpl extends CrudServiceImpl<TAbilityAppl
if (processInstanceDTO.getProcessVariables().containsKey("backToFirst")) {
try {
Boolean backToFirst = Boolean.parseBoolean(processInstanceDTO.getProcessVariables().getOrDefault("backToFirst", "false").toString());
if (backToFirst.equals(Boolean.TRUE)) {
if (Boolean.TRUE.equals(backToFirst)) {
index.put("backToFirst", "true");
} else {
index.put("backToFirst", "false");
}
} catch (Exception exception) {
index.put("backToFirst", "false");
logger.info(exception.toString());
}
} else {

View File

@ -66,7 +66,7 @@
<update id="delApplyCamera">
UPDATE t_ability_application taa
SET expire_date = now()
SET expire_date = '2022-04-01 00:00:00'
WHERE id IN
<foreach collection="ids" item="item" separator="," open="(" close=")">
#{item}