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
c72faff4
Commit
c72faff4
authored
Mar 16, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
39075e49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
EquipmentSpecificAlarmController.java
...ipmanage/controller/EquipmentSpecificAlarmController.java
+6
-0
EquipmentMapper.xml
...ystem-equip/src/main/resources/mapper/EquipmentMapper.xml
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/EquipmentSpecificAlarmController.java
View file @
c72faff4
...
@@ -145,6 +145,12 @@ public class EquipmentSpecificAlarmController extends AbstractBaseController {
...
@@ -145,6 +145,12 @@ public class EquipmentSpecificAlarmController extends AbstractBaseController {
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"装备分页查询"
,
notes
=
"装备分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"装备分页查询"
,
notes
=
"装备分页查询"
)
public
ResponseModel
getEqPage
(
int
pageNum
,
int
pageSize
,
AlarmDTO
dto
)
{
public
ResponseModel
getEqPage
(
int
pageNum
,
int
pageSize
,
AlarmDTO
dto
)
{
Page
page
=
new
Page
<>(
pageNum
,
pageSize
);
Page
page
=
new
Page
<>(
pageNum
,
pageSize
);
if
(
"全部"
.
equals
(
dto
.
getWarehouseStructureName
())){
dto
.
setWarehouseStructureName
(
null
);
}
if
(
"all"
.
equals
(
dto
.
getStatus
())){
dto
.
setStatus
(
null
);
}
Page
<
EquipSpecificAlarmDTO
>
pageBean
=
iEquipmentSpecificAlarmService
.
getEqPage
(
page
,
dto
);
Page
<
EquipSpecificAlarmDTO
>
pageBean
=
iEquipmentSpecificAlarmService
.
getEqPage
(
page
,
dto
);
return
CommonResponseUtil
.
success
(
pageBean
);
return
CommonResponseUtil
.
success
(
pageBean
);
}
}
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentMapper.xml
View file @
c72faff4
...
@@ -224,7 +224,7 @@ FROM
...
@@ -224,7 +224,7 @@ FROM
WI.id,
WI.id,
WI.unit as unitName,
WI.unit as unitName,
WI.name as perfQuotaName,
WI.name as perfQuotaName,
si.`value`
,
(case when si.value_label is null then si.value else si.value_label end) as value
,
WI.group_name
WI.group_name
FROM
FROM
wl_equipment_specific_index si,
wl_equipment_specific_index si,
...
...
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