大家好!
客户资料查询字段JSON格式如下(附件为数据文件):
[ { "colName":"CUSTTEL", "colType":1, "opType":1, "colVals":[ "13864552563", "13565485552", "13565485553" ], "tableName":"CUST_TB_O1_0" }, { "colName":"CUSTNAME", "colType":1, "opType":0, "colVals":[ "张三" ], "tableName":"CUST_TB_O1_0" } ]
说明:
1、colType:0:文本;1:整数;2:小数;3:日期
2、opType:0:=;1:like;2:>=;3:<=;4::>;5:<
3、字段有多个值(都用字符串)的参考CUSTTEL,一个值的参考CUSTNAME,一个对象多个值的关系是OR
4、一个字段多个对象,关系是AND
5、插入也可以用此对象;
插入格式:
[ { "colName":"CUSTTEL", "colType":1, "opType":-1, "colVals":[ "13864552563" ], "tableName":"CUST_TB_O1_0" }, { "colName":"CUSTNAME", "colType":-1, "opType":0, "colVals":[ "张三" ], "tableName":"CUST_TB_O1_0" } ]
如果其他问题,我们再一起商量解决。