| | |
| | | |
| | | @Override |
| | | public LocMast queryFreeLocMast(Integer row, Short locType1) { |
| | | return this.baseMapper.queryFreeLocMast(row, locType1,1L); |
| | | return this.baseMapper.queryFreeLocMast(row, locType1, 1L); |
| | | } |
| | | |
| | | @Override |
| | | public LocMast queryFreeLocMast(Integer row, Short locType1,Long type) { |
| | | return this.baseMapper.queryFreeLocMast(row, locType1,type); |
| | | public LocMast queryFreeLocMast(Integer row, Short locType1, Long type) { |
| | | return this.baseMapper.queryFreeLocMast(row, locType1, type); |
| | | } |
| | | |
| | | @Override |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<String> queryGroupEmptyStock(String sourceLocNo,Long type) { |
| | | public List<String> queryGroupEmptyStock(String sourceLocNo, Long type) { |
| | | if (Cools.isEmpty(sourceLocNo)) { |
| | | return null; |
| | | } |
| | |
| | | if (locMast == null) { |
| | | return false; |
| | | } |
| | | return this.baseMapper.selectEmptyLocCount(locMast.getLocType1(), locMast.getCrnNo(),1L) > 1; |
| | | return this.baseMapper.selectEmptyLocCount(locMast.getLocType1(), locMast.getCrnNo(), 1L) > 1; |
| | | } |
| | | |
| | | @Override |
| | | public Boolean checkEmptyCount(LocMast locMast,Long type) { |
| | | public Boolean checkEmptyCount(LocMast locMast, Long type) { |
| | | if (locMast == null) { |
| | | return false; |
| | | } |
| | | return this.baseMapper.selectEmptyLocCount(locMast.getLocType1(), locMast.getCrnNo(),type) > 1; |
| | | return this.baseMapper.selectEmptyLocCount(locMast.getLocType1(), locMast.getCrnNo(), type) > 1; |
| | | } |
| | | |
| | | /* |
| | |
| | | // } |
| | | |
| | | @Override |
| | | public LocMast selectLocByLocStsPakInF(Integer curRow,Integer nearRow,LocMast locMast,Long type) { |
| | | if (curRow>nearRow){ |
| | | return this.baseMapper.selectLocByLocStsPakInF1(locMast.getCrnNo(),locMast.getBay1(),locMast.getLev1(),locMast.getGro1(),type); |
| | | public LocMast selectLocByLocStsPakInF(Integer curRow, Integer nearRow, LocMast locMast, Long type) { |
| | | if (curRow > nearRow) { |
| | | return this.baseMapper.selectLocByLocStsPakInF1(locMast.getCrnNo(), locMast.getBay1(), locMast.getLev1(), locMast.getGro1(), type); |
| | | } |
| | | return this.baseMapper.selectLocByLocStsPakInF2(locMast.getCrnNo(),locMast.getBay1(),locMast.getLev1(),locMast.getGro1(),type); |
| | | return this.baseMapper.selectLocByLocStsPakInF2(locMast.getCrnNo(), locMast.getBay1(), locMast.getLev1(), locMast.getGro1(), type); |
| | | } |
| | | |
| | | @Override |
| | | public LocMast selectLocByLocStsPakInShuttleF(Integer curRow,Integer nearRow,LocMast locMast,Long type) { |
| | | if (curRow>nearRow){ |
| | | return this.baseMapper.selectLocByLocStsPakInShuttleF1(locMast.getCrnNo(),locMast.getBay1(),locMast.getLev1(),locMast.getGro1(),type); |
| | | public LocMast selectLocByLocStsPakInShuttleF(Integer curRow, Integer nearRow, LocMast locMast, Long type) { |
| | | if (curRow > nearRow) { |
| | | return this.baseMapper.selectLocByLocStsPakInShuttleF1(locMast.getCrnNo(), locMast.getBay1(), locMast.getLev1(), locMast.getGro1(), type); |
| | | } |
| | | return this.baseMapper.selectLocByLocStsPakInShuttleF2(locMast.getCrnNo(),locMast.getBay1(),locMast.getLev1(),locMast.getGro1(),type); |
| | | return this.baseMapper.selectLocByLocStsPakInShuttleF2(locMast.getCrnNo(), locMast.getBay1(), locMast.getLev1(), locMast.getGro1(), type); |
| | | } |
| | | |
| | | /* |
| | |
| | | // return this.baseMapper.selectLocByLocStsPakInO2(locNos,1L); |
| | | // } |
| | | @Override |
| | | public LocMast selectLocByLocStsPakInO(Integer curRow,Integer nearRow,LocMast locMast,Long type) { |
| | | if (curRow>nearRow){ |
| | | return this.baseMapper.selectLocByLocStsPakInO1(locMast.getCrnNo(),locMast.getBay1(),locMast.getLev1(),locMast.getGro1(),type); |
| | | public LocMast selectLocByLocStsPakInO(Integer curRow, Integer nearRow, LocMast locMast, Long type) { |
| | | if (curRow > nearRow) { |
| | | return this.baseMapper.selectLocByLocStsPakInO1(locMast.getCrnNo(), locMast.getBay1(), locMast.getLev1(), locMast.getGro1(), type); |
| | | } |
| | | return this.baseMapper.selectLocByLocStsPakInO2(locMast.getCrnNo(),locMast.getBay1(),locMast.getLev1(),locMast.getGro1(),type); |
| | | return this.baseMapper.selectLocByLocStsPakInO2(locMast.getCrnNo(), locMast.getBay1(), locMast.getLev1(), locMast.getGro1(), type); |
| | | } |
| | | |
| | | @Override |
| | |
| | | } |
| | | |
| | | @Override |
| | | public Boolean checkWhole(List<LocDetl> locDetls,Long type) { |
| | | public Boolean checkWhole(List<LocDetl> locDetls, Long type) { |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public List<LocMast> queryShallowLocFMast(Integer crnNo) { |
| | | return this.baseMapper.queryShallowLocFMast(crnNo,1L); |
| | | return this.baseMapper.queryShallowLocFMast(crnNo, 1L); |
| | | } |
| | | |
| | | @Override |
| | | public List<LocMast> queryShallowLocFMast(Integer crnNo,Long type) { |
| | | return this.baseMapper.queryShallowLocFMast(crnNo,type); |
| | | public List<LocMast> queryShallowLocFMast(Integer crnNo, Long type) { |
| | | return this.baseMapper.queryShallowLocFMast(crnNo, type); |
| | | } |
| | | |
| | | @Override |
| | | public List<LocMast> selectLocMastShuttleMoveUnilateral(Integer bay,Integer lev,Integer crnNo) { |
| | | if (crnNo==1){ |
| | | return this.baseMapper.selectLocShuttleMoveUnilateralY(bay,lev,1L); |
| | | public List<LocMast> selectLocMastShuttleMoveUnilateral(Integer bay, Integer lev, Integer crnNo) { |
| | | if (crnNo == 1) { |
| | | return this.baseMapper.selectLocShuttleMoveUnilateralY(bay, lev, 1L); |
| | | } |
| | | return this.baseMapper.selectLocShuttleMoveUnilateralN(bay,lev,1L); |
| | | return this.baseMapper.selectLocShuttleMoveUnilateralN(bay, lev, 1L); |
| | | } |
| | | |
| | | @Override |
| | | public List<LocMast> selectLocMastShuttleMoveUnilateral(Integer bay,Integer lev,Integer crnNo,Long type) { |
| | | if (crnNo==1){ |
| | | return this.baseMapper.selectLocShuttleMoveUnilateralY(bay,lev,type); |
| | | public List<LocMast> selectLocMastShuttleMoveUnilateral(Integer bay, Integer lev, Integer crnNo, Long type) { |
| | | if (crnNo == 1) { |
| | | return this.baseMapper.selectLocShuttleMoveUnilateralY(bay, lev, type); |
| | | } |
| | | return this.baseMapper.selectLocShuttleMoveUnilateralN(bay,lev,type); |
| | | return this.baseMapper.selectLocShuttleMoveUnilateralN(bay, lev, type); |
| | | } |
| | | } |