Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
tianjin-cement
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
竹天卫
tianjin-cement
Commits
a38b0415
Commit
a38b0415
authored
Nov 05, 2020
by
竹天卫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备管理优化
parent
a992516f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
EquipmentTroubleshootingMapper.xml
...nt/business/mapper/xml/EquipmentTroubleshootingMapper.xml
+1
-1
EquipmentServiceImpl.java
...sc/cement/business/service/impl/EquipmentServiceImpl.java
+1
-1
No files found.
cement-business/src/main/java/cn/wise/sc/cement/business/mapper/xml/EquipmentTroubleshootingMapper.xml
View file @
a38b0415
...
...
@@ -11,7 +11,7 @@
<select
id=
"getPage"
resultType=
"cn.wise.sc.cement.business.model.vo.EquipmentTroubleshootingVo"
>
SELECT et.*,
e.name as
n
ame, e.code as code, e.brand as brand, e.model as model
e.name as
equipmentN
ame, e.code as code, e.brand as brand, e.model as model
FROM equipment_troubleshooting et
left join equipment e on e.id = et.equipment_id
<include
refid=
"where"
/>
...
...
cement-business/src/main/java/cn/wise/sc/cement/business/service/impl/EquipmentServiceImpl.java
View file @
a38b0415
...
...
@@ -408,7 +408,7 @@ public class EquipmentServiceImpl extends ServiceImpl<EquipmentMapper, Equipment
public
BaseResponse
<
IPage
<
EquipmentTroubleshootingVo
>>
getTroubleshootingPage
(
PageQuery
pageQuery
,
String
name
)
{
Map
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"
equipmentId
"
,
name
);
params
.
put
(
"
name
"
,
name
);
Page
<
EquipmentTroubleshootingVo
>
page
=
new
Page
<>(
pageQuery
.
getPageNo
(),
pageQuery
.
getPageSize
());
IPage
<
EquipmentTroubleshootingVo
>
pages
=
troubleshootingMapper
.
getPage
(
page
,
params
);
return
BaseResponse
.
okData
(
pages
);
...
...
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