zhanghl
2025-05-12 612511712a3c2d5dcce89838f2b3792fdfcf3df4
钣金计划:从Redis中读取库存信息
已修改3个文件
9 ■■■■■ 文件已修改
aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsPlateStandardRequireController.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsBomServiceImpl.java 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateStandardRequireMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
aps-modules/aps-core/src/main/java/com/aps/core/controller/mainPlan/ApsPlateStandardRequireController.java
@@ -107,7 +107,7 @@
    /**
     * 钣金供应缺口报表
     */
    @RequiresPermissions("Aps:ApsPlateStandardRequire:supplyGapList")
    //@RequiresPermissions("Aps:ApsPlateStandardRequire:supplyGapList")
    @GetMapping("/supplyGapList")
    public TableDataInfo selectPlateSupplyGapList(ApsPlateStandardRequire apsPlateStandardRequire)
    {
aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsBomServiceImpl.java
@@ -139,9 +139,10 @@
                ApsBom apsBom = jsonArray.getJSONObject(i).to(ApsBom.class);
                bomLineList.add(apsBom);
            }
        }else {
            bomLineList = selectApsBomLineList(plant, itemNumber);
        }
//        else {
//            bomLineList = selectApsBomLineList(plant, itemNumber);
//        }
        return bomLineList;
    }
aps-modules/aps-core/src/main/resources/mapper/core/ApsPlateStandardRequireMapper.xml
@@ -180,7 +180,7 @@
        select id, require_track_id, bom_line_code, bom_line_level,
               match_state, match_mode, unmatched_demand_amount, start_date,
               complete_date, demand_date, org_code, production_base
        from aps_plate_standard_require where unmatched_demand_amount>0 and del_flag='0'
        from aps_plate_standard_require where unmatched_demand_amount>0 and del_flag='0' and bom_line_level>0
        <if test="requireTrackId != null and requireTrackId != ''"> and require_track_id like '%' || #{requireTrackId} || '%'</if>
        <if test="bomLineCode != null and bomLineCode != ''"> and bom_line_code like '%' || #{bomLineCode} || '%'</if>
    </select>