|  |  |  | 
|---|
|  |  |  | package com.zy.asrs.service; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.zy.asrs.entity.BasDevp; | 
|---|
|  |  |  | import com.zy.asrs.entity.WaitPakin; | 
|---|
|  |  |  | import com.zy.asrs.entity.WrkDetl; | 
|---|
|  |  |  | import com.zy.asrs.entity.WrkMast; | 
|---|
|  |  |  | import com.zy.asrs.entity.param.EmptyPlateOutParam; | 
|---|
|  |  |  | import com.zy.asrs.entity.param.FullStoreParam; | 
|---|
|  |  |  | import com.zy.asrs.entity.param.LocDetlAdjustParam; | 
|---|
|  |  |  | import com.zy.asrs.entity.param.StockOutParam; | 
|---|
|  |  |  | import com.zy.common.model.LocDetlDto; | 
|---|
|  |  |  | import com.zy.common.model.StartupDto; | 
|---|
|  |  |  | import com.zy.common.model.TaskDto; | 
|---|
|  |  |  | import com.zy.common.model.enums.IoWorkType; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 全板入库 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @return 库位号 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | String startupFullPutStore(FullStoreParam param, Long userId); | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 出库作业 | 
|---|
|  |  |  | * @param staNo 目标站点 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param staNo    目标站点 | 
|---|
|  |  |  | * @param locDetls 待出库物料 | 
|---|
|  |  |  | * @param ioType 入出库类型 | 
|---|
|  |  |  | * @param ioType   入出库类型 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void stockOut(BasDevp staNo, List<LocDetlDto> locDetls, Integer ioType, Long userId, String allotNo, Boolean sell, Double more); | 
|---|
|  |  |  | void stockOut(BasDevp staNo, List<LocDetlDto> locDetls, IoWorkType ioWorkType, Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void stockOut(BasDevp staNo, TaskDto taskDto, Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void stockOutSxk(BasDevp staNo, TaskDto taskDto, Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void stockOutLibraryType(BasDevp staNo, TaskDto taskDto, Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 空板入库 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @return 库位号 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | String emptyPlateIn(Integer sourceStaNo, Long userId); | 
|---|
|  |  |  | 
|---|
|  |  |  | void emptyPlateOut(EmptyPlateOutParam param, Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 自动空板出库 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param param | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public WrkMast emptyPlateOut(EmptyPlateOutParam param); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 盘点出库 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void locCheckOut(StockOutParam param, Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 盘点出库 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void locCheckOutsxk(StockOutParam param, Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 库位移转 | 
|---|
|  |  |  | 
|---|
|  |  |  | * 手动拣料入库工作档 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void pickWrkMast(String workNo, Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 通知档手动生成任务 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | StartupDto createWaitPainWrkMastStart(List<WaitPakin> list, Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 通知档手动生成任务 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | String dealPreHaveStart(Integer wrkNo, Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void turnMatLocDetl(EmptyPlateOutParam param, Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 并板出库 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void locMergeOut(StockOutParam param, Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * sxk并板出库 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void locMergeOutSxk(StockOutParam param, Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void toSxk(WrkMast wrkMastold, List<WrkDetl> wrkDetls, Short locType); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void toCrn(WrkMast wrkMastold, List<WrkDetl> wrkDetls, Short locType); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|