Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
9f14d5a7
Commit
9f14d5a7
authored
Mar 05, 2020
by
zhangdongwei-intern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix-1021512: 配置阶段跳转时不是关键词跳转的不保存关键词
parent
ddd6f972
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
PersonalStageJumpBizImpl.java
...book/personalstage/biz/impl/PersonalStageJumpBizImpl.java
+4
-2
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/personalstage/biz/impl/PersonalStageJumpBizImpl.java
View file @
9f14d5a7
...
...
@@ -126,7 +126,8 @@ public class PersonalStageJumpBizImpl implements PersonalStageJumpBiz {
PersonalStageJump
personalStageJump
=
CreateStageJumpRequestVO
.
valueToJumpEntity
(
vo
);
personalStageJumpDao
.
insert
(
personalStageJump
);
List
<
PersonalStageJumpKeyword
>
jumpKeywords
=
BaseStageJumpRequestVO
.
valueToJumpKeywords
(
vo
,
personalStageJump
.
getId
());
if
(!
ListUtils
.
isEmpty
(
jumpKeywords
))
{
if
(!
ListUtils
.
isEmpty
(
jumpKeywords
)
&&
!
JumpTypeEnum
.
PAY_TRIGGER
.
key
.
equals
(
vo
.
getJumpType
())
&&
!
JumpTypeEnum
.
PAPER_TRIGGER
.
key
.
equals
(
vo
.
getJumpType
()))
{
personalStageJumpKeywordDao
.
batchInsert
(
jumpKeywords
);
}
List
<
PersonalStageJumpEmail
>
jumpEmails
=
BaseStageJumpRequestVO
.
valueToJumpEmails
(
vo
,
personalStageJump
.
getId
());
...
...
@@ -225,7 +226,8 @@ public class PersonalStageJumpBizImpl implements PersonalStageJumpBiz {
//删除原有的衔接语
personalStageJumpLinkupDao
.
deleteByJumpId
(
vo
.
getPersonalStageJumpId
());
List
<
PersonalStageJumpKeyword
>
jumpKeywords
=
BaseStageJumpRequestVO
.
valueToJumpKeywords
(
vo
,
personalStageJump
.
getId
());
if
(!
ListUtils
.
isEmpty
(
jumpKeywords
)){
if
(!
ListUtils
.
isEmpty
(
jumpKeywords
)
&&
!
JumpTypeEnum
.
PAY_TRIGGER
.
key
.
equals
(
vo
.
getJumpType
())
&&
!
JumpTypeEnum
.
PAPER_TRIGGER
.
key
.
equals
(
vo
.
getJumpType
())){
personalStageJumpKeywordDao
.
batchInsert
(
jumpKeywords
);
}
List
<
PersonalStageJumpEmail
>
jumpEmails
=
BaseStageJumpRequestVO
.
valueToJumpEmails
(
vo
,
personalStageJump
.
getId
());
...
...
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