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
e516d8d5
Commit
e516d8d5
authored
Jan 16, 2024
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化改造变更登记详情代码执行顺序
parent
eb4d33ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
JgChangeRegistrationReformServiceImpl.java
...z/service/impl/JgChangeRegistrationReformServiceImpl.java
+2
-6
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/JgChangeRegistrationReformServiceImpl.java
View file @
e516d8d5
...
@@ -404,16 +404,13 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -404,16 +404,13 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
if
(
ObjectUtils
.
isEmpty
(
equipId
))
{
if
(
ObjectUtils
.
isEmpty
(
equipId
))
{
equipId
=
jgChangeRegistrationReformEqMapper
.
selectEquipId
(
currentDocumentId
);
equipId
=
jgChangeRegistrationReformEqMapper
.
selectEquipId
(
currentDocumentId
);
}
}
Map
<
String
,
Object
>
detail
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
jgChangeRegistrationReform
),
Map
.
class
);
Map
<
String
,
Object
>
detail
=
new
HashMap
<>(
);
Map
<
String
,
Object
>
originalData
=
new
HashMap
<>();
Map
<
String
,
Object
>
originalData
=
new
HashMap
<>();
Map
<
String
,
Object
>
originalDataOther
=
new
HashMap
<>();
Map
<
String
,
Object
>
originalDataOther
=
new
HashMap
<>();
if
((
detail
.
get
(
"status"
).
equals
(
"已完成"
)
||
detail
.
get
(
"status"
).
equals
(
"流程结束"
)))
{
if
((
detail
.
get
(
"status"
).
equals
(
"已完成"
)
||
detail
.
get
(
"status"
).
equals
(
"流程结束"
)))
{
originalData
=
idxBizJgRegisterInfoService
.
getDetailByRecord
(
equipId
);
originalData
=
idxBizJgRegisterInfoService
.
getDetailByRecord
(
equipId
);
originalDataOther
=
idxBizJgRegisterInfoService
.
getDetailFieldCamelCaseByRecord
(
equipId
);
originalDataOther
=
idxBizJgRegisterInfoService
.
getDetailFieldCamelCaseByRecord
(
equipId
);
originalData
.
remove
(
"sequenceNbr"
);
originalDataOther
.
remove
(
"sequenceNbr"
);
originalDataOther
.
remove
(
"status"
);
if
(!
ObjectUtils
.
isEmpty
(
detail
.
get
(
"transformationQualityCertificate"
)))
{
if
(!
ObjectUtils
.
isEmpty
(
detail
.
get
(
"transformationQualityCertificate"
)))
{
detail
.
put
(
"transformationQualityCertificate"
,
JSONObject
.
parse
(
detail
.
get
(
"transformationQualityCertificate"
).
toString
()));
detail
.
put
(
"transformationQualityCertificate"
,
JSONObject
.
parse
(
detail
.
get
(
"transformationQualityCertificate"
).
toString
()));
}
}
...
@@ -428,10 +425,9 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -428,10 +425,9 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
.
eq
(
"current_document_id"
,
jgChangeRegistrationReform
.
getApplyNo
())
.
eq
(
"current_document_id"
,
jgChangeRegistrationReform
.
getApplyNo
())
.
eq
(
"registration_class"
,
"改造登记"
));
.
eq
(
"registration_class"
,
"改造登记"
));
originalData
=
JSONObject
.
parseObject
(
jgRegistrationHistory
.
getChangeData
(),
Map
.
class
);
originalData
=
JSONObject
.
parseObject
(
jgRegistrationHistory
.
getChangeData
(),
Map
.
class
);
originalData
.
remove
(
"sequenceNbr"
);
originalData
.
remove
(
"status"
);
detail
.
putAll
(
originalData
);
detail
.
putAll
(
originalData
);
}
}
detail
.
putAll
(
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
jgChangeRegistrationReform
),
Map
.
class
));
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