select id, pack_no, pack_name, pack_date, dest_country, dest_country_name, bl_unpack, send_stite_code, next_site_code, next_station, total_parcel_qty, total_waybill_qty, total_volume, total_weight, pack_status, print_status, print_count, print_date, ext_data, op_man, ext1, ext2, ext3, ext4, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_tms_pack insert into emis_tms_pack id, pack_no, pack_name, pack_date, dest_country, dest_country_name, bl_unpack, send_stite_code, next_site_code, next_station, total_parcel_qty, total_waybill_qty, total_volume, total_weight, pack_status, print_status, print_count, print_date, ext_data, op_man, ext1, ext2, ext3, ext4, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site, #{id}, #{packNo}, #{packName}, #{packDate}, #{destCountry}, #{destCountryName}, #{blUnpack}, #{sendStiteCode}, #{nextSiteCode}, #{nextStation}, #{totalParcelQty}, #{totalWaybillQty}, #{totalVolume}, #{totalWeight}, #{packStatus}, #{printStatus}, #{printCount}, #{printDate}, #{extData}, #{opMan}, #{ext1}, #{ext2}, #{ext3}, #{ext4}, #{remark}, #{tenantId}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{createSite}, #{updateSite}, update emis_tms_pack pack_no = #{packNo}, pack_name = #{packName}, pack_date = #{packDate}, dest_country = #{destCountry}, dest_country_name = #{destCountryName}, bl_unpack = #{blUnpack}, send_stite_code = #{sendStiteCode}, next_site_code = #{nextSiteCode}, next_station = #{nextStation}, total_parcel_qty = #{totalParcelQty}, total_waybill_qty = #{totalWaybillQty}, total_volume = #{totalVolume}, total_weight = #{totalWeight}, pack_status = #{packStatus}, print_status = #{printStatus}, print_count = #{printCount}, print_date = #{printDate}, ext_data = #{extData}, op_man = #{opMan}, ext1 = #{ext1}, ext2 = #{ext2}, ext3 = #{ext3}, ext4 = #{ext4}, 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} update emis_tms_pack pack_name = #{packName}, pack_date = #{packDate}, dest_country = #{destCountry}, dest_country_name = #{destCountryName}, bl_unpack = #{blUnpack}, send_stite_code = #{sendStiteCode}, next_site_code = #{nextSiteCode}, next_station = #{nextStation}, total_parcel_qty = #{totalParcelQty}, total_waybill_qty = #{totalWaybillQty}, total_volume = #{totalVolume}, total_weight = #{totalWeight}, pack_status = #{packStatus}, print_status = #{printStatus}, print_count = #{printCount}, print_date = #{printDate}, ext_data = #{extData}, op_man = #{opMan}, ext1 = #{ext1}, ext2 = #{ext2}, ext3 = #{ext3}, ext4 = #{ext4}, 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 pack_no = #{packNo} and del_flag='0' update emis_tms_pack pack_no = #{packNo}, pack_name = #{packName}, pack_date = #{packDate}, dest_country = #{destCountry}, dest_country_name = #{destCountryName}, bl_unpack = #{blUnpack}, send_stite_code = #{sendStiteCode}, next_site_code = #{nextSiteCode}, next_station = #{nextStation}, total_parcel_qty = #{totalParcelQty}, total_waybill_qty = #{totalWaybillQty}, total_volume = #{totalVolume}, total_weight = #{totalWeight}, pack_status = #{packStatus}, print_status = #{printStatus}, print_count = #{printCount}, print_date = #{printDate}, ext_data = #{extData}, op_man = #{opMan}, ext1 = #{ext1}, ext2 = #{ext2}, ext3 = #{ext3}, ext4 = #{ext4}, 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} update emis_tms_pack set del_flag='1' where id = #{id} update emis_tms_pack set del_flag='1' where id in #{id}