Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
qianhe-ydsj
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiangyun
qianhe-ydsj
Commits
28f42849
Commit
28f42849
authored
Apr 17, 2026
by
MMF
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MMF 2026-04-17 修复帮扶计划新增BUG
parent
1cb93cac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
qianhe-ydsj/src/main/java/com/qianhe/zqbf/service/impl/ZqbfXmzBfxqServiceImpl.java
+4
-3
No files found.
qianhe-ydsj/src/main/java/com/qianhe/zqbf/service/impl/ZqbfXmzBfxqServiceImpl.java
View file @
28f42849
...
@@ -85,14 +85,15 @@ public class ZqbfXmzBfxqServiceImpl implements ZqbfXmzBfxqService {
...
@@ -85,14 +85,15 @@ public class ZqbfXmzBfxqServiceImpl implements ZqbfXmzBfxqService {
zqbfXmzBfxq
.
setGxr
(
username
);
zqbfXmzBfxq
.
setGxr
(
username
);
zqbfXmzBfxq
.
setCjr
(
username
);
zqbfXmzBfxq
.
setCjr
(
username
);
zqbfXmzBfxq
.
setCjsj
(
new
Date
());
zqbfXmzBfxq
.
setCjsj
(
new
Date
());
Long
xqid
=
zqbfXmzBfxqMapper
.
add
(
zqbfXmzBfxq
);
zqbfXmzBfxqMapper
.
add
(
zqbfXmzBfxq
);
Long
xqid
=
zqbfXmzBfxq
.
getXqid
();
// 同步需求项目关联表
// 同步需求项目关联表
zqbfXmzBfxqxmMapper
.
delete
(
new
Long
[]{
xqid
});
zqbfXmzBfxqxmMapper
.
delete
(
new
Long
[]{
xqid
});
List
<
ZqbfXmzBfxqxm
>
dataList
=
new
ArrayList
<>();
List
<
ZqbfXmzBfxqxm
>
dataList
=
new
ArrayList
<>();
List
<
String
>
xmidList
=
Arrays
.
asList
(
xmids
.
split
(
","
));
List
<
String
>
xmidList
=
Arrays
.
asList
(
xmids
.
split
(
","
));
for
(
String
xmid
:
xmidList
)
{
for
(
String
xmid
:
xmidList
)
{
dataList
.
add
(
ZqbfXmzBfxqxm
.
builder
().
xqid
(
xqid
).
xmid
(
xqid
).
build
());
dataList
.
add
(
ZqbfXmzBfxqxm
.
builder
().
xqid
(
xqid
).
xmid
(
Long
.
valueOf
(
xmid
)
).
build
());
}
}
zqbfXmzBfxqxmMapper
.
batchAdd
(
dataList
);
zqbfXmzBfxqxmMapper
.
batchAdd
(
dataList
);
...
@@ -129,7 +130,7 @@ public class ZqbfXmzBfxqServiceImpl implements ZqbfXmzBfxqService {
...
@@ -129,7 +130,7 @@ public class ZqbfXmzBfxqServiceImpl implements ZqbfXmzBfxqService {
List
<
ZqbfXmzBfxqxm
>
dataList
=
new
ArrayList
<>();
List
<
ZqbfXmzBfxqxm
>
dataList
=
new
ArrayList
<>();
List
<
String
>
xmidList
=
Arrays
.
asList
(
xmids
.
split
(
","
));
List
<
String
>
xmidList
=
Arrays
.
asList
(
xmids
.
split
(
","
));
for
(
String
xmid
:
xmidList
)
{
for
(
String
xmid
:
xmidList
)
{
dataList
.
add
(
ZqbfXmzBfxqxm
.
builder
().
xqid
(
xqid
).
xmid
(
xqid
).
build
());
dataList
.
add
(
ZqbfXmzBfxqxm
.
builder
().
xqid
(
xqid
).
xmid
(
Long
.
valueOf
(
xmid
)
).
build
());
}
}
zqbfXmzBfxqxmMapper
.
batchAdd
(
dataList
);
zqbfXmzBfxqxmMapper
.
batchAdd
(
dataList
);
return
1
;
return
1
;
...
...
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