select id, service_id, site_code, module_serial, module_model, ab_module, package_no, supplier_module_barcode, customer_module_barcode, cell_serial, cell_model, gb_Module_code, gb_cell_code, cell_item, cell_value, create_time, create_user, spare_field1, spare_field2, spare_field3, spare_field4 from da_cell_data
insert into da_cell_data
service_id,
site_code,
module_serial,
module_model,
ABModule,
package_no,
supplier_module_barcode,
customer_module_barcode,
cell_serial,
cell_model,
cell_item,
cell_value,
create_time,
create_user,
spare_field1,
spare_field2,
spare_field3,
spare_field4,
#{serviceId},
#{siteCode},
#{moduleSerial},
#{moduleModel},
#{ABModule},
#{packageNo},
#{supplierModuleBarcode},
#{customerModuleBarcode},
#{cellSerial},
#{cellModel},
#{cellItem},
#{cellValue},
#{createTime},
#{createUser},
#{spareField1},
#{spareField2},
#{spareField3},
#{spareField4},
update da_cell_data
service_id = #{serviceId},
site_code = #{siteCode},
module_serial = #{moduleSerial},
module_model = #{moduleModel},
ABModule = #{ABModule},
package_no = #{packageNo},
supplier_module_barcode = #{supplierModuleBarcode},
customer_module_barcode = #{customerModuleBarcode},
cell_serial = #{cellSerial},
cell_model = #{cellModel},
cell_item = #{cellItem},
cell_value = #{cellValue},
create_time = #{createTime},
create_user = #{createUser},
spare_field1 = #{spareField1},
spare_field2 = #{spareField2},
spare_field3 = #{spareField3},
spare_field4 = #{spareField4},
where id = #{id}
delete from da_cell_data where id = #{id}
delete from da_cell_data where id in
#{id}
DELETE
FROM
da_cell_data
WHERE
gb_cell_code = #{gbCellCode}
DELETE
FROM
da_cell_data
WHERE
cell_serial = #{cellSerial}