重庆 配件管理 excel导入bug修改
This commit is contained in:
parent
4979f4392e
commit
06a74107de
|
|
@ -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.core.web.domain.AjaxResult;
|
||||||
import com.bonus.sgzb.common.security.utils.SecurityUtils;
|
import com.bonus.sgzb.common.security.utils.SecurityUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.validation.annotation.Validated;
|
import org.springframework.validation.annotation.Validated;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
import org.springframework.web.context.request.RequestContextHolder;
|
import org.springframework.web.context.request.RequestContextHolder;
|
||||||
|
|
@ -44,7 +45,8 @@ public class MaPartTypeController extends BaseController {
|
||||||
@Resource
|
@Resource
|
||||||
private ExcelService excelService;
|
private ExcelService excelService;
|
||||||
|
|
||||||
private static final String UPLOAD_DIR = "D:/work/wcy";
|
@Value("/data/sgzb/")
|
||||||
|
private String UPLOAD_DIR;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue