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 0ffbc399
authored
Jun 19, 2023
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.21.0 优化仲利照片查询接口
1 parent
0fee4ed5
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 @
0ffbc39
...
@@ -135,7 +135,7 @@ public class WorkOrderService {
...
@@ -135,7 +135,7 @@ public class WorkOrderService {
private
SyncZhongLiDataComponent
syncZhongLiDataComponent
;
private
SyncZhongLiDataComponent
syncZhongLiDataComponent
;
@Autowired
@Autowired
private
RemoteApiUserService
remoteUserService
;
private
RemoteApiUserService
remote
Api
UserService
;
/**
/**
* 新增工单
* 新增工单
...
@@ -1795,7 +1795,7 @@ public class WorkOrderService {
...
@@ -1795,7 +1795,7 @@ public class WorkOrderService {
}
}
// 根据车辆查询所在组织层级
// 根据车辆查询所在组织层级
TenantDto
tenantDto
=
remoteUserService
.
getTenantByUserId
(
vehicle
.
getCreatedBy
());
TenantDto
tenantDto
=
remote
Api
UserService
.
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对应的车辆不是%s的车辆"
,
imagesBO
.
getBizWorkOrderNo
(),
imagesBO
.
getOrderSource
()));
...
...
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