select id, pack_no, bill_code, main_bill_code, bl_sub_bill, scan_date, scan_status, pack_status, scan_man, scan_site, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_tms_pack_dtl insert into emis_tms_pack_dtl id, pack_no, bill_code, main_bill_code, bl_sub_bill, scan_date, scan_status, pack_status, scan_man, scan_site, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site, #{id}, #{packNo}, #{billCode}, #{mainBillCode}, #{blSubBill}, #{scanDate}, #{scanStatus}, #{packStatus}, #{scanMan}, #{scanSite}, #{remark}, #{tenantId}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{createSite}, #{updateSite}, update emis_tms_pack_dtl pack_no = #{packNo}, bill_code = #{billCode}, main_bill_code = #{mainBillCode}, bl_sub_bill = #{blSubBill}, scan_date = #{scanDate}, scan_status = #{scanStatus}, pack_status = #{packStatus}, scan_man = #{scanMan}, scan_site = #{scanSite}, 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_dtl scan_date = #{scanDate}, scan_status = #{scanStatus}, pack_status = #{packStatus}, scan_man = #{scanMan}, remark = #{remark}, update_by = #{updateBy}, update_site = #{updateSite}, del_flag = #{delFlag}, where bill_code = #{billCode} and pack_no = #{packNo} update from emis_tms_pack_dtl where id = #{id} update from emis_tms_pack_dtl where id in #{id} update from emis_tms_pack_dtl where id = #{id}