select line_id, transfer_id, material_stock_id, item_id, item_code, item_name, specification, unit_of_measure, unit_name, quantity_transfer, workorder_id, workorder_code, batch_code, from_warehouse_id, from_warehouse_code, from_warehouse_name, from_location_id, from_location_code, from_location_name, from_area_id, from_area_code, from_area_name, to_warehouse_id, to_warehouse_code, to_warehouse_name, to_location_id, to_location_code, to_location_name, to_area_id, to_area_code, to_area_name, expire_date, vendor_id, vendor_code, vendor_name, vendor_nick, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from wm_transfer_line
insert into wm_transfer_line
transfer_id,
material_stock_id,
item_id,
item_code,
item_name,
specification,
unit_of_measure,
unit_name,
quantity_transfer,
workorder_id,
workorder_code,
batch_code,
from_warehouse_id,
from_warehouse_code,
from_warehouse_name,
from_location_id,
from_location_code,
from_location_name,
from_area_id,
from_area_code,
from_area_name,
to_warehouse_id,
to_warehouse_code,
to_warehouse_name,
to_location_id,
to_location_code,
to_location_name,
to_area_id,
to_area_code,
to_area_name,
expire_date,
vendor_id,
vendor_code,
vendor_name,
vendor_nick,
remark,
attr1,
attr2,
attr3,
attr4,
create_by,
create_time,
update_by,
update_time,
#{transferId},
#{materialStockId},
#{itemId},
#{itemCode},
#{itemName},
#{specification},
#{unitOfMeasure},
#{unitName}
#{quantityTransfer},
#{workorderId},
#{workorderCode},
#{batchCode},
#{fromWarehouseId},
#{fromWarehouseCode},
#{fromWarehouseName},
#{fromLocationId},
#{fromLocationCode},
#{fromLocationName},
#{fromAreaId},
#{fromAreaCode},
#{fromAreaName},
#{toWarehouseId},
#{toWarehouseCode},
#{toWarehouseName},
#{toLocationId},
#{toLocationCode},
#{toLocationName},
#{toAreaId},
#{toAreaCode},
#{toAreaName},
#{expireDate},
#{vendorId},
#{vendorCode},
#{vendorName},
#{vendorNick},
#{remark},
#{attr1},
#{attr2},
#{attr3},
#{attr4},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update wm_transfer_line
transfer_id = #{transferId},
material_stock_id = #{materialStockId},
item_id = #{itemId},
item_code = #{itemCode},
item_name = #{itemName},
specification = #{specification},
unit_of_measure = #{unitOfMeasure},
unit_name = #{unitName},
quantity_transfer = #{quantityTransfer},
workorder_id = #{workorderId},
workorder_code = #{workorderCode},
batch_code = #{batchCode},
from_warehouse_id = #{fromWarehouseId},
from_warehouse_code = #{fromWarehouseCode},
from_warehouse_name = #{fromWarehouseName},
from_location_id = #{fromLocationId},
from_location_code = #{fromLocationCode},
from_location_name = #{fromLocationName},
from_area_id = #{fromAreaId},
from_area_code = #{fromAreaCode},
from_area_name = #{fromAreaName},
to_warehouse_id = #{toWarehouseId},
to_warehouse_code = #{toWarehouseCode},
to_warehouse_name = #{toWarehouseName},
to_location_id = #{toLocationId},
to_location_code = #{toLocationCode},
to_location_name = #{toLocationName},
to_area_id = #{toAreaId},
to_area_code = #{toAreaCode},
to_area_name = #{toAreaName},
expire_date = #{expireDate},
vendor_id = #{vendorId},
vendor_code = #{vendorCode},
vendor_name = #{vendorName},
vendor_nick = #{vendorNick},
remark = #{remark},
attr1 = #{attr1},
attr2 = #{attr2},
attr3 = #{attr3},
attr4 = #{attr4},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where line_id = #{lineId}
delete from wm_transfer_line where line_id = #{lineId}
delete from wm_transfer_line where line_id in
#{lineId}
delete from wm_transfer_line where transfer_id = #{transferId}