| | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.mes.downglassinfo.entity.DownGlassInfo; |
| | | import com.mes.downworkstation.entity.dto.DownGlassInfoDTO; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface DownGlassInfoService extends IService<DownGlassInfo> { |
| | | |
| | |
| | | * @param flowCardId |
| | | * @return // 根据流程卡号查询最大序号 |
| | | */ |
| | | Integer getMaxSequenceByFlowCardId(String flowCardId); |
| | | Integer getMaxSequenceByFlowCardId(String flowCardId, int layer); |
| | | |
| | | /** |
| | | * @param downGlassInfo 插入下片信息 |
| | |
| | | void insertDownGlassInfo(DownGlassInfo downGlassInfo); |
| | | |
| | | |
| | | DownGlassInfoDTO queryDownGlassMaxLayer(String flowCardId); |
| | | |
| | | Integer queryMaxSequence(String flowCardId, int layer); |
| | | |
| | | /** |
| | | * 获取架子绑定 流程卡的玻璃信息(已落架/未落架) |
| | | * |
| | | * @param isDownload true/false |
| | | * @return |
| | | */ |
| | | List<DownGlassInfoDTO> queryWorkStationIsIn(Boolean isDownload); |
| | | |
| | | /** |
| | | * 生成出片任务 |
| | | * |
| | | * @param glassId |
| | | * @return |
| | | */ |
| | | boolean generateOutGlassTask(String glassId); |
| | | } |