Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cash-loan-flow-boss
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
胡慧
cash-loan-flow-boss
Commits
132446c9
Commit
132446c9
authored
Aug 27, 2019
by
suntao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置 update 保存重复问题
parent
5958805b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
ChannelConfService.java
...hloanflowboss/api/channel/service/ChannelConfService.java
+7
-1
ClfOrderCallbackRepository.java
...owboss/spi/clf/repository/ClfOrderCallbackRepository.java
+3
-0
No files found.
src/main/java/cn/quantgroup/cashloanflowboss/api/channel/service/ChannelConfService.java
View file @
132446c9
...
@@ -124,8 +124,14 @@ public class ChannelConfService {
...
@@ -124,8 +124,14 @@ public class ChannelConfService {
BeanUtils
.
copyProperties
(
channelConfiguration
,
channelConfigurationExsit
,
IgnorePropertiesUtil
.
getNullPropertyNames
(
channelConfiguration
));
BeanUtils
.
copyProperties
(
channelConfiguration
,
channelConfigurationExsit
,
IgnorePropertiesUtil
.
getNullPropertyNames
(
channelConfiguration
));
clfChannelConfigurationRepository
.
save
(
channelConfigurationExsit
);
clfChannelConfigurationRepository
.
save
(
channelConfigurationExsit
);
// 更新OrderCallBack
for
(
ClfOrderCallBack
clfOrderCallBack
:
clfOrderCallBackList
)
{
ClfOrderCallBack
orderCallBackExsit
=
clfOrderCallbackRepository
.
findByCallbackStatusAndRegisteredFrom
(
clfOrderCallBack
.
getCallbackStatus
().
name
(),
clfOrderCallBack
.
getRegisteredFrom
());
if
(
orderCallBackExsit
!=
null
)
{
clfOrderCallBack
.
setId
(
orderCallBackExsit
.
getId
());
}
}
clfOrderCallbackRepository
.
save
(
clfOrderCallBackList
);
clfOrderCallbackRepository
.
save
(
clfOrderCallBackList
);
}
}
return
true
;
return
true
;
}
}
...
...
src/main/java/cn/quantgroup/cashloanflowboss/spi/clf/repository/ClfOrderCallbackRepository.java
View file @
132446c9
...
@@ -14,4 +14,7 @@ import org.springframework.stereotype.Repository;
...
@@ -14,4 +14,7 @@ import org.springframework.stereotype.Repository;
@CashLoanFlowDataSource
@CashLoanFlowDataSource
@Repository
@Repository
public
interface
ClfOrderCallbackRepository
extends
JpaRepository
<
ClfOrderCallBack
,
Long
>
{
public
interface
ClfOrderCallbackRepository
extends
JpaRepository
<
ClfOrderCallBack
,
Long
>
{
ClfOrderCallBack
findByCallbackStatusAndRegisteredFrom
(
String
callbackState
,
Long
channelId
);
}
}
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