自动化立体仓库 - WMS系统
1
zhang
2025-06-25 0e262efdb8cb2768e0aa845ccb26f47b8732c577
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) {