|
|
|
@ -56,6 +56,18 @@ public class SysDeptController { |
|
|
|
return new Result().ok(list); |
|
|
|
} |
|
|
|
|
|
|
|
/*** |
|
|
|
* 通过编码得到党委编码 |
|
|
|
* @param partyCode |
|
|
|
* @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 |
|
|
|
*/ |
|
|
|
@GetMapping("getIdByCode/{partyCode}") |
|
|
|
public Result<Map<String, String>> getIdByCode(@PathVariable("partyCode") String partyCode) { |
|
|
|
return new Result<Map<String, String>>().ok(sysDeptService.getIdByCode(partyCode)); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("{id}") |
|
|
|
@ApiOperation("信息") |
|
|
|
public Result<SysDeptDTO> get(@PathVariable("id") Long id) { |
|
|
|
@ -121,8 +133,9 @@ 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 |
|
|
|
*/ |
|
|
|
|