自动化立体仓库 - WMS系统
zhang
2025-05-19 37c04062d11f97f26ec5a48f5f6adb2f96eca7c5
src/main/java/com/zy/asrs/service/impl/AgvLocDetlServiceImpl.java
@@ -199,8 +199,12 @@
    /*
    更新库存明细
     */
    public void updateStock(String sourceLoc, String targetLoc) {
        this.baseMapper.updateStock(sourceLoc, targetLoc);
    public void updateStock(String sourceLoc, String targetLoc,Long userId) {
        if (Cools.isEmpty(userId)){
            this.baseMapper.updateStock(sourceLoc, targetLoc);
        }else {
            this.baseMapper.updateStock2(sourceLoc, targetLoc, userId);
        }
    }
    public Page<AgvLocDetl> getStockStatis(Page<AgvLocDetl> page) {