Commit 18d4ab34 authored by neo's avatar neo

[bugfix] out invoice import shoulbe notempty inster

parent ad6fc2ff
......@@ -119,7 +119,7 @@ public class OutputInvoiceController {
public ResponseEntity UploadEvidenceFile(String fileName, String tempFileName, String period, MultipartHttpServletRequest request) {
String userID = identityService.getIdentityUser().getID();
String fullPath = fileUploadAdapter.uploadEvidence(request, EnumModule.Evidence, userID);
if (!StringUtil.isNotEmpty(fullPath)) {
if (StringUtil.isNotEmpty(fullPath)) {
ImportFile fileDto = new ImportFile();
fileDto.setFileID(tempFileName.substring(1, tempFileName.length() - 5));
fileDto.setFilePath(fullPath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment