预警存入日期表的数据应该在预警期限内,查询预警数据时已逻辑删除的数据不显示

This commit is contained in:
zhaokaiyao@91isoft.com
2022-01-10 12:49:56 +08:00
parent 9791fd13e9
commit 557a9f756c
2 changed files with 3 additions and 1 deletions
@@ -130,7 +130,7 @@ public class ScheduledJob {
for (String s : item.getSSRQ().split(",")) {
String pattern = "^\\d{4}-\\d{1,2}-\\d{1,2}$";
String pattern = term.getTermStr();
Pattern r = Pattern.compile(pattern);
Matcher m = r.matcher(s);
@@ -205,6 +205,7 @@
<where>
POWER = '1'
AND (MARK = 'stand')
AND sarInfo.VALID_FLAG='0'
<include refid="stand_where"/>
<if test="waringEO.applyType != null and waringEO.applyType != ''">AND attr.CLLX LIKE CONCAT('%',
#{waringEO.applyType},'%')
@@ -249,6 +250,7 @@
<where>
POWER = '1'
AND (MARK = 'item')
AND sarInfo.VALID_FLAG='0'
<include refid="stand_where"/>
<if test="waringEO.applyType != null and waringEO.applyType != ''">
AND items.APPLY_ARCTIC LIKE CONCAT('%', #{waringEO.applyType},'%')