select id, batch_no, batch_name, batch_date, trans_line_type, product_type, batch_type, trans_type, start_site_code, send_country, next_site_code, air_billl_no, etd, eta, pack_num, car_no, ship_no, clearance_res_status, declare_res_status, dest_country, dest_country_name, total_parcel_qty, total_waybill_qty, total_volume, total_weight, op_man, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_tms_site_batch insert into emis_tms_site_batch id, batch_no, batch_name, batch_date, trans_line_type, product_type, batch_type, trans_type, start_site_code, send_country, next_site_code, air_billl_no, etd, eta, pack_num, car_no, ship_no, clearance_res_status, declare_res_status, dest_country, dest_country_name, total_parcel_qty, total_waybill_qty, total_volume, total_weight, op_man, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site, #{id}, #{batchNo}, #{batchName}, #{batchDate}, #{transLineType}, #{productType}, #{batchType}, #{transType}, #{startSiteCode}, #{sendCountry}, #{nextSiteCode}, #{airBilllNo}, #{etd}, #{eta}, #{packNum}, #{carNo}, #{shipNo}, #{clearanceResStatus}, #{declareResStatus}, #{destCountry}, #{destCountryName}, #{totalParcelQty}, #{totalWaybillQty}, #{totalVolume}, #{totalWeight}, #{opMan}, #{remark}, #{tenantId}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{createSite}, #{updateSite}, update emis_tms_site_batch batch_no = #{batchNo}, batch_name = #{batchName}, batch_date = #{batchDate}, trans_line_type = #{transLineType}, product_type = #{productType}, batch_type = #{batchType}, trans_type = #{transType}, start_site_code = #{startSiteCode}, send_country = #{sendCountry}, next_site_code = #{nextSiteCode}, air_billl_no = #{airBilllNo}, etd = #{etd}, eta = #{eta}, pack_num = #{packNum}, car_no = #{carNo}, ship_no = #{shipNo}, clearance_res_status = #{clearanceResStatus}, declare_res_status = #{declareResStatus}, dest_country = #{destCountry}, dest_country_name = #{destCountryName}, total_parcel_qty = #{totalParcelQty}, total_waybill_qty = #{totalWaybillQty}, total_volume = #{totalVolume}, total_weight = #{totalWeight}, op_man = #{opMan}, remark = #{remark}, tenant_id = #{tenantId}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, create_site = #{createSite}, update_site = #{updateSite}, where id = #{id} delete from emis_tms_site_batch where id = #{id} delete from emis_tms_site_batch where id in #{id}