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
05242cef
Commit
05242cef
authored
Aug 12, 2023
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新巡检查询
parent
99494901
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
14 deletions
+22
-14
EquipFeignClient.java
...n/amos/boot/module/common/api/feign/EquipFeignClient.java
+1
-1
ControlScreenController.java
...s/patrol/business/controller/ControlScreenController.java
+1
-1
EquipmentSpecificMapper.xml
...uip/src/main/resources/mapper/EquipmentSpecificMapper.xml
+9
-0
dbTemplate_plan_task.xml
...rol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
+11
-12
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/feign/EquipFeignClient.java
View file @
05242cef
...
@@ -417,7 +417,7 @@ public interface EquipFeignClient {
...
@@ -417,7 +417,7 @@ public interface EquipFeignClient {
@RequestMapping
(
value
=
"equipSpecific/getListByEquipmentCodeEQ/{code}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"equipSpecific/getListByEquipmentCodeEQ/{code}"
,
method
=
RequestMethod
.
GET
)
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
getListByEquipmentCodeEQ
(
@PathVariable
(
"code"
)
String
code
);
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
getListByEquipmentCodeEQ
(
@PathVariable
(
"code"
)
String
code
);
@RequestMapping
(
value
=
"equipSpecific/
getListByEquipmentIds
"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"equipSpecific/
list
"
,
method
=
RequestMethod
.
GET
)
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
getListByEquipmentSpesById
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
"type"
)
String
type
);
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
getListByEquipmentSpesById
(
@RequestParam
(
"ids"
)
String
ids
,
@RequestParam
(
"type"
)
String
type
);
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/controller/ControlScreenController.java
View file @
05242cef
...
@@ -37,7 +37,7 @@ public class ControlScreenController extends AbstractBaseController {
...
@@ -37,7 +37,7 @@ public class ControlScreenController extends AbstractBaseController {
@GetMapping
(
"/statics"
)
@GetMapping
(
"/statics"
)
@ApiOperation
(
value
=
"消防运维信息"
)
@ApiOperation
(
value
=
"消防运维信息"
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
public
CommonResponse
getStatics
(
@RequestParam
(
required
=
false
)
String
companyCode
)
{
public
CommonResponse
getStatics
(
@RequestParam
(
required
=
false
)
String
companyCode
)
{
return
CommonResponseUtil
.
success
(
iPlanTaskService
.
getStatics
(
companyCode
));
return
CommonResponseUtil
.
success
(
iPlanTaskService
.
getStatics
(
companyCode
));
}
}
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificMapper.xml
View file @
05242cef
...
@@ -2439,6 +2439,15 @@
...
@@ -2439,6 +2439,15 @@
ci.order_no
ci.order_no
</select>
</select>
<select
id=
"getCheckId"
resultType=
"String"
>
SELECT
ci.check_id AS checkId,
FROM
p_check_input ci
WHERE
ci.id = #{checkId}
</select>
<select
id=
"getPointById"
resultType=
"Map"
>
<select
id=
"getPointById"
resultType=
"Map"
>
SELECT
SELECT
p.id,
p.id,
...
...
amos-boot-system-patrol/src/main/resources/db/mapper/dbTemplate_plan_task.xml
View file @
05242cef
...
@@ -1371,11 +1371,11 @@
...
@@ -1371,11 +1371,11 @@
</if>
</if>
UNION ALL
UNION ALL
SELECT
SELECT
'2' AS `key`,
ifnull( sum( ppk.`point_num` ), 0 ) AS `value`,
ifnull( sum( ppk.`point_num` ), 0 ) AS `value`,
'' AS unit,
'' AS unit,
'合格' AS `name`,
'合格' AS `name`,
'xfxchg' AS code,
'xfxchg' AS code
'2' AS `key`
FROM
FROM
`p_plan_task` ppk
`p_plan_task` ppk
LEFT JOIN p_plan_task_detail pptd ON pptd.task_no = ppk.id
LEFT JOIN p_plan_task_detail pptd ON pptd.task_no = ppk.id
...
@@ -1386,26 +1386,25 @@
...
@@ -1386,26 +1386,25 @@
</if>
</if>
UNION ALL
UNION ALL
SELECT
SELECT
'3' AS `key`,
'' AS `value`,
'' AS `value`,
'%' AS unit,
'%' AS unit,
'合格占比' AS `name`,
'合格占比' AS `name`,
'xfxchgzb' AS code,
'xfxchgzb' AS code
'3' AS `key`
UNION ALL
UNION ALL
SELECT
SELECT
'4' AS `key`,
'' AS `value`,
'' AS `value`,
'' AS unit,
'' AS unit,
'不合格' AS `name`,
'不合格' AS `name`,
'xfxcbhg' AS code,
'xfxcbhg' AS code
'4' AS `key`
UNION ALL
UNION ALL
SELECT
SELECT
'5' AS `key`,
ifnull( sum( `p_plan_task`.`point_num` ), 0 ) AS `value`,
ifnull( sum( `p_plan_task`.`point_num` ), 0 ) AS `value`,
'' AS unit,
'' AS unit,
'今日漏查点位' AS `name`,
'今日漏查点位' AS `name`,
'currentDayMiss' AS `indexKey`,
'xfxcjrlcdw' AS code
'xfxcjrlcdw' AS code,
'5' AS `key`
FROM
FROM
`p_plan_task`
`p_plan_task`
WHERE
WHERE
...
@@ -1416,11 +1415,11 @@
...
@@ -1416,11 +1415,11 @@
</if>
</if>
UNION ALL
UNION ALL
SELECT
SELECT
'6' AS `key`,
'' AS `value`,
'' AS `value`,
'' AS unit,
'
%
' AS unit,
'漏查率' AS `name`,
'漏查率' AS `name`,
'xfxclcl' AS code,
'xfxclcl' AS code
'6' AS `key`
</select>
</select>
<select
id=
"queryByCompanyCode"
resultType=
"java.lang.String"
>
<select
id=
"queryByCompanyCode"
resultType=
"java.lang.String"
>
...
...
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