Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
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
项目统一框架
amos-boot-biz
Commits
647b6f2b
Commit
647b6f2b
authored
Dec 16, 2021
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加 重点部位 单位筛选
parent
cd760c5a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
KeySiteMapper.java
...oin/amos/boot/module/common/api/mapper/KeySiteMapper.java
+1
-1
KeySiteMapper.xml
...le-common-api/src/main/resources/mapper/KeySiteMapper.xml
+3
-0
KeySiteController.java
.../boot/module/common/biz/controller/KeySiteController.java
+2
-2
KeySiteServiceImpl.java
...ot/module/common/biz/service/impl/KeySiteServiceImpl.java
+2
-2
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/mapper/KeySiteMapper.java
View file @
647b6f2b
...
...
@@ -21,7 +21,7 @@ public interface KeySiteMapper extends BaseMapper<KeySite> {
*/
public
IPage
<
KeySiteDto
>
getPageList
(
Page
<
KeySiteDto
>
page
,
String
name
,
Long
buildingId
,
String
fireEnduranceRate
,
String
useNature
,
String
fireFacilitiesInfo
,
Long
belongId
);
String
useNature
,
String
fireFacilitiesInfo
,
Long
belongId
,
String
belongName
);
/**
* 获取所有的重点部位数据
* @return
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/KeySiteMapper.xml
View file @
647b6f2b
...
...
@@ -53,6 +53,9 @@
<if
test=
"belongId != null and belongId!='-1' and belongId != -1"
>
AND c.`belong_id`= #{belongId}
</if>
<if
test=
"belongName != null and belongName !=''"
>
AND c.`belong_name` like concat('%',#{belongName},'%')
</if>
order by c.rec_date desc
</select>
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/controller/KeySiteController.java
View file @
647b6f2b
...
...
@@ -177,12 +177,12 @@ public class KeySiteController extends BaseController {
@RequestParam
(
value
=
"size"
)
int
size
,
@RequestParam
(
required
=
false
)
String
name
,
@RequestParam
(
required
=
false
)
Long
buildingId
,
@RequestParam
(
required
=
false
)
String
fireEnduranceRate
,
@RequestParam
(
required
=
false
)
String
useNature
,
@RequestParam
(
required
=
false
)
String
fireFacilitiesInfo
,
@RequestParam
(
required
=
false
)
Long
belongId
)
{
@RequestParam
(
required
=
false
)
Long
belongId
,
@RequestParam
(
required
=
false
)
String
belongName
)
{
Page
<
KeySiteDto
>
page
=
new
Page
<
KeySiteDto
>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
keySiteServiceImpl
.
getPageList
(
page
,
name
,
buildingId
,
fireEnduranceRate
,
useNature
,
fireFacilitiesInfo
,
belongId
));
useNature
,
fireFacilitiesInfo
,
belongId
,
belongName
));
}
/**
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/KeySiteServiceImpl.java
View file @
647b6f2b
...
...
@@ -61,8 +61,8 @@ public class KeySiteServiceImpl extends BaseService<KeySiteDto, KeySite, KeySite
* 分页查询
*/
public
IPage
<
KeySiteDto
>
getPageList
(
Page
<
KeySiteDto
>
page
,
String
name
,
Long
buildingId
,
String
fireEnduranceRate
,
String
useNature
,
String
fireFacilitiesInfo
,
Long
belongId
){
return
keySiteMapper
.
getPageList
(
page
,
name
,
buildingId
,
fireEnduranceRate
,
useNature
,
fireFacilitiesInfo
,
belongId
);
String
useNature
,
String
fireFacilitiesInfo
,
Long
belongId
,
String
belongName
){
return
keySiteMapper
.
getPageList
(
page
,
name
,
buildingId
,
fireEnduranceRate
,
useNature
,
fireFacilitiesInfo
,
belongId
,
belongName
);
}
@Override
...
...
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