From 579f8ac24b4ac3c815f8614a3128345d75f8cf52 Mon Sep 17 00:00:00 2001
From: Renpc-kilig <308442850@qq.com>
Date: Wed, 22 Nov 2023 10:04:20 +0800
Subject: [PATCH] =?UTF-8?q?=E6=88=BF=E5=B1=8B=E6=8E=92=E5=BA=8F=E9=97=AE?=
=?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9=20=20--renpc?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../mybatis/mapper/house/house-mapper.xml | 1000 ++++++++---------
1 file changed, 496 insertions(+), 504 deletions(-)
diff --git a/src/main/resources/mybatis/mapper/house/house-mapper.xml b/src/main/resources/mybatis/mapper/house/house-mapper.xml
index 386544b..494d10b 100644
--- a/src/main/resources/mybatis/mapper/house/house-mapper.xml
+++ b/src/main/resources/mybatis/mapper/house/house-mapper.xml
@@ -187,125 +187,122 @@
- INSERT INTO house_house(
- house_id,
- street,
- street_name,
- community,
- community_name,
- residential_id,
- residential_name,
- building_id,
- building_name,
- affiliation_unit,
- affiliation_floors,
- house_num,
- category_id,
- category_name,
- nature_id,
- nature_name,
- type_id,
- type_name,
- structure_id,
- structure_name,
- building_purpose_id,
- building_purpose_name,
- room_num,
- room_area,
- room_use_id,
- room_use_name,
- danger_id,
- danger_name,
- certificate_num,
- registration_date,
- affiliated_unit,
- is_rental,
- is_vacant,
- lodge_type_id,
- lodge_type_name,
- rental_purposes,
- homeowner,
- document_id,
- document_name,
- document_num,
- phone,
- custodian,
- custodian_document_id,
- custodian_document_name,
- custodian_document_num,
- custodian_phone,
- relationship_homeowner,
- creator,
- gmt_create,
- modifier,
- gmt_modified,
- is_delete
- ) VALUES(
- #{houseId},
- #{street},
- #{streetName},
- #{community},
- #{communityName},
- #{residentialId},
- #{residentialName},
- #{buildingId},
- #{buildingName},
- #{affiliationUnit},
- #{affiliationFloors},
- #{houseNum},
- #{categoryId},
- #{categoryName},
- #{natureId},
- #{natureName},
- #{typeId},
- #{typeName},
- #{structureId},
- #{structureName},
- #{buildingPurposeId},
- #{buildingPurposeName},
- #{roomNum},
- #{roomArea},
- #{roomUseId},
- #{roomUseName},
- #{dangerId},
- #{dangerName},
- #{certificateNum},
- #{registrationDate},
- #{affiliatedUnit},
- #{isRental},
- #{isVacant},
- #{lodgeTypeId},
- #{lodgeTypeName},
- #{rentalPurposes},
- #{homeowner},
- #{documentId},
- #{documentName},
- #{documentNum},
- #{phone},
- #{custodian},
- #{custodianDocumentId},
- #{custodianDocumentName},
- #{custodianDocumentNum},
- #{custodianPhone},
- #{relationshipHomeowner},
- #{creator},
- #{gmtCreate},
- #{modifier},
- #{gmtModified},
- #{isDelete}
- )
+ INSERT INTO house_house(house_id,
+ street,
+ street_name,
+ community,
+ community_name,
+ residential_id,
+ residential_name,
+ building_id,
+ building_name,
+ affiliation_unit,
+ affiliation_floors,
+ house_num,
+ category_id,
+ category_name,
+ nature_id,
+ nature_name,
+ type_id,
+ type_name,
+ structure_id,
+ structure_name,
+ building_purpose_id,
+ building_purpose_name,
+ room_num,
+ room_area,
+ room_use_id,
+ room_use_name,
+ danger_id,
+ danger_name,
+ certificate_num,
+ registration_date,
+ affiliated_unit,
+ is_rental,
+ is_vacant,
+ lodge_type_id,
+ lodge_type_name,
+ rental_purposes,
+ homeowner,
+ document_id,
+ document_name,
+ document_num,
+ phone,
+ custodian,
+ custodian_document_id,
+ custodian_document_name,
+ custodian_document_num,
+ custodian_phone,
+ relationship_homeowner,
+ creator,
+ gmt_create,
+ modifier,
+ gmt_modified,
+ is_delete)
+ VALUES (#{houseId},
+ #{street},
+ #{streetName},
+ #{community},
+ #{communityName},
+ #{residentialId},
+ #{residentialName},
+ #{buildingId},
+ #{buildingName},
+ #{affiliationUnit},
+ #{affiliationFloors},
+ #{houseNum},
+ #{categoryId},
+ #{categoryName},
+ #{natureId},
+ #{natureName},
+ #{typeId},
+ #{typeName},
+ #{structureId},
+ #{structureName},
+ #{buildingPurposeId},
+ #{buildingPurposeName},
+ #{roomNum},
+ #{roomArea},
+ #{roomUseId},
+ #{roomUseName},
+ #{dangerId},
+ #{dangerName},
+ #{certificateNum},
+ #{registrationDate},
+ #{affiliatedUnit},
+ #{isRental},
+ #{isVacant},
+ #{lodgeTypeId},
+ #{lodgeTypeName},
+ #{rentalPurposes},
+ #{homeowner},
+ #{documentId},
+ #{documentName},
+ #{documentNum},
+ #{phone},
+ #{custodian},
+ #{custodianDocumentId},
+ #{custodianDocumentName},
+ #{custodianDocumentNum},
+ #{custodianPhone},
+ #{relationshipHomeowner},
+ #{creator},
+ #{gmtCreate},
+ #{modifier},
+ #{gmtModified},
+ #{isDelete})
UPDATE
- house_house
+ house_house
SET
- gmt_modified = #{gmtModified},
- modifier = #{modifier},
- is_delete = 1
+ gmt_modified = #{gmtModified},
+ modifier = #{modifier},
+ is_delete = 1
WHERE
- house_id IN
+ house_id IN
#{houseIds[${index}]}
@@ -314,9 +311,9 @@
DELETE FROM
- house_house
+ house_house
WHERE
- house_id IN
+ house_id IN
#{houseIds[${index}]}
@@ -325,7 +322,7 @@
UPDATE
- house_house
+ house_house
SET
street = #{street},
@@ -465,264 +462,264 @@
relationship_homeowner = #{relationshipHomeowner},
- gmt_modified = #{gmtModified},
- modifier = #{modifier},
- house_id = house_id
+ gmt_modified = #{gmtModified},
+ modifier = #{modifier},
+ house_id = house_id
WHERE
- house_id = #{houseId}
+ house_id = #{houseId}