|
|
@@ -776,7 +776,7 @@ public class WarnService {
|
|
|
if(count==null){
|
|
|
|
|
|
IotDevice findDev = iotDeviceService.selectIotDeviceByDevBid(devBid);
|
|
|
- if(IotDeviceDictConst.TYPE_YF_JKSB.equals(findDev.getDevtypeBid())){
|
|
|
+ if(IotDeviceDictConst.TYPE_EZVIZ_JKSB.equals(findDev.getDevtypeBid())){
|
|
|
count = statCbdCountHaikang(devBid,dataitemCode,hours,pestBid);
|
|
|
}else{
|
|
|
count = statCbdCount(devBid,dataitemCode,hours,pestBid);
|
|
|
@@ -2188,7 +2188,7 @@ public class WarnService {
|
|
|
retCount = pestclassCount;
|
|
|
}
|
|
|
|
|
|
- }else if(findDevice.getDevtypeBid().equals(IotDeviceDictConst.TYPE_YF_JKSB)){
|
|
|
+ }else if(findDevice.getDevtypeBid().equals(IotDeviceDictConst.TYPE_EZVIZ_JKSB)){
|
|
|
|
|
|
params.put("time_recogCreatedate"
|
|
|
, timeCond);
|