删除达梦引用包

This commit is contained in:
476474485@qq.com 2024-06-05 11:41:59 +08:00
parent 860a8336b5
commit 0cc7c4bafb
1 changed files with 249 additions and 258 deletions

View File

@ -3,21 +3,15 @@ package com.hzya.frame.report.reportManage.service.impl;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo; import com.github.pagehelper.PageInfo;
import com.hzya.frame.basedao.service.impl.BaseService;
import com.hzya.frame.report.reportManage.dao.IReportManageDao;
import com.hzya.frame.report.reportManage.entity.JimuReportEntity; import com.hzya.frame.report.reportManage.entity.JimuReportEntity;
import com.hzya.frame.report.reportManage.entity.ReportManageEntity; import com.hzya.frame.report.reportManage.entity.ReportManageEntity;
import com.hzya.frame.report.reportManage.dao.IReportManageDao;
import com.hzya.frame.report.reportManage.service.IReportManageService; import com.hzya.frame.report.reportManage.service.IReportManageService;
import com.hzya.frame.sysnew.user.entity.SysUserEntity;
import com.hzya.frame.sysnew.userCompany.entity.SysUserCompanyEntity;
import com.hzya.frame.sysnew.userRoles.entity.SysUserRolesEntity;
import com.hzya.frame.util.AESUtil;
import com.hzya.frame.web.entity.BaseResult; import com.hzya.frame.web.entity.BaseResult;
import com.hzya.frame.web.entity.JsonResultEntity; import com.hzya.frame.web.entity.JsonResultEntity;
import dm.jdbc.d.U;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import javax.annotation.Resource; import org.springframework.stereotype.Service;
import com.hzya.frame.basedao.service.impl.BaseService;
import java.util.List; import java.util.List;
@ -111,14 +105,10 @@ public class ReportManageServiceImpl extends BaseService<ReportManageEntity, Str
} }
private boolean checkIsUse(ReportManageEntity entity) { private boolean checkIsUse(ReportManageEntity entity) {
ReportManageEntity checkUse = new ReportManageEntity(); ReportManageEntity checkUse = new ReportManageEntity();
checkUse.setReportId(entity.getReportId()); checkUse.setReportId(entity.getReportId());
if (reportManageDao.getCount(checkUse) > 0) { return reportManageDao.getCount(checkUse) <= 0;
return false;
}
return true;
} }
/** /**
@ -271,6 +261,7 @@ public class ReportManageServiceImpl extends BaseService<ReportManageEntity, Str
return BaseResult.getSuccessMessageEntity("获取报表成功", entity); return BaseResult.getSuccessMessageEntity("获取报表成功", entity);
} }
/** /**
* @param jsonObject * @param jsonObject
* @return com.hzya.frame.web.entity.JsonResultEntity * @return com.hzya.frame.web.entity.JsonResultEntity