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 { /** * 根据上班记录查询杂工记录 * * @param dutyRecordIdList * @return */ List getArtificialInformationByDutyRecordId(List dutyRecordIdList); /** * 查询工时计算杂工记录 * * @param artificialInformation * @return */ List getComputationArtificialInformation(ArtificialInformation artificialInformation); /** * 根据班次list,杂工类型查询工时计算杂工记录 * * @param dutyRecordIdList * @param handymanTypeId * @return */ List getComputationArtificialInformationByList(List dutyRecordIdList,Long handymanTypeId); /** * 根据上班记录查询人工项目 * * @param dutyRecordIdList * @return */ List getHandymanTypeByDutyRecordId(List dutyRecordIdList); /** * 批量保存 * * @param artificialInformationList * @return */ List saveList(List artificialInformationList); /** * 检验个人工时 * * @param artificialInformation * @return */ String checkPersonDutyTimeById(ArtificialInformation artificialInformation); /** * 批量检验个人工时 * * @param artificialInformationList * @return */ String checkPersonDutyTime(List artificialInformationList); }