自动化立体仓库 - WMS系统
*
whycq
2024-09-30 035eb4ea58c56ae748b10e4121fc907aa9de62ea
*
2个文件已修改
13 ■■■■■ 已修改文件
src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/LocDetlMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
@@ -655,6 +655,10 @@
        if (wrkMast.getWrkSts() != 14L) {
            throw new CoolException("当前托盘出库未完成!");
        }
        LocMast locMast = locMastService.selectOne(new EntityWrapper<LocMast>().eq("barcode", param.getBarcode()));
        if (locMast.getFullPlt().equals("Y")) {
            throw new CoolException("当前托盘已满!");
        }
        //设置非null批号,
        for (CombParam.CombMat combMat : param.getCombMats()) {
@@ -662,6 +666,13 @@
                combMat.setBatch("");
            }
        }
        if (param.getIsFull().equals("1")) {
            wrkMast.setFullPlt("Y");
            wrkMastService.updateById(wrkMast);
            locMast.setFullPlt("Y");
            locMastService.updateById(locMast);
        }
        Date now = new Date();
        for (CombParam.CombMat combMat : param.getCombMats()) {
src/main/resources/mapper/LocDetlMapper.xml
@@ -301,7 +301,7 @@
<!--                and (a.batch IS NULL OR a.batch = '')-->
<!--            </otherwise>-->
<!--        </choose>-->
        <if test="batch != null">
        <if test="batch != null and batch != ''">
            and a.batch = #{batch}
        </if>
        <if test="orderNo != null and orderNo != ''">