skyouc
2025-06-28 190230a07b0413f2e1317bae743c50bcef5f650c
zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/manage/OutManage.java
@@ -584,7 +584,7 @@
                    locDto.setWorkQty(detl.getWorkQty());
                    locDtos.add(locDto);
                    //库位实际可用数量
                    double surplusQty = detl.getAnfme() - detl.getWorkQty();
                    Double surplusQty = Math.round((detl.getAnfme() - detl.getWorkQty()) * 10000) / 10000.0;
                    if (surplusQty <= 0) {
                        continue;
                    }
@@ -1437,6 +1437,7 @@
                        cacheSite.setSiteStatus(CacheSiteStatusType.O.id);
                        cacheSite.setOrderId(null);
                        cacheSite.setOrderNo(null);
                        cacheSite.setBarcode(null);
                        cacheSite.setUpdateTime(new Date());
                        if (!cacheSiteService.updateById(cacheSite)) {
                            throw new CoolException("缓存站清空失败");