统计指标存储,去掉班组类型
This commit is contained in:
parent
b606748810
commit
378b69ad05
@ -103,7 +103,6 @@ public class RuleStorageController extends BaseController {
|
||||
private List<RuleStorage> getDefaultIndexStorage() {
|
||||
List<RuleStorage> calcPeriods = new ArrayList<>();
|
||||
getPeriod(calcPeriods, TimeType.HOUR);
|
||||
getPeriod(calcPeriods, TimeType.SCHEDULING);
|
||||
getPeriod(calcPeriods, TimeType.DAY);
|
||||
getPeriod(calcPeriods, TimeType.MONTH);
|
||||
getPeriod(calcPeriods, TimeType.YEAR);
|
||||
|
||||
@ -25,9 +25,5 @@ public enum TimeType {
|
||||
/**
|
||||
* 季度
|
||||
*/
|
||||
QUARTER,
|
||||
/**
|
||||
* 排班
|
||||
*/
|
||||
SCHEDULING
|
||||
QUARTER
|
||||
}
|
||||
|
||||
@ -10,7 +10,7 @@ import java.util.Date;
|
||||
public class TimeManager {
|
||||
|
||||
public static final TimeType[] typeArray = {TimeType.LIVE, TimeType.DAY, TimeType.HOUR,
|
||||
TimeType.MONTH, TimeType.SCHEDULING, TimeType.YEAR};
|
||||
TimeType.MONTH, TimeType.YEAR};
|
||||
private static final DateTimeFormatter pastDataFormat = DateTimeFormat.forPattern
|
||||
("yyyyMMddHHmmss");
|
||||
private static final DateTimeFormatter hourFormat = DateTimeFormat.forPattern("yyyyMMddHH");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user