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
d0579b7f
Commit
d0579b7f
authored
Sep 13, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.历史登记时增加96333码的选择性录入
parent
4e2d1c0a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
7 deletions
+17
-7
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+13
-6
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+4
-1
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 @
d0579b7f
...
...
@@ -2430,12 +2430,19 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
otherInfo
.
setRecDate
(
date
);
otherInfo
.
setSequenceNbr
(
OPERATESAVE
.
equals
(
operateType
)
?
null
:
String
.
valueOf
(
equipmentInfoForm
.
get
(
"OTHERINFO_SEQ"
)));
if
(
isCopy
)
{
// 96333码和监管码置空
otherInfo
.
setCode96333
(
null
);
otherInfo
.
setSupervisoryCode
(
null
);
otherInfo
.
setCylinderStampAttachment
(
null
);
otherInfo
.
setInformationSituation
(
null
);
otherInfo
.
setInformationManageCode
(
null
);
// 复制且有无96333识别码选择 无 96333码置空
if
(
"2"
.
equals
(
otherInfo
.
getCode96333Type
())){
otherInfo
.
setCode96333
(
""
);
}
// 监管码置空
otherInfo
.
setSupervisoryCode
(
""
);
otherInfo
.
setCylinderStampAttachment
(
""
);
otherInfo
.
setInformationSituation
(
""
);
otherInfo
.
setInformationManageCode
(
""
);
}
// 编辑时,如果选择<无96333识别码>,则把已经入库的数据清除掉
if
(
OPERATEEDIT
.
equals
(
operateType
)
&&
"2"
.
equals
(
otherInfo
.
getCode96333Type
())){
otherInfo
.
setCode96333
(
""
);
}
iIdxBizJgOtherInfoService
.
saveOrUpdateData
(
otherInfo
);
...
...
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 @
d0579b7f
...
...
@@ -2362,7 +2362,10 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
Map
<
String
,
Object
>
result
=
code
.
getResult
();
if
(!
ObjectUtils
.
isEmpty
(
result
))
{
otherInfo
.
setSupervisoryCode
(
String
.
valueOf
(
result
.
get
(
"superviseCode"
)));
otherInfo
.
setCode96333
(
ObjectUtils
.
isEmpty
(
result
.
get
(
"code96333"
))
?
null
:
String
.
valueOf
(
result
.
get
(
"code96333"
)));
// 历史登记时 96333如果自行输入则不再进行生成插入
if
(
StringUtils
.
isEmpty
(
otherInfo
.
getCode96333
())){
otherInfo
.
setCode96333
(
ObjectUtils
.
isEmpty
(
result
.
get
(
"code96333"
))
?
""
:
String
.
valueOf
(
result
.
get
(
"code96333"
)));
}
// 更新使用登记业务表
jgUseRegistration
.
setSupervisoryCode
(
String
.
valueOf
(
result
.
get
(
"superviseCode"
)));
}
...
...
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