新增[RANGE区间查询]

This commit is contained in:
2019-07-09 16:52:13 +08:00
parent 8454cdb3fb
commit 2d925e3fa7
3 changed files with 7 additions and 3 deletions

View File

@@ -61,10 +61,11 @@ public class RunTest<T> {
//@Test
public void parseFBeanTest() {
String str = "{'platToken':'ipsm_v4','name':'historyTrack'," +
"'filters':[{'col':'ap.comName','value':'贵阳市第十九中学','type':'LIKE'},{'col':'','value':'name=213113','type':'SQL'}]," +
"'filters':[{'col':'ap.comName','value':'贵阳市第十九中学','type':'LIKE'},{'col':'','value':'name=213113','type':'SQL'}," +
"{'col':'age','values':[1,2],'type':'RANGE'}]," +
"'orders':[],'limit':{'pn':1,'ps':10,'total':1}}";
//FBean fBean = new Gson().fromJson(str, FBean.class);
FBean fBean = convert.convertFrom(FBean.class, str);
String[] parse = parser.parseList(fBean);