Переглянути джерело

图文和视频分开查询

wangjun 4 роки тому
батько
коміт
4c6ef05bc9

+ 2 - 11
business/im-service/src/main/java/com/yihu/jw/im/service/ImService.java

@ -2446,11 +2446,7 @@ public class ImService {
				//咨询类型
				if (!StringUtils.isEmpty(type) && !type.equalsIgnoreCase("0")) {
					if("9".equalsIgnoreCase(type)){
						sql +=" AND a.type in (9,16)" ;
					}else {
						sql +=" AND a.type in ("+type+")" ;
					}
					sql +=" AND a.type in ("+type+")" ;
				}
				if (!StringUtils.isEmpty(id)) {
@ -2793,12 +2789,7 @@ public class ImService {
				//咨询类型
				if(!StringUtils.isEmpty(type)&&!type.equalsIgnoreCase("0")){
					if("9".equalsIgnoreCase(type)){
						sql +=" AND a.type in (9,16)" ;
					}else {
						sql +=" AND a.type in ("+type+")" ;
					}
					sql +=" AND a.type in ("+type+")" ;
				}