fuliqi
2024-12-07 636833dfe5ce1d27b30cec1e73badff884cfa1b9
ycl-server/src/main/java/com/ycl/platform/service/IYwThresholdService.java
@@ -1,6 +1,7 @@
package com.ycl.platform.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ycl.platform.domain.entity.WorkOrder;
import com.ycl.platform.domain.entity.WorkOrderWhite;
import com.ycl.platform.domain.entity.YwThreshold;
import com.ycl.platform.domain.excel.PointExport;
@@ -9,6 +10,7 @@
import com.ycl.platform.domain.result.HK.VehicleDeviceInspectionResult;
import com.ycl.system.Result;
import com.ycl.system.page.TableDataInfo;
import enumeration.CompareType;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;
@@ -129,11 +131,18 @@
     *
     * @param response
     */
    void whiteExport(HttpServletResponse response) throws IOException;;
    void whiteExport(HttpServletResponse response) throws IOException;
    /**
     * 批量导入工单白名单
     *
     * @author
     */
    Result importWhite(MultipartFile file) throws IOException;
    public Map<String, YwThreshold> getYwThresholdMap(String name);
    public <T extends Comparable<T>> void check(String key, T value, String serialNumber, Map<String, YwThreshold> thresholds, WorkOrder workOrder, CompareType compareType, String errorType);
    Result addBatch (WorkOrderWhite workOrderWhite);
}