|
|
@@ -2,22 +2,25 @@ package com.railway.web.controller.business.safetool;
|
|
|
|
|
|
import com.railway.business.safetool.domain.SecScheduledTool;
|
|
|
import com.railway.business.safetool.service.ISecScheduledToolService;
|
|
|
-import io.swagger.annotations.Api;
|
|
|
-import io.swagger.annotations.ApiOperation;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.http.ResponseEntity;
|
|
|
-import org.springframework.validation.annotation.Validated;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
-import org.springframework.web.bind.WebDataBinder;
|
|
|
import com.railway.common.core.controller.BaseController;
|
|
|
import com.railway.common.core.domain.AjaxResult;
|
|
|
import com.railway.common.core.page.TableDataInfo;
|
|
|
-import javax.validation.Valid;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
import java.util.List;
|
|
|
-
|
|
|
import javax.validation.Valid;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.validation.annotation.Validated;
|
|
|
+import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.PutMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
-//@Api(value = "rest/safetool/sec/scheduled/tool", tags = "安全计划和工具关系表")
|
|
|
+@Api(value = "rest/safetool/sec/scheduled/tool", tags = "安全计划和工具关系表")
|
|
|
@RestController
|
|
|
@Validated
|
|
|
@RequestMapping(value = "business/safetool/sec/scheduled/tool")
|