调整目录结构

pull/1/head
wangziyangyang 2020-03-28 14:36:57 +08:00
parent 09e27002a5
commit 1ae53454c4
4 changed files with 21 additions and 4 deletions

View File

@ -1,6 +1,11 @@
package com.wangziyang.mes.technology.controller; 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.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
@ -8,14 +13,26 @@ import com.wangziyang.mes.common.BaseController;
/** /**
* <p> * <p>
* * BOM
* </p> * </p>
* *
* @author WangZiYang * @author WangZiYang
* @since 2020-03-28 * @since 2020-03-28
*/ */
@Controller @Controller
@RequestMapping("/technology/sp-bom") @RequestMapping("/technology/bom")
public class SpBomController extends BaseController { 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";
}
} }

View File

@ -60,7 +60,7 @@ public class SpFlowOperRelationController extends BaseController {
@ApiImplicitParams({@ApiImplicitParam(name = "model", value = "模型", defaultValue = "模型")}) @ApiImplicitParams({@ApiImplicitParam(name = "model", value = "模型", defaultValue = "模型")})
@GetMapping("/list-ui") @GetMapping("/list-ui")
public String listUI(Model model) { 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()); List<SpOperVo> currentSpOperVos = iSpFlowOperRelationService.currentOperViewServer(record.getId());
model.addAttribute("currentOper", currentSpOperVos); model.addAttribute("currentOper", currentSpOperVos);
} }
return "basedata/flowprocess/addOrUpdate"; return "technology/flowprocess/addOrUpdate";
} }