| | |
| | | package com.ycl.platform.service; |
| | | |
| | | import com.ycl.platform.domain.entity.YwPoint; |
| | | 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.form.BatchEditPointForm; |
| | | import com.ycl.system.Result; |
| | | import com.ycl.platform.domain.form.YwPointForm; |
| | | import com.ycl.platform.domain.query.YwPointQuery; |
| | | import com.ycl.platform.domain.vo.ReportAuditingRecordVO; |
| | | import com.ycl.system.Result; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.io.IOException; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 批量同步状态 |
| | | * |
| | | * @param pointIds 点位id |
| | | * @param serialNumberList 设备编号 |
| | | * @param recovery 状态 |
| | | * @return 数量 |
| | | */ |
| | | boolean updateRecovery(List<Integer> pointIds, int recovery); |
| | | boolean updateRecovery(List<String> serialNumberList, int recovery); |
| | | |
| | | /** |
| | | * 首页到期预警 |
| | | * @return 数据 |
| | | */ |
| | | List<YwPoint> home(); |
| | | |
| | | /** |
| | | * 导出数据 |
| | | * |
| | | * @param query |
| | | * @param response |
| | | */ |
| | | void export(YwPointQuery query, HttpServletResponse response) throws IOException; |
| | | |
| | | /** |
| | | * 导入数据 |
| | | * |
| | | * @param file |
| | | * @param unitId 运维单位id |
| | | * @return |
| | | */ |
| | | Result importData(MultipartFile file, Integer unitId, Date startTime, Date endTime, Boolean needUpdateUnit) throws IOException; |
| | | |
| | | /** |
| | | * 获取报备是否审核通过(最新一条) |
| | | * @param reportType |
| | | * @return |
| | | */ |
| | | ReportAuditingRecordVO getReportResult(String serialNumber, String reportType); |
| | | } |