SPC/ym-process-inspection/src/main/java/com/cnbm/processInspection/service/IInspectionSheetService.java
2022-12-09 15:27:11 +08:00

46 lines
1.3 KiB
Java

package com.cnbm.processInspection.service;
import com.alibaba.fastjson.JSONObject;
import com.cnbm.basic.dto.ProductFeaturesDTO;
import com.cnbm.common.page.PageData;
import com.cnbm.common.service.CrudService;
import com.cnbm.influx.param.QueryDataParam;
import com.cnbm.influx.template.Event;
import com.cnbm.processInspection.dto.InspectionSampleDTO;
import com.cnbm.processInspection.dto.InspectionSheetDTO;
import com.cnbm.processInspection.entity.InspectionSheet;
import com.influxdb.query.FluxTable;
import java.util.List;
import java.util.Map;
/**
* 检验单 表
*
* @author why
* @since 2022-08-17
*/
public interface IInspectionSheetService extends CrudService<InspectionSheet, InspectionSheetDTO> {
PageData<InspectionSheetDTO> page (Map<String, Object> params);
InspectionSheetDTO get(Long id);
InspectionSheet saveSheet(InspectionSheetDTO dto);
void update(InspectionSheetDTO dto);
void delete(Long[] ids);
List<InspectionSheetDTO> list(Map<String, Object> params);
// List<Event> getFluxParamList(Map<String, Object> params);
List<InspectionSampleDTO> getFluxParamList(Long inspectionSheetId);
void saveFluxParamList(InspectionSampleDTO[] lists);
List<ProductFeaturesDTO> getInspectionSheetFeaturesList(Map<String, Object> params);
void calculate(Long inspectionSheetId);
}