Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yichengstreet-be
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yichengstreet
yichengstreet-be
Commits
3841d11c
Commit
3841d11c
authored
Jun 24, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
82f401e5
Pipeline
#145103
failed with stages
in 32 minutes
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
12 deletions
+14
-12
BusinessEntityInfo.java
...ava/com/ruoyi/system/domain/house/BusinessEntityInfo.java
+2
-0
HouseResource.java
...ain/java/com/ruoyi/system/domain/house/HouseResource.java
+0
-2
BusinessEntityDto.java
...a/com/ruoyi/system/domain/house/vo/BusinessEntityDto.java
+2
-0
HouseResourcePage.java
...a/com/ruoyi/system/domain/house/vo/HouseResourcePage.java
+1
-1
BusinessEntityInfoMapper.xml
.../main/resources/mapper/house/BusinessEntityInfoMapper.xml
+4
-2
HouseResourceMapper.xml
...m/src/main/resources/mapper/house/HouseResourceMapper.xml
+5
-7
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/domain/house/BusinessEntityInfo.java
View file @
3841d11c
...
...
@@ -30,4 +30,6 @@ public class BusinessEntityInfo implements Serializable {
private
String
industryClassification
;
private
Boolean
gs
;
private
Boolean
registrationPlaceFlag
;
}
ruoyi-system/src/main/java/com/ruoyi/system/domain/house/HouseResource.java
View file @
3841d11c
...
...
@@ -77,6 +77,4 @@ public class HouseResource implements Serializable {
private
String
lat
;
private
String
remark
;
private
Integer
registrationPlaceFlag
;
}
ruoyi-system/src/main/java/com/ruoyi/system/domain/house/vo/BusinessEntityDto.java
View file @
3841d11c
...
...
@@ -33,4 +33,6 @@ public class BusinessEntityDto {
private
Boolean
gs
;
private
List
<
BusinessEntitySell
>
businessEntitySells
;
private
Integer
registrationPlaceFlag
;
}
ruoyi-system/src/main/java/com/ruoyi/system/domain/house/vo/HouseResourcePage.java
View file @
3841d11c
...
...
@@ -110,5 +110,5 @@ public class HouseResourcePage {
private
BigDecimal
dayPrice
;
private
Integer
registrationPlaceFlag
;
private
Boolean
registrationPlaceFlag
;
}
ruoyi-system/src/main/resources/mapper/house/BusinessEntityInfoMapper.xml
View file @
3841d11c
...
...
@@ -14,15 +14,16 @@
<result
column=
"registered_address"
property=
"registeredAddress"
jdbcType=
"VARCHAR"
/>
<result
column=
"industry_classification"
property=
"industryClassification"
jdbcType=
"VARCHAR"
/>
<result
property=
"gs"
column=
"gs"
jdbcType=
"BIT"
/>
<result
property=
"registrationPlaceFlag"
column=
"registration_place_flag"
jdbcType=
"INTEGER"
/>
</resultMap>
<insert
id=
"insertBusinessEntityInfo"
parameterType=
"com.ruoyi.system.domain.house.BusinessEntityInfo"
>
INSERT INTO business_entity_info (
id, house_resource_id, name, nature, social_credit_code,
principal, principal_tel, business, worker_number, registered_address, industry_classification, gs
principal, principal_tel, business, worker_number, registered_address, industry_classification, gs
, registration_place_flag
) VALUES (
#{id}, #{houseResourceId}, #{name}, #{nature}, #{socialCreditCode},
#{principal}, #{principalTel}, #{business}, #{workerNumber}, #{registeredAddress}, #{industryClassification}, #{gs}
#{principal}, #{principalTel}, #{business}, #{workerNumber}, #{registeredAddress}, #{industryClassification}, #{gs}
, #{registrationPlaceFlag}
)
</insert>
...
...
@@ -44,6 +45,7 @@
<if
test=
"registeredAddress != null"
>
registered_address=#{registeredAddress},
</if>
<if
test=
"industryClassification != null"
>
industry_classification=#{industryClassification},
</if>
<if
test=
"gs != null"
>
gs=#{gs},
</if>
<if
test=
"registrationPlaceFlag != null"
>
registration_place_flag=#{registrationPlaceFlag},
</if>
</set>
WHERE id=#{id}
</update>
...
...
ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml
View file @
3841d11c
...
...
@@ -37,7 +37,6 @@
<result
property=
"lon"
column=
"lon"
jdbcType=
"VARCHAR"
/>
<result
property=
"lat"
column=
"lat"
jdbcType=
"VARCHAR"
/>
<result
property=
"remark"
column=
"remark"
jdbcType=
"VARCHAR"
/>
<result
property=
"registrationPlaceFlag"
column=
"registration_place_flag"
jdbcType=
"INTEGER"
/>
</resultMap>
<insert
id=
"insertHouseResource"
parameterType=
"com.ruoyi.system.domain.house.HouseResource"
>
...
...
@@ -45,12 +44,12 @@
(id, relation_id, two, three, four, type, project_id, house_resource_url, business_license_url, house_number, house_area,
house_resource_attribute, house_resource_type, house_resource_use, house_resource_equity, business_status, house_resource_equity_tel, ownership,
decoration_condition, orientation, landing_head_flag, common_area_number, office_number,
meeting_number, station_number, set_up, label_id, unit_price, rental_unit, plane_graph_url, hire_status, address, lon, lat, remark
, registration_place_flag
)
meeting_number, station_number, set_up, label_id, unit_price, rental_unit, plane_graph_url, hire_status, address, lon, lat, remark)
VALUES
(#{id}, #{relationId}, #{two}, #{three}, #{four}, #{type}, #{projectId}, #{houseResourceUrl}, #{businessLicenseUrl}, #{houseNumber}, #{houseArea},
#{houseResourceAttribute}, #{houseResourceType}, #{houseResourceUse}, #{houseResourceEquity}, #{businessStatus}, #{houseResourceEquityTel}, #{ownership},
#{decorationCondition}, #{orientation}, #{landingHeadFlag}, #{commonAreaNumber}, #{officeNumber},
#{meetingNumber}, #{stationNumber}, #{setUp}, #{labelId}, #{unitPrice}, #{rentalUnit}, #{planeGraphUrl}, #{hireStatus}, #{address}, #{lon}, #{lat}, #{remark}
, #{registrationPlaceFlag}
)
#{meetingNumber}, #{stationNumber}, #{setUp}, #{labelId}, #{unitPrice}, #{rentalUnit}, #{planeGraphUrl}, #{hireStatus}, #{address}, #{lon}, #{lat}, #{remark})
</insert>
<select
id=
"selectHouseResourceById"
resultType=
"com.ruoyi.system.domain.house.HouseResource"
parameterType=
"string"
>
...
...
@@ -92,8 +91,7 @@
address = #{address},
lon = #{lon},
lat = #{lat},
remark = #{remark},
registration_place_flag = #{registrationPlaceFlag}
remark = #{remark}
WHERE id = #{id}
</update>
...
...
@@ -106,7 +104,7 @@
(id, relation_id, two, three, four, type, project_id, house_resource_url, business_license_url, house_number, house_area,
house_resource_attribute, house_resource_type, house_resource_use, house_resource_equity, business_status, house_resource_equity_tel, ownership,
decoration_condition, orientation, landing_head_flag, common_area_number, office_number,
meeting_number, station_number, set_up, label_id, unit_price, rental_unit, plane_graph_url, hire_status, address, lon, lat, remark
, registration_place_flag
)
meeting_number, station_number, set_up, label_id, unit_price, rental_unit, plane_graph_url, hire_status, address, lon, lat, remark)
VALUES
<foreach
collection=
"list"
item=
"item"
separator=
","
>
(#{item.id}, #{item.relationId}, #{two}, #{three}, #{four}, #{item.type}, #{item.projectId}, #{item.houseResourceUrl}, #{item.businessLicenseUrl},
...
...
@@ -114,7 +112,7 @@
#{item.houseResourceUse}, #{item.houseResourceEquity}, #{businessStatus}, #{item.houseResourceEquityTel}, #{ownership}, #{item.decorationCondition},
#{item.orientation}, #{item.landingHeadFlag}, #{item.commonAreaNumber}, #{item.officeNumber},
#{item.meetingNumber}, #{item.stationNumber}, #{item.setUp}, #{item.labelId}, #{item.unitPrice}, #{item.rentalUnit},
#{item.planeGraphUrl}, #{item.hireStatus}, #{item.address}, #{item.lon}, #{item.lat}, #{item.remark}
, #{item.registrationPlaceFlag}
)
#{item.planeGraphUrl}, #{item.hireStatus}, #{item.address}, #{item.lon}, #{item.lat}, #{item.remark})
</foreach>
</insert>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment