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);
|
}
|