| | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.mes.downglassinfo.entity.DownGlassInfo; |
| | | import com.mes.downworkstation.entity.dto.DownGlassInfoDTO; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * <p> |
| | | * Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author zhoush |
| | | * @since 2024-03-27 |
| | | */ |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Repository |
| | | public interface DownGlassInfoMapper extends BaseMapper<DownGlassInfo> { |
| | | /** |
| | | * 按流程卡查询落架数量最多的流程卡及层数 |
| | | * |
| | | * @param flowCardId |
| | | * @return |
| | | */ |
| | | DownGlassInfoDTO queryDownGlassMaxLayer(@Param(value = "flowCardId") String flowCardId); |
| | | |
| | | /** |
| | | * 查询流程卡指定层数需要落架的次序 |
| | | * |
| | | * @param flowCardId |
| | | * @param layer |
| | | * @return |
| | | */ |
| | | Integer queryMaxSequence(@Param(value = "flowCardId") String flowCardId, @Param(value = "layer") int layer); |
| | | |
| | | /** |
| | | * 获取落架玻璃信息,包括已绑定流程卡、层数未落架的玻璃信息 |
| | | * |
| | | * @param isDownload 是否获取未落架玻璃信息 True 已落架 false 未落架 |
| | | * @return |
| | | */ |
| | | List<DownGlassInfoDTO> queryWorkStationIsIn(@Param(value = "workList") List<Integer> workList, @Param(value = "isDownload") Boolean isDownload); |
| | | |
| | | /** |
| | | * 获取 |
| | | * |
| | | * @param workList |
| | | * @return |
| | | */ |
| | | List<DownGlassInfoDTO> queryWorkStationFlowCard(@Param(value = "workList") List<Integer> workList); |
| | | |
| | | /** |
| | | * 获取下片信息 |
| | | * |
| | | * @param processId,technologyNumber |
| | | * @return |
| | | */ |
| | | List<Map<String, Object>> downGlassLabelPrint(@Param("processId") String processId, @Param("technologyNumber") Integer technologyNumber); |
| | | |
| | | } |