Browse Source

更新

master
1049970895@qniao.cn 3 years ago
parent
commit
1ced21469e
2 changed files with 5 additions and 2 deletions
  1. 3
      iot-machine-state-event-generator-job/src/main/java/com/qniao/iot/machine/event/generator/job/IotMachineEventGeneratorJob.java
  2. 4
      iot-machine-state-event-generator-job/src/test/java/Demo1.java

3
iot-machine-state-event-generator-job/src/main/java/com/qniao/iot/machine/event/generator/job/IotMachineEventGeneratorJob.java

@ -137,6 +137,9 @@ public class IotMachineEventGeneratorJob {
Integer dataSource = value.getDataSource();
Integer machineWorkingStat = value.getMachineWorkingStat();
if(machineWorkingStat == null) {
return false;
}
boolean bool = false;
if(dataSource != null) {
if(dataSource == 1) {

4
iot-machine-state-event-generator-job/src/test/java/Demo1.java

@ -8,7 +8,7 @@ public class Demo1 {
public static void main(String[] args) {
long l = LocalDate.now().plus(-1, ChronoUnit.DAYS).atTime(LocalTime.MAX).atZone(ZoneId.systemDefault()).toInstant().toEpochMilli();
System.out.println(l);
int a = 3;
System.out.println(true);
}
}
Loading…
Cancel
Save