zss
2023-07-26 f330903e12d38af89d61f16c96856924d241a0f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.yuanchu.limslaboratory.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanchu.limslaboratory.pojo.InspectionRecords;
import com.yuanchu.limslaboratory.pojo.dto.InspectionRecordsDto;
 
import java.util.List;
import java.util.Map;
 
/**
 * 检测记录(InspectionRecords)表服务接口
 *
 * @author zss
 * @since 2023-07-24 14:05:12
 */
public interface InspectionRecordsService extends IService<InspectionRecords> {
 
    /**
     * 根据样品编号id以及状态(待提交)查询检测记录
     * @param productId
     * @return
     */
    InspectionRecordsDto selectByProductId(Integer productId, Integer submitState);
 
    /**
     * 根据样品编号id以及状态(待提交)修改检测记录
     * @param inspectionRecordsDto
     */
    void upByProductId(InspectionRecordsDto inspectionRecordsDto);
 
    /**
     *  根据检验记录id修改提交状态
     * @param id
     */
    void submitRecords(Integer id);
 
 
}