diff --git a/esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/java/com/elink/esua/epdc/modules/enterprisereport/service/impl/EnterpriseReportServiceImpl.java b/esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/java/com/elink/esua/epdc/modules/enterprisereport/service/impl/EnterpriseReportServiceImpl.java index abbfff60..16c67448 100644 --- a/esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/java/com/elink/esua/epdc/modules/enterprisereport/service/impl/EnterpriseReportServiceImpl.java +++ b/esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/java/com/elink/esua/epdc/modules/enterprisereport/service/impl/EnterpriseReportServiceImpl.java @@ -195,7 +195,7 @@ public class EnterpriseReportServiceImpl extends BaseServiceImpl enterpriseReportEntities = baseDao.selectList(entityQueryWrapper); - if(enterpriseReportEntities.size()>1){ + if(enterpriseReportEntities.size()>0){ enterpriseReportEntity.setId(enterpriseReportEntities.get(0).getId()); baseDao.updateById(enterpriseReportEntity); return new Result();