chengf
2026-03-24 b2358fc44148073645def4e723c8153a98a701da
java110-db/src/main/resources/mapper/store/ResourceStoreV1ServiceDaoImplMapper.xml
@@ -5,13 +5,31 @@
    <!-- 保存物品信息信息 add by wuxw 2018-07-03 -->
    <insert id="saveResourceStoreInfo" parameterType="Map">
        insert into resource_store(sh_id, description, remark, store_id, res_id, parent_rst_id, warning_stock, rss_id,
                                   res_name, rst_id, out_low_price, price, mini_unit_stock, unit_code, res_code,
                                   mini_unit_code, average_price, stock, out_high_price, show_mobile, is_fixed,
                                   mini_stock,community_id)
        values (#{shId}, #{description}, #{remark}, #{storeId}, #{resId}, #{parentRstId}, #{warningStock}, #{rssId},
                #{resName}, #{rstId}, #{outLowPrice}, #{price}, #{miniUnitStock}, #{unitCode}, #{resCode},
                #{miniUnitCode}, #{averagePrice}, #{stock}, #{outHighPrice}, #{showMobile}, #{isFixed}, #{miniStock},#{communityId})
        insert into resource_store(
        sh_id, description, remark, store_id, res_id, parent_rst_id, warning_stock, rss_id,
        res_name, rst_id, out_low_price, price, mini_unit_stock, unit_code, res_code,
        mini_unit_code, average_price, stock, out_high_price, show_mobile, is_fixed,
        mini_stock, community_id, community_name,
        triple_waybill_no, system_name, model, brand, supplier,
        budget_approval, budget_quantity, budget_unit_price, budget_amount,
        apply_quantity_total, purchase_quantity_total, actual_delivery_quantity,
        payable_amount_total, paid_amount_total, unpaid_amount_total, is_occurred,
        -- 新增字段(按你提供的顺序补充)
        payable_amount, paid_amount, unpaid_amount, total_return_quantity,
        supplier1, supplier2, supplier3, rst_name
        )
        values (
        #{shId}, #{description}, #{remark}, #{storeId}, #{resId}, #{parentRstId}, #{warningStock}, #{rssId},
        #{resName}, #{rstId}, #{outLowPrice}, #{price}, #{miniUnitStock}, #{unitCode}, #{resCode},
        #{miniUnitCode}, #{averagePrice}, #{stock}, #{outHighPrice}, #{showMobile}, #{isFixed},
        #{miniStock}, #{communityId}, #{communityName},
        #{tripleWaybillNo}, #{systemName}, #{model}, #{brand}, #{supplier},
        #{budgetApproval}, #{budgetQuantity}, #{budgetUnitPrice}, #{budgetAmount},
        #{applyQuantityTotal}, #{purchaseQuantityTotal}, #{actualDeliveryQuantity},
        #{payableAmountTotal}, #{paidAmountTotal}, #{unpaidAmountTotal}, #{isOccurred},
        #{payableAmount}, #{paidAmount}, #{unpaidAmount}, #{totalReturnQuantity},
        #{supplier1}, #{supplier2}, #{supplier3}, #{rstName}
        );
    </insert>
    <!-- 查询物品信息信息 add by wuxw 2018-07-03 -->