|
|
@ -764,14 +764,15 @@
|
|
|
|
INSERT INTO mes_prepare_detail (
|
|
|
|
INSERT INTO mes_prepare_detail (
|
|
|
|
record_id,prepare_id,material_code,material_name,unit,
|
|
|
|
record_id,prepare_id,material_code,material_name,unit,
|
|
|
|
quantity,create_by,create_time,factory_code,status,
|
|
|
|
quantity,create_by,create_time,factory_code,status,
|
|
|
|
locator,need_date,recoil,fund_quanlity,buy_flag,parent_work_order,attr1
|
|
|
|
locator,need_date,recoil,fund_quanlity,buy_flag,parent_work_order,attr1,
|
|
|
|
|
|
|
|
erfmg,erfme
|
|
|
|
)VALUES
|
|
|
|
)VALUES
|
|
|
|
<foreach collection="list" item="d" index="index" separator=",">
|
|
|
|
<foreach collection="list" item="d" index="index" separator=",">
|
|
|
|
(
|
|
|
|
(
|
|
|
|
#{d.recordId},#{d.prepareId},#{d.materialCode},#{d.materailName},#{d.unit},
|
|
|
|
#{d.recordId},#{d.prepareId},#{d.materialCode},#{d.materailName},#{d.unit},
|
|
|
|
#{d.quantity},#{d.createBy},#{d.createTime},#{d.factoryCode},#{d.status},
|
|
|
|
#{d.quantity},#{d.createBy},#{d.createTime},#{d.factoryCode},#{d.status},
|
|
|
|
#{d.locator},#{d.needDate},#{d.recoil},#{d.fundQuanlity},#{d.buyFlag},#{d.parentWorkOrder},
|
|
|
|
#{d.locator},#{d.needDate},#{d.recoil},#{d.fundQuanlity},#{d.buyFlag},#{d.parentWorkOrder},
|
|
|
|
#{d.attr1}
|
|
|
|
#{d.attr1},#{d.erfmg},#{d.erfme}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
</foreach>
|
|
|
|
</foreach>
|
|
|
|
|
|
|
|
|
|
|
|