野心家
2024-10-25 1a56f6f4a0c2b8fc61bfde8bd3418a9731b87647
src/main/java/com/zy/asrs/service/impl/LocMastServiceImpl.java
@@ -13,8 +13,13 @@
public class LocMastServiceImpl extends ServiceImpl<LocMastMapper, LocMast> implements LocMastService {
    @Override
    public LocMast queryFreeLocMast(Integer row) {
        return this.baseMapper.queryFreeLocMast(row);
    public List<Integer> queryDistinctRow(Integer crnNo) {
        return this.baseMapper.queryDistinctRow(crnNo);
    }
    @Override
    public LocMast queryFreeLocMast(Integer row, Short locType1) {
        return this.baseMapper.queryFreeLocMast(row, locType1);
    }
    @Override
@@ -30,6 +35,11 @@
    }
    @Override
    public LocMast queryDemoSourceLoc0(Integer crn) {
        return this.baseMapper.queryDemoSourceLoc(crn);
    }
    @Override
    public LocMast queryDemoSourceLoc(Integer crn) {
        return this.baseMapper.queryDemoSourceLoc(crn);
    }
@@ -39,4 +49,12 @@
        return this.baseMapper.queryDemoLoc(crn);
    }
    @Override
    public Boolean checkEmptyCount(LocMast locMast) {
        if (locMast == null) {
            return false;
        }
        return this.baseMapper.selectEmptyLocCount(locMast.getLocType1(), locMast.getCrnNo()) > 1;
    }
}