调整目录结构
parent
09e27002a5
commit
1ae53454c4
|
@ -1,6 +1,11 @@
|
|||
package com.wangziyang.mes.technology.controller;
|
||||
|
||||
|
||||
import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiImplicitParams;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.ui.Model;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
@ -8,14 +13,26 @@ import com.wangziyang.mes.common.BaseController;
|
|||
|
||||
/**
|
||||
* <p>
|
||||
* 前端控制器
|
||||
* BOM前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author WangZiYang
|
||||
* @since 2020-03-28
|
||||
*/
|
||||
@Controller
|
||||
@RequestMapping("/technology/sp-bom")
|
||||
@RequestMapping("/technology/bom")
|
||||
public class SpBomController extends BaseController {
|
||||
/**
|
||||
* 工艺BOM管理界面
|
||||
*
|
||||
* @param model 模型
|
||||
* @return 工艺BOM管理界面
|
||||
*/
|
||||
@ApiOperation("工艺BOM管理界面UI")
|
||||
@ApiImplicitParams({@ApiImplicitParam(name = "model", value = "模型", defaultValue = "模型")})
|
||||
@GetMapping("/list-ui")
|
||||
public String listUI(Model model) {
|
||||
return "basedata/flowprocess/list";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ public class SpFlowOperRelationController extends BaseController {
|
|||
@ApiImplicitParams({@ApiImplicitParam(name = "model", value = "模型", defaultValue = "模型")})
|
||||
@GetMapping("/list-ui")
|
||||
public String listUI(Model model) {
|
||||
return "basedata/flowprocess/list";
|
||||
return "technology/flowprocess/list";
|
||||
}
|
||||
|
||||
|
||||
|
@ -84,7 +84,7 @@ public class SpFlowOperRelationController extends BaseController {
|
|||
List<SpOperVo> currentSpOperVos = iSpFlowOperRelationService.currentOperViewServer(record.getId());
|
||||
model.addAttribute("currentOper", currentSpOperVos);
|
||||
}
|
||||
return "basedata/flowprocess/addOrUpdate";
|
||||
return "technology/flowprocess/addOrUpdate";
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue