| | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ycl.platform.domain.entity.ReportAuditingRecord; |
| | | import com.ycl.platform.domain.entity.YwPoint; |
| | | import com.ycl.platform.domain.excel.PointExport; |
| | | import com.ycl.platform.domain.form.BatchEditPointForm; |
| | | import com.ycl.platform.domain.form.YwPointForm; |
| | | import com.ycl.platform.domain.query.YwPointQuery; |
| | |
| | | import java.io.IOException; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.concurrent.ExecutionException; |
| | | |
| | | /** |
| | | * 运维点位 服务类 |
| | |
| | | * @param unitId 运维单位id |
| | | * @return |
| | | */ |
| | | Result importData(MultipartFile file, Integer unitId, Date startTime, Date endTime, Boolean needUpdateUnit) throws IOException; |
| | | Result importData(MultipartFile file, Integer unitId, Date startTime, Date endTime, Boolean needUpdateUnit) throws IOException, ExecutionException, InterruptedException; |
| | | |
| | | /** |
| | | * 获取报备是否审核通过(最新一条) |
| | |
| | | ReportAuditingRecordVO getReportResult(String serialNumber, String reportType); |
| | | |
| | | /** |
| | | * 根据国标获取tag |
| | | * 根据国标设置tag |
| | | * |
| | | * @param dataList 数据 |
| | | * @return |
| | | */ |
| | | <T extends BaseResult> void setDeviceTagByGB(List<T> dataList); |
| | | <T extends BaseResult> void setDeviceTagByGB(List<T> dataList,Short category); |
| | | |
| | | /** |
| | | * 根据国标设置是否新点位 |
| | | * |
| | | * @param dataList 数据 |
| | | * @return |
| | | */ |
| | | <T extends BaseResult> void setNew(List<T> dataList); |
| | | |
| | | void updatePoint(List<PointExport> dataList, Integer unitId, Date startTime, Date endTime, Boolean needUpdateUnit) throws ExecutionException, InterruptedException; |
| | | |
| | | void updateDynamic(List<PointExport> dataList); |
| | | |
| | | /** |
| | | * 根据设备编码查询点位信息 |
| | | * |
| | | * @param serialNumber 序列号 |
| | | * @return {@link YwPoint } |
| | | * @author |
| | | */ |
| | | YwPoint selectBySerialNumber(String serialNumber); |
| | | } |