Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 92f78aef
authored
Jan 10, 2024
by
yangxiujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改上传
1 parent
8c0688e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
project-order/src/main/java/com/dituhui/pea/order/controller/FileController.java
project-order/src/main/java/com/dituhui/pea/order/dto/FileRateDTO.java
project-order/src/main/java/com/dituhui/pea/order/controller/FileController.java
View file @
92f78ae
...
...
@@ -110,7 +110,7 @@ public class FileController {
//上传成功,删除上传的进度条
orderCreateService
.
delRate
(
token
);
}
if
(
rate
!=
null
&&
(
rate
.
getTotalCount
()
==
rate
.
getErrorCount
()
+
rate
.
getTotalCount
(
)))
{
if
(
rate
!=
null
&&
(
rate
.
getTotalCount
()
==
(
rate
.
getErrorCount
()
+
rate
.
getSuccessCount
()
)))
{
//上传成功,删除上传的进度条
orderCreateService
.
delRate
(
token
);
}
...
...
project-order/src/main/java/com/dituhui/pea/order/dto/FileRateDTO.java
View file @
92f78ae
...
...
@@ -10,15 +10,15 @@ public class FileRateDTO {
/**
* 文件总条数
*/
private
Integer
totalCount
;
private
Integer
totalCount
=
0
;
/**
* 错误条数
*/
private
Integer
errorCount
;
private
Integer
errorCount
=
0
;
/**
* 成功条数
*/
private
Integer
successCount
;
private
Integer
successCount
=
0
;
/**
* 比列
*/
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment