|
|
|
@ -2,6 +2,8 @@ package com.ruoyi.web.controller.basic;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
import com.ruoyi.system.domain.BaseEfficiencyLevel;
|
|
|
|
|
import com.ruoyi.system.service.IBaseEfficiencyLevelService;
|
|
|
|
|
import com.ruoyi.web.controller.tool.UUIDTool;
|
|
|
|
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
@ -36,6 +38,9 @@ public class BaseLocationInfoController extends BaseController
|
|
|
|
|
@Autowired
|
|
|
|
|
private IBaseLocationInfoService baseLocationInfoService;
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
|
private IBaseEfficiencyLevelService baseEfficiencyLevelService;
|
|
|
|
|
|
|
|
|
|
@RequiresPermissions("system:baselocationinfo:view")
|
|
|
|
|
@GetMapping()
|
|
|
|
|
public String baselocationinfo()
|
|
|
|
@ -74,8 +79,11 @@ public class BaseLocationInfoController extends BaseController
|
|
|
|
|
* 新增库位信息
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping("/add")
|
|
|
|
|
public String add()
|
|
|
|
|
public String add(ModelMap modelMap)
|
|
|
|
|
{
|
|
|
|
|
BaseEfficiencyLevel baseEfficiencyLevel = new BaseEfficiencyLevel();
|
|
|
|
|
List<BaseEfficiencyLevel> baseEfficiencyLevels = baseEfficiencyLevelService.selectBaseEfficiencyLevelList(baseEfficiencyLevel);
|
|
|
|
|
modelMap.put("baseEfficiencyLevels",baseEfficiencyLevels);
|
|
|
|
|
return prefix + "/add";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|