From 088a573ab2602a702db4252bd108576517006dd4 Mon Sep 17 00:00:00 2001 From: tyty Date: Mon, 7 Aug 2023 09:14:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B0=B4=E7=94=B5=E7=AB=99=E6=9C=88=E6=8A=A5?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hzims/operational/main/service/impl/AreaMonthReportServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/AreaMonthReportServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/AreaMonthReportServiceImpl.java index 67ec81b..cd09018 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/AreaMonthReportServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/main/service/impl/AreaMonthReportServiceImpl.java @@ -204,7 +204,7 @@ public class AreaMonthReportServiceImpl implements IAreaMonthReportService { @Override public R exportHydropowerStationMonthReport(HttpServletResponse response, HashMap map, Integer year, Integer month, Long deptId) { R> deptByCurrentUser = sysClient.getDeptByCurrentUser(); - if (!deptByCurrentUser.isSuccess()||deptByCurrentUser.getData()!=null){ + if (!deptByCurrentUser.isSuccess()||deptByCurrentUser.getData()==null){ return R.fail("用户权限查询失败"); } R deptNameR = sysClient.getDeptName(deptId);