Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
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 4779543e
authored
Mar 26, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:日志更新
1 parent
93272b62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
aus-core/src/main/java/com/glsx/usedcar/module/inspect/service/InspectionWorkOrderService.java
aus-core/src/main/java/com/glsx/usedcar/module/inspect/service/InspectionWorkOrderService.java
View file @
4779543
...
@@ -146,7 +146,7 @@ public class InspectionWorkOrderService {
...
@@ -146,7 +146,7 @@ public class InspectionWorkOrderService {
gscApiInvoker
.
sendMsg
(
wo
.
getInspector
().
getPhone
(),
message
);
gscApiInvoker
.
sendMsg
(
wo
.
getInspector
().
getPhone
(),
message
);
String
operationContent
=
String
.
format
(
"新增检测工单,车辆ID:%s,检测师ID:%s,检测地址:%s"
,
vehicleId
,
inspectorId
,
addVO
.
getInspectionAddress
());
String
operationContent
=
String
.
format
(
"新增检测工单,车辆ID:%s,检测师ID:%s,检测地址:%s"
,
vehicleId
,
inspectorId
,
addVO
.
getInspectionAddress
());
saveWorkOrderOpLog
(
wo
,
InspectionWorkOrderOperationTypeEnum
.
CREATE_ORDER
.
getCode
(),
0
,
wo
.
getStatus
(),
operationContent
,
"用户新增检测工单
,默认状态为已派单"
,
Long
.
valueOf
(
opId
),
opName
,
platTypeEnum
.
getCode
());
saveWorkOrderOpLog
(
wo
,
InspectionWorkOrderOperationTypeEnum
.
CREATE_ORDER
.
getCode
(),
0
,
wo
.
getStatus
(),
operationContent
,
"用户新增检测工单
"
+
operationContent
,
Long
.
valueOf
(
opId
),
opName
,
platTypeEnum
.
getCode
());
log
.
info
(
"检测工单新增成功: ID={}, 唯一ID={}, 操作人={}, 平台={}"
,
wo
.
getId
(),
wo
.
getWoId
(),
opName
,
platTypeEnum
.
getDesc
());
log
.
info
(
"检测工单新增成功: ID={}, 唯一ID={}, 操作人={}, 平台={}"
,
wo
.
getId
(),
wo
.
getWoId
(),
opName
,
platTypeEnum
.
getDesc
());
}
}
...
@@ -223,7 +223,7 @@ public class InspectionWorkOrderService {
...
@@ -223,7 +223,7 @@ public class InspectionWorkOrderService {
}
}
String
operationContent
=
StrUtil
.
removeSuffix
(
modifyContent
.
toString
(),
";"
);
String
operationContent
=
StrUtil
.
removeSuffix
(
modifyContent
.
toString
(),
";"
);
String
description
=
"编辑检测工单信息
,无状态变更"
;
String
description
=
"编辑检测工单信息
"
+
modifyContent
;
saveWorkOrderOpLog
(
workOrder
,
InspectionWorkOrderOperationTypeEnum
.
UPDATE_ORDER_INFO
.
getCode
(),
originalStatus
,
originalStatus
,
StrUtil
.
isBlank
(
operationContent
)
?
"无具体修改内容"
:
operationContent
,
description
,
Long
.
valueOf
(
opId
),
opName
,
platTypeEnum
.
getCode
());
saveWorkOrderOpLog
(
workOrder
,
InspectionWorkOrderOperationTypeEnum
.
UPDATE_ORDER_INFO
.
getCode
(),
originalStatus
,
originalStatus
,
StrUtil
.
isBlank
(
operationContent
)
?
"无具体修改内容"
:
operationContent
,
description
,
Long
.
valueOf
(
opId
),
opName
,
platTypeEnum
.
getCode
());
log
.
info
(
"检测工单修改成功: ID={}, 唯一ID={}, 修改内容={}"
,
workOrder
.
getId
(),
workOrder
.
getWoId
(),
operationContent
);
log
.
info
(
"检测工单修改成功: ID={}, 唯一ID={}, 修改内容={}"
,
workOrder
.
getId
(),
workOrder
.
getWoId
(),
operationContent
);
}
}
...
...
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