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
c0ecc32c
Commit
c0ecc32c
authored
Mar 12, 2025
by
hezhuozhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
27562 监管业务系统,压力管道安装告知被监管单位驳回之后,安装单位通过工作台进代办列表点处理进入单据编辑,更换装置后提交,报错提示保存失败
parent
d88eacdf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+13
-10
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/JgInstallationNoticeServiceImpl.java
View file @
c0ecc32c
...
...
@@ -552,16 +552,19 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
LambdaQueryWrapper
<
JgInstallationNoticeEq
>
lambda
=
new
QueryWrapper
<
JgInstallationNoticeEq
>().
lambda
();
lambda
.
eq
(
JgInstallationNoticeEq:
:
getEquipTransferId
,
noticeDto
.
getSequenceNbr
());
jgInstallationNoticeEqMapper
.
delete
(
lambda
);
ArrayList
<
JgInstallationNoticeEq
>
jgInstallationNoticeEqs
=
new
ArrayList
<>();
noticeDto
.
getDeviceList
().
forEach
(
item
->
{
JgInstallationNoticeEq
jgInstallationNoticeEq
=
new
JgInstallationNoticeEq
();
jgInstallationNoticeEq
.
setEquId
(!
ValidationUtil
.
isEmpty
(
item
.
get
(
"SEQUENCE_NBR"
))
?
String
.
valueOf
(
item
.
get
(
"SEQUENCE_NBR"
))
:
String
.
valueOf
(
item
.
get
(
"record"
)));
jgInstallationNoticeEq
.
setEquCategoryCode
(!
ValidationUtil
.
isEmpty
(
item
.
get
(
"EQU_CATEGORY_CODE"
))
?
String
.
valueOf
(
item
.
get
(
"EQU_CATEGORY_CODE"
))
:
String
.
valueOf
(
item
.
get
(
"equCategory"
)));
jgInstallationNoticeEq
.
setEquListCode
(!
ValidationUtil
.
isEmpty
(
item
.
get
(
"EQU_LIST_CODE"
))
?
String
.
valueOf
(
item
.
get
(
"EQU_LIST_CODE"
))
:
String
.
valueOf
(
item
.
get
(
"equList"
)));
jgInstallationNoticeEq
.
setEquipTransferId
(
noticeDto
.
getSequenceNbr
().
toString
());
jgInstallationNoticeEqs
.
add
(
jgInstallationNoticeEq
);
});
jgInstallationNoticeEqMapper
.
insertBatchSomeColumn
(
jgInstallationNoticeEqs
);
List
<
Map
<
String
,
Object
>>
deviceList
=
noticeDto
.
getDeviceList
();
if
(!
CollectionUtils
.
isEmpty
(
deviceList
)){
ArrayList
<
JgInstallationNoticeEq
>
jgInstallationNoticeEqs
=
new
ArrayList
<>();
deviceList
.
forEach
(
item
->
{
JgInstallationNoticeEq
jgInstallationNoticeEq
=
new
JgInstallationNoticeEq
();
jgInstallationNoticeEq
.
setEquId
(!
ValidationUtil
.
isEmpty
(
item
.
get
(
"SEQUENCE_NBR"
))
?
String
.
valueOf
(
item
.
get
(
"SEQUENCE_NBR"
))
:
String
.
valueOf
(
item
.
get
(
"record"
)));
jgInstallationNoticeEq
.
setEquCategoryCode
(!
ValidationUtil
.
isEmpty
(
item
.
get
(
"EQU_CATEGORY_CODE"
))
?
String
.
valueOf
(
item
.
get
(
"EQU_CATEGORY_CODE"
))
:
String
.
valueOf
(
item
.
get
(
"equCategory"
)));
jgInstallationNoticeEq
.
setEquListCode
(!
ValidationUtil
.
isEmpty
(
item
.
get
(
"EQU_LIST_CODE"
))
?
String
.
valueOf
(
item
.
get
(
"EQU_LIST_CODE"
))
:
String
.
valueOf
(
item
.
get
(
"equList"
)));
jgInstallationNoticeEq
.
setEquipTransferId
(
noticeDto
.
getSequenceNbr
().
toString
());
jgInstallationNoticeEqs
.
add
(
jgInstallationNoticeEq
);
});
jgInstallationNoticeEqMapper
.
insertBatchSomeColumn
(
jgInstallationNoticeEqs
);
}
return
noticeDto
;
}
catch
(
BadRequest
|
LocalBadRequest
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
...
...
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