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
40f81e6a
Commit
40f81e6a
authored
Mar 26, 2026
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.7.21-回单加前2天
parent
34e6e8e6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
IcbcTransactionFlowIssueController.java
...v1/ekp/controller/IcbcTransactionFlowIssueController.java
+11
-1
IcbcTransactionFlowQueryServiceImpl.java
...ekp/service/impl/IcbcTransactionFlowQueryServiceImpl.java
+4
-0
No files found.
yifu-ekp/yifu-ekp-biz/src/main/java/com/yifu/cloud/plus/v1/ekp/controller/IcbcTransactionFlowIssueController.java
View file @
40f81e6a
...
...
@@ -16,6 +16,8 @@ import org.springframework.web.bind.annotation.*;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.IOException
;
import
java.text.SimpleDateFormat
;
import
java.util.Calendar
;
/**
* 聚富通代发工资相关
...
...
@@ -163,10 +165,18 @@ public class IcbcTransactionFlowIssueController {
// 工资
icbcTransactionFlowIssueService
.
getPdfFile
();
// 非扣税
icbcTransactionFlowIssueService
.
getPdfFileByNoTax
(
null
);
icbcTransactionFlowIssueService
.
getPdfFileByNoTax
(
addDay
(-
2
));
icbcTransactionFlowIssueService
.
getPdfFileByNoTax
(
addDay
(-
1
));
return
R
.
ok
();
}
private
String
addDay
(
int
day
)
{
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyyMMdd"
);
Calendar
cal
=
Calendar
.
getInstance
();
cal
.
add
(
Calendar
.
DATE
,
day
);
// 获取前一天日期
return
sdf
.
format
(
cal
.
getTime
());
}
@Operation
(
summary
=
"定时任务获取回单文件"
,
description
=
"定时任务获取回单文件"
)
@PostMapping
(
"/getTestPdfFile"
)
public
R
getPdfFileTest
()
throws
IOException
{
...
...
yifu-ekp/yifu-ekp-biz/src/main/java/com/yifu/cloud/plus/v1/ekp/service/impl/IcbcTransactionFlowQueryServiceImpl.java
View file @
40f81e6a
...
...
@@ -364,6 +364,7 @@ public class IcbcTransactionFlowQueryServiceImpl extends ServiceImpl<EkpSocialIn
String
fSeqNo
;
MybankEnterpriseTradeQhisdResponseV1
response
;
// int i=1;
for
(
Map
<
String
,
String
>
accountInfo:
accountList
)
{
bizContent
=
new
MybankEnterpriseTradeQhisdRequestV1
.
MybankEnterpriseTradeQhisdRequestBizV1
();
...
...
@@ -384,6 +385,8 @@ public class IcbcTransactionFlowQueryServiceImpl extends ServiceImpl<EkpSocialIn
request
.
setServiceUrl
(
icbcConfigProperties
.
getServerUrl
());
request
.
setBizContent
(
bizContent
);
response
=
client
.
execute
(
request
);
// 如果工行人要传参,把这个打出来,复制给他
//System.out.println("传参" + (i++) + ":" + JSON.toJSONString(request));
if
(
response
.
isSuccess
())
{
getInfoListByNoTax
(
request
,
mainMap
,
returnMap
,
detailMap
,
client
,
bizContent
);
}
...
...
@@ -422,6 +425,7 @@ public class IcbcTransactionFlowQueryServiceImpl extends ServiceImpl<EkpSocialIn
if
(
no
.
contains
(
"-"
))
{
no
=
no
.
split
(
"-"
)[
0
];
}
// no 的值将是 "HQP923041354291"
infoOldVo
=
mainMap
.
get
(
no
);
if
(
infoOldVo
!=
null
)
{
...
...
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