Browse Source

rwd: 支持对BOOLEAN类型信息点的查询

beimyy 3 years ago
parent
commit
51d18c7b36

+ 1 - 0
dmp-rwd/src/main/java/com/persagy/dmp/rwd/service/ObjectInstanceQueryService.java

@@ -116,6 +116,7 @@ public class ObjectInstanceQueryService extends BaseService {
 			} else if (funcidDataType == FuncidDataType.BOOLEAN) {
 				// TODO
 				//list.addAll(CriteriaUtils.parse(Expressions.booleanTemplate(exp, qt.infos), value));
+				list.addAll(CriteriaUtils.parse(Expressions.numberTemplate(Long.class, exp, qt.infos), value));
 			}
 
 			if (value.isObject()) {