|
@ -121,7 +121,7 @@ public class JMJkEduArticleService extends BaseService {
|
|
|
sql2.append(" and currentUserRoleCode ="+currentUserRole);
|
|
|
sql2.append(" and currentUserRoleLevel="+currentUserRoleLevel);
|
|
|
if(!StringUtils.isEmpty(articleTitle)){
|
|
|
sql2.append(" and attachedTitle like'%"+articleTitle+"%'");
|
|
|
sql2.append(" and articleTitle like'%"+articleTitle+"%'");
|
|
|
}
|
|
|
if(!StringUtils.isEmpty(sendTimeStart)){
|
|
|
sendTimeStart = elasticsearchUtil.changeTime(sendTimeStart);
|
|
@ -230,7 +230,7 @@ public class JMJkEduArticleService extends BaseService {
|
|
|
sql2.append(" and currentUserRoleCode ="+currentUserRole);
|
|
|
sql2.append(" and currentUserRoleLevel="+currentUserRoleLevel);
|
|
|
if(!StringUtils.isEmpty(articleTitle)){
|
|
|
sql2.append(" and attachedTitle like'%"+articleTitle+"%'");
|
|
|
sql2.append(" and articleTitle like'%"+articleTitle+"%'");
|
|
|
}
|
|
|
if(!StringUtils.isEmpty(sendTimeStart)){
|
|
|
sendTimeStart = elasticsearchUtil.changeTime(sendTimeStart);
|