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
76db761f
Commit
76db761f
authored
Mar 14, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):各个流程添加“其他附件”字段
parent
ddcd4cb8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
5 deletions
+27
-5
JgChangeRegistrationUnitDto.java
...s/boot/module/jg/api/dto/JgChangeRegistrationUnitDto.java
+3
-0
JgUseRegistrationMapper.xml
...api/src/main/resources/mapper/JgUseRegistrationMapper.xml
+5
-2
JgChangeRegistrationUnitServiceImpl.java
...biz/service/impl/JgChangeRegistrationUnitServiceImpl.java
+6
-3
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+13
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/JgChangeRegistrationUnitDto.java
View file @
76db761f
...
@@ -150,6 +150,9 @@ public class JgChangeRegistrationUnitDto extends BaseDto {
...
@@ -150,6 +150,9 @@ public class JgChangeRegistrationUnitDto extends BaseDto {
private
String
transferToUserIds
;
private
String
transferToUserIds
;
@ApiModelProperty
(
value
=
"其他附件"
)
@ApiModelProperty
(
value
=
"其他附件"
)
private
List
<
Map
<
String
,
Object
>>
otherAccessoriesList
;
@ApiModelProperty
(
value
=
"其他附件"
)
private
String
otherAccessories
;
private
String
otherAccessories
;
@ApiModelProperty
(
value
=
"公司类型"
)
@ApiModelProperty
(
value
=
"公司类型"
)
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationMapper.xml
View file @
76db761f
...
@@ -95,7 +95,9 @@
...
@@ -95,7 +95,9 @@
jfi.PRODUCE_COUNTRY as produceCountry,
jfi.PRODUCE_COUNTRY as produceCountry,
jfi.produce_unit_credit_code as produceUnitCreditCode,
jfi.produce_unit_credit_code as produceUnitCreditCode,
jci.USC_UNIT_NAME as uscUnitName,
jci.USC_UNIT_NAME as uscUnitName,
jci.USC_UNIT_CREDIT_CODE as uscUnitCreditCode
jci.USC_UNIT_CREDIT_CODE as uscUnitCreditCode,
jri.OTHER_ACCESSORIES_REG as otherAccessoriesReg,
jfi.OTHER_ACCESSORIES_FACT as otherAccessoriesFact
from idx_biz_jg_register_info jri
from idx_biz_jg_register_info jri
LEFT JOIN idx_biz_jg_factory_info jfi on jri.RECORD = jfi.RECORD
LEFT JOIN idx_biz_jg_factory_info jfi on jri.RECORD = jfi.RECORD
...
@@ -171,7 +173,8 @@
...
@@ -171,7 +173,8 @@
APPRAISAL_UNIT as appraisalUnit,
APPRAISAL_UNIT as appraisalUnit,
APPRAISAL_DATE as appraisalDate,
APPRAISAL_DATE as appraisalDate,
DESIGN_DOC as designDoc,
DESIGN_DOC as designDoc,
DESIGN_STANDARD as designStandard
DESIGN_STANDARD as designStandard,
OTHER_ACCESSORIES_DES as otherAccessoriesDes
from idx_biz_jg_design_info
from idx_biz_jg_design_info
where RECORD = #{id}
where RECORD = #{id}
</select>
</select>
...
...
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/JgChangeRegistrationUnitServiceImpl.java
View file @
76db761f
...
@@ -168,9 +168,10 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
...
@@ -168,9 +168,10 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
changeInfo
.
put
(
"newUseUnitCreditCode"
,
notice
.
getNewUseUnitCreditCode
()
+
"_"
+
notice
.
getNewUseUnitName
());
changeInfo
.
put
(
"newUseUnitCreditCode"
,
notice
.
getNewUseUnitCreditCode
()
+
"_"
+
notice
.
getNewUseUnitName
());
}
}
changeInfo
.
put
(
"changeCertificateList"
,
notice
.
getChangeCertificate
());
changeInfo
.
put
(
"changeCertificateList"
,
notice
.
getChangeCertificate
());
changeInfo
.
put
(
"otherAccessoriesList"
,
notice
.
getOtherAccessories
());
String
[]
fields
=
{
"productPhoto"
,
"designDoc"
,
"designStandard"
,
"factoryStandard"
,
String
[]
fields
=
{
"productPhoto"
,
"designDoc"
,
"designStandard"
,
"factoryStandard"
,
"productQualityYieldProve"
,
"insUseMaintainExplain"
,
"inspectReport"
,
"otherAccessories"
,
"productQualityYieldProve"
,
"insUseMaintainExplain"
,
"inspectReport"
,
"otherAccessories
List
"
,
"proxyStatementAttachment"
,
"installContractAttachment"
,
"changeCertificateList"
};
"proxyStatementAttachment"
,
"installContractAttachment"
,
"changeCertificateList"
};
// 设备信息
// 设备信息
...
@@ -622,8 +623,10 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
...
@@ -622,8 +623,10 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
if
(!
ValidationUtil
.
isEmpty
(
model
.
getChangeCertificateList
()))
{
if
(!
ValidationUtil
.
isEmpty
(
model
.
getChangeCertificateList
()))
{
model
.
setChangeCertificate
(
JSON
.
toJSONString
(
model
.
getChangeCertificateList
()));
model
.
setChangeCertificate
(
JSON
.
toJSONString
(
model
.
getChangeCertificateList
()));
}
}
// 处理其他附件
if
(!
ValidationUtil
.
isEmpty
(
model
.
getOtherAccessoriesList
()))
{
model
.
setOtherAccessories
(
JSON
.
toJSONString
(
model
.
getOtherAccessoriesList
()));
}
// 分割单位
// 分割单位
String
useUnitId
=
model
.
getUseUnitCreditCode
();
String
useUnitId
=
model
.
getUseUnitCreditCode
();
if
(!
ObjectUtils
.
isEmpty
(
useUnitId
))
{
if
(!
ObjectUtils
.
isEmpty
(
useUnitId
))
{
...
...
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 @
76db761f
...
@@ -772,6 +772,16 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -772,6 +772,16 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
LambdaQueryWrapper
<
IdxBizJgRegisterInfo
>
wrapper
=
new
QueryWrapper
<
IdxBizJgRegisterInfo
>().
lambda
().
eq
(
IdxBizJgRegisterInfo:
:
getRecord
,
record
);
LambdaQueryWrapper
<
IdxBizJgRegisterInfo
>
wrapper
=
new
QueryWrapper
<
IdxBizJgRegisterInfo
>().
lambda
().
eq
(
IdxBizJgRegisterInfo:
:
getRecord
,
record
);
IdxBizJgRegisterInfo
idxBizJgRegisterInfo
=
idxBizJgRegisterInfoMapper
.
selectOne
(
wrapper
);
IdxBizJgRegisterInfo
idxBizJgRegisterInfo
=
idxBizJgRegisterInfoMapper
.
selectOne
(
wrapper
);
jsonObject
.
put
(
"carNumber"
,
idxBizJgRegisterInfo
.
getCarNumber
());
jsonObject
.
put
(
"carNumber"
,
idxBizJgRegisterInfo
.
getCarNumber
());
// 转化 其他附件 字段
if
(!
ObjectUtils
.
isEmpty
(
jsonObject
.
get
(
"otherAccessoriesDes"
))){
jsonObject
.
put
(
"otherAccessoriesDes"
,
JSON
.
parse
(
String
.
valueOf
(
jsonObject
.
get
(
"otherAccessoriesDes"
))));
}
if
(!
ObjectUtils
.
isEmpty
(
jsonObject
.
get
(
"otherAccessoriesFact"
))){
jsonObject
.
put
(
"otherAccessoriesFact"
,
JSON
.
parse
(
String
.
valueOf
(
jsonObject
.
get
(
"otherAccessoriesFact"
))));
}
if
(!
ObjectUtils
.
isEmpty
(
jsonObject
.
get
(
"otherAccessoriesReg"
))){
jsonObject
.
put
(
"otherAccessoriesReg"
,
JSON
.
parse
(
String
.
valueOf
(
jsonObject
.
get
(
"otherAccessoriesReg"
))));
}
return
jsonObject
;
return
jsonObject
;
}
}
// 基本信息 + 制造信息
// 基本信息 + 制造信息
...
@@ -800,6 +810,9 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -800,6 +810,9 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
detail
.
put
(
"designStandard"
,
JSON
.
parse
(
String
.
valueOf
(
detail
.
get
(
"designStandard"
))));
detail
.
put
(
"designStandard"
,
JSON
.
parse
(
String
.
valueOf
(
detail
.
get
(
"designStandard"
))));
detail
.
put
(
"designDoc"
,
JSON
.
parse
(
String
.
valueOf
(
detail
.
get
(
"designDoc"
))));
detail
.
put
(
"designDoc"
,
JSON
.
parse
(
String
.
valueOf
(
detail
.
get
(
"designDoc"
))));
detail
.
put
(
"longitudeLatitude"
,
JSON
.
parse
(
String
.
valueOf
(
detail
.
get
(
"longitudeLatitude"
))));
detail
.
put
(
"longitudeLatitude"
,
JSON
.
parse
(
String
.
valueOf
(
detail
.
get
(
"longitudeLatitude"
))));
detail
.
put
(
"otherAccessoriesDes"
,
JSON
.
parse
(
String
.
valueOf
(
detail
.
get
(
"otherAccessoriesDes"
))));
detail
.
put
(
"otherAccessoriesFact"
,
JSON
.
parse
(
String
.
valueOf
(
detail
.
get
(
"otherAccessoriesFact"
))));
detail
.
put
(
"otherAccessoriesReg"
,
JSON
.
parse
(
String
.
valueOf
(
detail
.
get
(
"otherAccessoriesReg"
))));
detail
.
put
(
"province"
,
"610000"
);
detail
.
put
(
"province"
,
"610000"
);
return
detail
;
return
detail
;
}
}
...
...
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