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
1fe08bb3
Commit
1fe08bb3
authored
Aug 17, 2021
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.维保日历-测试
parent
cfa26b9a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
CheckController.java
...amos/maintenance/business/controller/CheckController.java
+3
-2
dbTemplate_check.xml
...tenance/src/main/resources/db/mapper/dbTemplate_check.xml
+2
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-maintenance-biz/src/main/java/com/yeejoin/amos/maintenance/business/controller/CheckController.java
View file @
1fe08bb3
...
...
@@ -295,11 +295,12 @@ public class CheckController extends AbstractBaseController {
/**
* 获取巡检日历数据
*
* @param
queryRequests
* @param
date
* @return
*/
@PersonIdentify
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"
获取巡检日历数据-mobile"
,
notes
=
"获取巡检日历数据
-mobile"
)
@ApiOperation
(
value
=
"
维保日历-mobile"
,
notes
=
"维保日历
-mobile"
)
@GetMapping
(
value
=
"/{date}/checkCalendar"
,
produces
=
"application/json;charset=UTF-8"
)
public
CommonResponse
checkCalendar
(
@ApiParam
(
value
=
"date,格式YYYY-MM-DD"
,
required
=
true
)
@PathVariable
String
date
)
{
...
...
amos-boot-system-maintenance/src/main/resources/db/mapper/dbTemplate_check.xml
View file @
1fe08bb3
...
...
@@ -304,14 +304,14 @@
</sql>
<select
id=
"calendarData"
resultType=
"Map"
>
SELECT
sum(is_ok
) AS count,
count(id
) AS count,
DATE_FORMAT(check_time, '%Y-%m-%d') time,
is_ok status
FROM
p_check
<include
refid=
"calendar-where"
/>
GROUP BY is_ok,time
ORDER BY time
ORDER BY
check_
time
</select>
...
...
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