Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
e7eec840
Commit
e7eec840
authored
Oct 23, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reafact(jg): 业务作废
1.作废按钮放出,通过页面提示校验进行约束
parent
60317ff1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
JgVehicleInformationController.java
...ule/jg/biz/controller/JgVehicleInformationController.java
+4
-3
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgVehicleInformationController.java
View file @
e7eec840
...
...
@@ -155,9 +155,10 @@ public class JgVehicleInformationController extends BaseController {
list
.
getRecords
().
forEach
(
x
->
{
x
.
put
(
"companyType"
,
info
.
getCompany
().
getCompanyType
());
x
.
put
(
"regTypeDesc"
,
RegTypeEnum
.
getNameByCode
(
String
.
valueOf
(
x
.
get
(
"regType"
))).
orElse
(
RegTypeEnum
.
REGISTRATION_NEW
.
getName
()));
x
.
put
(
"canVoided"
,
Optional
.
ofNullable
(
x
.
get
(
"useRegistrationCode"
))
.
map
(
jgVehicleInformationServiceImpl:
:
countUseTimesForInvalid
)
.
orElse
(
true
));
// x.put("canVoided", Optional.ofNullable(x.get("useRegistrationCode"))
// .map(jgVehicleInformationServiceImpl::countUseTimesForInvalid)
// .orElse(true));
x
.
put
(
"canVoided"
,
true
);
});
return
ResponseHelper
.
buildResponse
(
list
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment