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
500dcdc2
Commit
500dcdc2
authored
Jul 02, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):报废后不能办理业务限制
parent
896a4259
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+3
-0
JgScrapCancelServiceImpl.java
.../module/jg/biz/service/impl/JgScrapCancelServiceImpl.java
+1
-0
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+1
-3
JgVehicleInformationServiceImpl.java
.../jg/biz/service/impl/JgVehicleInformationServiceImpl.java
+2
-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/service/impl/IdxBizJgRegisterInfoServiceImpl.java
View file @
500dcdc2
...
...
@@ -567,6 +567,9 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
if
(
"add"
.
equals
(
submitType
))
{
projectContraption
.
setCreateDate
(
date
);
}
if
(
StringUtils
.
isEmpty
(
projectContraption
.
getProjectContraption
()))
{
throw
new
BadRequest
(
"请填写工程(装置)名称/项目名称后暂存!"
);
}
idxBizJgProjectContraptionService
.
saveOrUpdateData
(
projectContraption
);
List
<
IdxBizJgUseInfo
>
useInfoList
=
initializeList
();
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgScrapCancelServiceImpl.java
View file @
500dcdc2
...
...
@@ -986,6 +986,7 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc
useRegistrationManage
.
setChangeReason
(
BusinessTypeEnum
.
JG_EQUIPMENT_CANCEL
.
getName
());
useRegistrationManage
.
setIsScrap
(
"1"
);
useRegistrationManage
.
setRecDate
(
new
Date
());
useRegistrationManage
.
setIsDoBusiness
(
"3"
);
//报废修改为3,不可做业务,可以被证管理查询到
}
jgUseRegistrationManageService
.
updateBatchById
(
jgUseRegistrationManageList
);
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
View file @
500dcdc2
...
...
@@ -1934,9 +1934,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
param
.
put
(
"ADDRESS"
,
dataMap
.
getOrDefault
(
"address"
,
""
));
param
.
put
(
"USE_PLACE"
,
usePlace
);
param
.
put
(
"STATUS"
,
"已认领"
);
if
(
useInfo
.
getEquState
()
==
null
){
param
.
put
(
"EQU_STATE"
,
1
);
}
param
.
put
(
"EQU_STATE"
,
useInfo
.
getEquState
());
// 更新es的下次检验日期
param
.
put
(
"NEXT_INSPECT_DATE"
,
this
.
castDate2TimeStr
(
dataMap
.
getString
(
"nextInspectDate"
)));
param
.
put
(
"USE_INNER_CODE"
,
useInfo
.
getUseInnerCode
());
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgVehicleInformationServiceImpl.java
View file @
500dcdc2
...
...
@@ -2423,9 +2423,8 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
//param.put("ADDRESS", otherInfo.get);
param
.
put
(
"USE_PLACE"
,
jgVehicleInformation
.
getUseUnitAddress
());
param
.
put
(
"STATUS"
,
"已认领"
);
if
(
useInfo
.
getEquState
()
==
null
)
{
param
.
putIfAbsent
(
"EQU_STATE"
,
1
);
}
param
.
put
(
"EQU_STATE"
,
Optional
.
ofNullable
(
useInfo
.
getEquState
())
.
orElse
(
EquimentEnum
.
ZAIYONG
.
getCode
().
toString
()));
param
.
put
(
"IS_INTO_MANAGEMENT"
,
true
);
param
.
put
(
"ORG_BRANCH_CODE"
,
jgVehicleInformation
.
getOrgBranchCode
());
param
.
put
(
"ORG_BRANCH_NAME"
,
jgVehicleInformation
.
getOrgBranchName
());
...
...
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