From 67b0fa90bf6003252c130a22af6ecf1ad909d0e6 Mon Sep 17 00:00:00 2001 From: sungsuhub <145002081+sungsuhub@users.noreply.github.com> Date: Tue, 16 Jan 2024 00:15:56 +0900 Subject: [PATCH] Add files via upload --- src/main/resources/mappers/VendorMapper.xml | 210 ++++++++++---------- 1 file changed, 105 insertions(+), 105 deletions(-) diff --git a/src/main/resources/mappers/VendorMapper.xml b/src/main/resources/mappers/VendorMapper.xml index 3e3f8b4..b1fbe85 100644 --- a/src/main/resources/mappers/VendorMapper.xml +++ b/src/main/resources/mappers/VendorMapper.xml @@ -1,106 +1,106 @@ - - - - - - - - - - - - - - - - - - - - update vendor - set name = #{name}, - president_name = #{presidentName}, - address = #{address}, - registration_number = #{registrationNumber}, - email = #{email}, - president_telephone = #{presidentTelephone}, - vendor_manager = #{vendorManager}, - vendor_manager_telephone = #{vendorManagerTelephone}, - main_product = #{mainProduct}, - manager_id = #{managerId}, - activation = #{activation} - where id = #{id} - - - - - - - insert into vendor (id, name, president_name, address, registration_number, email, president_telephone, vendor_manager, vendor_manager_telephone, main_product, manager_id, activation) - values (UUID(), #{name}, #{presidentName}, #{address}, #{registrationNumber}, #{email}, #{presidentTelephone}, #{vendorManager}, #{vendorManagerTelephone}, #{mainProduct}, #{managerId}, #{activation}) - - - - - - delete from vendor where id = #{id} - - + + + + + + + + + + + + + + + + + + + + update vendor + set name = #{name}, + president_name = #{president_name}, + address = #{address}, + registration_number = #{registration_number}, + email = #{email}, + president_telephone = #{president_telephone}, + vendor_manager = #{vendor_manager}, + vendor_manager_telephone = #{vendor_manager_telephone}, + main_product = #{main_product}, + manager_id = #{manager_id}, + activation = #{activation} + where id = #{id} + + + + + + + insert into vendor (id, name, president_name, address, registration_number, email, president_telephone, vendor_manager, vendor_manager_telephone, main_product, manager_id, activation) + values (UUID(), #{name}, #{president_name}, #{address}, #{registration_number}, #{email}, #{president_telephone}, #{vendor_manager}, #{vendor_manager_telephone}, #{main_product}, #{manager_id}, #{activation}) + + + + + + delete from vendor where id = #{id} + + \ No newline at end of file