预警存入日期表的数据应该在预警期限内,查询预警数据时已逻辑删除的数据不显示
This commit is contained in:
@@ -130,7 +130,7 @@ public class ScheduledJob {
|
|||||||
|
|
||||||
for (String s : item.getSSRQ().split(",")) {
|
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);
|
Pattern r = Pattern.compile(pattern);
|
||||||
Matcher m = r.matcher(s);
|
Matcher m = r.matcher(s);
|
||||||
|
|||||||
@@ -205,6 +205,7 @@
|
|||||||
<where>
|
<where>
|
||||||
POWER = '1'
|
POWER = '1'
|
||||||
AND (MARK = 'stand')
|
AND (MARK = 'stand')
|
||||||
|
AND sarInfo.VALID_FLAG='0'
|
||||||
<include refid="stand_where"/>
|
<include refid="stand_where"/>
|
||||||
<if test="waringEO.applyType != null and waringEO.applyType != ''">AND attr.CLLX LIKE CONCAT('%',
|
<if test="waringEO.applyType != null and waringEO.applyType != ''">AND attr.CLLX LIKE CONCAT('%',
|
||||||
#{waringEO.applyType},'%')
|
#{waringEO.applyType},'%')
|
||||||
@@ -249,6 +250,7 @@
|
|||||||
<where>
|
<where>
|
||||||
POWER = '1'
|
POWER = '1'
|
||||||
AND (MARK = 'item')
|
AND (MARK = 'item')
|
||||||
|
AND sarInfo.VALID_FLAG='0'
|
||||||
<include refid="stand_where"/>
|
<include refid="stand_where"/>
|
||||||
<if test="waringEO.applyType != null and waringEO.applyType != ''">
|
<if test="waringEO.applyType != null and waringEO.applyType != ''">
|
||||||
AND items.APPLY_ARCTIC LIKE CONCAT('%', #{waringEO.applyType},'%')
|
AND items.APPLY_ARCTIC LIKE CONCAT('%', #{waringEO.applyType},'%')
|
||||||
|
|||||||
Reference in New Issue
Block a user