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
b89f04c9
Commit
b89f04c9
authored
Feb 26, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.压力管道改造变更登记开发,作废
parent
ee9ad07e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
IdxBizJgProjectContraptionServiceImpl.java
...z/service/impl/IdxBizJgProjectContraptionServiceImpl.java
+2
-0
JgChangeRegistrationReformServiceImpl.java
...z/service/impl/JgChangeRegistrationReformServiceImpl.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/IdxBizJgProjectContraptionServiceImpl.java
View file @
b89f04c9
...
@@ -667,6 +667,7 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
...
@@ -667,6 +667,7 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
result
.
put
(
"inspectConclusionCode"
,
info
.
getInspectConclusion
());
result
.
put
(
"inspectConclusionCode"
,
info
.
getInspectConclusion
());
result
.
put
(
"inspectConclusion"
,
Optional
.
ofNullable
(
dataDictionaryServiceImpl
.
getByCode
(
info
.
getInspectConclusion
(),
"JYJL"
))
result
.
put
(
"inspectConclusion"
,
Optional
.
ofNullable
(
dataDictionaryServiceImpl
.
getByCode
(
info
.
getInspectConclusion
(),
"JYJL"
))
.
map
(
DataDictionary:
:
getName
).
orElse
(
""
));
.
map
(
DataDictionary:
:
getName
).
orElse
(
""
));
result
.
put
(
"jySeq"
,
info
.
getSequenceNbr
());
return
result
;
return
result
;
}
}
}
}
\ No newline at end of file
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 @
b89f04c9
...
@@ -1623,7 +1623,6 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -1623,7 +1623,6 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
.
eq
(
InspectionDetectionInfo:
:
getInspectOrgCode
,
inspectionDetectionInfo
.
getInspectOrgCode
());
.
eq
(
InspectionDetectionInfo:
:
getInspectOrgCode
,
inspectionDetectionInfo
.
getInspectOrgCode
());
List
<
InspectionDetectionInfo
>
inspectionDetectionInfos
=
inspectionDetectionInfoMapper
.
selectList
(
wrapper
);
List
<
InspectionDetectionInfo
>
inspectionDetectionInfos
=
inspectionDetectionInfoMapper
.
selectList
(
wrapper
);
List
<
InspectionDetectionInfo
>
oInspectionDetectionInfos
=
new
ArrayList
<>(
inspectionDetectionInfos
);
List
<
InspectionDetectionInfo
>
oInspectionDetectionInfos
=
new
ArrayList
<>(
inspectionDetectionInfos
);
JSONObject
data
=
new
JSONObject
();
String
insertId
=
null
;
String
insertId
=
null
;
if
(
inspectionDetectionInfos
.
isEmpty
()){
if
(
inspectionDetectionInfos
.
isEmpty
()){
insertId
=
sequence
.
nextId
()
+
""
;
insertId
=
sequence
.
nextId
()
+
""
;
...
@@ -1645,6 +1644,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -1645,6 +1644,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
this
.
setInsertIds
(
inspectData
,
insertId
);
this
.
setInsertIds
(
inspectData
,
insertId
);
// 被更新的原行数据
// 被更新的原行数据
this
.
setOData
(
inspectData
,
oInspectionDetectionInfos
);
this
.
setOData
(
inspectData
,
oInspectionDetectionInfos
);
oldData
.
put
(
"inspectData"
,
inspectData
);
LambdaUpdateWrapper
<
JgRegistrationHistory
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
LambdaUpdateWrapper
<
JgRegistrationHistory
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
updateWrapper
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
registrationReform
.
getApplyNo
());
updateWrapper
.
eq
(
JgRegistrationHistory:
:
getCurrentDocumentId
,
registrationReform
.
getApplyNo
());
updateWrapper
.
set
(
JgRegistrationHistory:
:
getOldData
,
JSONObject
.
toJSONString
(
oldData
));
updateWrapper
.
set
(
JgRegistrationHistory:
:
getOldData
,
JSONObject
.
toJSONString
(
oldData
));
...
@@ -1655,6 +1655,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -1655,6 +1655,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
JSONArray
oData
=
inspectData
.
getJSONArray
(
"oData"
);
JSONArray
oData
=
inspectData
.
getJSONArray
(
"oData"
);
if
(
oData
==
null
){
if
(
oData
==
null
){
oData
=
new
JSONArray
();
oData
=
new
JSONArray
();
inspectData
.
put
(
"oData"
,
oData
);
}
}
oData
.
addAll
(
oInspectionDetectionInfos
);
oData
.
addAll
(
oInspectionDetectionInfos
);
}
}
...
@@ -1663,6 +1664,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -1663,6 +1664,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
JSONArray
existInsertIds
=
inspectData
.
getJSONArray
(
"insertIds"
);
JSONArray
existInsertIds
=
inspectData
.
getJSONArray
(
"insertIds"
);
if
(
existInsertIds
==
null
){
if
(
existInsertIds
==
null
){
existInsertIds
=
new
JSONArray
();
existInsertIds
=
new
JSONArray
();
inspectData
.
put
(
"insertIds"
,
existInsertIds
);
}
}
if
(
insertId
!=
null
){
if
(
insertId
!=
null
){
existInsertIds
.
add
(
insertId
);
existInsertIds
.
add
(
insertId
);
...
...
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