自动化立体仓库 - WMS系统
1
zhangc
2025-04-09 469d8ceb95ed82f09fd4c1bddbbe672689bc8d82
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) {