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
37fd1538
Commit
37fd1538
authored
Jan 04, 2023
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加接口
parent
aaa18bf6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
SupervisionConfigureController.java
...quipmanage/controller/SupervisionConfigureController.java
+18
-1
FireFightingSystemMapper.java
.../yeejoin/equipmanage/mapper/FireFightingSystemMapper.java
+3
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/SupervisionConfigureController.java
View file @
37fd1538
...
...
@@ -458,7 +458,7 @@ public class SupervisionConfigureController extends AbstractBaseController {
@RequestMapping
(
value
=
"/selectPressureMonth"
,
method
=
RequestMethod
.
GET
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"统计当月稳压泵启停"
,
produces
=
"application/json;charset=UTF-8"
,
notes
=
"统计当月稳压泵启停"
)
public
ResponseModel
selectPressureMonth
(
@RequestParam
(
"bizOrgCode"
)
String
bizOrgCode
)
{
public
ResponseModel
selectPressureMonth
(
@RequestParam
(
value
=
"bizOrgCode"
,
required
=
false
)
String
bizOrgCode
)
{
SimpleDateFormat
df
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
String
startDay
=
df
.
format
(
new
Date
());
Calendar
calendar
=
Calendar
.
getInstance
();
...
...
@@ -523,4 +523,21 @@ public class SupervisionConfigureController extends AbstractBaseController {
}
return
CommonResponseUtil
.
success
(
data
);
}
@PersonIdentify
@RequestMapping
(
value
=
"/selectPressureDetails"
,
method
=
RequestMethod
.
GET
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"稳压泵详情"
,
produces
=
"application/json;charset=UTF-8"
,
notes
=
"稳压泵详情"
)
public
ResponseModel
selectPressureDetails
(
@RequestParam
(
value
=
"bizOrgCode"
,
required
=
false
)
String
bizOrgCode
)
{
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
.
PersonIdentity
personIdentity
=
reginParams
.
getPersonIdentity
();
if
(!
ValidationUtil
.
isEmpty
(
personIdentity
))
{
bizOrgCode
=
personIdentity
.
getBizOrgCode
();
if
(
bizOrgCode
==
null
)
{
return
CommonResponseUtil
.
success
(
null
);
}
}
List
<
Map
<
String
,
Object
>>
pressurePumps
=
fireFightingSystemMapper
.
selectPressureDetails
(
bizOrgCode
);
return
CommonResponseUtil
.
success
(
pressurePumps
);
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/mapper/FireFightingSystemMapper.java
View file @
37fd1538
...
...
@@ -643,4 +643,7 @@ public interface FireFightingSystemMapper extends BaseMapper<FireFightingSystemE
List
<
Map
<
String
,
Object
>>
selectAllDays
();
List
<
Map
<
String
,
Object
>>
getEquip
(
@Param
(
"id"
)
Long
id
);
List
<
Map
<
String
,
Object
>>
selectPressureDetails
(
@Param
(
"bizOrgCode"
)
String
bizOrgCode
);
}
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