李林
2023-10-07 658d4927d468c47208fd012d9128b09249c07eff
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
package com.chinaztt.mes.production.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.chinaztt.mes.production.dto.ArtificialInformationDTO;
import com.chinaztt.mes.production.dto.HandymanTypeDTO;
import com.chinaztt.mes.production.entity.ArtificialInformation;
import com.chinaztt.ztt.common.core.util.R;
 
import java.util.List;
 
/**
 * 杂工明细
 *
 * @author cxf
 * @date 2021-01-21 13:22:22
 */
public interface ArtificialInformationService extends IService<ArtificialInformation> {
    /**
     * 根据上班记录查询杂工记录
     *
     * @param dutyRecordIdList
     * @return
     */
    List<ArtificialInformationDTO> getArtificialInformationByDutyRecordId(List<Long> dutyRecordIdList);
 
    /**
     * 查询工时计算杂工记录
     *
     * @param artificialInformation
     * @return
     */
    List<ArtificialInformationDTO> getComputationArtificialInformation(ArtificialInformation artificialInformation);
 
    /**
     * 根据班次list,杂工类型查询工时计算杂工记录
     *
     * @param dutyRecordIdList
     * @param handymanTypeId
     * @return
     */
    List<ArtificialInformationDTO> getComputationArtificialInformationByList(List<Long> dutyRecordIdList,Long handymanTypeId);
 
    /**
     * 根据上班记录查询人工项目
     *
     * @param dutyRecordIdList
     * @return
     */
    List<HandymanTypeDTO> getHandymanTypeByDutyRecordId(List<Long> dutyRecordIdList);
 
    /**
     * 批量保存
     *
     * @param artificialInformationList
     * @return
     */
    List<Long> saveList(List<ArtificialInformation> artificialInformationList);
 
    /**
     * 检验个人工时
     *
     * @param artificialInformation
     * @return
     */
    String checkPersonDutyTimeById(ArtificialInformation artificialInformation);
 
    /**
     * 批量检验个人工时
     *
     * @param artificialInformationList
     * @return
     */
    String checkPersonDutyTime(List<ArtificialInformation> artificialInformationList);
}