|
|
|
@ -24,6 +24,7 @@ import io.swagger.annotations.ApiOperation; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import java.util.Arrays; |
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
@ -59,7 +60,7 @@ public class SysDeptController { |
|
|
|
/*** |
|
|
|
* 通过编码得到党委编码 |
|
|
|
* @param partyCode |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.Map < java.lang.String , java.lang.String>> |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.Map < java.lang.String , java.lang.String>> |
|
|
|
* @author qushutong |
|
|
|
* @date 2019/9/20 19:56 |
|
|
|
*/ |
|
|
|
@ -106,9 +107,8 @@ public class SysDeptController { |
|
|
|
public Result delete(@PathVariable("id") Long id) { |
|
|
|
//效验数据
|
|
|
|
AssertUtils.isNull(id, "id"); |
|
|
|
|
|
|
|
sysDeptService.delete(id); |
|
|
|
|
|
|
|
// sysDeptService.delete(id);
|
|
|
|
sysDeptService.deleteBatchIds(Arrays.asList(new Long[]{id})); |
|
|
|
return new Result(); |
|
|
|
} |
|
|
|
|
|
|
|
@ -135,7 +135,7 @@ public class SysDeptController { |
|
|
|
* 通过街道ID获取项目可流转部门 |
|
|
|
* |
|
|
|
* @Params: [deptId] |
|
|
|
* @Return: com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.SysDeptDTO>> |
|
|
|
* @Return: com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.SysDeptDTO>> |
|
|
|
* @Author: liuchuang |
|
|
|
* @Date: 2019/9/16 17:00 |
|
|
|
*/ |
|
|
|
|