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
9ac69978
Commit
9ac69978
authored
Mar 12, 2025
by
lixuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 房源
parent
cb9b8294
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
HouseResourcePage.java
...a/com/ruoyi/system/domain/house/vo/HouseResourcePage.java
+2
-0
HouseResourceServiceImpl.java
...i/system/service/house/impl/HouseResourceServiceImpl.java
+7
-2
HouseResourceMapper.xml
...m/src/main/resources/mapper/house/HouseResourceMapper.xml
+3
-3
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/domain/house/vo/HouseResourcePage.java
View file @
9ac69978
...
...
@@ -18,6 +18,8 @@ public class HouseResourcePage {
private
String
three
;
private
String
wgName3
;
private
String
four
;
private
String
wgName4
;
...
...
ruoyi-system/src/main/java/com/ruoyi/system/service/house/impl/HouseResourceServiceImpl.java
View file @
9ac69978
...
...
@@ -122,6 +122,7 @@ public class HouseResourceServiceImpl implements HouseResourceService {
businessEntityInfoMapper
.
insertBusinessEntityInfo
(
businessEntityInfo
);
for
(
BusinessEntitySell
businessEntitySell
:
businessEntityDto
.
getBusinessEntitySells
())
{
businessEntitySell
.
setId
(
UUID
.
randomUUID
().
toString
().
replaceAll
(
"-"
,
""
));
businessEntitySell
.
setBusinessEntityInfoId
(
businessEntityInfoId
);
businessEntitySellMapper
.
insertBusinessEntitySell
(
businessEntitySell
);
}
...
...
@@ -150,8 +151,12 @@ public class HouseResourceServiceImpl implements HouseResourceService {
if
(!
two
.
isEmpty
())
{
x
.
setWgName2
(
two
.
get
(
0
).
getWgName
());
}
if
(
StringUtils
.
hasText
(
x
.
getHouseResourceUrl
()))
{
x
.
setHouseResourceUrlList
(
Arrays
.
asList
(
x
.
getHouseResourceUrl
().
split
(
","
)));
GridRegionExample
gridRegionExampleThree
=
new
GridRegionExample
();
gridRegionExampleThree
.
createCriteria
().
andWgCodeEqualTo
(
x
.
getThree
()).
andWgTypeEqualTo
(
String
.
valueOf
(
x
.
getType
()));
List
<
GridRegion
>
three
=
gridRegionMapper
.
selectByExample
(
gridRegionExampleThree
);
if
(!
three
.
isEmpty
())
{
x
.
setWgName3
(
three
.
get
(
0
).
getWgName
());
}
x
.
setHouseResourceAttributeText
(
HouseEnums
.
HouseResourceAttributeEnum
.
getDescByCode
(
x
.
getHouseResourceAttribute
()));
x
.
setHouseResourceTypeText
(
HouseEnums
.
HouseResourceTypeEnum
.
getDescByCode
(
x
.
getHouseResourceType
()));
...
...
ruoyi-system/src/main/resources/mapper/house/HouseResourceMapper.xml
View file @
9ac69978
...
...
@@ -122,13 +122,13 @@
and t2.type = #{query.wgType}
</if>
<if
test=
"query.two != null and query.two != ''"
>
and t2.two
like concat('%', #{query.two}, '%')
and t2.two
= #{query.two}
</if>
<if
test=
"query.three != null and query.three != ''"
>
and t2.three
like concat('%', #{query.three}, '%')
and t2.three
= #{query.three}
</if>
<if
test=
"query.four != null and query.four != ''"
>
and t2.four
like concat('%', #{query.four}, '%')
and t2.four
= #{query.four}
</if>
<if
test=
"query.houseResourceAttribute != null and query.houseResourceAttribute != ''"
>
and t2.house_resource_attribute = #{query.houseResourceAttribute}
...
...
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