| | |
| | | package com.mes.damage.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.github.yulichang.base.MPJBaseService; |
| | | import com.mes.damage.entity.Damage; |
| | | import com.mes.damage.entity.DamagePrint; |
| | | import com.mes.damage.entity.dto.DamageDTO; |
| | | import com.mes.opctask.entity.LoadGlassDeviceTaskHistory; |
| | | import com.mes.pp.entity.ReportingWork; |
| | | import com.mes.pp.entity.ReportingWorkDetail; |
| | | import com.mes.utils.Result; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * 服务类 |
| | | * </p> |
| | | * |
| | | * @author wu |
| | |
| | | */ |
| | | public interface DamageService extends MPJBaseService<Damage> { |
| | | |
| | | List<Damage> selectDamage(String startTime, String endTime, int type, String workingProcedure); |
| | | Page<DamageDTO> selectDamage( |
| | | String startTime, |
| | | String endTime, |
| | | int type, |
| | | int status, |
| | | String workingProcedure, |
| | | int pageNum, // 新增:动态页码 |
| | | int pageSize // 新增:动态每页条数 |
| | | ); |
| | | |
| | | // List<Damage> selectDamage(String startTime, String endTime, int type, int status, String workingProcedure); |
| | | |
| | | void submitDamage(List<Damage> damageList); |
| | | |
| | | Boolean submitReport(Damage damage); |
| | | |
| | | /** |
| | | * 按照玻璃id信息自动报工 |
| | | * |
| | | * @param glassId |
| | | * @param deviceId |
| | | * @param workingProcedure |
| | | * @param remark |
| | | */ |
| | | void autoSubmitReport(String glassId, int deviceId, String workingProcedure, String remark, int type); |
| | | |
| | | /** |
| | | * 单个破损 |
| | |
| | | List<DamagePrint> selectDamagePrintDetails(Damage damage); |
| | | |
| | | void deleteByGlassId(String glassId); |
| | | |
| | | Boolean sendToERP(ReportingWork reportingWork, List<ReportingWorkDetail> reportingWorkDetails, Boolean type); |
| | | |
| | | List<Damage> queryUnTempByFlowCardId(String flowCardId); |
| | | } |