Przeglądaj źródła

新增 获取虫情预警要素功能

zhaiyifei 9 miesięcy temu
rodzic
commit
aeb77d14a2

+ 4 - 4
src/main/java/com/yunfeiyun/agmp/iotm/web/service/impl/IotWarnconfigServiceImpl.java

@@ -24,7 +24,10 @@ import com.yunfeiyun.agmp.iotm.web.domain.reqvo.IotWarnconfigAddReqVo;
 import com.yunfeiyun.agmp.iotm.web.domain.reqvo.IotWarnconfigEditReqVo;
 import com.yunfeiyun.agmp.iotm.web.domain.resvo.IotWarnconfigInfoResVo;
 import com.yunfeiyun.agmp.iotm.web.domain.resvo.IotWarnconfigResVo;
-import com.yunfeiyun.agmp.iotm.web.mapper.*;
+import com.yunfeiyun.agmp.iotm.web.mapper.IotDeviceMapper;
+import com.yunfeiyun.agmp.iotm.web.mapper.IotDeviceconfigMapper;
+import com.yunfeiyun.agmp.iotm.web.mapper.IotWarnconfigMapper;
+import com.yunfeiyun.agmp.iotm.web.mapper.IotWarnobjectMapper;
 import com.yunfeiyun.agmp.iotm.web.service.IIotWarnconfigService;
 import com.yunfeiyun.agmp.iotm.web.service.IIotWarncountService;
 import com.yunfeiyun.agmp.iotm.web.service.IIotWarnindicatorService;
@@ -53,8 +56,6 @@ public class IotWarnconfigServiceImpl implements IIotWarnconfigService {
     @Resource
     private IotWarnobjectMapper iotWarnobjectMapper;
     @Resource
-    private IotWarnindicatorMapper iotWarnindicatorMapper;
-    @Resource
     private IotDeviceMapper iotDeviceMapper;
     @Resource
     private IotDeviceconfigMapper iotDeviceconfigMapper;
@@ -457,7 +458,6 @@ public class IotWarnconfigServiceImpl implements IIotWarnconfigService {
     public int editStatus(IotWarnconfig updateObject) {
         return iotWarnconfigMapper.updateIotWarnconfig(updateObject);
     }
-
     private Integer getQxZReportInterval(JSONArray dataList) {
         Integer interval = null;
         try{