Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
5eee0160
Commit
5eee0160
authored
Jul 01, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-工行入账调整
parent
bbaf00a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
7 deletions
+28
-7
EkpSocialInfoMapper.java
...om/yifu/cloud/plus/v1/ekp/mapper/EkpSocialInfoMapper.java
+1
-1
IcbcTransactionFlowQueryServiceImpl.java
...ekp/service/impl/IcbcTransactionFlowQueryServiceImpl.java
+25
-4
EkpSocialInfoMapper.xml
...ekp-biz/src/main/resources/mapper/EkpSocialInfoMapper.xml
+2
-2
No files found.
yifu-ekp/yifu-ekp-biz/src/main/java/com/yifu/cloud/plus/v1/ekp/mapper/EkpSocialInfoMapper.java
View file @
5eee0160
...
@@ -44,7 +44,7 @@ public interface EkpSocialInfoMapper extends BaseMapper<EkpSocialInfo> {
...
@@ -44,7 +44,7 @@ public interface EkpSocialInfoMapper extends BaseMapper<EkpSocialInfo> {
List
<
Map
<
String
,
String
>>
getAllserioNo
();
List
<
Map
<
String
,
String
>>
getAllserioNo
();
/**
/**
* 获取近
七
天的到账明细的交易流水号
* 获取近
三
天的到账明细的交易流水号
* @param
* @param
* @return
* @return
*/
*/
...
...
yifu-ekp/yifu-ekp-biz/src/main/java/com/yifu/cloud/plus/v1/ekp/service/impl/IcbcTransactionFlowQueryServiceImpl.java
View file @
5eee0160
...
@@ -16,6 +16,7 @@ import com.yifu.cloud.plus.v1.ekp.mapper.EkpSocialInfoMapper;
...
@@ -16,6 +16,7 @@ import com.yifu.cloud.plus.v1.ekp.mapper.EkpSocialInfoMapper;
import
com.yifu.cloud.plus.v1.ekp.service.EkpBankCodeSetService
;
import
com.yifu.cloud.plus.v1.ekp.service.EkpBankCodeSetService
;
import
com.yifu.cloud.plus.v1.ekp.service.IcbcTransactionFlowQueryService
;
import
com.yifu.cloud.plus.v1.ekp.service.IcbcTransactionFlowQueryService
;
import
com.yifu.cloud.plus.v1.ekp.vo.EKPEntryPushParam
;
import
com.yifu.cloud.plus.v1.ekp.vo.EKPEntryPushParam
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.Common
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.DateUtil
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.DateUtil
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
io.micrometer.core.instrument.util.StringUtils
;
import
io.micrometer.core.instrument.util.StringUtils
;
...
@@ -216,11 +217,13 @@ public class IcbcTransactionFlowQueryServiceImpl extends ServiceImpl<EkpSocialIn
...
@@ -216,11 +217,13 @@ public class IcbcTransactionFlowQueryServiceImpl extends ServiceImpl<EkpSocialIn
request
.
setServiceUrl
(
icbcConfigProperties
.
getServerUrl
());
request
.
setServiceUrl
(
icbcConfigProperties
.
getServerUrl
());
request
.
setBizContent
(
bizContent
);
request
.
setBizContent
(
bizContent
);
MybankEnterpriseTradeQhisdResponseV1
response
=
client
.
execute
(
request
);
MybankEnterpriseTradeQhisdResponseV1
response
=
client
.
execute
(
request
);
if
(
response
.
isSuccess
())
{
List
<
MybankEnterpriseTradeQhisdResponseV1
.
MybankEnterpriseTradeQhisdResponseRdV1
>
valueList
=
new
ArrayList
<>();
if
(
response
.
isSuccess
())
{
getInfoList
(
request
,
valueList
,
client
,
bizContent
);
// 获取所有账号的流水,每个账号存一个流水
// 获取所有账号的流水,每个账号存一个流水
accountRecordListMap
.
put
(
accountInfo
.
get
(
"bank_no"
),
response
.
getRd
()
);
accountRecordListMap
.
put
(
accountInfo
.
get
(
"bank_no"
),
valueList
);
if
(
accountInfo
.
get
(
"bank_no"
).
equals
(
response
.
getAccountNo
()))
{
if
(
accountInfo
.
get
(
"bank_no"
).
equals
(
response
.
getAccountNo
()))
{
accountInfoMap
.
put
(
accountInfo
.
get
(
"bank_no"
),
response
.
getAccountName
());
accountInfoMap
.
put
(
accountInfo
.
get
(
"bank_no"
),
response
.
getAccountName
());
}
}
}
}
}
}
...
@@ -294,6 +297,24 @@ public class IcbcTransactionFlowQueryServiceImpl extends ServiceImpl<EkpSocialIn
...
@@ -294,6 +297,24 @@ public class IcbcTransactionFlowQueryServiceImpl extends ServiceImpl<EkpSocialIn
return
R
.
ok
();
return
R
.
ok
();
}
}
private
void
getInfoList
(
MybankEnterpriseTradeQhisdRequestV1
request
,
List
<
MybankEnterpriseTradeQhisdResponseV1
.
MybankEnterpriseTradeQhisdResponseRdV1
>
valueList
,
DefaultIcbcClient
client
,
MybankEnterpriseTradeQhisdRequestV1
.
MybankEnterpriseTradeQhisdRequestBizV1
bizContent
)
{
try
{
MybankEnterpriseTradeQhisdResponseV1
response
=
client
.
execute
(
request
);
if
(
response
.
isSuccess
())
{
valueList
.
addAll
(
response
.
getRd
());
if
(
Common
.
isNotNull
(
response
.
getNextTag
()))
{
bizContent
.
setNextTag
(
response
.
getNextTag
());
request
.
setBizContent
(
bizContent
);
getInfoList
(
request
,
valueList
,
client
,
bizContent
);
}
}
}
catch
(
Exception
e
){
log
.
error
(
"异常"
,
e
);
}
}
//推送数据
//推送数据
private
String
sendToEkp
(
EKPEntryPushParam
pushParam
){
private
String
sendToEkp
(
EKPEntryPushParam
pushParam
){
RestTemplate
yourRestTemplate
=
new
RestTemplate
();
RestTemplate
yourRestTemplate
=
new
RestTemplate
();
...
...
yifu-ekp/yifu-ekp-biz/src/main/resources/mapper/EkpSocialInfoMapper.xml
View file @
5eee0160
...
@@ -124,10 +124,10 @@
...
@@ -124,10 +124,10 @@
and fd_3b57f8de9df354 = '是'
and fd_3b57f8de9df354 = '是'
</select>
</select>
<!--ekp1.9.12查询近
七
天的所有入账记录数据, 查账号和流水号-->
<!--ekp1.9.12查询近
三
天的所有入账记录数据, 查账号和流水号-->
<select
id=
"getAllserioNoLsatSevenDays"
resultType=
"Map"
>
<select
id=
"getAllserioNoLsatSevenDays"
resultType=
"Map"
>
SELECT fd_3b573843db30ce as onlySequence,fd_3b62f3470beb30 as receiveBkNo from ekp_79c234bf64d412294f23
SELECT fd_3b573843db30ce as onlySequence,fd_3b62f3470beb30 as receiveBkNo from ekp_79c234bf64d412294f23
where DATE_FORMAT(fd_3aa4531d3b86e0, '%Y-%m-%d') between DATE_SUB(curdate(), INTERVAL
7
day) and DATE_ADD(now(), INTERVAL 1 day)
where DATE_FORMAT(fd_3aa4531d3b86e0, '%Y-%m-%d') between DATE_SUB(curdate(), INTERVAL
3
day) and DATE_ADD(now(), INTERVAL 1 day)
and fd_3b57f8de9df354 = '是'
and fd_3b57f8de9df354 = '是'
</select>
</select>
...
...
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