|
|
|
@ -32,7 +32,7 @@ public class ReportDaoImpl implements IReportDao {
|
|
|
|
|
LOGGER.info(" find HQL:{} \n find params :{}", hql, findParam);
|
|
|
|
|
Query queryObject = entityManager.createQuery(hql);
|
|
|
|
|
|
|
|
|
|
if(CollectionUtils.isEmpty(findParam)){
|
|
|
|
|
if(!CollectionUtils.isEmpty(findParam)){
|
|
|
|
|
findParam.forEach((K, V) -> queryObject.setParameter(K, V));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -45,7 +45,7 @@ public class ReportDaoImpl implements IReportDao {
|
|
|
|
|
LOGGER.info(" find HQL:{} \n find params :{}", hql, findParam);
|
|
|
|
|
Query queryObject = entityManager.createQuery(hql);
|
|
|
|
|
|
|
|
|
|
if(CollectionUtils.isEmpty(findParam)){
|
|
|
|
|
if(!CollectionUtils.isEmpty(findParam)){
|
|
|
|
|
findParam.forEach((K, V) -> queryObject.setParameter(K, V));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|