|
|
@ -204,7 +204,7 @@ public class AreaMonthReportServiceImpl implements IAreaMonthReportService { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public R exportHydropowerStationMonthReport(HttpServletResponse response, HashMap<String, Object> map, Integer year, Integer month, Long deptId) { |
|
|
|
public R exportHydropowerStationMonthReport(HttpServletResponse response, HashMap<String, Object> map, Integer year, Integer month, Long deptId) { |
|
|
|
R<List<Dept>> deptByCurrentUser = sysClient.getDeptByCurrentUser(); |
|
|
|
R<List<Dept>> deptByCurrentUser = sysClient.getDeptByCurrentUser(); |
|
|
|
if (!deptByCurrentUser.isSuccess()||deptByCurrentUser.getData()!=null){ |
|
|
|
if (!deptByCurrentUser.isSuccess()||deptByCurrentUser.getData()==null){ |
|
|
|
return R.fail("用户权限查询失败"); |
|
|
|
return R.fail("用户权限查询失败"); |
|
|
|
} |
|
|
|
} |
|
|
|
R<String> deptNameR = sysClient.getDeptName(deptId); |
|
|
|
R<String> deptNameR = sysClient.getDeptName(deptId); |
|
|
|