|
@@ -12,11 +12,11 @@ import javax.validation.Valid;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
+import org.springframework.web.bind.annotation.PathVariable;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
@Api(value = "rest/catenary/bus/jceb/fzswjfxc", tags = "检测表 - 辅助索无交分线岔")
|
|
@Api(value = "rest/catenary/bus/jceb/fzswjfxc", tags = "检测表 - 辅助索无交分线岔")
|
|
@@ -39,7 +39,7 @@ public class BusJcebFzswjfxcController extends BaseController {
|
|
|
|
|
|
|
|
@ApiOperation(value = "删除")
|
|
@ApiOperation(value = "删除")
|
|
|
@DeleteMapping("/{ids}")
|
|
@DeleteMapping("/{ids}")
|
|
|
- public AjaxResult delete(@RequestParam Long[] ids) {
|
|
|
|
|
|
|
+ public AjaxResult delete(@PathVariable(value = "ids") Long[] ids) {
|
|
|
return toAjax(busJcebFzswjfxcService.delete(ids));
|
|
return toAjax(busJcebFzswjfxcService.delete(ids));
|
|
|
}
|
|
}
|
|
|
|
|
|