重庆 配件管理 excel导入bug修改

This commit is contained in:
76164 2024-08-08 14:23:55 +08:00
parent 4979f4392e
commit 06a74107de
1 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,7 @@ import com.bonus.sgzb.common.core.web.controller.BaseController;
import com.bonus.sgzb.common.core.web.domain.AjaxResult;
import com.bonus.sgzb.common.security.utils.SecurityUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.context.request.RequestContextHolder;
@ -44,7 +45,8 @@ public class MaPartTypeController extends BaseController {
@Resource
private ExcelService excelService;
private static final String UPLOAD_DIR = "D:/work/wcy";
@Value("/data/sgzb/")
private String UPLOAD_DIR;
/**