|
@@ -40,6 +40,7 @@ public class DeptInfoController {
|
|
|
@PostMapping("/getDeptInfo")
|
|
|
@SysLogger("getDeptInfo")
|
|
|
public RespDTO<List<DeptInfoDTO>> getDeptInfo(@Valid @RequestBody DeptInfoVO deptInfoVO) {
|
|
|
- return RespDTO.onSuc(deptInfoFacade.getDeptInfo(deptInfoVO));
|
|
|
+ List<DeptInfoDTO> data = deptInfoFacade.getDeptInfo(deptInfoVO);
|
|
|
+ return RespDTO.onSuc(data);
|
|
|
}
|
|
|
}
|