Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-standard-interfaces
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2326fb94
authored
Feb 25, 2022
by
王欣伟
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'zhongli' of
http://192.168.3.233:8090/eshiled-new/ne-shield-standa…
…rd-interfaces into zhongli
2 parents
56a8e926
6c061018
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
src/main/java/cn/com/glsx/stdinterface/modules/service/WorkOrderService.java
src/main/java/cn/com/glsx/stdinterface/modules/service/WorkOrderService.java
View file @
2326fb9
...
@@ -10,8 +10,8 @@ import cn.com.glsx.devicemonitor.api.enums.DeviceTypeRelationEnum;
...
@@ -10,8 +10,8 @@ import cn.com.glsx.devicemonitor.api.enums.DeviceTypeRelationEnum;
import
cn.com.glsx.devicemonitor.api.enums.DeviceWireTypeEnum
;
import
cn.com.glsx.devicemonitor.api.enums.DeviceWireTypeEnum
;
import
cn.com.glsx.devicemonitor.api.feign.DeviceFeignService
;
import
cn.com.glsx.devicemonitor.api.feign.DeviceFeignService
;
import
cn.com.glsx.devicemonitor.api.feign.GpsBsFeignService
;
import
cn.com.glsx.devicemonitor.api.feign.GpsBsFeignService
;
import
cn.com.glsx.stdinterface.common.constants.Constants
;
import
cn.com.glsx.notify.dto.MailTemplateMessageDTO
;
import
cn.com.glsx.notify.dto.MailTemplateMessageDTO
;
import
cn.com.glsx.stdinterface.common.constants.Constants
;
import
cn.com.glsx.stdinterface.common.exception.StdInterfaceException
;
import
cn.com.glsx.stdinterface.common.exception.StdInterfaceException
;
import
cn.com.glsx.stdinterface.dto.*
;
import
cn.com.glsx.stdinterface.dto.*
;
import
cn.com.glsx.stdinterface.enums.BizServiceTypeEnum
;
import
cn.com.glsx.stdinterface.enums.BizServiceTypeEnum
;
...
@@ -310,8 +310,8 @@ public class WorkOrderService {
...
@@ -310,8 +310,8 @@ public class WorkOrderService {
recordLogs
(
workOrder
,
workOrder
.
getCreatedBy
(),
"新增工单"
);
recordLogs
(
workOrder
,
workOrder
.
getCreatedBy
(),
"新增工单"
);
// 需要安装的工单 发送邮件
//
非接口单
需要安装的工单 发送邮件
if
(
"Y"
.
equals
(
orderReq
.
getNeedInstall
()))
{
if
(
"Y"
.
equals
(
orderReq
.
getNeedInstall
())
&&
!
isApiCall
)
{
log
.
info
(
"开始发送邮件===工单Id"
+
workOrder
.
getId
());
log
.
info
(
"开始发送邮件===工单Id"
+
workOrder
.
getId
());
sendMail
(
workOrder
,
woVehicle
,
orderReq
.
getRootOrg
());
sendMail
(
workOrder
,
woVehicle
,
orderReq
.
getRootOrg
());
}
}
...
@@ -1181,7 +1181,7 @@ public class WorkOrderService {
...
@@ -1181,7 +1181,7 @@ public class WorkOrderService {
//查车辆
//查车辆
Vehicle
vehicle
=
vehicleMapper
.
selectByWorkOrderId
(
workOrder
.
getId
());
Vehicle
vehicle
=
vehicleMapper
.
selectByWorkOrderId
(
workOrder
.
getId
());
if
(
vehicle
==
null
)
{
if
(
vehicle
==
null
)
{
throw
new
StdInterfaceException
(
"656565"
,
String
.
format
(
"工单%s未完成车辆激活"
,
verifyBO
.
getBizWorkOrderNo
()));
throw
new
StdInterfaceException
(
"656565"
,
String
.
format
(
"工单%s未完成车辆激活"
,
verifyBO
.
getBizWorkOrderNo
()));
}
}
...
@@ -1203,7 +1203,7 @@ public class WorkOrderService {
...
@@ -1203,7 +1203,7 @@ public class WorkOrderService {
addressItem
.
setSn
(
sn
);
addressItem
.
setSn
(
sn
);
addressItem
.
setSim
(
deviceDTO
.
getSim
());
addressItem
.
setSim
(
deviceDTO
.
getSim
());
addressItem
.
setDeviceType
((
deviceDTO
.
getSource
()
!=
null
&&
deviceDTO
.
getSource
()==
Constants
.
DeviceSource
.
WIRED
)
?
"有线设备"
:
"无线设备"
);
addressItem
.
setDeviceType
((
deviceDTO
.
getSource
()
!=
null
&&
deviceDTO
.
getSource
()
==
Constants
.
DeviceSource
.
WIRED
)
?
"有线设备"
:
"无线设备"
);
GpsBsData
gpsBsData
=
gpsBsDataMap
.
get
(
sn
);
GpsBsData
gpsBsData
=
gpsBsDataMap
.
get
(
sn
);
if
(
gpsBsData
!=
null
)
{
if
(
gpsBsData
!=
null
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment