西海岸bug

This commit is contained in:
dinggang 2022-11-28 10:15:27 +08:00
parent d2c3f885ed
commit fc6aa27ad4
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}