|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.elink.esua.epdc.controller; |
|
|
|
|
|
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
|
import com.elink.esua.epdc.dto.CompleteDeptDTO; |
|
|
|
import com.elink.esua.epdc.service.AdminService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
@ -33,4 +34,8 @@ public class ApiAdminController { |
|
|
|
public Result<String> getCompleteDeptName(Long gridId) { |
|
|
|
return adminService.getCompleteDeptName(gridId); |
|
|
|
} |
|
|
|
@GetMapping("/dept/getComplete") |
|
|
|
public Result<CompleteDeptDTO> getComplete(Long gridId) { |
|
|
|
return adminService.getComplete(gridId); |
|
|
|
} |
|
|
|
} |
|
|
|