selects_OrderBy.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. [
  2. {
  3. "QueryType": "combine_select",
  4. "Database": "wanda",
  5. "Datatable": "original_month",
  6. "Criterias": [
  7. {
  8. "building": "1101070037"
  9. },
  10. {
  11. "building": "1101070038"
  12. }
  13. ],
  14. "OrderBy": [
  15. {
  16. "Column": "building",
  17. "Asc": true
  18. },
  19. {
  20. "Column": "meter",
  21. "Asc": true
  22. },
  23. {
  24. "Column": "funcid",
  25. "Asc": true
  26. },
  27. {
  28. "Column": "receivetime",
  29. "Asc": true
  30. }
  31. ]
  32. },
  33. {
  34. "QueryType": "combine_select",
  35. "Database": "wanda",
  36. "Datatable": "original_month",
  37. "Criterias": [
  38. {
  39. "building": "1101070037",
  40. "meter": "1041"
  41. }
  42. ],
  43. "OrderBy": [
  44. {
  45. "Column": "building",
  46. "Asc": true
  47. },
  48. {
  49. "Column": "meter",
  50. "Asc": true
  51. },
  52. {
  53. "Column": "funcid",
  54. "Asc": true
  55. },
  56. {
  57. "Column": "receivetime",
  58. "Asc": true
  59. }
  60. ]
  61. },
  62. {
  63. "QueryType": "combine_select",
  64. "Database": "wanda",
  65. "Datatable": "original_month",
  66. "Criterias": [
  67. {
  68. "building": "1101070037",
  69. "meter": "1041",
  70. "funcid": 0
  71. }
  72. ],
  73. "OrderBy": [
  74. {
  75. "Column": "data",
  76. "Asc": true
  77. }
  78. ]
  79. },
  80. {
  81. "QueryType": "combine_select",
  82. "Database": "wanda",
  83. "Datatable": "original_month",
  84. "Criterias": [
  85. {
  86. "building": "1101070037",
  87. "meter": "1041",
  88. "funcid": 0
  89. }
  90. ],
  91. "OrderBy": [
  92. {
  93. "Column": "receivetime",
  94. "Asc": true
  95. }
  96. ]
  97. },
  98. {
  99. "QueryType": "combine_select",
  100. "Database": "wanda",
  101. "Datatable": "original_month",
  102. "Criterias": [
  103. {
  104. "building": "1101070037",
  105. "meter": "1041",
  106. "funcid": 0,
  107. "receivetime": "20091001000000"
  108. },
  109. {
  110. "building": "1101070037",
  111. "meter": "1041",
  112. "funcid": 0,
  113. "receivetime": "20091101000000"
  114. }
  115. ],
  116. "OrderBy": [
  117. {
  118. "Column": "receivetime",
  119. "Asc": false
  120. }
  121. ]
  122. },
  123. {
  124. "QueryType": "combine_select",
  125. "Database": "wanda",
  126. "Datatable": "original_month",
  127. "Criterias": [
  128. {
  129. "building": "1101070037",
  130. "meter": "1041",
  131. "funcid": 0,
  132. "receivetime": "20091101000000"
  133. },
  134. {
  135. "building": "1101070037",
  136. "meter": "1041",
  137. "funcid": 0,
  138. "receivetime": "20091102000000"
  139. }
  140. ],
  141. "OrderBy": [
  142. {
  143. "Column": "building",
  144. "Asc": false
  145. },
  146. {
  147. "Column": "meter",
  148. "Asc": false
  149. },
  150. {
  151. "Column": "funcid",
  152. "Asc": false
  153. },
  154. {
  155. "Column": "receivetime",
  156. "Asc": false
  157. }
  158. ]
  159. },
  160. {
  161. "QueryType": "combine_select",
  162. "Database": "wanda",
  163. "Datatable": "original_month",
  164. "Criterias": [
  165. {
  166. "building": "1101070037",
  167. "meter": "1041",
  168. "funcid": 0,
  169. "receivetime": "20091101000000"
  170. },
  171. {
  172. "building": "1101070037",
  173. "meter": "1041",
  174. "funcid": 0,
  175. "receivetime": "20091102000000"
  176. }
  177. ],
  178. "OrderBy": [
  179. {
  180. "Column": "building",
  181. "Asc": true
  182. },
  183. {
  184. "Column": "meter",
  185. "Asc": true
  186. },
  187. {
  188. "Column": "funcid",
  189. "Asc": true
  190. },
  191. {
  192. "Column": "receivetime",
  193. "Asc": true
  194. }
  195. ]
  196. },
  197. {
  198. "QueryType": "combine_select",
  199. "Database": "wanda",
  200. "Datatable": "original_month_200911",
  201. "Criterias": [
  202. {
  203. "building": "1101070037"
  204. }
  205. ],
  206. "OrderBy": [
  207. {
  208. "Column": "meter",
  209. "Asc": true
  210. },
  211. {
  212. "Column": "funcid",
  213. "Asc": false
  214. }
  215. ]
  216. },
  217. {
  218. "QueryType": "combine_select",
  219. "Database": "wanda",
  220. "Datatable": "original_month_200911",
  221. "Criterias": [
  222. {
  223. "building": "1101070037"
  224. }
  225. ],
  226. "OrderBy": [
  227. {
  228. "Column": "meter",
  229. "Asc": true
  230. },
  231. {
  232. "Column": "funcid",
  233. "Asc": true
  234. }
  235. ]
  236. }
  237. ]