自动化立体仓库 - WMS系统
zwl
6 天以前 632bde0f32999a2b319b706e23d90bc1b5dd8cc2
src/main/java/com/zy/asrs/service/impl/DigitalTwinServiceImpl.java
@@ -51,8 +51,10 @@
        List<Double> dbOverview = digitalTwinMapper.overview(areaId);
        if (dbOverview != null && !dbOverview.isEmpty()){
            int total = (int)Math.round(dbOverview.get(0));
            total = Math.min(total, 40000);
            DtOverviewVo dtOverviewVo = DtOverviewVo.builder()
                .totalLoc((int)Math.round(dbOverview.get(0)))
                    .totalLoc(total)
                    .useLoc((int)Math.round(dbOverview.get(1)))
                    .remainingStock((int)Math.round(dbOverview.get(2)))
                    .todayWarehousing((int)Math.round(dbOverview.get(3)))
@@ -189,7 +191,7 @@
        return dtInAndOutBoundVos;
    }
    /**
     * 近期近期呆滞品信息,默认超过30天为呆滞品
     * 近期近期呆滞品信息,默认超过14天为呆滞品
     *
     * @param areaId
     * @param overDayNum
@@ -200,7 +202,7 @@
     */
    public List<DtDetainMatVo> recentDetainMat(String areaId, Integer overDayNum, Integer pageIndex, Integer pageSize, String condition) {
        overDayNum = overDayNum == null ? 30 : overDayNum;
        overDayNum = overDayNum == null ? 14 : overDayNum;
        pageIndex = pageIndex == null ? 1 : pageIndex;
        pageSize = pageSize == null ? 1000000 : pageSize;