liuyc 3 lat temu
rodzic
commit
8521382963

+ 1 - 14
blade-service/blade-manager/src/main/java/org/springblade/manager/controller/WbsFormElementController.java

@@ -16,22 +16,17 @@
  */
 package org.springblade.manager.controller;
 
-import com.baomidou.mybatisplus.core.metadata.IPage;
+
 import io.swagger.annotations.*;
 import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
 import lombok.AllArgsConstructor;
 import javax.validation.Valid;
-
-import org.springblade.core.mp.support.Condition;
-import org.springblade.core.mp.support.Query;
 import org.springblade.core.tool.api.R;
 import org.springblade.core.tool.utils.Func;
 import org.springblade.manager.wbs.dto.WbsFormElementDTO;
 import org.springblade.manager.wbs.entity.WbsFormElement;
-import org.springblade.manager.wbs.vo.WbsFormElementVO;
 import org.springframework.web.bind.annotation.*;
 import org.springframework.web.bind.annotation.RequestParam;
-import org.springblade.manager.wrapper.WbsFormElementWrapper;
 import org.springblade.manager.service.IWbsFormElementService;
 import org.springblade.core.boot.ctrl.BladeController;
 
@@ -55,14 +50,6 @@ public class WbsFormElementController extends BladeController {
 	@PostMapping("/save")
 	@ApiOperationSupport(order = 1)
 	@ApiOperation(value = "新增", notes = "传入wbsFormElement")
-	/*@ApiImplicitParams(value = {
-		@ApiImplicitParam(name = "fId",value = "父id",required = true),
-		@ApiImplicitParam(name = "eName",value = "元素名称",required = true),
-		@ApiImplicitParam(name = "eType",value = "元素类型",required = true),
-		@ApiImplicitParam(name = "eLength",value = "元素长度",required = true),
-		@ApiImplicitParam(name = "eAllowDeviation",value = "允许偏差值",required = true),
-		@ApiImplicitParam(name = "eInspectionMethod",value = "检查方法",required = true)
-	})*/
 	public R save(@Valid @RequestBody WbsFormElementDTO wbsFormElement) {
 		return R.status(wbsFormElementService.save(wbsFormElement));
 	}