2 Replies Latest reply on Apr 20, 2017 4:30 AM by liliu RSS

    setting maxitems cannot return the data correctly

    lliangjb Newbie

      The custom service:

      var query3 =

      {

          "filters": {

              "type": "OR",

              "filters":[

                  {

                      "type":"EQ",

                      "fieldName":"mingchen",

                      "value":mingchen

                  },

                  {

                      "type":"EQ",

                      "fieldName":"suozaiquyu",

                      "value":suozaiquyu

                  },

                  {

                      "type":"EQ",

                      "fieldName":"tichuzhe",

                      "value":tichuzhe

                  }

              ]

          }  

      }

      var params = {

      oldestFirst: undefined /* BOOLEAN */,

      maxItems: 3 /* NUMBER */,

      endDate: undefined /* DATETIME */,

      query: query3 /* QUERY */,

      startDate: undefined /* DATETIME */

      };

      // result: INFOTABLE

      var result = Things[thingname].QueryPropertyHistory(params);

       

      页面截图.png