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
d0500ecc
Commit
d0500ecc
authored
Jun 25, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):历史有证暂存功能修改
parent
e74f272c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
16 deletions
+18
-16
DataDockServiceImpl.java
.../boot/module/jg/biz/service/impl/DataDockServiceImpl.java
+15
-15
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+3
-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/DataDockServiceImpl.java
View file @
d0500ecc
...
@@ -1845,20 +1845,20 @@ public class DataDockServiceImpl {
...
@@ -1845,20 +1845,20 @@ public class DataDockServiceImpl {
AgencyUserModel
userModel
=
reginParams
.
getUserModel
();
AgencyUserModel
userModel
=
reginParams
.
getUserModel
();
CompanyBo
company
=
reginParams
.
getCompany
();
CompanyBo
company
=
reginParams
.
getCompany
();
String
orgBranchCode
=
equipInfo
.
getString
(
"orgBranchCode"
);
String
orgBranchCode
=
equipInfo
.
getString
(
"orgBranchCode"
);
String
equListCode
=
String
.
valueOf
(
equipInfo
.
get
(
"EQU_LIST"
)
);
String
equListCode
=
Objects
.
toString
(
equipInfo
.
get
(
"EQU_LIST"
),
null
);
String
equCategoryCode
=
String
.
valueOf
(
equipInfo
.
get
(
"EQU_CATEGORY"
)
);
String
equCategoryCode
=
Objects
.
toString
(
equipInfo
.
get
(
"EQU_CATEGORY"
),
null
);
String
equDefineCode
=
String
.
valueOf
(
equipInfo
.
get
(
"EQU_DEFINE"
)
);
String
equDefineCode
=
Objects
.
toString
(
equipInfo
.
get
(
"EQU_DEFINE"
),
null
);
String
receiveOrgCode
=
Optional
.
ofNullable
(
equipInfo
.
get
(
"RECEIVE_ORG_CODE"
)).
map
(
String:
:
valueOf
).
orElse
(
null
);
String
receiveOrgCode
=
Optional
.
ofNullable
(
equipInfo
.
get
(
"RECEIVE_ORG_CODE"
)).
map
(
String:
:
valueOf
).
orElse
(
null
);
String
inspectUnitCreditCode
=
Optional
.
ofNullable
(
equLists
.
get
(
0
).
getInspectOrgCode
()).
orElse
(
""
);
String
inspectUnitCreditCode
=
Optional
.
ofNullable
(
equLists
.
get
(
0
).
getInspectOrgCode
()).
orElse
(
null
);
String
inspectUnitName
=
Optional
.
ofNullable
(
equLists
.
get
(
0
).
getInspectOrgName
()).
orElse
(
""
);
String
inspectUnitName
=
Optional
.
ofNullable
(
equLists
.
get
(
0
).
getInspectOrgName
()).
orElse
(
null
);
String
useOrgCode
=
Optional
.
ofNullable
(
equipInfo
.
get
(
"USE_ORG_CODE"
)).
map
(
String:
:
valueOf
).
orElse
(
null
);
String
useOrgCode
=
Optional
.
ofNullable
(
equipInfo
.
get
(
"USE_ORG_CODE"
)).
map
(
String:
:
valueOf
).
orElse
(
null
);
String
province
=
String
.
valueOf
(
equipInfo
.
get
(
"province"
)
);
String
province
=
Objects
.
toString
(
equipInfo
.
get
(
"province"
),
null
);
String
city
=
String
.
valueOf
(
equipInfo
.
get
(
"city"
)
);
String
city
=
Objects
.
toString
(
equipInfo
.
get
(
"city"
),
null
);
String
county
=
String
.
valueOf
(
equipInfo
.
get
(
"county"
)
);
String
county
=
Objects
.
toString
(
equipInfo
.
get
(
"county"
),
null
);
String
street
=
String
.
valueOf
(
equipInfo
.
get
(
"street"
)
);
String
street
=
Objects
.
toString
(
equipInfo
.
get
(
"street"
),
null
);
String
address
=
String
.
valueOf
(
equipInfo
.
get
(
"address"
)
);
String
address
=
Objects
.
toString
(
equipInfo
.
get
(
"address"
),
null
);
String
usePlace
=
String
.
valueOf
(
equipInfo
.
get
(
"usePlace"
)
);
String
usePlace
=
Objects
.
toString
(
equipInfo
.
get
(
"usePlace"
),
null
);
String
useDate
=
String
.
valueOf
(
equipInfo
.
get
(
"useDate"
)
);
String
useDate
=
Objects
.
toString
(
equipInfo
.
get
(
"useDate"
),
null
);
return
new
EquipRequestParamsDto
().
setCompanyCode
(
company
.
getCompanyCode
().
split
(
"_"
)[
0
])
return
new
EquipRequestParamsDto
().
setCompanyCode
(
company
.
getCompanyCode
().
split
(
"_"
)[
0
])
.
setProvince
(
province
)
.
setProvince
(
province
)
.
setProvinceName
(
"陕西省"
)
.
setProvinceName
(
"陕西省"
)
...
@@ -1884,7 +1884,7 @@ public class DataDockServiceImpl {
...
@@ -1884,7 +1884,7 @@ public class DataDockServiceImpl {
.
setOrgBranchCode
(
orgBranchCode
.
split
(
"_"
).
length
>
1
?
orgBranchCode
.
split
(
"_"
)[
0
]
:
""
)
.
setOrgBranchCode
(
orgBranchCode
.
split
(
"_"
).
length
>
1
?
orgBranchCode
.
split
(
"_"
)[
0
]
:
""
)
.
setOrgBranchName
(
orgBranchCode
.
split
(
"_"
).
length
>
1
?
orgBranchCode
.
split
(
"_"
)[
1
]
:
""
)
.
setOrgBranchName
(
orgBranchCode
.
split
(
"_"
).
length
>
1
?
orgBranchCode
.
split
(
"_"
)[
1
]
:
""
)
.
setUseOrgCode
(
useOrgCode
)
.
setUseOrgCode
(
useOrgCode
)
.
setVehicleApanage
(
String
.
valueOf
(
equipInfo
.
get
(
"VEHICLE_APANAGE"
)
))
.
setVehicleApanage
(
Objects
.
toString
(
equipInfo
.
get
(
"VEHICLE_APANAGE"
),
""
))
.
setReceiveOrgCode
(
Optional
.
ofNullable
(
receiveOrgCode
)
.
setReceiveOrgCode
(
Optional
.
ofNullable
(
receiveOrgCode
)
.
map
(
code
->
code
.
split
(
"_"
))
.
map
(
code
->
code
.
split
(
"_"
))
.
filter
(
parts
->
parts
.
length
>
0
)
.
filter
(
parts
->
parts
.
length
>
0
)
...
@@ -1895,8 +1895,8 @@ public class DataDockServiceImpl {
...
@@ -1895,8 +1895,8 @@ public class DataDockServiceImpl {
.
filter
(
parts
->
parts
.
length
>
1
)
.
filter
(
parts
->
parts
.
length
>
1
)
.
map
(
parts
->
parts
[
1
])
.
map
(
parts
->
parts
[
1
])
.
orElse
(
null
))
.
orElse
(
null
))
.
setProjectContraption
(
String
.
valueOf
(
equipInfo
.
get
(
"PROJECT_CONTRAPTION"
)
))
.
setProjectContraption
(
Objects
.
toString
(
equipInfo
.
get
(
"PROJECT_CONTRAPTION"
),
null
))
.
setProjectContraptionNo
(
String
.
valueOf
(
equipInfo
.
get
(
"PROJECT_CONTRAPTION_NO"
)
))
.
setProjectContraptionNo
(
Objects
.
toString
(
equipInfo
.
get
(
"PROJECT_CONTRAPTION_NO"
),
null
))
.
setProductPhoto
(
toJSONString
(
equipInfo
.
get
(
"PRODUCT_PHOTO"
)))
.
setProductPhoto
(
toJSONString
(
equipInfo
.
get
(
"PRODUCT_PHOTO"
)))
.
setProductQualificationCertificate
(
toJSONString
(
equipInfo
.
get
(
"PRODUCT_QUALIFICATION_CERTIFICATE"
)))
.
setProductQualificationCertificate
(
toJSONString
(
equipInfo
.
get
(
"PRODUCT_QUALIFICATION_CERTIFICATE"
)))
.
setOtherAccessories
(
ValidationUtil
.
isEmpty
(
equipInfo
.
get
(
"OTHER_ACCESSORIES"
))
?
null
:
toJSONString
(
equipInfo
.
get
(
"OTHER_ACCESSORIES"
)))
.
setOtherAccessories
(
ValidationUtil
.
isEmpty
(
equipInfo
.
get
(
"OTHER_ACCESSORIES"
))
?
null
:
toJSONString
(
equipInfo
.
get
(
"OTHER_ACCESSORIES"
)))
...
...
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 @
d0500ecc
...
@@ -4168,13 +4168,15 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -4168,13 +4168,15 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
LambdaQueryWrapper
<
IdxBizJgRegisterInfo
>
lambdaReg
=
new
QueryWrapper
<
IdxBizJgRegisterInfo
>().
lambda
();
LambdaQueryWrapper
<
IdxBizJgRegisterInfo
>
lambdaReg
=
new
QueryWrapper
<
IdxBizJgRegisterInfo
>().
lambda
();
lambdaReg
.
eq
(
IdxBizJgRegisterInfo:
:
getRecord
,
equipId
);
lambdaReg
.
eq
(
IdxBizJgRegisterInfo:
:
getRecord
,
equipId
);
IdxBizJgRegisterInfo
registerInfo
=
idxBizJgRegisterInfoMapper
.
selectOne
(
lambdaReg
);
IdxBizJgRegisterInfo
registerInfo
=
idxBizJgRegisterInfoMapper
.
selectOne
(
lambdaReg
);
String
equCode
=
""
;
String
equCode
=
Objects
.
toString
(
map
.
get
(
"equCode"
),
null
)
;
if
(
registerInfo
!=
null
)
{
if
(
registerInfo
!=
null
)
{
registerInfo
.
setUseOrgCode
(
jgUseRegistration
.
getUseRegistrationCode
());
registerInfo
.
setUseOrgCode
(
jgUseRegistration
.
getUseRegistrationCode
());
registerInfo
.
setEquCodeType
(
String
.
valueOf
(
map
.
get
(
"equCodeType"
)));
registerInfo
.
setEquCodeType
(
String
.
valueOf
(
map
.
get
(
"equCodeType"
)));
if
(
submitType
.
equals
(
"tempSubmit"
)){
equCode
=
ObjectUtils
.
isEmpty
(
map
.
get
(
"equCode"
))
&&
!
StringUtils
.
isEmpty
(
jgUseRegistration
.
getReceiveCompanyCode
())
equCode
=
ObjectUtils
.
isEmpty
(
map
.
get
(
"equCode"
))
&&
!
StringUtils
.
isEmpty
(
jgUseRegistration
.
getReceiveCompanyCode
())
?
this
.
getEquCode
(
registerInfo
,
jgUseRegistration
.
getReceiveCompanyCode
())
?
this
.
getEquCode
(
registerInfo
,
jgUseRegistration
.
getReceiveCompanyCode
())
:
String
.
valueOf
(
map
.
get
(
"equCode"
));
:
String
.
valueOf
(
map
.
get
(
"equCode"
));
}
registerInfo
.
setEquCode
(
equCode
);
// 设备代码
registerInfo
.
setEquCode
(
equCode
);
// 设备代码
registerInfo
.
setEquPrice
(
String
.
valueOf
(
map
.
get
(
"equPrice"
)));
registerInfo
.
setEquPrice
(
String
.
valueOf
(
map
.
get
(
"equPrice"
)));
registerInfo
.
setProductPhoto
(
JSONObject
.
toJSONString
(
map
.
get
(
"productPhoto"
)));
registerInfo
.
setProductPhoto
(
JSONObject
.
toJSONString
(
map
.
get
(
"productPhoto"
)));
...
...
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