Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
freemud-pay-job
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
1
Merge Requests
1
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
lihui.wang
freemud-pay-job
Commits
7235e6f1
Commit
7235e6f1
authored
Sep 28, 2018
by
lihui.wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
将 payaccountplatform list 转换为 object 且对数据密码进行解密
parent
1dd7a48f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
freemud-pay-module/freemud-pay-push-message/src/main/java/com/freemud/pay/job/service/impl/PayPlatformAccountServiceImpl.java
+4
-2
No files found.
freemud-pay-module/freemud-pay-push-message/src/main/java/com/freemud/pay/job/service/impl/PayPlatformAccountServiceImpl.java
View file @
7235e6f1
...
@@ -48,12 +48,12 @@ public class PayPlatformAccountServiceImpl implements IPayPlatformAccountService
...
@@ -48,12 +48,12 @@ public class PayPlatformAccountServiceImpl implements IPayPlatformAccountService
@Autowired
@Autowired
PayMessage
payMessage
;
PayMessage
payMessage
;
@Autowired
EncryptionHelper
encryptionHelper
;
@Override
@Override
public
PayPlatformAccountDM
getPayPlatformAccount
(
Integer
partnerId
)
{
public
PayPlatformAccountDM
getPayPlatformAccount
(
Integer
partnerId
)
{
EncryptionHelper
encryptionHelper
=
new
EncryptionHelper
();
List
<
PayPlatformAccountDM
>
payPlatformAccountDMList
=
payPlatformAccountRepository
.
selectByPartnerId
(
partnerId
);
List
<
PayPlatformAccountDM
>
payPlatformAccountDMList
=
payPlatformAccountRepository
.
selectByPartnerId
(
partnerId
);
payPlatformAcountKey
.
setPartnerId
(
iPayMessageService
.
selectByPrimaryKey
(
payMessage
.
getPayMessage
().
getId
()).
getPartnerid
());
payPlatformAcountKey
.
setPartnerId
(
iPayMessageService
.
selectByPrimaryKey
(
payMessage
.
getPayMessage
().
getId
()).
getPartnerid
());
payPlatformAcountKey
.
setPlatform
(
iPayMessageService
.
selectByPrimaryKey
(
payMessage
.
getPayMessage
().
getId
()).
getPlatform
());
payPlatformAcountKey
.
setPlatform
(
iPayMessageService
.
selectByPrimaryKey
(
payMessage
.
getPayMessage
().
getId
()).
getPlatform
());
...
@@ -67,6 +67,7 @@ public class PayPlatformAccountServiceImpl implements IPayPlatformAccountService
...
@@ -67,6 +67,7 @@ public class PayPlatformAccountServiceImpl implements IPayPlatformAccountService
}
}
});
});
PayPlatformAccountDM
payPlatformAccountDM
=
payPlatformAccountDMList1
.
get
(
0
);
PayPlatformAccountDM
payPlatformAccountDM
=
payPlatformAccountDMList1
.
get
(
0
);
payPlatformAccountDM
.
setPassword
(
encryptionHelper
.
Decode
(
payPlatformAccountDM
.
getPassword
()));
return
payPlatformAccountDM
;
return
payPlatformAccountDM
;
}
}
}
}
\ No newline at end of file
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