@@ -86,6 +86,7 @@ public class ZskkConfig extends JFinalConfig {
arpPrint.setDialect(new SqlServerDialect());
me.add(arpPrint);
+ //报告匹配
Cron4jPlugin cpData = new Cron4jPlugin();
cpData.addTask("*/5 * * * *", new DataTask());
me.add(cpData);
@@ -109,7 +109,7 @@ public class DataTask implements ITask {
if (dateStr == null) {
return "";
}
- SimpleDateFormat sdf= new SimpleDateFormat("yyyyMMdd");
+ SimpleDateFormat sdf= new SimpleDateFormat("yyyyMMddHHmmss");
Date date = null;
String timeString = null;
try {