|
|
|
@ -216,7 +216,7 @@ public class RootCloudIotDataFormatterJob { |
|
|
|
statement2.setLong(2, a.getAlarmId()); |
|
|
|
statement2.setString(3, a.getPicUrl()); |
|
|
|
statement2.setString(4, a.getThumbnail()); |
|
|
|
statement2.setString(5, StrUtil.isBlank(a.getEvents()) ? null : a.getEvents().replace("[[", "").replace("]]", "")); |
|
|
|
statement2.setString(5, StrUtil.isBlank(a.getEvents()) ? null : a.getEvents()); |
|
|
|
statement2.setString(6, DateFormatUtils.format(a.getAlarmTime(), "yyyy-MM-dd HH:mm:ss")); |
|
|
|
statement2.setString(7, DateFormatUtils.format(System.currentTimeMillis(), "yyyy-MM-dd HH:mm:ss")); |
|
|
|
statement2.addBatch(); |
|
|
|
|