insert into plan_need_info
unit_id,
create_by,
remark,
company_id,
create_time
#{unitId},
#{createBy},
#{remark},
#{companyId},
now()
insert into plan_need_details
plan_id,
type_id,
plan_num,
plan_price,
plan_cost,
remark,
company_id,
create_time
#{planId},
#{typeId},
#{purchaseNum},
#{purchasePrice},
#{totalPrice},
#{remark},
#{companyId},
now()
insert into plan_borrow_info
need_unit_id,
borrow_unit_id,
create_by,
remark,
create_time
#{needUnitId},
#{borrowUnitId},
#{createBy},
#{remark},
now()
insert into plan_borrow_details
plan_id,
type_id,
plan_num,
borrow_num,
create_time,
remark,
company_id,
#{item.planId},
#{item.typeId},
#{item.purchaseNum},
#{item.borrowNum},
now(),
#{item.remark},
#{item.companyId},