Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
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
耿迪迪
gassafety
Commits
7b9a7512
Commit
7b9a7512
authored
Aug 25, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
反馈接口修改
parent
2bf05c90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
TOrderFeedbackServiceImpl.java
...zehong/system/service/impl/TOrderFeedbackServiceImpl.java
+19
-0
No files found.
gassafety-system/src/main/java/com/zehong/system/service/impl/TOrderFeedbackServiceImpl.java
View file @
7b9a7512
...
...
@@ -108,6 +108,15 @@ public class TOrderFeedbackServiceImpl implements ITOrderFeedbackService
tHiddenTroubleMapper
.
updateTHiddenTrouble
(
trouble
);
if
(
"0"
.
equals
(
trouble
.
getDeviceType
())){
TPipe
pipe
=
tPipeMapper
.
selectTPipeById
(
trouble
.
getDeviceId
());
pipe
.
setInspectionTime
(
DateUtils
.
getNowDate
());
tPipeMapper
.
updateTPipe
(
pipe
);
}
else
{
TDeviceInfo
device
=
tDeviceInfoMapper
.
selectTDeviceInfoById
(
trouble
.
getDeviceId
());
device
.
setInspectionTime
(
DateUtils
.
getNowDate
());
tDeviceInfoMapper
.
updateTDeviceInfo
(
device
);
}
}
else
if
(
"3"
.
equals
(
orderType
))
{
TDeviceAlarm
alarm
=
tDeviceAlarmMapper
.
selectTDeviceAlarmById
(
order
.
getResourceId
());
alarm
.
setDealStatus
(
dealStatus
);
...
...
@@ -117,6 +126,16 @@ public class TOrderFeedbackServiceImpl implements ITOrderFeedbackService
tOrderFeedback
.
setDeviceType
(
alarm
.
getDeviceType
());
tDeviceAlarmMapper
.
updateTDeviceAlarm
(
alarm
);
if
(
"0"
.
equals
(
alarm
.
getDeviceType
())){
TPipe
pipe
=
tPipeMapper
.
selectTPipeById
(
alarm
.
getDeviceId
());
pipe
.
setInspectionTime
(
DateUtils
.
getNowDate
());
tPipeMapper
.
updateTPipe
(
pipe
);
}
else
{
TDeviceInfo
device
=
tDeviceInfoMapper
.
selectTDeviceInfoById
(
alarm
.
getDeviceId
());
device
.
setInspectionTime
(
DateUtils
.
getNowDate
());
tDeviceInfoMapper
.
updateTDeviceInfo
(
device
);
}
}
// 如果工单状态是已接收,修改状态为已反馈
...
...
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