|
|
@ -1,12 +1,15 @@ |
|
|
package org.dromara.system.controller.system; |
|
|
package org.dromara.system.controller.system; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import cn.dev33.satoken.annotation.SaCheckPermission; |
|
|
import io.swagger.v3.oas.annotations.Operation; |
|
|
import io.swagger.v3.oas.annotations.Operation; |
|
|
import io.swagger.v3.oas.annotations.tags.Tag; |
|
|
import io.swagger.v3.oas.annotations.tags.Tag; |
|
|
import lombok.RequiredArgsConstructor; |
|
|
import lombok.RequiredArgsConstructor; |
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
import org.dromara.common.core.domain.R; |
|
|
import org.dromara.common.core.domain.R; |
|
|
import org.dromara.common.idempotent.annotation.RepeatSubmit; |
|
|
import org.dromara.common.idempotent.annotation.RepeatSubmit; |
|
|
|
|
|
import org.dromara.common.log.annotation.Log; |
|
|
|
|
|
import org.dromara.common.log.enums.BusinessType; |
|
|
import org.dromara.common.mybatis.core.page.PageQuery; |
|
|
import org.dromara.common.mybatis.core.page.PageQuery; |
|
|
import org.dromara.common.mybatis.core.page.TableDataInfo; |
|
|
import org.dromara.common.mybatis.core.page.TableDataInfo; |
|
|
import org.dromara.common.web.core.BaseController; |
|
|
import org.dromara.common.web.core.BaseController; |
|
|
@ -100,6 +103,8 @@ public class SysDepartBoundaryController extends BaseController { |
|
|
* @param id |
|
|
* @param id |
|
|
* @return |
|
|
* @return |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
@SaCheckPermission("system:boundary:delete") |
|
|
|
|
|
@Log(title = "删除部门区域", businessType = BusinessType.DELETE) |
|
|
@Operation(summary ="删除部门区域",description = "删除部门区域") |
|
|
@Operation(summary ="删除部门区域",description = "删除部门区域") |
|
|
@RequestMapping(value = "/delete", method = RequestMethod.DELETE) |
|
|
@RequestMapping(value = "/delete", method = RequestMethod.DELETE) |
|
|
public R<Void> deleteDepartBoundary(@RequestParam(name = "id") String id) { |
|
|
public R<Void> deleteDepartBoundary(@RequestParam(name = "id") String id) { |
|
|
|