INSERT ignore into bg_wheel_chocks.record_in (epc_code, batch_code, location_code,manufacturer_id, manufacturer_Name, create_by,create_time) VALUES (#{item},#{inStore.binchCode},#{inStore.selectLocationText},#{inStore.manufacturerId},#{inStore.selectManuText},#{inStore.submitUser},now()) INSERT ignore into bg_wheel_chocks.ledger_rfid (manufacturer_id, rifd_code, batch_code, location_code) VALUES (#{inStore.manufacturerId},#{item},#{inStore.binchCode},#{inStore.selectLocationText}) INSERT INTO bg_wheel_chocks.record_out (epc_code, location_code, use_user, create_by) VALUES (#{epc}, #{outStoreDto.areaCode}, #{outStoreDto.useUser}, #{outStoreDto.submitUser}) UPDATE bg_wheel_chocks.ledger_rfid SET location_type = '2', location_code = #{outStoreDto.areaCode}, update_time = now() WHERE rifd_code in #{epc}