4
hao
2025-04-16 c5fb1fbcbb2bf4d511773d348f9ef625855c61fc
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
39
package com.web.pda.lyt.lytPda.service;
 
import com.app.base.data.ApiResponseResult;
//不良投入
public interface DefectInputService {
 
    //出现频率最高排序不良类型
    ApiResponseResult getDefect(String factory,String company,String procLine) throws Exception;
    
    //其他不良类型选择(低频率)
    ApiResponseResult getDefectOther(String factory,String company,String procLine) throws Exception;
    
    //其他不良类型选择(低频率)-查询
    ApiResponseResult searchDefectOther(String factory,String company,String procLine,String keyword) throws Exception;
    
    //设备编码
    ApiResponseResult getDeviceCode() throws Exception;
    
    //工序线体
    ApiResponseResult getProcLine(String factory,String company,String keyword) throws Exception;
    
    //选择工单
    ApiResponseResult getTaskNo(String factory,String company,String procLine,String keyword) throws Exception;
    
    //保存结果/删除结果
    ApiResponseResult setDefectData(String userNo,String taskNo,String procLine,String defCode,
            int num,int type,String devCode, String factory,String company) throws Exception;
 
    //显示投入的不良明细记录
    ApiResponseResult getRecord(String factory,String company,String taskNo,
            String procLine,String devCode)throws Exception;
    
    //通过工号获取对应工序线体
    ApiResponseResult getProcLineByUser(String factory,String company,String userNo)throws Exception;
    
    //获取不良列表及明细
    ApiResponseResult getBadList(String factory,String company,String keyword,String releaseNo,
            int size,int page)throws Exception;
}