Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
荆蔚杰
/
java.archive
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
169952a3
authored
2021-12-09 10:09:37 +0800
by
荆蔚杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
档案修改查询列表数据去重.
档案补录新增上传文件时判断是否有卷内目录
1 parent
9107f7e9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/pashanhoo/file/controller/DgFileController.java
src/main/java/com/pashanhoo/file/controller/DgFileController.java
View file @
169952a
...
...
@@ -79,7 +79,7 @@ public class DgFileController {
@RequestMapping
(
value
=
"/upload"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
"上传材料附件"
)
public
Result
upload
(
@RequestPart
(
"file"
)
MultipartFile
file
,
AddDgFileRequest
fileRequest
)
{
if
(
StrUtil
.
is
NullOrUndefined
(
fileRequest
.
getBsmArchive
())
&&
StrUtil
.
isNullOrUndefined
(
fileRequest
.
getBsmCatalog
()))
{
if
(
StrUtil
.
is
Empty
(
fileRequest
.
getBsmArchive
())
||
StrUtil
.
isEmpty
(
fileRequest
.
getBsmCatalog
()))
{
return
Result
.
error
(
"请先新增档案基本信息和目录"
);
}
try
{
...
...
Please
register
or
sign in
to post a comment