Jenkins自动合并

yun-zuoyi
jenkins 6 years ago
commit f5b2047b95

@ -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));
}

Loading…
Cancel
Save