|
|
@ -30,6 +30,7 @@ import com.elink.esua.epdc.optimize.modules.deptlevel.service.OptSysDeptService; |
|
|
|
import com.elink.esua.epdc.service.SysDeptService; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
@ -44,6 +45,7 @@ import java.util.Map; |
|
|
|
* @author Mark sunlightcs@gmail.com |
|
|
|
* @since 1.0.0 |
|
|
|
*/ |
|
|
|
@Slf4j |
|
|
|
@RestController |
|
|
|
@RequestMapping("dept") |
|
|
|
@Api(tags = "部门管理") |
|
|
@ -140,6 +142,7 @@ public class SysDeptController { |
|
|
|
*/ |
|
|
|
@GetMapping("deptInfo") |
|
|
|
public Result<List<DeptInfoResultDTO>> deptInfo(DeptInfoFormDTO formDTO) { |
|
|
|
log.info("进入接口deptInfo"); |
|
|
|
List<DeptInfoResultDTO> list = sysDeptService.deptInfo(formDTO); |
|
|
|
return new Result<List<DeptInfoResultDTO>>().ok(list); |
|
|
|
} |
|
|
|