流量计增加加入各类接口
This commit is contained in:
parent
75f5c732ab
commit
d8e7198307
|
|
@ -13,7 +13,6 @@ import io.swagger.annotations.ApiOperation;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.jeecg.common.constant.PollutionConstants;
|
import org.jeecg.common.constant.PollutionConstants;
|
||||||
import org.jeecg.common.constant.enums.DeviceDeployEnum;
|
|
||||||
import org.jeecg.common.entity.*;
|
import org.jeecg.common.entity.*;
|
||||||
import org.jeecg.common.util.R;
|
import org.jeecg.common.util.R;
|
||||||
import org.jeecg.common.vo.*;
|
import org.jeecg.common.vo.*;
|
||||||
|
|
@ -590,9 +589,6 @@ public class SurvStationInfoController {
|
||||||
ent.setMapIcon(deploy.getMapIcon());
|
ent.setMapIcon(deploy.getMapIcon());
|
||||||
ent.setIds(deploy.getId());
|
ent.setIds(deploy.getId());
|
||||||
ent.setIsOnline(iotutils.addOnlineStatus(deploy).getIsOnline());
|
ent.setIsOnline(iotutils.addOnlineStatus(deploy).getIsOnline());
|
||||||
if(DeviceDeployEnum.FLOWMETER.getType().equals(deploy.getDeployType())){
|
|
||||||
ent.setType(DeviceDeployEnum.SURV_SOIL.getType());
|
|
||||||
}
|
|
||||||
returnList.add(ent);
|
returnList.add(ent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue