|
|
@@ -33,15 +33,17 @@ public class TimerCheckWarnPlanMgr {
|
|
|
int curTmForCompare = 1;
|
|
|
String tmFiler = "";
|
|
|
if (FrequencyUnit.MIN.equals(frequencyUnit)){
|
|
|
- curTmForCompare = curMinute;
|
|
|
- String.format("and %s <= %d "
|
|
|
+ if (curMinute > 0)//0分时刻不做判断默认执行
|
|
|
+ curTmForCompare = curMinute;
|
|
|
+ /*tmFiler = String.format("and %s <= %d "
|
|
|
, OrdWarnPlanInfoTable.W_INFO.FREQUENCY
|
|
|
- , curTmForCompare);
|
|
|
+ , curTmForCompare);*/
|
|
|
}else if (FrequencyUnit.HOUR.equals(frequencyUnit)){
|
|
|
- curTmForCompare = curClock;
|
|
|
- String.format("and %s <= %d "
|
|
|
+ if (curClock > 0)//0点时刻不做判断默认执行
|
|
|
+ curTmForCompare = curClock;
|
|
|
+ /*tmFiler = String.format("and %s <= %d "
|
|
|
, OrdWarnPlanInfoTable.W_INFO.FREQUENCY
|
|
|
- , curTmForCompare);
|
|
|
+ , curTmForCompare);*/
|
|
|
}
|
|
|
|
|
|
long thisDayBegin = TimeTool.getTodayBeginUTC();
|