|
|
@ -15,6 +15,7 @@ import com.hnac.hzims.operational.station.entity.ControlUsersEntity; |
|
|
|
import com.hnac.hzims.operational.station.entity.StationEntity; |
|
|
|
import com.hnac.hzims.operational.station.entity.StationEntity; |
|
|
|
import com.hnac.hzims.operational.station.mapper.ControlUsersMapper; |
|
|
|
import com.hnac.hzims.operational.station.mapper.ControlUsersMapper; |
|
|
|
import com.hnac.hzims.operational.station.mapper.StationMapper; |
|
|
|
import com.hnac.hzims.operational.station.mapper.StationMapper; |
|
|
|
|
|
|
|
import com.hnac.hzims.operational.station.service.IStationAttributeService; |
|
|
|
import com.hnac.hzims.operational.station.service.IStationService; |
|
|
|
import com.hnac.hzims.operational.station.service.IStationService; |
|
|
|
import com.hnac.hzims.operational.station.vo.HzimsStationCountVo; |
|
|
|
import com.hnac.hzims.operational.station.vo.HzimsStationCountVo; |
|
|
|
import com.hnac.hzims.operational.station.vo.StationAndDeptVo; |
|
|
|
import com.hnac.hzims.operational.station.vo.StationAndDeptVo; |
|
|
@ -69,6 +70,7 @@ public class StationServiceImpl extends BaseServiceImpl<StationMapper, StationEn |
|
|
|
private final ProjectClient projectClient; |
|
|
|
private final ProjectClient projectClient; |
|
|
|
private final BladeLogger logger; |
|
|
|
private final BladeLogger logger; |
|
|
|
private final IQuestionClient questionClient; |
|
|
|
private final IQuestionClient questionClient; |
|
|
|
|
|
|
|
private final IStationAttributeService stationAttributeService; |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void buildStation(StationEntity req) { |
|
|
|
public void buildStation(StationEntity req) { |
|
|
@ -146,6 +148,9 @@ public class StationServiceImpl extends BaseServiceImpl<StationMapper, StationEn |
|
|
|
// 删除智能诊断站点
|
|
|
|
// 删除智能诊断站点
|
|
|
|
questionClient.deleteStationInfo(stationEntity.getCode()); |
|
|
|
questionClient.deleteStationInfo(stationEntity.getCode()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
new Thread(()-> { |
|
|
|
|
|
|
|
stationAttributeService.removeByStationCode(stationEntity.getCode()); |
|
|
|
|
|
|
|
},"删除站点集中监控属性").start(); |
|
|
|
return saveFlag; |
|
|
|
return saveFlag; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|