Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 83c92da8
authored
Jul 26, 2024
by
chenxi
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop'
2 parents
6b8d2f0b
1d7843c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
src/main/java/cn/com/glsx/admin/modules/controller/WorkOrderController.java
src/main/java/cn/com/glsx/admin/modules/service/WorkOrderService.java
src/main/java/cn/com/glsx/admin/modules/controller/WorkOrderController.java
View file @
83c92da
...
...
@@ -330,4 +330,13 @@ public class WorkOrderController {
workOrderService
.
reLinkVehicle
(
reLinkVehicleBo
);
return
R
.
ok
();
}
@ApiOperation
(
value
=
"重推工单信息到包活干系统"
)
@SysLog
(
module
=
MODULE
,
value
=
"重推工单信息到包活干系统"
,
action
=
OperateType
.
QUERY
)
@GetMapping
(
"/repushToBhg"
)
@ApiResponses
(
@ApiResponse
(
code
=
200
,
message
=
"success"
,
response
=
R
.
class
))
public
R
repushToBhg
(
@RequestParam
(
"id"
)
Long
id
)
{
workOrderService
.
repushToBhg
(
id
);
return
R
.
ok
();
}
}
src/main/java/cn/com/glsx/admin/modules/service/WorkOrderService.java
View file @
83c92da
...
...
@@ -777,4 +777,12 @@ public class WorkOrderService extends AbstractCommonService {
}
return
workOrderVehicleMapper
.
selectOneByOrderId
(
workOrderId
);
}
public
void
repushToBhg
(
Long
id
)
{
R
auditR
=
workOrderClient
.
repushToBhg
(
id
);
log
.
info
(
"repushToBhg id:{} resp:{}"
,
id
,
JSON
.
toJSONString
(
auditR
));
if
(!
auditR
.
isSuccess
())
{
throw
new
AdminException
(
auditR
.
getCode
(),
auditR
.
getMessage
());
}
}
}
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