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 a177d264
authored
Jun 19, 2023
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.21.0 优化仲利照片查询接口
1 parent
0ffbc399
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 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 @
a177d26
...
@@ -1770,7 +1770,7 @@ public class WorkOrderService {
...
@@ -1770,7 +1770,7 @@ public class WorkOrderService {
if
(
workOrder
==
null
)
{
if
(
workOrder
==
null
)
{
log
.
info
(
imagesBO
.
getBizWorkOrderNo
()
+
"工单不存在"
);
log
.
info
(
imagesBO
.
getBizWorkOrderNo
()
+
"工单不存在"
);
throw
new
StdInterfaceException
(
"656565"
,
"工单不存在"
);
throw
new
StdInterfaceException
(
"656565"
,
String
.
format
(
"工单%s不存在"
,
imagesBO
.
getBizWorkOrderNo
())
);
}
}
if
(
WorkOrderStatusEnum
.
CANCELED
.
getStatus
().
equals
(
workOrder
.
getStatus
()))
{
if
(
WorkOrderStatusEnum
.
CANCELED
.
getStatus
().
equals
(
workOrder
.
getStatus
()))
{
log
.
info
(
"工单{}已经被取消"
,
imagesBO
.
getBizWorkOrderNo
());
log
.
info
(
"工单{}已经被取消"
,
imagesBO
.
getBizWorkOrderNo
());
...
@@ -1798,7 +1798,7 @@ public class WorkOrderService {
...
@@ -1798,7 +1798,7 @@ public class WorkOrderService {
TenantDto
tenantDto
=
remoteApiUserService
.
getTenantByUserId
(
vehicle
.
getCreatedBy
());
TenantDto
tenantDto
=
remoteApiUserService
.
getTenantByUserId
(
vehicle
.
getCreatedBy
());
if
(
Objects
.
isNull
(
tenantDto
)
||
!
Objects
.
equals
(
imagesBO
.
getOrderSource
(),
Pinyin
.
getPinYinHeadChar
(
tenantDto
.
getTenantName
())))
{
if
(
Objects
.
isNull
(
tenantDto
)
||
!
Objects
.
equals
(
imagesBO
.
getOrderSource
(),
Pinyin
.
getPinYinHeadChar
(
tenantDto
.
getTenantName
())))
{
log
.
info
(
"工单{}对应的车辆不是{}的车辆"
,
imagesBO
.
getBizWorkOrderNo
(),
imagesBO
.
getOrderSource
());
log
.
info
(
"工单{}对应的车辆不是{}的车辆"
,
imagesBO
.
getBizWorkOrderNo
(),
imagesBO
.
getOrderSource
());
throw
new
StdInterfaceException
(
"656565"
,
String
.
format
(
"工单%s
对应的车辆不是%s的车辆"
,
imagesBO
.
getBizWorkOrderNo
(),
imagesBO
.
getOrderSource
()));
throw
new
StdInterfaceException
(
"656565"
,
String
.
format
(
"工单%s
不存在"
,
imagesBO
.
getBizWorkOrderNo
()));
}
}
imagesDTO
.
setLesseeName
(
vehicle
.
getOwnerName
());
imagesDTO
.
setLesseeName
(
vehicle
.
getOwnerName
());
...
...
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