自动化立体仓库 - WMS系统
zwl
3 天以前 ad4fb70a79a07d494de4b3183ff6cf00d94aab08
src/main/java/com/zy/asrs/service/impl/DigitalTwinServiceImpl.java
@@ -49,6 +49,13 @@
     */
    public DtOverviewVo overview(String areaId) {
        if (areaId != null) {
            areaId = areaId.trim();
            if (areaId.isEmpty()) {
                areaId = null;
            }
        }
        List<Double> dbOverview = digitalTwinMapper.overview(areaId);
        if (dbOverview != null && !dbOverview.isEmpty()){
            int total = (int)Math.round(dbOverview.get(0));