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
eea786b4
Commit
eea786b4
authored
Mar 02, 2026
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.7.20-非扣税银企
parent
d7e98aec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
FileUploadController.java
...fu/cloud/plus/v1/ekp/controller/FileUploadController.java
+9
-3
No files found.
yifu-ekp/yifu-ekp-biz/src/main/java/com/yifu/cloud/plus/v1/ekp/controller/FileUploadController.java
View file @
eea786b4
...
...
@@ -67,9 +67,15 @@ public class FileUploadController {
public
R
<
String
>
getNoTaxAttaBySrc
(
@RequestParam
String
src
)
{
String
returnUrl
=
null
;
if
(
Common
.
isNotNull
(
src
))
{
URL
url
=
ossUtil
.
getObjectUrl
(
null
,
src
);
if
(
Common
.
isNotNull
(
url
))
{
returnUrl
=
String
.
valueOf
(
url
).
replace
(
"http"
,
"https"
);
// ekpBankDownPdfFile/1302010109024596014_20260228_26059000130_0000#0101#00307#78184244_00139.pdf
// 由于前端传过来的src是不带#号后面的信息,需要替换掉
EkpBankAtta
atta
=
ekpBankAttaService
.
getOne
(
Wrappers
.<
EkpBankAtta
>
query
().
lambda
()
.
eq
(
EkpBankAtta:
:
getFdId
,
src
).
last
(
CommonConstants
.
LAST_ONE_SQL
));
if
(
atta
!=
null
&&
Common
.
isNotNull
(
atta
.
getFdAttaSrc
()))
{
URL
url
=
ossUtil
.
getObjectUrl
(
null
,
atta
.
getFdAttaSrc
());
if
(
Common
.
isNotNull
(
url
))
{
returnUrl
=
String
.
valueOf
(
url
).
replace
(
"http"
,
"https"
);
}
}
}
return
R
.
ok
(
returnUrl
);
...
...
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