insert into tb_declare (id, business_id, goods_name, gross_weight, num, production_date, expiration_date, storage_mode, production_mode, origin, producer_code, send_unit, receive_unit, route, driver_name, driver_phone, agent, agent_phone, china_car_no, china_car_suff, car_no, custom_proof, quarantine_proof, shop, production_code, container_code) values (#{id}, #{businessId}, #{goodsName}, #{grossWeight}, #{num}, #{productionDate}, #{expirationDate}, #{storageMode}, #{productionMode}, #{origin}, #{producerCode}, #{sendUnit}, #{receiveUnit}, #{route}, #{driverName}, #{driverPhone}, #{agent}, #{agentPhone}, #{chinaCarNo}, #{chinaCarSuff}, #{carNo}, #{customProof}, #{quarantineProof}, #{shop}, #{productionCode}, #{containerCode}) delete from tb_declare where id = #{id} update tb_declare set id = #{id}, business_id = #{businessId}, goods_name = #{goodsName}, gross_weight = #{grossWeight}, num = #{num}, production_date = #{productionDate}, expiration_date = #{expirationDate}, storage_mode = #{storageMode}, production_mode = #{productionMode}, origin = #{origin}, producer_code = #{producerCode}, send_unit = #{sendUnit}, receive_unit = #{receiveUnit}, route = #{route}, driver_name = #{driverName}, driver_phone = #{driverPhone}, agent = #{agent}, agent_phone = #{agentPhone}, china_car_no = #{chinaCarNo}, china_car_suff = #{chinaCarSuff}, car_no = #{carNo}, custom_proof = #{customProof}, quarantine_proof = #{quarantineProof}, shop = #{shop}, production_code = #{productionCode}, container_code = #{containerCode} where id = #{id} select * from tb_declare