|
@@ -17,6 +17,7 @@ import com.rockstar.frame.model.extend.TableSplitResult;
|
|
import com.rockstar.frame.model.extend.Tablepar;
|
|
import com.rockstar.frame.model.extend.Tablepar;
|
|
import com.rockstar.system.service.SysDictService;
|
|
import com.rockstar.system.service.SysDictService;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -91,12 +92,12 @@ public class ParkInfoController extends BaseController {
|
|
return result(result);
|
|
return result(result);
|
|
}
|
|
}
|
|
|
|
|
|
- @PostMapping(value = "delete/{id}",produces = {"application/json;charset=UTF-8"})
|
|
|
|
- @ResponseBody
|
|
|
|
- public AjaxResult delete(@PathVariable("id") String id){
|
|
|
|
- int result = modelService.deleteByKey(id);
|
|
|
|
- return result(result);
|
|
|
|
- }
|
|
|
|
|
|
+// @PostMapping(value = "delete/{id}",produces = {"application/json;charset=UTF-8"})
|
|
|
|
+// @ResponseBody
|
|
|
|
+// public AjaxResult delete(@PathVariable("id") String id){
|
|
|
|
+// int result = modelService.deleteByKey(id);
|
|
|
|
+// return result(result);
|
|
|
|
+// }
|
|
|
|
|
|
//获取属性结构1
|
|
//获取属性结构1
|
|
@PostMapping(value = "getTreeData1",produces = {"application/json;charset=UTF-8"})
|
|
@PostMapping(value = "getTreeData1",produces = {"application/json;charset=UTF-8"})
|
|
@@ -157,4 +158,13 @@ public class ParkInfoController extends BaseController {
|
|
return AjaxResult.success(jsonObject);
|
|
return AjaxResult.success(jsonObject);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation(value = "园区删除")
|
|
|
|
+ @PostMapping(value = "delete",produces = {"application/json;charset=UTF-8"})
|
|
|
|
+ @ResponseBody
|
|
|
|
+ public AjaxResult delete(String id) {
|
|
|
|
+ int result = modelService.delete(id);
|
|
|
|
+ return result(result);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|