| | |
| | | private RowLastnoService rowLastnoService; |
| | | |
| | | @Override |
| | | public LocMast queryFreeLocMast(Integer row) { |
| | | return this.baseMapper.queryFreeLocMast(row); |
| | | public LocMast queryFreeLocMast(Integer row, Short locType1, Short locType2, Short locType3) { |
| | | return this.baseMapper.queryFreeLocMast(row, locType1, locType2, locType3); |
| | | } |
| | | |
| | | @Override |
| | |
| | | } |
| | | return this.baseMapper.queryGroupEmptyStock(sourceStock.getCrnNo()); |
| | | } |
| | | |
| | | @Override |
| | | public Boolean checkEmptyCount(LocMast locMast) { |
| | | if (locMast == null) { |
| | | return false; |
| | | } |
| | | return this.baseMapper.selectEmptyLocCount(locMast.getLocType1(), locMast.getLocType2(), locMast.getLocType3(), locMast.getCrnNo()) > 1; |
| | | } |
| | | |
| | | } |