liyong
2026-04-24 0d97ceb9be1278dd0a8667d1aab299aa36aaa526
refactor(mapper): 移除 speculative_trading_name 字段映射

- 从 ProcessRouteItemMapper.xml 中移除 speculative_trading_name 查询字段
- 从 ProductModelMapper.xml 中移除 speculative_trading_name 结果映射
- 从 SalesLedgerSchedulingMapper.xml 中移除 speculative_trading_name 查询字段
- 从 SalesLedgerWorkMapper.xml 中移除 speculative_trading_name 查询字段
已修改4个文件
5 ■■■■■ 文件已修改
src/main/resources/mapper/basic/ProductModelMapper.xml 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/production/ProcessRouteItemMapper.xml 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/production/SalesLedgerSchedulingMapper.xml 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/production/SalesLedgerWorkMapper.xml 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/basic/ProductModelMapper.xml
@@ -9,7 +9,6 @@
        <result column="product_id" property="productId" />
        <result column="model" property="model" />
        <result column="unit" property="unit" />
        <result column="speculative_trading_name" property="speculativeTradingName" />
        <result column="tenant_id" property="tenantId" />
        <result column="product_name" property="productName" />
        <result column="product_id" property="productId" />
src/main/resources/mapper/production/ProcessRouteItemMapper.xml
@@ -17,7 +17,6 @@
        select pri.*,
               pr.description ,
               pp.name as process_name,
               pm.speculative_trading_name,
               pm.product_id,
               pm.model,
               p.product_name,
src/main/resources/mapper/production/SalesLedgerSchedulingMapper.xml
@@ -15,7 +15,6 @@
        T2.quantity,
        T2.product_category,
        T2.specification_model,
        T2.speculative_trading_name,
        T2.unit
        FROM
        sales_ledger_product T2
@@ -76,7 +75,6 @@
        T2.status,
        T2.scheduling_user_id,
        T2.scheduling_user_name,
        T2.speculative_trading_name,
        T2.scheduling_date,
        ifNull(T2.scheduling_num,0) AS schedulingNum,
        ifNull(T2.finished_num,0) AS successNum,
src/main/resources/mapper/production/SalesLedgerWorkMapper.xml
@@ -23,7 +23,6 @@
        t3.product_category,
        t3.specification_model,
        t3.unit,
        t2.speculative_trading_name,
        t4.production_line
        FROM
        sales_ledger_work t4