Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 

14075 rindas
583 KiB

  1. 2016-08-27 09:55:39 SELECT
  2. a.prod_id,
  3. a.prod_name,
  4. a.bus_type,
  5. b.type_id,
  6. b.property
  7. FROM
  8. opera_product AS a,
  9. opera_product_property AS b
  10. WHERE
  11. a.prod_id = b.prod_id
  12. AND a.prod_type = 81
  13. AND a.is_onsale = 1
  14. AND a.cancel_flag = 0
  15. GROUP BY
  16. a.prod_id,
  17. b.type_id
  18. 2016-08-27 09:55:39 SELECT
  19. a.prod_id,
  20. a.ticket_mark,
  21. a.parent_id,
  22. b.type_id,
  23. b.property,
  24. c.prod_price,
  25. c.cus_price
  26. FROM
  27. opera_product AS a,
  28. opera_product_property AS b,
  29. opera_product_price AS c
  30. WHERE
  31. a.prod_id = b.prod_id
  32. AND a.prod_id = c.prod_id
  33. AND a.prod_type = 82
  34. AND a.is_onsale = 1
  35. AND a.cancel_flag = 0
  36. AND c.cancel_flag = 0
  37. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  38. GROUP BY
  39. a.prod_id,
  40. b.type_id
  41. 2016-08-27 09:55:40 SELECT
  42. a.prod_id,
  43. a.prod_name,
  44. a.bus_type,
  45. b.type_id,
  46. b.property
  47. FROM
  48. opera_product AS a,
  49. opera_product_property AS b
  50. WHERE
  51. a.prod_id = b.prod_id
  52. AND a.prod_type = 81
  53. AND a.is_onsale = 1
  54. AND a.cancel_flag = 0
  55. GROUP BY
  56. a.prod_id,
  57. b.type_id
  58. 2016-08-27 09:55:40 SELECT
  59. a.prod_id,
  60. a.ticket_mark,
  61. a.parent_id,
  62. b.type_id,
  63. b.property,
  64. c.prod_price,
  65. c.cus_price
  66. FROM
  67. opera_product AS a,
  68. opera_product_property AS b,
  69. opera_product_price AS c
  70. WHERE
  71. a.prod_id = b.prod_id
  72. AND a.prod_id = c.prod_id
  73. AND a.prod_type = 82
  74. AND a.is_onsale = 1
  75. AND a.cancel_flag = 0
  76. AND c.cancel_flag = 0
  77. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  78. GROUP BY
  79. a.prod_id,
  80. b.type_id
  81. 2016-08-27 09:55:42 SELECT
  82. a.prod_id,
  83. a.prod_name,
  84. a.bus_type,
  85. b.type_id,
  86. b.property
  87. FROM
  88. opera_product AS a,
  89. opera_product_property AS b
  90. WHERE
  91. a.prod_id = b.prod_id
  92. AND a.prod_type = 81
  93. AND a.is_onsale = 1
  94. AND a.cancel_flag = 0
  95. GROUP BY
  96. a.prod_id,
  97. b.type_id
  98. 2016-08-27 09:55:42 SELECT
  99. a.prod_id,
  100. a.ticket_mark,
  101. a.parent_id,
  102. b.type_id,
  103. b.property,
  104. c.prod_price,
  105. c.cus_price
  106. FROM
  107. opera_product AS a,
  108. opera_product_property AS b,
  109. opera_product_price AS c
  110. WHERE
  111. a.prod_id = b.prod_id
  112. AND a.prod_id = c.prod_id
  113. AND a.prod_type = 82
  114. AND a.is_onsale = 1
  115. AND a.cancel_flag = 0
  116. AND c.cancel_flag = 0
  117. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  118. GROUP BY
  119. a.prod_id,
  120. b.type_id
  121. 2016-08-27 09:55:42 SELECT
  122. c.area_id,
  123. d.area_name,
  124. a.bus_type,
  125. c.res_id,
  126. c.res_name,
  127. e.parent_area_id_list
  128. FROM
  129. opera_product AS a,
  130. opera_product_station AS b,
  131. base_resource AS c,
  132. base_area AS d,
  133. base_area_view AS e
  134. WHERE
  135. a.prod_id = b.prod_id
  136. AND b.res_id = c.res_id
  137. AND c.area_id = d.id
  138. AND d.id = e.area_id
  139. AND a.prod_type = 81
  140. AND a.cancel_flag = 0
  141. GROUP BY
  142. c.res_id,
  143. a.bus_type,
  144. c.area_id
  145. ORDER BY
  146. c.area_id
  147. 2016-08-27 09:55:42 SELECT
  148. a.prod_id,
  149. a.prod_name,
  150. a.bus_type,
  151. b.type_id,
  152. b.property
  153. FROM
  154. opera_product AS a,
  155. opera_product_property AS b
  156. WHERE
  157. a.prod_id = b.prod_id
  158. AND a.prod_type = 81
  159. AND a.is_onsale = 1
  160. AND a.cancel_flag = 0
  161. GROUP BY
  162. a.prod_id,
  163. b.type_id
  164. 2016-08-27 09:55:42 SELECT
  165. a.prod_id,
  166. a.ticket_mark,
  167. a.parent_id,
  168. b.type_id,
  169. b.property,
  170. c.prod_price,
  171. c.cus_price
  172. FROM
  173. opera_product AS a,
  174. opera_product_property AS b,
  175. opera_product_price AS c
  176. WHERE
  177. a.prod_id = b.prod_id
  178. AND a.prod_id = c.prod_id
  179. AND a.prod_type = 82
  180. AND a.is_onsale = 1
  181. AND a.cancel_flag = 0
  182. AND c.cancel_flag = 0
  183. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  184. GROUP BY
  185. a.prod_id,
  186. b.type_id
  187. 2016-08-27 09:55:43 SELECT
  188. a.prod_id,
  189. a.prod_name,
  190. a.bus_type,
  191. b.type_id,
  192. b.property
  193. FROM
  194. opera_product AS a,
  195. opera_product_property AS b
  196. WHERE
  197. a.prod_id = b.prod_id
  198. AND a.prod_type = 81
  199. AND a.is_onsale = 1
  200. AND a.cancel_flag = 0
  201. GROUP BY
  202. a.prod_id,
  203. b.type_id
  204. 2016-08-27 09:55:43 SELECT
  205. a.prod_id,
  206. a.ticket_mark,
  207. a.parent_id,
  208. b.type_id,
  209. b.property,
  210. c.prod_price,
  211. c.cus_price
  212. FROM
  213. opera_product AS a,
  214. opera_product_property AS b,
  215. opera_product_price AS c
  216. WHERE
  217. a.prod_id = b.prod_id
  218. AND a.prod_id = c.prod_id
  219. AND a.prod_type = 82
  220. AND a.is_onsale = 1
  221. AND a.cancel_flag = 0
  222. AND c.cancel_flag = 0
  223. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  224. GROUP BY
  225. a.prod_id,
  226. b.type_id
  227. 2016-08-27 09:55:43 SELECT
  228. c.area_id,
  229. d.area_name,
  230. a.bus_type,
  231. c.res_id,
  232. c.res_name,
  233. e.parent_area_id_list
  234. FROM
  235. opera_product AS a,
  236. opera_product_station AS b,
  237. base_resource AS c,
  238. base_area AS d,
  239. base_area_view AS e
  240. WHERE
  241. a.prod_id = b.prod_id
  242. AND b.res_id = c.res_id
  243. AND c.area_id = d.id
  244. AND d.id = e.area_id
  245. AND a.prod_type = 81
  246. AND a.cancel_flag = 0
  247. GROUP BY
  248. c.res_id,
  249. a.bus_type,
  250. c.area_id
  251. ORDER BY
  252. c.area_id
  253. 2016-08-27 09:55:43 SELECT
  254. a.prod_id,
  255. a.prod_name,
  256. a.bus_type,
  257. b.type_id,
  258. b.property
  259. FROM
  260. opera_product AS a,
  261. opera_product_property AS b
  262. WHERE
  263. a.prod_id = b.prod_id
  264. AND a.prod_type = 81
  265. AND a.is_onsale = 1
  266. AND a.cancel_flag = 0
  267. GROUP BY
  268. a.prod_id,
  269. b.type_id
  270. 2016-08-27 09:55:43 SELECT
  271. a.prod_id,
  272. a.ticket_mark,
  273. a.parent_id,
  274. b.type_id,
  275. b.property,
  276. c.prod_price,
  277. c.cus_price
  278. FROM
  279. opera_product AS a,
  280. opera_product_property AS b,
  281. opera_product_price AS c
  282. WHERE
  283. a.prod_id = b.prod_id
  284. AND a.prod_id = c.prod_id
  285. AND a.prod_type = 82
  286. AND a.is_onsale = 1
  287. AND a.cancel_flag = 0
  288. AND c.cancel_flag = 0
  289. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  290. GROUP BY
  291. a.prod_id,
  292. b.type_id
  293. 2016-08-27 09:55:43 SELECT
  294. a.prod_id,
  295. a.prod_name,
  296. a.bus_type,
  297. b.type_id,
  298. b.property
  299. FROM
  300. opera_product AS a,
  301. opera_product_property AS b
  302. WHERE
  303. a.prod_id = b.prod_id
  304. AND a.prod_type = 81
  305. AND a.is_onsale = 1
  306. AND a.cancel_flag = 0
  307. GROUP BY
  308. a.prod_id,
  309. b.type_id
  310. 2016-08-27 09:55:43 SELECT
  311. a.prod_id,
  312. a.ticket_mark,
  313. a.parent_id,
  314. b.type_id,
  315. b.property,
  316. c.prod_price,
  317. c.cus_price
  318. FROM
  319. opera_product AS a,
  320. opera_product_property AS b,
  321. opera_product_price AS c
  322. WHERE
  323. a.prod_id = b.prod_id
  324. AND a.prod_id = c.prod_id
  325. AND a.prod_type = 82
  326. AND a.is_onsale = 1
  327. AND a.cancel_flag = 0
  328. AND c.cancel_flag = 0
  329. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  330. GROUP BY
  331. a.prod_id,
  332. b.type_id
  333. 2016-08-27 09:55:44 SELECT
  334. c.area_id,
  335. d.area_name,
  336. a.bus_type,
  337. c.res_id,
  338. c.res_name,
  339. e.parent_area_id_list
  340. FROM
  341. opera_product AS a,
  342. opera_product_station AS b,
  343. base_resource AS c,
  344. base_area AS d,
  345. base_area_view AS e
  346. WHERE
  347. a.prod_id = b.prod_id
  348. AND b.res_id = c.res_id
  349. AND c.area_id = d.id
  350. AND d.id = e.area_id
  351. AND a.prod_type = 81
  352. AND a.cancel_flag = 0
  353. GROUP BY
  354. c.res_id,
  355. a.bus_type,
  356. c.area_id
  357. ORDER BY
  358. c.area_id
  359. 2016-08-27 09:55:44 SELECT
  360. a.prod_id,
  361. a.prod_name,
  362. a.bus_type,
  363. b.type_id,
  364. b.property
  365. FROM
  366. opera_product AS a,
  367. opera_product_property AS b
  368. WHERE
  369. a.prod_id = b.prod_id
  370. AND a.prod_type = 81
  371. AND a.is_onsale = 1
  372. AND a.cancel_flag = 0
  373. GROUP BY
  374. a.prod_id,
  375. b.type_id
  376. 2016-08-27 09:55:44 SELECT
  377. a.prod_id,
  378. a.ticket_mark,
  379. a.parent_id,
  380. b.type_id,
  381. b.property,
  382. c.prod_price,
  383. c.cus_price
  384. FROM
  385. opera_product AS a,
  386. opera_product_property AS b,
  387. opera_product_price AS c
  388. WHERE
  389. a.prod_id = b.prod_id
  390. AND a.prod_id = c.prod_id
  391. AND a.prod_type = 82
  392. AND a.is_onsale = 1
  393. AND a.cancel_flag = 0
  394. AND c.cancel_flag = 0
  395. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  396. GROUP BY
  397. a.prod_id,
  398. b.type_id
  399. 2016-08-27 09:55:44 SELECT
  400. c.area_id,
  401. d.area_name,
  402. a.bus_type,
  403. c.res_id,
  404. c.res_name,
  405. e.parent_area_id_list
  406. FROM
  407. opera_product AS a,
  408. opera_product_station AS b,
  409. base_resource AS c,
  410. base_area AS d,
  411. base_area_view AS e
  412. WHERE
  413. a.prod_id = b.prod_id
  414. AND b.res_id = c.res_id
  415. AND c.area_id = d.id
  416. AND d.id = e.area_id
  417. AND a.prod_type = 81
  418. AND a.cancel_flag = 0
  419. GROUP BY
  420. c.res_id,
  421. a.bus_type,
  422. c.area_id
  423. ORDER BY
  424. c.area_id
  425. 2016-08-27 09:55:44 SELECT
  426. a.prod_id,
  427. a.prod_name,
  428. a.bus_type,
  429. b.type_id,
  430. b.property
  431. FROM
  432. opera_product AS a,
  433. opera_product_property AS b
  434. WHERE
  435. a.prod_id = b.prod_id
  436. AND a.prod_type = 81
  437. AND a.is_onsale = 1
  438. AND a.cancel_flag = 0
  439. GROUP BY
  440. a.prod_id,
  441. b.type_id
  442. 2016-08-27 09:55:44 SELECT
  443. a.prod_id,
  444. a.ticket_mark,
  445. a.parent_id,
  446. b.type_id,
  447. b.property,
  448. c.prod_price,
  449. c.cus_price
  450. FROM
  451. opera_product AS a,
  452. opera_product_property AS b,
  453. opera_product_price AS c
  454. WHERE
  455. a.prod_id = b.prod_id
  456. AND a.prod_id = c.prod_id
  457. AND a.prod_type = 82
  458. AND a.is_onsale = 1
  459. AND a.cancel_flag = 0
  460. AND c.cancel_flag = 0
  461. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  462. GROUP BY
  463. a.prod_id,
  464. b.type_id
  465. 2016-08-27 09:55:45 SELECT
  466. c.area_id,
  467. d.area_name,
  468. a.bus_type,
  469. c.res_id,
  470. c.res_name,
  471. e.parent_area_id_list
  472. FROM
  473. opera_product AS a,
  474. opera_product_station AS b,
  475. base_resource AS c,
  476. base_area AS d,
  477. base_area_view AS e
  478. WHERE
  479. a.prod_id = b.prod_id
  480. AND b.res_id = c.res_id
  481. AND c.area_id = d.id
  482. AND d.id = e.area_id
  483. AND a.prod_type = 81
  484. AND a.cancel_flag = 0
  485. GROUP BY
  486. c.res_id,
  487. a.bus_type,
  488. c.area_id
  489. ORDER BY
  490. c.area_id
  491. 2016-08-27 09:55:45 SELECT
  492. a.prod_id,
  493. a.prod_name,
  494. a.bus_type,
  495. b.type_id,
  496. b.property
  497. FROM
  498. opera_product AS a,
  499. opera_product_property AS b
  500. WHERE
  501. a.prod_id = b.prod_id
  502. AND a.prod_type = 81
  503. AND a.is_onsale = 1
  504. AND a.cancel_flag = 0
  505. GROUP BY
  506. a.prod_id,
  507. b.type_id
  508. 2016-08-27 09:55:45 SELECT
  509. a.prod_id,
  510. a.ticket_mark,
  511. a.parent_id,
  512. b.type_id,
  513. b.property,
  514. c.prod_price,
  515. c.cus_price
  516. FROM
  517. opera_product AS a,
  518. opera_product_property AS b,
  519. opera_product_price AS c
  520. WHERE
  521. a.prod_id = b.prod_id
  522. AND a.prod_id = c.prod_id
  523. AND a.prod_type = 82
  524. AND a.is_onsale = 1
  525. AND a.cancel_flag = 0
  526. AND c.cancel_flag = 0
  527. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  528. GROUP BY
  529. a.prod_id,
  530. b.type_id
  531. 2016-08-27 09:55:45 SELECT
  532. a.prod_id,
  533. a.prod_name,
  534. a.bus_type,
  535. b.type_id,
  536. b.property
  537. FROM
  538. opera_product AS a,
  539. opera_product_property AS b
  540. WHERE
  541. a.prod_id = b.prod_id
  542. AND a.prod_type = 81
  543. AND a.is_onsale = 1
  544. AND a.cancel_flag = 0
  545. GROUP BY
  546. a.prod_id,
  547. b.type_id
  548. 2016-08-27 09:55:45 SELECT
  549. c.area_id,
  550. d.area_name,
  551. a.bus_type,
  552. c.res_id,
  553. c.res_name,
  554. e.parent_area_id_list
  555. FROM
  556. opera_product AS a,
  557. opera_product_station AS b,
  558. base_resource AS c,
  559. base_area AS d,
  560. base_area_view AS e
  561. WHERE
  562. a.prod_id = b.prod_id
  563. AND b.res_id = c.res_id
  564. AND c.area_id = d.id
  565. AND d.id = e.area_id
  566. AND a.prod_type = 81
  567. AND a.cancel_flag = 0
  568. GROUP BY
  569. c.res_id,
  570. a.bus_type,
  571. c.area_id
  572. ORDER BY
  573. c.area_id
  574. 2016-08-27 09:55:45 SELECT
  575. a.prod_id,
  576. a.ticket_mark,
  577. a.parent_id,
  578. b.type_id,
  579. b.property,
  580. c.prod_price,
  581. c.cus_price
  582. FROM
  583. opera_product AS a,
  584. opera_product_property AS b,
  585. opera_product_price AS c
  586. WHERE
  587. a.prod_id = b.prod_id
  588. AND a.prod_id = c.prod_id
  589. AND a.prod_type = 82
  590. AND a.is_onsale = 1
  591. AND a.cancel_flag = 0
  592. AND c.cancel_flag = 0
  593. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  594. GROUP BY
  595. a.prod_id,
  596. b.type_id
  597. 2016-08-27 09:55:45 SELECT
  598. c.area_id,
  599. d.area_name,
  600. a.bus_type,
  601. c.res_id,
  602. c.res_name,
  603. e.parent_area_id_list
  604. FROM
  605. opera_product AS a,
  606. opera_product_station AS b,
  607. base_resource AS c,
  608. base_area AS d,
  609. base_area_view AS e
  610. WHERE
  611. a.prod_id = b.prod_id
  612. AND b.res_id = c.res_id
  613. AND c.area_id = d.id
  614. AND d.id = e.area_id
  615. AND a.prod_type = 81
  616. AND a.cancel_flag = 0
  617. GROUP BY
  618. c.res_id,
  619. a.bus_type,
  620. c.area_id
  621. ORDER BY
  622. c.area_id
  623. 2016-08-27 09:55:46 SELECT
  624. c.area_id,
  625. d.area_name,
  626. a.bus_type,
  627. c.res_id,
  628. c.res_name,
  629. e.parent_area_id_list
  630. FROM
  631. opera_product AS a,
  632. opera_product_station AS b,
  633. base_resource AS c,
  634. base_area AS d,
  635. base_area_view AS e
  636. WHERE
  637. a.prod_id = b.prod_id
  638. AND b.res_id = c.res_id
  639. AND c.area_id = d.id
  640. AND d.id = e.area_id
  641. AND a.prod_type = 81
  642. AND a.cancel_flag = 0
  643. GROUP BY
  644. c.res_id,
  645. a.bus_type,
  646. c.area_id
  647. ORDER BY
  648. c.area_id
  649. 2016-08-27 09:55:46 SELECT
  650. c.area_id,
  651. d.area_name,
  652. a.bus_type,
  653. c.res_id,
  654. c.res_name,
  655. e.parent_area_id_list
  656. FROM
  657. opera_product AS a,
  658. opera_product_station AS b,
  659. base_resource AS c,
  660. base_area AS d,
  661. base_area_view AS e
  662. WHERE
  663. a.prod_id = b.prod_id
  664. AND b.res_id = c.res_id
  665. AND c.area_id = d.id
  666. AND d.id = e.area_id
  667. AND a.prod_type = 81
  668. AND a.cancel_flag = 0
  669. GROUP BY
  670. c.res_id,
  671. a.bus_type,
  672. c.area_id
  673. ORDER BY
  674. c.area_id
  675. 2016-08-27 09:55:47 SELECT
  676. c.area_id,
  677. d.area_name,
  678. a.bus_type,
  679. c.res_id,
  680. c.res_name,
  681. e.parent_area_id_list
  682. FROM
  683. opera_product AS a,
  684. opera_product_station AS b,
  685. base_resource AS c,
  686. base_area AS d,
  687. base_area_view AS e
  688. WHERE
  689. a.prod_id = b.prod_id
  690. AND b.res_id = c.res_id
  691. AND c.area_id = d.id
  692. AND d.id = e.area_id
  693. AND a.prod_type = 81
  694. AND a.cancel_flag = 0
  695. GROUP BY
  696. c.res_id,
  697. a.bus_type,
  698. c.area_id
  699. ORDER BY
  700. c.area_id
  701. 2016-08-27 09:55:47 SELECT
  702. c.area_id,
  703. d.area_name,
  704. a.bus_type,
  705. c.res_id,
  706. c.res_name,
  707. e.parent_area_id_list
  708. FROM
  709. opera_product AS a,
  710. opera_product_station AS b,
  711. base_resource AS c,
  712. base_area AS d,
  713. base_area_view AS e
  714. WHERE
  715. a.prod_id = b.prod_id
  716. AND b.res_id = c.res_id
  717. AND c.area_id = d.id
  718. AND d.id = e.area_id
  719. AND a.prod_type = 81
  720. AND a.cancel_flag = 0
  721. GROUP BY
  722. c.res_id,
  723. a.bus_type,
  724. c.area_id
  725. ORDER BY
  726. c.area_id
  727. 2016-08-27 09:56:09 SELECT
  728. a.prod_id,
  729. a.prod_name,
  730. a.bus_type,
  731. b.type_id,
  732. b.property
  733. FROM
  734. opera_product AS a,
  735. opera_product_property AS b
  736. WHERE
  737. a.prod_id = b.prod_id
  738. AND a.prod_type = 81
  739. AND a.is_onsale = 1
  740. AND a.cancel_flag = 0
  741. GROUP BY
  742. a.prod_id,
  743. b.type_id
  744. 2016-08-27 09:56:10 SELECT
  745. a.prod_id,
  746. a.ticket_mark,
  747. a.parent_id,
  748. b.type_id,
  749. b.property,
  750. c.prod_price,
  751. c.cus_price
  752. FROM
  753. opera_product AS a,
  754. opera_product_property AS b,
  755. opera_product_price AS c
  756. WHERE
  757. a.prod_id = b.prod_id
  758. AND a.prod_id = c.prod_id
  759. AND a.prod_type = 82
  760. AND a.is_onsale = 1
  761. AND a.cancel_flag = 0
  762. AND c.cancel_flag = 0
  763. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  764. GROUP BY
  765. a.prod_id,
  766. b.type_id
  767. 2016-08-27 09:56:11 SELECT
  768. c.area_id,
  769. d.area_name,
  770. a.bus_type,
  771. c.res_id,
  772. c.res_name,
  773. e.parent_area_id_list
  774. FROM
  775. opera_product AS a,
  776. opera_product_station AS b,
  777. base_resource AS c,
  778. base_area AS d,
  779. base_area_view AS e
  780. WHERE
  781. a.prod_id = b.prod_id
  782. AND b.res_id = c.res_id
  783. AND c.area_id = d.id
  784. AND d.id = e.area_id
  785. AND a.prod_type = 81
  786. AND a.cancel_flag = 0
  787. GROUP BY
  788. c.res_id,
  789. a.bus_type,
  790. c.area_id
  791. ORDER BY
  792. c.area_id
  793. 2016-08-27 09:56:56 SELECT
  794. a.prod_id,
  795. a.prod_name,
  796. a.bus_type,
  797. b.type_id,
  798. b.property
  799. FROM
  800. opera_product AS a,
  801. opera_product_property AS b
  802. WHERE
  803. a.prod_id = b.prod_id
  804. AND a.prod_type = 81
  805. AND a.is_onsale = 1
  806. AND a.cancel_flag = 0
  807. GROUP BY
  808. a.prod_id,
  809. b.type_id
  810. 2016-08-27 09:56:56 SELECT
  811. a.prod_id,
  812. a.ticket_mark,
  813. a.parent_id,
  814. b.type_id,
  815. b.property,
  816. c.prod_price,
  817. c.cus_price
  818. FROM
  819. opera_product AS a,
  820. opera_product_property AS b,
  821. opera_product_price AS c
  822. WHERE
  823. a.prod_id = b.prod_id
  824. AND a.prod_id = c.prod_id
  825. AND a.prod_type = 82
  826. AND a.is_onsale = 1
  827. AND a.cancel_flag = 0
  828. AND c.cancel_flag = 0
  829. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  830. GROUP BY
  831. a.prod_id,
  832. b.type_id
  833. 2016-08-27 09:56:58 SELECT
  834. c.area_id,
  835. d.area_name,
  836. a.bus_type,
  837. c.res_id,
  838. c.res_name,
  839. e.parent_area_id_list
  840. FROM
  841. opera_product AS a,
  842. opera_product_station AS b,
  843. base_resource AS c,
  844. base_area AS d,
  845. base_area_view AS e
  846. WHERE
  847. a.prod_id = b.prod_id
  848. AND b.res_id = c.res_id
  849. AND c.area_id = d.id
  850. AND d.id = e.area_id
  851. AND a.prod_type = 81
  852. AND a.cancel_flag = 0
  853. GROUP BY
  854. c.res_id,
  855. a.bus_type,
  856. c.area_id
  857. ORDER BY
  858. c.area_id
  859. 2016-08-27 09:58:57 SELECT
  860. a.prod_id,
  861. a.prod_name,
  862. a.bus_type,
  863. b.type_id,
  864. b.property
  865. FROM
  866. opera_product AS a,
  867. opera_product_property AS b
  868. WHERE
  869. a.prod_id = b.prod_id
  870. AND a.prod_type = 81
  871. AND a.is_onsale = 1
  872. AND a.cancel_flag = 0
  873. GROUP BY
  874. a.prod_id,
  875. b.type_id
  876. 2016-08-27 09:58:57 SELECT
  877. a.prod_id,
  878. a.ticket_mark,
  879. a.parent_id,
  880. b.type_id,
  881. b.property,
  882. c.prod_price,
  883. c.cus_price
  884. FROM
  885. opera_product AS a,
  886. opera_product_property AS b,
  887. opera_product_price AS c
  888. WHERE
  889. a.prod_id = b.prod_id
  890. AND a.prod_id = c.prod_id
  891. AND a.prod_type = 82
  892. AND a.is_onsale = 1
  893. AND a.cancel_flag = 0
  894. AND c.cancel_flag = 0
  895. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  896. GROUP BY
  897. a.prod_id,
  898. b.type_id
  899. 2016-08-27 09:58:59 SELECT
  900. c.area_id,
  901. d.area_name,
  902. a.bus_type,
  903. c.res_id,
  904. c.res_name,
  905. e.parent_area_id_list
  906. FROM
  907. opera_product AS a,
  908. opera_product_station AS b,
  909. base_resource AS c,
  910. base_area AS d,
  911. base_area_view AS e
  912. WHERE
  913. a.prod_id = b.prod_id
  914. AND b.res_id = c.res_id
  915. AND c.area_id = d.id
  916. AND d.id = e.area_id
  917. AND a.prod_type = 81
  918. AND a.cancel_flag = 0
  919. GROUP BY
  920. c.res_id,
  921. a.bus_type,
  922. c.area_id
  923. ORDER BY
  924. c.area_id
  925. 2016-08-27 09:59:33 SELECT
  926. a.prod_id,
  927. a.prod_name,
  928. a.bus_type,
  929. b.type_id,
  930. b.property
  931. FROM
  932. opera_product AS a,
  933. opera_product_property AS b
  934. WHERE
  935. a.prod_id = b.prod_id
  936. AND a.prod_type = 81
  937. AND a.is_onsale = 1
  938. AND a.cancel_flag = 0
  939. GROUP BY
  940. a.prod_id,
  941. b.type_id
  942. 2016-08-27 09:59:33 SELECT
  943. a.prod_id,
  944. a.ticket_mark,
  945. a.parent_id,
  946. b.type_id,
  947. b.property,
  948. c.prod_price,
  949. c.cus_price
  950. FROM
  951. opera_product AS a,
  952. opera_product_property AS b,
  953. opera_product_price AS c
  954. WHERE
  955. a.prod_id = b.prod_id
  956. AND a.prod_id = c.prod_id
  957. AND a.prod_type = 82
  958. AND a.is_onsale = 1
  959. AND a.cancel_flag = 0
  960. AND c.cancel_flag = 0
  961. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  962. GROUP BY
  963. a.prod_id,
  964. b.type_id
  965. 2016-08-27 09:59:34 SELECT
  966. a.prod_id,
  967. a.prod_name,
  968. a.bus_type,
  969. b.type_id,
  970. b.property
  971. FROM
  972. opera_product AS a,
  973. opera_product_property AS b
  974. WHERE
  975. a.prod_id = b.prod_id
  976. AND a.prod_type = 81
  977. AND a.is_onsale = 1
  978. AND a.cancel_flag = 0
  979. GROUP BY
  980. a.prod_id,
  981. b.type_id
  982. 2016-08-27 09:59:34 SELECT
  983. a.prod_id,
  984. a.ticket_mark,
  985. a.parent_id,
  986. b.type_id,
  987. b.property,
  988. c.prod_price,
  989. c.cus_price
  990. FROM
  991. opera_product AS a,
  992. opera_product_property AS b,
  993. opera_product_price AS c
  994. WHERE
  995. a.prod_id = b.prod_id
  996. AND a.prod_id = c.prod_id
  997. AND a.prod_type = 82
  998. AND a.is_onsale = 1
  999. AND a.cancel_flag = 0
  1000. AND c.cancel_flag = 0
  1001. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  1002. GROUP BY
  1003. a.prod_id,
  1004. b.type_id
  1005. 2016-08-27 09:59:35 SELECT
  1006. c.area_id,
  1007. d.area_name,
  1008. a.bus_type,
  1009. c.res_id,
  1010. c.res_name,
  1011. e.parent_area_id_list
  1012. FROM
  1013. opera_product AS a,
  1014. opera_product_station AS b,
  1015. base_resource AS c,
  1016. base_area AS d,
  1017. base_area_view AS e
  1018. WHERE
  1019. a.prod_id = b.prod_id
  1020. AND b.res_id = c.res_id
  1021. AND c.area_id = d.id
  1022. AND d.id = e.area_id
  1023. AND a.prod_type = 81
  1024. AND a.cancel_flag = 0
  1025. GROUP BY
  1026. c.res_id,
  1027. a.bus_type,
  1028. c.area_id
  1029. ORDER BY
  1030. c.area_id
  1031. 2016-08-27 09:59:36 SELECT
  1032. c.area_id,
  1033. d.area_name,
  1034. a.bus_type,
  1035. c.res_id,
  1036. c.res_name,
  1037. e.parent_area_id_list
  1038. FROM
  1039. opera_product AS a,
  1040. opera_product_station AS b,
  1041. base_resource AS c,
  1042. base_area AS d,
  1043. base_area_view AS e
  1044. WHERE
  1045. a.prod_id = b.prod_id
  1046. AND b.res_id = c.res_id
  1047. AND c.area_id = d.id
  1048. AND d.id = e.area_id
  1049. AND a.prod_type = 81
  1050. AND a.cancel_flag = 0
  1051. GROUP BY
  1052. c.res_id,
  1053. a.bus_type,
  1054. c.area_id
  1055. ORDER BY
  1056. c.area_id
  1057. 2016-08-27 10:01:57 SELECT
  1058. a.prod_id,
  1059. a.prod_name,
  1060. a.bus_type,
  1061. b.type_id,
  1062. b.property
  1063. FROM
  1064. opera_product AS a,
  1065. opera_product_property AS b
  1066. WHERE
  1067. a.prod_id = b.prod_id
  1068. AND a.prod_type = 81
  1069. AND a.is_onsale = 1
  1070. AND a.cancel_flag = 0
  1071. GROUP BY
  1072. a.prod_id,
  1073. b.type_id
  1074. 2016-08-27 10:01:57 SELECT
  1075. a.prod_id,
  1076. a.ticket_mark,
  1077. a.parent_id,
  1078. b.type_id,
  1079. b.property,
  1080. c.prod_price,
  1081. c.cus_price
  1082. FROM
  1083. opera_product AS a,
  1084. opera_product_property AS b,
  1085. opera_product_price AS c
  1086. WHERE
  1087. a.prod_id = b.prod_id
  1088. AND a.prod_id = c.prod_id
  1089. AND a.prod_type = 82
  1090. AND a.is_onsale = 1
  1091. AND a.cancel_flag = 0
  1092. AND c.cancel_flag = 0
  1093. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  1094. GROUP BY
  1095. a.prod_id,
  1096. b.type_id
  1097. 2016-08-27 10:01:59 SELECT
  1098. c.area_id,
  1099. d.area_name,
  1100. a.bus_type,
  1101. c.res_id,
  1102. c.res_name,
  1103. e.parent_area_id_list
  1104. FROM
  1105. opera_product AS a,
  1106. opera_product_station AS b,
  1107. base_resource AS c,
  1108. base_area AS d,
  1109. base_area_view AS e
  1110. WHERE
  1111. a.prod_id = b.prod_id
  1112. AND b.res_id = c.res_id
  1113. AND c.area_id = d.id
  1114. AND d.id = e.area_id
  1115. AND a.prod_type = 81
  1116. AND a.cancel_flag = 0
  1117. GROUP BY
  1118. c.res_id,
  1119. a.bus_type,
  1120. c.area_id
  1121. ORDER BY
  1122. c.area_id
  1123. 2016-08-27 10:20:36 SELECT
  1124. a.prod_id,
  1125. a.prod_name,
  1126. a.bus_type,
  1127. b.type_id,
  1128. b.property
  1129. FROM
  1130. opera_product AS a,
  1131. opera_product_property AS b
  1132. WHERE
  1133. a.prod_id = b.prod_id
  1134. AND a.prod_type = 81
  1135. AND a.is_onsale = 1
  1136. AND a.cancel_flag = 0
  1137. GROUP BY
  1138. a.prod_id,
  1139. b.type_id
  1140. 2016-08-27 10:20:36 SELECT
  1141. a.prod_id,
  1142. a.ticket_mark,
  1143. a.parent_id,
  1144. b.type_id,
  1145. b.property,
  1146. c.prod_price,
  1147. c.cus_price
  1148. FROM
  1149. opera_product AS a,
  1150. opera_product_property AS b,
  1151. opera_product_price AS c
  1152. WHERE
  1153. a.prod_id = b.prod_id
  1154. AND a.prod_id = c.prod_id
  1155. AND a.prod_type = 82
  1156. AND a.is_onsale = 1
  1157. AND a.cancel_flag = 0
  1158. AND c.cancel_flag = 0
  1159. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  1160. GROUP BY
  1161. a.prod_id,
  1162. b.type_id
  1163. 2016-08-27 10:20:38 SELECT
  1164. c.area_id,
  1165. d.area_name,
  1166. a.bus_type,
  1167. c.res_id,
  1168. c.res_name,
  1169. e.parent_area_id_list
  1170. FROM
  1171. opera_product AS a,
  1172. opera_product_station AS b,
  1173. base_resource AS c,
  1174. base_area AS d,
  1175. base_area_view AS e
  1176. WHERE
  1177. a.prod_id = b.prod_id
  1178. AND b.res_id = c.res_id
  1179. AND c.area_id = d.id
  1180. AND d.id = e.area_id
  1181. AND a.prod_type = 81
  1182. AND a.cancel_flag = 0
  1183. GROUP BY
  1184. c.res_id,
  1185. a.bus_type,
  1186. c.area_id
  1187. ORDER BY
  1188. c.area_id
  1189. 2016-08-27 10:37:08 SELECT
  1190. a.prod_id,
  1191. a.prod_name,
  1192. a.bus_type,
  1193. b.type_id,
  1194. b.property
  1195. FROM
  1196. opera_product AS a,
  1197. opera_product_property AS b
  1198. WHERE
  1199. a.prod_id = b.prod_id
  1200. AND a.prod_type = 81
  1201. AND a.is_onsale = 1
  1202. AND a.cancel_flag = 0
  1203. GROUP BY
  1204. a.prod_id,
  1205. b.type_id
  1206. 2016-08-27 10:37:08 SELECT
  1207. a.prod_id,
  1208. a.ticket_mark,
  1209. a.parent_id,
  1210. b.type_id,
  1211. b.property,
  1212. c.prod_price,
  1213. c.cus_price
  1214. FROM
  1215. opera_product AS a,
  1216. opera_product_property AS b,
  1217. opera_product_price AS c
  1218. WHERE
  1219. a.prod_id = b.prod_id
  1220. AND a.prod_id = c.prod_id
  1221. AND a.prod_type = 82
  1222. AND a.is_onsale = 1
  1223. AND a.cancel_flag = 0
  1224. AND c.cancel_flag = 0
  1225. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  1226. GROUP BY
  1227. a.prod_id,
  1228. b.type_id
  1229. 2016-08-27 10:37:08 SELECT
  1230. a.prod_id,
  1231. a.prod_name,
  1232. a.bus_type,
  1233. b.type_id,
  1234. b.property
  1235. FROM
  1236. opera_product AS a,
  1237. opera_product_property AS b
  1238. WHERE
  1239. a.prod_id = b.prod_id
  1240. AND a.prod_type = 81
  1241. AND a.is_onsale = 1
  1242. AND a.cancel_flag = 0
  1243. GROUP BY
  1244. a.prod_id,
  1245. b.type_id
  1246. 2016-08-27 10:37:09 SELECT
  1247. a.prod_id,
  1248. a.ticket_mark,
  1249. a.parent_id,
  1250. b.type_id,
  1251. b.property,
  1252. c.prod_price,
  1253. c.cus_price
  1254. FROM
  1255. opera_product AS a,
  1256. opera_product_property AS b,
  1257. opera_product_price AS c
  1258. WHERE
  1259. a.prod_id = b.prod_id
  1260. AND a.prod_id = c.prod_id
  1261. AND a.prod_type = 82
  1262. AND a.is_onsale = 1
  1263. AND a.cancel_flag = 0
  1264. AND c.cancel_flag = 0
  1265. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  1266. GROUP BY
  1267. a.prod_id,
  1268. b.type_id
  1269. 2016-08-27 10:37:09 SELECT
  1270. c.area_id,
  1271. d.area_name,
  1272. a.bus_type,
  1273. c.res_id,
  1274. c.res_name,
  1275. e.parent_area_id_list
  1276. FROM
  1277. opera_product AS a,
  1278. opera_product_station AS b,
  1279. base_resource AS c,
  1280. base_area AS d,
  1281. base_area_view AS e
  1282. WHERE
  1283. a.prod_id = b.prod_id
  1284. AND b.res_id = c.res_id
  1285. AND c.area_id = d.id
  1286. AND d.id = e.area_id
  1287. AND a.prod_type = 81
  1288. AND a.cancel_flag = 0
  1289. GROUP BY
  1290. c.res_id,
  1291. a.bus_type,
  1292. c.area_id
  1293. ORDER BY
  1294. c.area_id
  1295. 2016-08-27 10:37:11 SELECT
  1296. c.area_id,
  1297. d.area_name,
  1298. a.bus_type,
  1299. c.res_id,
  1300. c.res_name,
  1301. e.parent_area_id_list
  1302. FROM
  1303. opera_product AS a,
  1304. opera_product_station AS b,
  1305. base_resource AS c,
  1306. base_area AS d,
  1307. base_area_view AS e
  1308. WHERE
  1309. a.prod_id = b.prod_id
  1310. AND b.res_id = c.res_id
  1311. AND c.area_id = d.id
  1312. AND d.id = e.area_id
  1313. AND a.prod_type = 81
  1314. AND a.cancel_flag = 0
  1315. GROUP BY
  1316. c.res_id,
  1317. a.bus_type,
  1318. c.area_id
  1319. ORDER BY
  1320. c.area_id
  1321. 2016-08-27 10:37:14 SELECT
  1322. a.prod_id,
  1323. a.prod_name,
  1324. a.bus_type,
  1325. b.type_id,
  1326. b.property
  1327. FROM
  1328. opera_product AS a,
  1329. opera_product_property AS b
  1330. WHERE
  1331. a.prod_id = b.prod_id
  1332. AND a.prod_type = 81
  1333. AND a.is_onsale = 1
  1334. AND a.cancel_flag = 0
  1335. GROUP BY
  1336. a.prod_id,
  1337. b.type_id
  1338. 2016-08-27 10:37:14 SELECT
  1339. a.prod_id,
  1340. a.ticket_mark,
  1341. a.parent_id,
  1342. b.type_id,
  1343. b.property,
  1344. c.prod_price,
  1345. c.cus_price
  1346. FROM
  1347. opera_product AS a,
  1348. opera_product_property AS b,
  1349. opera_product_price AS c
  1350. WHERE
  1351. a.prod_id = b.prod_id
  1352. AND a.prod_id = c.prod_id
  1353. AND a.prod_type = 82
  1354. AND a.is_onsale = 1
  1355. AND a.cancel_flag = 0
  1356. AND c.cancel_flag = 0
  1357. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  1358. GROUP BY
  1359. a.prod_id,
  1360. b.type_id
  1361. 2016-08-27 10:37:16 SELECT
  1362. c.area_id,
  1363. d.area_name,
  1364. a.bus_type,
  1365. c.res_id,
  1366. c.res_name,
  1367. e.parent_area_id_list
  1368. FROM
  1369. opera_product AS a,
  1370. opera_product_station AS b,
  1371. base_resource AS c,
  1372. base_area AS d,
  1373. base_area_view AS e
  1374. WHERE
  1375. a.prod_id = b.prod_id
  1376. AND b.res_id = c.res_id
  1377. AND c.area_id = d.id
  1378. AND d.id = e.area_id
  1379. AND a.prod_type = 81
  1380. AND a.cancel_flag = 0
  1381. GROUP BY
  1382. c.res_id,
  1383. a.bus_type,
  1384. c.area_id
  1385. ORDER BY
  1386. c.area_id
  1387. 2016-08-27 10:37:25 SELECT
  1388. a.prod_id,
  1389. a.prod_name,
  1390. a.bus_type,
  1391. b.type_id,
  1392. b.property
  1393. FROM
  1394. opera_product AS a,
  1395. opera_product_property AS b
  1396. WHERE
  1397. a.prod_id = b.prod_id
  1398. AND a.prod_type = 81
  1399. AND a.is_onsale = 1
  1400. AND a.cancel_flag = 0
  1401. GROUP BY
  1402. a.prod_id,
  1403. b.type_id
  1404. 2016-08-27 10:37:26 SELECT
  1405. a.prod_id,
  1406. a.ticket_mark,
  1407. a.parent_id,
  1408. b.type_id,
  1409. b.property,
  1410. c.prod_price,
  1411. c.cus_price
  1412. FROM
  1413. opera_product AS a,
  1414. opera_product_property AS b,
  1415. opera_product_price AS c
  1416. WHERE
  1417. a.prod_id = b.prod_id
  1418. AND a.prod_id = c.prod_id
  1419. AND a.prod_type = 82
  1420. AND a.is_onsale = 1
  1421. AND a.cancel_flag = 0
  1422. AND c.cancel_flag = 0
  1423. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  1424. GROUP BY
  1425. a.prod_id,
  1426. b.type_id
  1427. 2016-08-27 10:37:27 SELECT
  1428. c.area_id,
  1429. d.area_name,
  1430. a.bus_type,
  1431. c.res_id,
  1432. c.res_name,
  1433. e.parent_area_id_list
  1434. FROM
  1435. opera_product AS a,
  1436. opera_product_station AS b,
  1437. base_resource AS c,
  1438. base_area AS d,
  1439. base_area_view AS e
  1440. WHERE
  1441. a.prod_id = b.prod_id
  1442. AND b.res_id = c.res_id
  1443. AND c.area_id = d.id
  1444. AND d.id = e.area_id
  1445. AND a.prod_type = 81
  1446. AND a.cancel_flag = 0
  1447. GROUP BY
  1448. c.res_id,
  1449. a.bus_type,
  1450. c.area_id
  1451. ORDER BY
  1452. c.area_id
  1453. 2016-08-27 02:37:27 SELECT
  1454. a.run_id,
  1455. a.prod_id as line_id,
  1456. a.run_date,
  1457. b.start_time,
  1458. b.station_res_id
  1459. FROM
  1460. run_main as a,
  1461. run_station as b
  1462. WHERE
  1463. a.run_id = b.run_id
  1464. AND a.prod_id IN (448241)
  1465. AND a.run_date = '2016-08-27'
  1466. AND a.run_status = 138
  1467. AND b.station_inout_type in (108,109,110)
  1468. ORDER BY
  1469. a.run_id,
  1470. b.station_res_id
  1471. 2016-08-27 10:37:42 SELECT
  1472. a.prod_id,
  1473. a.prod_name,
  1474. a.bus_type,
  1475. b.type_id,
  1476. b.property
  1477. FROM
  1478. opera_product AS a,
  1479. opera_product_property AS b
  1480. WHERE
  1481. a.prod_id = b.prod_id
  1482. AND a.prod_type = 81
  1483. AND a.is_onsale = 1
  1484. AND a.cancel_flag = 0
  1485. GROUP BY
  1486. a.prod_id,
  1487. b.type_id
  1488. 2016-08-27 10:37:42 SELECT
  1489. a.prod_id,
  1490. a.ticket_mark,
  1491. a.parent_id,
  1492. b.type_id,
  1493. b.property,
  1494. c.prod_price,
  1495. c.cus_price
  1496. FROM
  1497. opera_product AS a,
  1498. opera_product_property AS b,
  1499. opera_product_price AS c
  1500. WHERE
  1501. a.prod_id = b.prod_id
  1502. AND a.prod_id = c.prod_id
  1503. AND a.prod_type = 82
  1504. AND a.is_onsale = 1
  1505. AND a.cancel_flag = 0
  1506. AND c.cancel_flag = 0
  1507. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  1508. GROUP BY
  1509. a.prod_id,
  1510. b.type_id
  1511. 2016-08-27 10:37:44 SELECT
  1512. c.area_id,
  1513. d.area_name,
  1514. a.bus_type,
  1515. c.res_id,
  1516. c.res_name,
  1517. e.parent_area_id_list
  1518. FROM
  1519. opera_product AS a,
  1520. opera_product_station AS b,
  1521. base_resource AS c,
  1522. base_area AS d,
  1523. base_area_view AS e
  1524. WHERE
  1525. a.prod_id = b.prod_id
  1526. AND b.res_id = c.res_id
  1527. AND c.area_id = d.id
  1528. AND d.id = e.area_id
  1529. AND a.prod_type = 81
  1530. AND a.cancel_flag = 0
  1531. GROUP BY
  1532. c.res_id,
  1533. a.bus_type,
  1534. c.area_id
  1535. ORDER BY
  1536. c.area_id
  1537. 2016-08-27 10:37:53 SELECT
  1538. a.prod_id,
  1539. a.prod_name,
  1540. a.bus_type,
  1541. b.type_id,
  1542. b.property
  1543. FROM
  1544. opera_product AS a,
  1545. opera_product_property AS b
  1546. WHERE
  1547. a.prod_id = b.prod_id
  1548. AND a.prod_type = 81
  1549. AND a.is_onsale = 1
  1550. AND a.cancel_flag = 0
  1551. GROUP BY
  1552. a.prod_id,
  1553. b.type_id
  1554. 2016-08-27 10:37:53 SELECT
  1555. a.prod_id,
  1556. a.ticket_mark,
  1557. a.parent_id,
  1558. b.type_id,
  1559. b.property,
  1560. c.prod_price,
  1561. c.cus_price
  1562. FROM
  1563. opera_product AS a,
  1564. opera_product_property AS b,
  1565. opera_product_price AS c
  1566. WHERE
  1567. a.prod_id = b.prod_id
  1568. AND a.prod_id = c.prod_id
  1569. AND a.prod_type = 82
  1570. AND a.is_onsale = 1
  1571. AND a.cancel_flag = 0
  1572. AND c.cancel_flag = 0
  1573. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  1574. GROUP BY
  1575. a.prod_id,
  1576. b.type_id
  1577. 2016-08-27 10:37:55 SELECT
  1578. c.area_id,
  1579. d.area_name,
  1580. a.bus_type,
  1581. c.res_id,
  1582. c.res_name,
  1583. e.parent_area_id_list
  1584. FROM
  1585. opera_product AS a,
  1586. opera_product_station AS b,
  1587. base_resource AS c,
  1588. base_area AS d,
  1589. base_area_view AS e
  1590. WHERE
  1591. a.prod_id = b.prod_id
  1592. AND b.res_id = c.res_id
  1593. AND c.area_id = d.id
  1594. AND d.id = e.area_id
  1595. AND a.prod_type = 81
  1596. AND a.cancel_flag = 0
  1597. GROUP BY
  1598. c.res_id,
  1599. a.bus_type,
  1600. c.area_id
  1601. ORDER BY
  1602. c.area_id
  1603. 2016-08-27 10:38:06 SELECT
  1604. a.prod_id,
  1605. a.prod_name,
  1606. a.bus_type,
  1607. b.type_id,
  1608. b.property
  1609. FROM
  1610. opera_product AS a,
  1611. opera_product_property AS b
  1612. WHERE
  1613. a.prod_id = b.prod_id
  1614. AND a.prod_type = 81
  1615. AND a.is_onsale = 1
  1616. AND a.cancel_flag = 0
  1617. GROUP BY
  1618. a.prod_id,
  1619. b.type_id
  1620. 2016-08-27 10:38:06 SELECT
  1621. a.prod_id,
  1622. a.ticket_mark,
  1623. a.parent_id,
  1624. b.type_id,
  1625. b.property,
  1626. c.prod_price,
  1627. c.cus_price
  1628. FROM
  1629. opera_product AS a,
  1630. opera_product_property AS b,
  1631. opera_product_price AS c
  1632. WHERE
  1633. a.prod_id = b.prod_id
  1634. AND a.prod_id = c.prod_id
  1635. AND a.prod_type = 82
  1636. AND a.is_onsale = 1
  1637. AND a.cancel_flag = 0
  1638. AND c.cancel_flag = 0
  1639. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  1640. GROUP BY
  1641. a.prod_id,
  1642. b.type_id
  1643. 2016-08-27 10:38:08 SELECT
  1644. c.area_id,
  1645. d.area_name,
  1646. a.bus_type,
  1647. c.res_id,
  1648. c.res_name,
  1649. e.parent_area_id_list
  1650. FROM
  1651. opera_product AS a,
  1652. opera_product_station AS b,
  1653. base_resource AS c,
  1654. base_area AS d,
  1655. base_area_view AS e
  1656. WHERE
  1657. a.prod_id = b.prod_id
  1658. AND b.res_id = c.res_id
  1659. AND c.area_id = d.id
  1660. AND d.id = e.area_id
  1661. AND a.prod_type = 81
  1662. AND a.cancel_flag = 0
  1663. GROUP BY
  1664. c.res_id,
  1665. a.bus_type,
  1666. c.area_id
  1667. ORDER BY
  1668. c.area_id
  1669. 2016-08-27 10:38:12 SELECT
  1670. a.prod_id,
  1671. a.prod_name,
  1672. a.bus_type,
  1673. b.type_id,
  1674. b.property
  1675. FROM
  1676. opera_product AS a,
  1677. opera_product_property AS b
  1678. WHERE
  1679. a.prod_id = b.prod_id
  1680. AND a.prod_type = 81
  1681. AND a.is_onsale = 1
  1682. AND a.cancel_flag = 0
  1683. GROUP BY
  1684. a.prod_id,
  1685. b.type_id
  1686. 2016-08-27 10:38:12 SELECT
  1687. a.prod_id,
  1688. a.ticket_mark,
  1689. a.parent_id,
  1690. b.type_id,
  1691. b.property,
  1692. c.prod_price,
  1693. c.cus_price
  1694. FROM
  1695. opera_product AS a,
  1696. opera_product_property AS b,
  1697. opera_product_price AS c
  1698. WHERE
  1699. a.prod_id = b.prod_id
  1700. AND a.prod_id = c.prod_id
  1701. AND a.prod_type = 82
  1702. AND a.is_onsale = 1
  1703. AND a.cancel_flag = 0
  1704. AND c.cancel_flag = 0
  1705. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  1706. GROUP BY
  1707. a.prod_id,
  1708. b.type_id
  1709. 2016-08-27 10:38:14 SELECT
  1710. c.area_id,
  1711. d.area_name,
  1712. a.bus_type,
  1713. c.res_id,
  1714. c.res_name,
  1715. e.parent_area_id_list
  1716. FROM
  1717. opera_product AS a,
  1718. opera_product_station AS b,
  1719. base_resource AS c,
  1720. base_area AS d,
  1721. base_area_view AS e
  1722. WHERE
  1723. a.prod_id = b.prod_id
  1724. AND b.res_id = c.res_id
  1725. AND c.area_id = d.id
  1726. AND d.id = e.area_id
  1727. AND a.prod_type = 81
  1728. AND a.cancel_flag = 0
  1729. GROUP BY
  1730. c.res_id,
  1731. a.bus_type,
  1732. c.area_id
  1733. ORDER BY
  1734. c.area_id
  1735. 2016-08-27 10:38:27 SELECT
  1736. a.prod_id,
  1737. a.prod_name,
  1738. a.bus_type,
  1739. b.type_id,
  1740. b.property
  1741. FROM
  1742. opera_product AS a,
  1743. opera_product_property AS b
  1744. WHERE
  1745. a.prod_id = b.prod_id
  1746. AND a.prod_type = 81
  1747. AND a.is_onsale = 1
  1748. AND a.cancel_flag = 0
  1749. GROUP BY
  1750. a.prod_id,
  1751. b.type_id
  1752. 2016-08-27 10:38:28 SELECT
  1753. a.prod_id,
  1754. a.ticket_mark,
  1755. a.parent_id,
  1756. b.type_id,
  1757. b.property,
  1758. c.prod_price,
  1759. c.cus_price
  1760. FROM
  1761. opera_product AS a,
  1762. opera_product_property AS b,
  1763. opera_product_price AS c
  1764. WHERE
  1765. a.prod_id = b.prod_id
  1766. AND a.prod_id = c.prod_id
  1767. AND a.prod_type = 82
  1768. AND a.is_onsale = 1
  1769. AND a.cancel_flag = 0
  1770. AND c.cancel_flag = 0
  1771. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  1772. GROUP BY
  1773. a.prod_id,
  1774. b.type_id
  1775. 2016-08-27 10:38:29 SELECT
  1776. c.area_id,
  1777. d.area_name,
  1778. a.bus_type,
  1779. c.res_id,
  1780. c.res_name,
  1781. e.parent_area_id_list
  1782. FROM
  1783. opera_product AS a,
  1784. opera_product_station AS b,
  1785. base_resource AS c,
  1786. base_area AS d,
  1787. base_area_view AS e
  1788. WHERE
  1789. a.prod_id = b.prod_id
  1790. AND b.res_id = c.res_id
  1791. AND c.area_id = d.id
  1792. AND d.id = e.area_id
  1793. AND a.prod_type = 81
  1794. AND a.cancel_flag = 0
  1795. GROUP BY
  1796. c.res_id,
  1797. a.bus_type,
  1798. c.area_id
  1799. ORDER BY
  1800. c.area_id
  1801. 2016-08-27 02:38:29 SELECT
  1802. a.run_id,
  1803. a.prod_id as line_id,
  1804. a.run_date,
  1805. b.start_time,
  1806. b.station_res_id
  1807. FROM
  1808. run_main as a,
  1809. run_station as b
  1810. WHERE
  1811. a.run_id = b.run_id
  1812. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  1813. AND a.run_date = '2016-08-27'
  1814. AND a.run_status = 138
  1815. AND b.station_inout_type in (108,109,110)
  1816. ORDER BY
  1817. a.run_id,
  1818. b.station_res_id
  1819. 2016-08-27 02:38:29 SELECT
  1820. run_id,
  1821. res_id,
  1822. seq_id,
  1823. prod_id,
  1824. total_count,
  1825. saled_count
  1826. FROM
  1827. run_stock
  1828. WHERE
  1829. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  1830. )
  1831. AND seat_type = 72
  1832. ORDER BY
  1833. run_id ASC,
  1834. seq_id ASC
  1835. 2016-08-27 02:38:30 SELECT
  1836. run_id,
  1837. prod_id as ticket_id
  1838. FROM
  1839. run_prod
  1840. WHERE
  1841. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  1842. AND cancel_flag = 0
  1843. 2016-08-27 10:41:33 SELECT
  1844. a.prod_id,
  1845. a.prod_name,
  1846. a.bus_type,
  1847. b.type_id,
  1848. b.property
  1849. FROM
  1850. opera_product AS a,
  1851. opera_product_property AS b
  1852. WHERE
  1853. a.prod_id = b.prod_id
  1854. AND a.prod_type = 81
  1855. AND a.is_onsale = 1
  1856. AND a.cancel_flag = 0
  1857. GROUP BY
  1858. a.prod_id,
  1859. b.type_id
  1860. 2016-08-27 10:41:33 SELECT
  1861. a.prod_id,
  1862. a.ticket_mark,
  1863. a.parent_id,
  1864. b.type_id,
  1865. b.property,
  1866. c.prod_price,
  1867. c.cus_price
  1868. FROM
  1869. opera_product AS a,
  1870. opera_product_property AS b,
  1871. opera_product_price AS c
  1872. WHERE
  1873. a.prod_id = b.prod_id
  1874. AND a.prod_id = c.prod_id
  1875. AND a.prod_type = 82
  1876. AND a.is_onsale = 1
  1877. AND a.cancel_flag = 0
  1878. AND c.cancel_flag = 0
  1879. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  1880. GROUP BY
  1881. a.prod_id,
  1882. b.type_id
  1883. 2016-08-27 10:41:35 SELECT
  1884. c.area_id,
  1885. d.area_name,
  1886. a.bus_type,
  1887. c.res_id,
  1888. c.res_name,
  1889. e.parent_area_id_list
  1890. FROM
  1891. opera_product AS a,
  1892. opera_product_station AS b,
  1893. base_resource AS c,
  1894. base_area AS d,
  1895. base_area_view AS e
  1896. WHERE
  1897. a.prod_id = b.prod_id
  1898. AND b.res_id = c.res_id
  1899. AND c.area_id = d.id
  1900. AND d.id = e.area_id
  1901. AND a.prod_type = 81
  1902. AND a.cancel_flag = 0
  1903. GROUP BY
  1904. c.res_id,
  1905. a.bus_type,
  1906. c.area_id
  1907. ORDER BY
  1908. c.area_id
  1909. 2016-08-27 02:41:35 SELECT
  1910. a.run_id,
  1911. a.prod_id as line_id,
  1912. a.run_date,
  1913. b.start_time,
  1914. b.station_res_id
  1915. FROM
  1916. run_main as a,
  1917. run_station as b
  1918. WHERE
  1919. a.run_id = b.run_id
  1920. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  1921. AND a.run_date = '2016-08-27'
  1922. AND a.run_status = 138
  1923. AND b.station_inout_type in (108,109,110)
  1924. ORDER BY
  1925. a.run_id,
  1926. b.station_res_id
  1927. 2016-08-27 02:41:35 SELECT
  1928. run_id,
  1929. res_id,
  1930. seq_id,
  1931. prod_id,
  1932. total_count,
  1933. saled_count
  1934. FROM
  1935. run_stock
  1936. WHERE
  1937. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  1938. )
  1939. AND seat_type = 72
  1940. ORDER BY
  1941. run_id ASC,
  1942. seq_id ASC
  1943. 2016-08-27 02:41:35 SELECT
  1944. run_id,
  1945. prod_id as ticket_id
  1946. FROM
  1947. run_prod
  1948. WHERE
  1949. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  1950. AND cancel_flag = 0
  1951. 2016-08-27 10:53:23 SELECT
  1952. a.prod_id,
  1953. a.prod_name,
  1954. a.bus_type,
  1955. b.type_id,
  1956. b.property
  1957. FROM
  1958. opera_product AS a,
  1959. opera_product_property AS b
  1960. WHERE
  1961. a.prod_id = b.prod_id
  1962. AND a.prod_type = 81
  1963. AND a.is_onsale = 1
  1964. AND a.cancel_flag = 0
  1965. GROUP BY
  1966. a.prod_id,
  1967. b.type_id
  1968. 2016-08-27 10:53:23 SELECT
  1969. a.prod_id,
  1970. a.ticket_mark,
  1971. a.parent_id,
  1972. b.type_id,
  1973. b.property,
  1974. c.prod_price,
  1975. c.cus_price
  1976. FROM
  1977. opera_product AS a,
  1978. opera_product_property AS b,
  1979. opera_product_price AS c
  1980. WHERE
  1981. a.prod_id = b.prod_id
  1982. AND a.prod_id = c.prod_id
  1983. AND a.prod_type = 82
  1984. AND a.is_onsale = 1
  1985. AND a.cancel_flag = 0
  1986. AND c.cancel_flag = 0
  1987. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  1988. GROUP BY
  1989. a.prod_id,
  1990. b.type_id
  1991. 2016-08-27 10:53:25 SELECT
  1992. c.area_id,
  1993. d.area_name,
  1994. a.bus_type,
  1995. c.res_id,
  1996. c.res_name,
  1997. e.parent_area_id_list
  1998. FROM
  1999. opera_product AS a,
  2000. opera_product_station AS b,
  2001. base_resource AS c,
  2002. base_area AS d,
  2003. base_area_view AS e
  2004. WHERE
  2005. a.prod_id = b.prod_id
  2006. AND b.res_id = c.res_id
  2007. AND c.area_id = d.id
  2008. AND d.id = e.area_id
  2009. AND a.prod_type = 81
  2010. AND a.cancel_flag = 0
  2011. GROUP BY
  2012. c.res_id,
  2013. a.bus_type,
  2014. c.area_id
  2015. ORDER BY
  2016. c.area_id
  2017. 2016-08-27 10:56:21 SELECT
  2018. a.prod_id,
  2019. a.prod_name,
  2020. a.bus_type,
  2021. b.type_id,
  2022. b.property
  2023. FROM
  2024. opera_product AS a,
  2025. opera_product_property AS b
  2026. WHERE
  2027. a.prod_id = b.prod_id
  2028. AND a.prod_type = 81
  2029. AND a.is_onsale = 1
  2030. AND a.cancel_flag = 0
  2031. GROUP BY
  2032. a.prod_id,
  2033. b.type_id
  2034. 2016-08-27 10:56:21 SELECT
  2035. a.prod_id,
  2036. a.ticket_mark,
  2037. a.parent_id,
  2038. b.type_id,
  2039. b.property,
  2040. c.prod_price,
  2041. c.cus_price
  2042. FROM
  2043. opera_product AS a,
  2044. opera_product_property AS b,
  2045. opera_product_price AS c
  2046. WHERE
  2047. a.prod_id = b.prod_id
  2048. AND a.prod_id = c.prod_id
  2049. AND a.prod_type = 82
  2050. AND a.is_onsale = 1
  2051. AND a.cancel_flag = 0
  2052. AND c.cancel_flag = 0
  2053. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  2054. GROUP BY
  2055. a.prod_id,
  2056. b.type_id
  2057. 2016-08-27 10:56:23 SELECT
  2058. c.area_id,
  2059. d.area_name,
  2060. a.bus_type,
  2061. c.res_id,
  2062. c.res_name,
  2063. e.parent_area_id_list
  2064. FROM
  2065. opera_product AS a,
  2066. opera_product_station AS b,
  2067. base_resource AS c,
  2068. base_area AS d,
  2069. base_area_view AS e
  2070. WHERE
  2071. a.prod_id = b.prod_id
  2072. AND b.res_id = c.res_id
  2073. AND c.area_id = d.id
  2074. AND d.id = e.area_id
  2075. AND a.prod_type = 81
  2076. AND a.cancel_flag = 0
  2077. GROUP BY
  2078. c.res_id,
  2079. a.bus_type,
  2080. c.area_id
  2081. ORDER BY
  2082. c.area_id
  2083. 2016-08-27 10:58:05 SELECT
  2084. a.prod_id,
  2085. a.prod_name,
  2086. a.bus_type,
  2087. b.type_id,
  2088. b.property
  2089. FROM
  2090. opera_product AS a,
  2091. opera_product_property AS b
  2092. WHERE
  2093. a.prod_id = b.prod_id
  2094. AND a.prod_type = 81
  2095. AND a.is_onsale = 1
  2096. AND a.cancel_flag = 0
  2097. GROUP BY
  2098. a.prod_id,
  2099. b.type_id
  2100. 2016-08-27 10:58:05 SELECT
  2101. a.prod_id,
  2102. a.ticket_mark,
  2103. a.parent_id,
  2104. b.type_id,
  2105. b.property,
  2106. c.prod_price,
  2107. c.cus_price
  2108. FROM
  2109. opera_product AS a,
  2110. opera_product_property AS b,
  2111. opera_product_price AS c
  2112. WHERE
  2113. a.prod_id = b.prod_id
  2114. AND a.prod_id = c.prod_id
  2115. AND a.prod_type = 82
  2116. AND a.is_onsale = 1
  2117. AND a.cancel_flag = 0
  2118. AND c.cancel_flag = 0
  2119. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  2120. GROUP BY
  2121. a.prod_id,
  2122. b.type_id
  2123. 2016-08-27 10:58:07 SELECT
  2124. c.area_id,
  2125. d.area_name,
  2126. a.bus_type,
  2127. c.res_id,
  2128. c.res_name,
  2129. e.parent_area_id_list
  2130. FROM
  2131. opera_product AS a,
  2132. opera_product_station AS b,
  2133. base_resource AS c,
  2134. base_area AS d,
  2135. base_area_view AS e
  2136. WHERE
  2137. a.prod_id = b.prod_id
  2138. AND b.res_id = c.res_id
  2139. AND c.area_id = d.id
  2140. AND d.id = e.area_id
  2141. AND a.prod_type = 81
  2142. AND a.cancel_flag = 0
  2143. GROUP BY
  2144. c.res_id,
  2145. a.bus_type,
  2146. c.area_id
  2147. ORDER BY
  2148. c.area_id
  2149. 2016-08-27 02:58:07 SELECT
  2150. a.run_id,
  2151. a.prod_id as line_id,
  2152. a.run_date,
  2153. b.start_time,
  2154. b.station_res_id
  2155. FROM
  2156. run_main as a,
  2157. run_station as b
  2158. WHERE
  2159. a.run_id = b.run_id
  2160. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  2161. AND a.run_date = '2016-08-27'
  2162. AND a.run_status = 138
  2163. AND b.station_inout_type in (108,109,110)
  2164. ORDER BY
  2165. a.run_id,
  2166. b.station_res_id
  2167. 2016-08-27 02:58:07 SELECT
  2168. run_id,
  2169. res_id,
  2170. seq_id,
  2171. prod_id,
  2172. total_count,
  2173. saled_count
  2174. FROM
  2175. run_stock
  2176. WHERE
  2177. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  2178. )
  2179. AND seat_type = 72
  2180. ORDER BY
  2181. run_id ASC,
  2182. seq_id ASC
  2183. 2016-08-27 02:58:07 SELECT
  2184. run_id,
  2185. prod_id as ticket_id
  2186. FROM
  2187. run_prod
  2188. WHERE
  2189. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  2190. AND cancel_flag = 0
  2191. 2016-08-27 11:17:12 SELECT
  2192. a.prod_id,
  2193. a.prod_name,
  2194. a.bus_type,
  2195. b.type_id,
  2196. b.property
  2197. FROM
  2198. opera_product AS a,
  2199. opera_product_property AS b
  2200. WHERE
  2201. a.prod_id = b.prod_id
  2202. AND a.prod_type = 81
  2203. AND a.is_onsale = 1
  2204. AND a.cancel_flag = 0
  2205. GROUP BY
  2206. a.prod_id,
  2207. b.type_id
  2208. 2016-08-27 11:17:12 SELECT
  2209. a.prod_id,
  2210. a.ticket_mark,
  2211. a.parent_id,
  2212. b.type_id,
  2213. b.property,
  2214. c.prod_price,
  2215. c.cus_price
  2216. FROM
  2217. opera_product AS a,
  2218. opera_product_property AS b,
  2219. opera_product_price AS c
  2220. WHERE
  2221. a.prod_id = b.prod_id
  2222. AND a.prod_id = c.prod_id
  2223. AND a.prod_type = 82
  2224. AND a.is_onsale = 1
  2225. AND a.cancel_flag = 0
  2226. AND c.cancel_flag = 0
  2227. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  2228. GROUP BY
  2229. a.prod_id,
  2230. b.type_id
  2231. 2016-08-27 11:17:13 SELECT
  2232. c.area_id,
  2233. d.area_name,
  2234. a.bus_type,
  2235. c.res_id,
  2236. c.res_name,
  2237. e.parent_area_id_list
  2238. FROM
  2239. opera_product AS a,
  2240. opera_product_station AS b,
  2241. base_resource AS c,
  2242. base_area AS d,
  2243. base_area_view AS e
  2244. WHERE
  2245. a.prod_id = b.prod_id
  2246. AND b.res_id = c.res_id
  2247. AND c.area_id = d.id
  2248. AND d.id = e.area_id
  2249. AND a.prod_type = 81
  2250. AND a.cancel_flag = 0
  2251. GROUP BY
  2252. c.res_id,
  2253. a.bus_type,
  2254. c.area_id
  2255. ORDER BY
  2256. c.area_id
  2257. 2016-08-27 11:17:22 SELECT
  2258. a.prod_id,
  2259. a.prod_name,
  2260. a.bus_type,
  2261. b.type_id,
  2262. b.property
  2263. FROM
  2264. opera_product AS a,
  2265. opera_product_property AS b
  2266. WHERE
  2267. a.prod_id = b.prod_id
  2268. AND a.prod_type = 81
  2269. AND a.is_onsale = 1
  2270. AND a.cancel_flag = 0
  2271. GROUP BY
  2272. a.prod_id,
  2273. b.type_id
  2274. 2016-08-27 11:17:22 SELECT
  2275. a.prod_id,
  2276. a.ticket_mark,
  2277. a.parent_id,
  2278. b.type_id,
  2279. b.property,
  2280. c.prod_price,
  2281. c.cus_price
  2282. FROM
  2283. opera_product AS a,
  2284. opera_product_property AS b,
  2285. opera_product_price AS c
  2286. WHERE
  2287. a.prod_id = b.prod_id
  2288. AND a.prod_id = c.prod_id
  2289. AND a.prod_type = 82
  2290. AND a.is_onsale = 1
  2291. AND a.cancel_flag = 0
  2292. AND c.cancel_flag = 0
  2293. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  2294. GROUP BY
  2295. a.prod_id,
  2296. b.type_id
  2297. 2016-08-27 11:17:24 SELECT
  2298. c.area_id,
  2299. d.area_name,
  2300. a.bus_type,
  2301. c.res_id,
  2302. c.res_name,
  2303. e.parent_area_id_list
  2304. FROM
  2305. opera_product AS a,
  2306. opera_product_station AS b,
  2307. base_resource AS c,
  2308. base_area AS d,
  2309. base_area_view AS e
  2310. WHERE
  2311. a.prod_id = b.prod_id
  2312. AND b.res_id = c.res_id
  2313. AND c.area_id = d.id
  2314. AND d.id = e.area_id
  2315. AND a.prod_type = 81
  2316. AND a.cancel_flag = 0
  2317. GROUP BY
  2318. c.res_id,
  2319. a.bus_type,
  2320. c.area_id
  2321. ORDER BY
  2322. c.area_id
  2323. 2016-08-27 11:23:05 SELECT
  2324. a.prod_id,
  2325. a.prod_name,
  2326. a.bus_type,
  2327. b.type_id,
  2328. b.property
  2329. FROM
  2330. opera_product AS a,
  2331. opera_product_property AS b
  2332. WHERE
  2333. a.prod_id = b.prod_id
  2334. AND a.prod_type = 81
  2335. AND a.is_onsale = 1
  2336. AND a.cancel_flag = 0
  2337. GROUP BY
  2338. a.prod_id,
  2339. b.type_id
  2340. 2016-08-27 11:23:06 SELECT
  2341. a.prod_id,
  2342. a.ticket_mark,
  2343. a.parent_id,
  2344. b.type_id,
  2345. b.property,
  2346. c.prod_price,
  2347. c.cus_price
  2348. FROM
  2349. opera_product AS a,
  2350. opera_product_property AS b,
  2351. opera_product_price AS c
  2352. WHERE
  2353. a.prod_id = b.prod_id
  2354. AND a.prod_id = c.prod_id
  2355. AND a.prod_type = 82
  2356. AND a.is_onsale = 1
  2357. AND a.cancel_flag = 0
  2358. AND c.cancel_flag = 0
  2359. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  2360. GROUP BY
  2361. a.prod_id,
  2362. b.type_id
  2363. 2016-08-27 11:23:07 SELECT
  2364. c.area_id,
  2365. d.area_name,
  2366. a.bus_type,
  2367. c.res_id,
  2368. c.res_name,
  2369. e.parent_area_id_list
  2370. FROM
  2371. opera_product AS a,
  2372. opera_product_station AS b,
  2373. base_resource AS c,
  2374. base_area AS d,
  2375. base_area_view AS e
  2376. WHERE
  2377. a.prod_id = b.prod_id
  2378. AND b.res_id = c.res_id
  2379. AND c.area_id = d.id
  2380. AND d.id = e.area_id
  2381. AND a.prod_type = 81
  2382. AND a.cancel_flag = 0
  2383. GROUP BY
  2384. c.res_id,
  2385. a.bus_type,
  2386. c.area_id
  2387. ORDER BY
  2388. c.area_id
  2389. 2016-08-27 03:23:07 SELECT
  2390. a.run_id,
  2391. a.prod_id as line_id,
  2392. a.run_date,
  2393. b.start_time,
  2394. b.station_res_id
  2395. FROM
  2396. run_main as a,
  2397. run_station as b
  2398. WHERE
  2399. a.run_id = b.run_id
  2400. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  2401. AND a.run_date = '2016-08-27'
  2402. AND a.run_status = 138
  2403. AND b.station_inout_type in (108,109,110)
  2404. ORDER BY
  2405. a.run_id,
  2406. b.station_res_id
  2407. 2016-08-27 03:23:07 SELECT
  2408. run_id,
  2409. res_id,
  2410. seq_id,
  2411. prod_id,
  2412. total_count,
  2413. saled_count
  2414. FROM
  2415. run_stock
  2416. WHERE
  2417. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  2418. )
  2419. AND seat_type = 72
  2420. ORDER BY
  2421. run_id ASC,
  2422. seq_id ASC
  2423. 2016-08-27 03:23:08 SELECT
  2424. run_id,
  2425. prod_id as ticket_id
  2426. FROM
  2427. run_prod
  2428. WHERE
  2429. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  2430. AND cancel_flag = 0
  2431. 2016-08-27 11:23:28 SELECT
  2432. a.prod_id,
  2433. a.prod_name,
  2434. a.bus_type,
  2435. b.type_id,
  2436. b.property
  2437. FROM
  2438. opera_product AS a,
  2439. opera_product_property AS b
  2440. WHERE
  2441. a.prod_id = b.prod_id
  2442. AND a.prod_type = 81
  2443. AND a.is_onsale = 1
  2444. AND a.cancel_flag = 0
  2445. GROUP BY
  2446. a.prod_id,
  2447. b.type_id
  2448. 2016-08-27 11:23:28 SELECT
  2449. a.prod_id,
  2450. a.ticket_mark,
  2451. a.parent_id,
  2452. b.type_id,
  2453. b.property,
  2454. c.prod_price,
  2455. c.cus_price
  2456. FROM
  2457. opera_product AS a,
  2458. opera_product_property AS b,
  2459. opera_product_price AS c
  2460. WHERE
  2461. a.prod_id = b.prod_id
  2462. AND a.prod_id = c.prod_id
  2463. AND a.prod_type = 82
  2464. AND a.is_onsale = 1
  2465. AND a.cancel_flag = 0
  2466. AND c.cancel_flag = 0
  2467. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  2468. GROUP BY
  2469. a.prod_id,
  2470. b.type_id
  2471. 2016-08-27 11:23:30 SELECT
  2472. c.area_id,
  2473. d.area_name,
  2474. a.bus_type,
  2475. c.res_id,
  2476. c.res_name,
  2477. e.parent_area_id_list
  2478. FROM
  2479. opera_product AS a,
  2480. opera_product_station AS b,
  2481. base_resource AS c,
  2482. base_area AS d,
  2483. base_area_view AS e
  2484. WHERE
  2485. a.prod_id = b.prod_id
  2486. AND b.res_id = c.res_id
  2487. AND c.area_id = d.id
  2488. AND d.id = e.area_id
  2489. AND a.prod_type = 81
  2490. AND a.cancel_flag = 0
  2491. GROUP BY
  2492. c.res_id,
  2493. a.bus_type,
  2494. c.area_id
  2495. ORDER BY
  2496. c.area_id
  2497. 2016-08-27 03:23:30 SELECT
  2498. a.run_id,
  2499. a.prod_id as line_id,
  2500. a.run_date,
  2501. b.start_time,
  2502. b.station_res_id
  2503. FROM
  2504. run_main as a,
  2505. run_station as b
  2506. WHERE
  2507. a.run_id = b.run_id
  2508. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  2509. AND a.run_date = '2016-08-27'
  2510. AND a.run_status = 138
  2511. AND b.station_inout_type in (108,109,110)
  2512. ORDER BY
  2513. a.run_id,
  2514. b.station_res_id
  2515. 2016-08-27 03:23:30 SELECT
  2516. run_id,
  2517. res_id,
  2518. seq_id,
  2519. prod_id,
  2520. total_count,
  2521. saled_count
  2522. FROM
  2523. run_stock
  2524. WHERE
  2525. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  2526. )
  2527. AND seat_type = 72
  2528. ORDER BY
  2529. run_id ASC,
  2530. seq_id ASC
  2531. 2016-08-27 03:23:30 SELECT
  2532. run_id,
  2533. prod_id as ticket_id
  2534. FROM
  2535. run_prod
  2536. WHERE
  2537. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  2538. AND cancel_flag = 0
  2539. 2016-08-27 11:58:50 SELECT
  2540. a.prod_id,
  2541. a.prod_name,
  2542. a.bus_type,
  2543. b.type_id,
  2544. b.property
  2545. FROM
  2546. opera_product AS a,
  2547. opera_product_property AS b
  2548. WHERE
  2549. a.prod_id = b.prod_id
  2550. AND a.prod_type = 81
  2551. AND a.is_onsale = 1
  2552. AND a.cancel_flag = 0
  2553. GROUP BY
  2554. a.prod_id,
  2555. b.type_id
  2556. 2016-08-27 11:58:50 SELECT
  2557. a.prod_id,
  2558. a.ticket_mark,
  2559. a.parent_id,
  2560. b.type_id,
  2561. b.property,
  2562. c.prod_price,
  2563. c.cus_price
  2564. FROM
  2565. opera_product AS a,
  2566. opera_product_property AS b,
  2567. opera_product_price AS c
  2568. WHERE
  2569. a.prod_id = b.prod_id
  2570. AND a.prod_id = c.prod_id
  2571. AND a.prod_type = 82
  2572. AND a.is_onsale = 1
  2573. AND a.cancel_flag = 0
  2574. AND c.cancel_flag = 0
  2575. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  2576. GROUP BY
  2577. a.prod_id,
  2578. b.type_id
  2579. 2016-08-27 11:58:52 SELECT
  2580. c.area_id,
  2581. d.area_name,
  2582. a.bus_type,
  2583. c.res_id,
  2584. c.res_name,
  2585. e.parent_area_id_list
  2586. FROM
  2587. opera_product AS a,
  2588. opera_product_station AS b,
  2589. base_resource AS c,
  2590. base_area AS d,
  2591. base_area_view AS e
  2592. WHERE
  2593. a.prod_id = b.prod_id
  2594. AND b.res_id = c.res_id
  2595. AND c.area_id = d.id
  2596. AND d.id = e.area_id
  2597. AND a.prod_type = 81
  2598. AND a.cancel_flag = 0
  2599. GROUP BY
  2600. c.res_id,
  2601. a.bus_type,
  2602. c.area_id
  2603. ORDER BY
  2604. c.area_id
  2605. 2016-08-27 03:58:52 SELECT
  2606. a.run_id,
  2607. a.prod_id as line_id,
  2608. a.run_date,
  2609. b.start_time,
  2610. b.station_res_id
  2611. FROM
  2612. run_main as a,
  2613. run_station as b
  2614. WHERE
  2615. a.run_id = b.run_id
  2616. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  2617. AND a.run_date = '2016-08-27'
  2618. AND a.run_status = 138
  2619. AND b.station_inout_type in (108,109,110)
  2620. ORDER BY
  2621. a.run_id,
  2622. b.station_res_id
  2623. 2016-08-27 03:58:52 SELECT
  2624. run_id,
  2625. res_id,
  2626. seq_id,
  2627. prod_id,
  2628. total_count,
  2629. saled_count
  2630. FROM
  2631. run_stock
  2632. WHERE
  2633. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  2634. )
  2635. AND seat_type = 72
  2636. ORDER BY
  2637. run_id ASC,
  2638. seq_id ASC
  2639. 2016-08-27 03:58:52 SELECT
  2640. run_id,
  2641. prod_id as ticket_id
  2642. FROM
  2643. run_prod
  2644. WHERE
  2645. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  2646. AND cancel_flag = 0
  2647. 2016-08-27 11:59:34 SELECT
  2648. a.prod_id,
  2649. a.prod_name,
  2650. a.bus_type,
  2651. b.type_id,
  2652. b.property
  2653. FROM
  2654. opera_product AS a,
  2655. opera_product_property AS b
  2656. WHERE
  2657. a.prod_id = b.prod_id
  2658. AND a.prod_type = 81
  2659. AND a.is_onsale = 1
  2660. AND a.cancel_flag = 0
  2661. GROUP BY
  2662. a.prod_id,
  2663. b.type_id
  2664. 2016-08-27 11:59:34 SELECT
  2665. a.prod_id,
  2666. a.ticket_mark,
  2667. a.parent_id,
  2668. b.type_id,
  2669. b.property,
  2670. c.prod_price,
  2671. c.cus_price
  2672. FROM
  2673. opera_product AS a,
  2674. opera_product_property AS b,
  2675. opera_product_price AS c
  2676. WHERE
  2677. a.prod_id = b.prod_id
  2678. AND a.prod_id = c.prod_id
  2679. AND a.prod_type = 82
  2680. AND a.is_onsale = 1
  2681. AND a.cancel_flag = 0
  2682. AND c.cancel_flag = 0
  2683. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  2684. GROUP BY
  2685. a.prod_id,
  2686. b.type_id
  2687. 2016-08-27 11:59:36 SELECT
  2688. c.area_id,
  2689. d.area_name,
  2690. a.bus_type,
  2691. c.res_id,
  2692. c.res_name,
  2693. e.parent_area_id_list
  2694. FROM
  2695. opera_product AS a,
  2696. opera_product_station AS b,
  2697. base_resource AS c,
  2698. base_area AS d,
  2699. base_area_view AS e
  2700. WHERE
  2701. a.prod_id = b.prod_id
  2702. AND b.res_id = c.res_id
  2703. AND c.area_id = d.id
  2704. AND d.id = e.area_id
  2705. AND a.prod_type = 81
  2706. AND a.cancel_flag = 0
  2707. GROUP BY
  2708. c.res_id,
  2709. a.bus_type,
  2710. c.area_id
  2711. ORDER BY
  2712. c.area_id
  2713. 2016-08-27 03:59:36 SELECT
  2714. a.run_id,
  2715. a.prod_id as line_id,
  2716. a.run_date,
  2717. b.start_time,
  2718. b.station_res_id
  2719. FROM
  2720. run_main as a,
  2721. run_station as b
  2722. WHERE
  2723. a.run_id = b.run_id
  2724. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  2725. AND a.run_date = '2016-08-27'
  2726. AND a.run_status = 138
  2727. AND b.station_inout_type in (108,109,110)
  2728. ORDER BY
  2729. a.run_id,
  2730. b.station_res_id
  2731. 2016-08-27 03:59:36 SELECT
  2732. run_id,
  2733. res_id,
  2734. seq_id,
  2735. prod_id,
  2736. total_count,
  2737. saled_count
  2738. FROM
  2739. run_stock
  2740. WHERE
  2741. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  2742. )
  2743. AND seat_type = 72
  2744. ORDER BY
  2745. run_id ASC,
  2746. seq_id ASC
  2747. 2016-08-27 03:59:36 SELECT
  2748. run_id,
  2749. prod_id as ticket_id
  2750. FROM
  2751. run_prod
  2752. WHERE
  2753. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  2754. AND cancel_flag = 0
  2755. 2016-08-27 12:01:42 SELECT
  2756. a.prod_id,
  2757. a.prod_name,
  2758. a.bus_type,
  2759. b.type_id,
  2760. b.property
  2761. FROM
  2762. opera_product AS a,
  2763. opera_product_property AS b
  2764. WHERE
  2765. a.prod_id = b.prod_id
  2766. AND a.prod_type = 81
  2767. AND a.is_onsale = 1
  2768. AND a.cancel_flag = 0
  2769. GROUP BY
  2770. a.prod_id,
  2771. b.type_id
  2772. 2016-08-27 12:01:42 SELECT
  2773. a.prod_id,
  2774. a.ticket_mark,
  2775. a.parent_id,
  2776. b.type_id,
  2777. b.property,
  2778. c.prod_price,
  2779. c.cus_price
  2780. FROM
  2781. opera_product AS a,
  2782. opera_product_property AS b,
  2783. opera_product_price AS c
  2784. WHERE
  2785. a.prod_id = b.prod_id
  2786. AND a.prod_id = c.prod_id
  2787. AND a.prod_type = 82
  2788. AND a.is_onsale = 1
  2789. AND a.cancel_flag = 0
  2790. AND c.cancel_flag = 0
  2791. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  2792. GROUP BY
  2793. a.prod_id,
  2794. b.type_id
  2795. 2016-08-27 12:01:44 SELECT
  2796. c.area_id,
  2797. d.area_name,
  2798. a.bus_type,
  2799. c.res_id,
  2800. c.res_name,
  2801. e.parent_area_id_list
  2802. FROM
  2803. opera_product AS a,
  2804. opera_product_station AS b,
  2805. base_resource AS c,
  2806. base_area AS d,
  2807. base_area_view AS e
  2808. WHERE
  2809. a.prod_id = b.prod_id
  2810. AND b.res_id = c.res_id
  2811. AND c.area_id = d.id
  2812. AND d.id = e.area_id
  2813. AND a.prod_type = 81
  2814. AND a.cancel_flag = 0
  2815. GROUP BY
  2816. c.res_id,
  2817. a.bus_type,
  2818. c.area_id
  2819. ORDER BY
  2820. c.area_id
  2821. 2016-08-27 04:01:44 SELECT
  2822. a.run_id,
  2823. a.prod_id as line_id,
  2824. a.run_date,
  2825. b.start_time,
  2826. b.station_res_id
  2827. FROM
  2828. run_main as a,
  2829. run_station as b
  2830. WHERE
  2831. a.run_id = b.run_id
  2832. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  2833. AND a.run_date = '2016-08-27'
  2834. AND a.run_status = 138
  2835. AND b.station_inout_type in (108,109,110)
  2836. ORDER BY
  2837. a.run_id,
  2838. b.station_res_id
  2839. 2016-08-27 04:01:44 SELECT
  2840. run_id,
  2841. res_id,
  2842. seq_id,
  2843. prod_id,
  2844. total_count,
  2845. saled_count
  2846. FROM
  2847. run_stock
  2848. WHERE
  2849. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  2850. )
  2851. AND seat_type = 72
  2852. ORDER BY
  2853. run_id ASC,
  2854. seq_id ASC
  2855. 2016-08-27 04:01:44 SELECT
  2856. run_id,
  2857. prod_id as ticket_id
  2858. FROM
  2859. run_prod
  2860. WHERE
  2861. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  2862. AND cancel_flag = 0
  2863. 2016-08-27 12:06:32 SELECT
  2864. a.prod_id,
  2865. a.prod_name,
  2866. a.bus_type,
  2867. b.type_id,
  2868. b.property
  2869. FROM
  2870. opera_product AS a,
  2871. opera_product_property AS b
  2872. WHERE
  2873. a.prod_id = b.prod_id
  2874. AND a.prod_type = 81
  2875. AND a.is_onsale = 1
  2876. AND a.cancel_flag = 0
  2877. GROUP BY
  2878. a.prod_id,
  2879. b.type_id
  2880. 2016-08-27 12:06:32 SELECT
  2881. a.prod_id,
  2882. a.ticket_mark,
  2883. a.parent_id,
  2884. b.type_id,
  2885. b.property,
  2886. c.prod_price,
  2887. c.cus_price
  2888. FROM
  2889. opera_product AS a,
  2890. opera_product_property AS b,
  2891. opera_product_price AS c
  2892. WHERE
  2893. a.prod_id = b.prod_id
  2894. AND a.prod_id = c.prod_id
  2895. AND a.prod_type = 82
  2896. AND a.is_onsale = 1
  2897. AND a.cancel_flag = 0
  2898. AND c.cancel_flag = 0
  2899. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  2900. GROUP BY
  2901. a.prod_id,
  2902. b.type_id
  2903. 2016-08-27 12:06:34 SELECT
  2904. c.area_id,
  2905. d.area_name,
  2906. a.bus_type,
  2907. c.res_id,
  2908. c.res_name,
  2909. e.parent_area_id_list
  2910. FROM
  2911. opera_product AS a,
  2912. opera_product_station AS b,
  2913. base_resource AS c,
  2914. base_area AS d,
  2915. base_area_view AS e
  2916. WHERE
  2917. a.prod_id = b.prod_id
  2918. AND b.res_id = c.res_id
  2919. AND c.area_id = d.id
  2920. AND d.id = e.area_id
  2921. AND a.prod_type = 81
  2922. AND a.cancel_flag = 0
  2923. GROUP BY
  2924. c.res_id,
  2925. a.bus_type,
  2926. c.area_id
  2927. ORDER BY
  2928. c.area_id
  2929. 2016-08-27 04:06:34 SELECT
  2930. a.run_id,
  2931. a.prod_id as line_id,
  2932. a.run_date,
  2933. b.start_time,
  2934. b.station_res_id
  2935. FROM
  2936. run_main as a,
  2937. run_station as b
  2938. WHERE
  2939. a.run_id = b.run_id
  2940. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  2941. AND a.run_date = '2016-08-27'
  2942. AND a.run_status = 138
  2943. AND b.station_inout_type in (108,109,110)
  2944. ORDER BY
  2945. a.run_id,
  2946. b.station_res_id
  2947. 2016-08-27 04:06:34 SELECT
  2948. run_id,
  2949. res_id,
  2950. seq_id,
  2951. prod_id,
  2952. total_count,
  2953. saled_count
  2954. FROM
  2955. run_stock
  2956. WHERE
  2957. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  2958. )
  2959. AND seat_type = 72
  2960. ORDER BY
  2961. run_id ASC,
  2962. seq_id ASC
  2963. 2016-08-27 04:06:34 SELECT
  2964. run_id,
  2965. prod_id as ticket_id
  2966. FROM
  2967. run_prod
  2968. WHERE
  2969. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  2970. AND cancel_flag = 0
  2971. 2016-08-27 12:07:07 SELECT
  2972. a.prod_id,
  2973. a.prod_name,
  2974. a.bus_type,
  2975. b.type_id,
  2976. b.property
  2977. FROM
  2978. opera_product AS a,
  2979. opera_product_property AS b
  2980. WHERE
  2981. a.prod_id = b.prod_id
  2982. AND a.prod_type = 81
  2983. AND a.is_onsale = 1
  2984. AND a.cancel_flag = 0
  2985. GROUP BY
  2986. a.prod_id,
  2987. b.type_id
  2988. 2016-08-27 12:07:07 SELECT
  2989. a.prod_id,
  2990. a.ticket_mark,
  2991. a.parent_id,
  2992. b.type_id,
  2993. b.property,
  2994. c.prod_price,
  2995. c.cus_price
  2996. FROM
  2997. opera_product AS a,
  2998. opera_product_property AS b,
  2999. opera_product_price AS c
  3000. WHERE
  3001. a.prod_id = b.prod_id
  3002. AND a.prod_id = c.prod_id
  3003. AND a.prod_type = 82
  3004. AND a.is_onsale = 1
  3005. AND a.cancel_flag = 0
  3006. AND c.cancel_flag = 0
  3007. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  3008. GROUP BY
  3009. a.prod_id,
  3010. b.type_id
  3011. 2016-08-27 12:07:09 SELECT
  3012. c.area_id,
  3013. d.area_name,
  3014. a.bus_type,
  3015. c.res_id,
  3016. c.res_name,
  3017. e.parent_area_id_list
  3018. FROM
  3019. opera_product AS a,
  3020. opera_product_station AS b,
  3021. base_resource AS c,
  3022. base_area AS d,
  3023. base_area_view AS e
  3024. WHERE
  3025. a.prod_id = b.prod_id
  3026. AND b.res_id = c.res_id
  3027. AND c.area_id = d.id
  3028. AND d.id = e.area_id
  3029. AND a.prod_type = 81
  3030. AND a.cancel_flag = 0
  3031. GROUP BY
  3032. c.res_id,
  3033. a.bus_type,
  3034. c.area_id
  3035. ORDER BY
  3036. c.area_id
  3037. 2016-08-27 04:07:09 SELECT
  3038. a.run_id,
  3039. a.prod_id as line_id,
  3040. a.run_date,
  3041. b.start_time,
  3042. b.station_res_id
  3043. FROM
  3044. run_main as a,
  3045. run_station as b
  3046. WHERE
  3047. a.run_id = b.run_id
  3048. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  3049. AND a.run_date = '2016-08-27'
  3050. AND a.run_status = 138
  3051. AND b.station_inout_type in (108,109,110)
  3052. ORDER BY
  3053. a.run_id,
  3054. b.station_res_id
  3055. 2016-08-27 04:07:09 SELECT
  3056. run_id,
  3057. res_id,
  3058. seq_id,
  3059. prod_id,
  3060. total_count,
  3061. saled_count
  3062. FROM
  3063. run_stock
  3064. WHERE
  3065. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  3066. )
  3067. AND seat_type = 72
  3068. ORDER BY
  3069. run_id ASC,
  3070. seq_id ASC
  3071. 2016-08-27 04:07:09 SELECT
  3072. run_id,
  3073. prod_id as ticket_id
  3074. FROM
  3075. run_prod
  3076. WHERE
  3077. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  3078. AND cancel_flag = 0
  3079. 2016-08-27 12:08:41 SELECT
  3080. a.prod_id,
  3081. a.prod_name,
  3082. a.bus_type,
  3083. b.type_id,
  3084. b.property
  3085. FROM
  3086. opera_product AS a,
  3087. opera_product_property AS b
  3088. WHERE
  3089. a.prod_id = b.prod_id
  3090. AND a.prod_type = 81
  3091. AND a.is_onsale = 1
  3092. AND a.cancel_flag = 0
  3093. GROUP BY
  3094. a.prod_id,
  3095. b.type_id
  3096. 2016-08-27 12:08:41 SELECT
  3097. a.prod_id,
  3098. a.ticket_mark,
  3099. a.parent_id,
  3100. b.type_id,
  3101. b.property,
  3102. c.prod_price,
  3103. c.cus_price
  3104. FROM
  3105. opera_product AS a,
  3106. opera_product_property AS b,
  3107. opera_product_price AS c
  3108. WHERE
  3109. a.prod_id = b.prod_id
  3110. AND a.prod_id = c.prod_id
  3111. AND a.prod_type = 82
  3112. AND a.is_onsale = 1
  3113. AND a.cancel_flag = 0
  3114. AND c.cancel_flag = 0
  3115. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  3116. GROUP BY
  3117. a.prod_id,
  3118. b.type_id
  3119. 2016-08-27 12:08:43 SELECT
  3120. c.area_id,
  3121. d.area_name,
  3122. a.bus_type,
  3123. c.res_id,
  3124. c.res_name,
  3125. e.parent_area_id_list
  3126. FROM
  3127. opera_product AS a,
  3128. opera_product_station AS b,
  3129. base_resource AS c,
  3130. base_area AS d,
  3131. base_area_view AS e
  3132. WHERE
  3133. a.prod_id = b.prod_id
  3134. AND b.res_id = c.res_id
  3135. AND c.area_id = d.id
  3136. AND d.id = e.area_id
  3137. AND a.prod_type = 81
  3138. AND a.cancel_flag = 0
  3139. GROUP BY
  3140. c.res_id,
  3141. a.bus_type,
  3142. c.area_id
  3143. ORDER BY
  3144. c.area_id
  3145. 2016-08-27 04:08:43 SELECT
  3146. a.run_id,
  3147. a.prod_id as line_id,
  3148. a.run_date,
  3149. b.start_time,
  3150. b.station_res_id
  3151. FROM
  3152. run_main as a,
  3153. run_station as b
  3154. WHERE
  3155. a.run_id = b.run_id
  3156. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  3157. AND a.run_date = '2016-08-27'
  3158. AND a.run_status = 138
  3159. AND b.station_inout_type in (108,109,110)
  3160. ORDER BY
  3161. a.run_id,
  3162. b.station_res_id
  3163. 2016-08-27 04:08:44 SELECT
  3164. run_id,
  3165. res_id,
  3166. seq_id,
  3167. prod_id,
  3168. total_count,
  3169. saled_count
  3170. FROM
  3171. run_stock
  3172. WHERE
  3173. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  3174. )
  3175. AND seat_type = 72
  3176. ORDER BY
  3177. run_id ASC,
  3178. seq_id ASC
  3179. 2016-08-27 04:08:44 SELECT
  3180. run_id,
  3181. prod_id as ticket_id
  3182. FROM
  3183. run_prod
  3184. WHERE
  3185. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  3186. AND cancel_flag = 0
  3187. 2016-08-27 12:10:08 SELECT
  3188. a.prod_id,
  3189. a.prod_name,
  3190. a.bus_type,
  3191. b.type_id,
  3192. b.property
  3193. FROM
  3194. opera_product AS a,
  3195. opera_product_property AS b
  3196. WHERE
  3197. a.prod_id = b.prod_id
  3198. AND a.prod_type = 81
  3199. AND a.is_onsale = 1
  3200. AND a.cancel_flag = 0
  3201. GROUP BY
  3202. a.prod_id,
  3203. b.type_id
  3204. 2016-08-27 12:10:08 SELECT
  3205. a.prod_id,
  3206. a.ticket_mark,
  3207. a.parent_id,
  3208. b.type_id,
  3209. b.property,
  3210. c.prod_price,
  3211. c.cus_price
  3212. FROM
  3213. opera_product AS a,
  3214. opera_product_property AS b,
  3215. opera_product_price AS c
  3216. WHERE
  3217. a.prod_id = b.prod_id
  3218. AND a.prod_id = c.prod_id
  3219. AND a.prod_type = 82
  3220. AND a.is_onsale = 1
  3221. AND a.cancel_flag = 0
  3222. AND c.cancel_flag = 0
  3223. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  3224. GROUP BY
  3225. a.prod_id,
  3226. b.type_id
  3227. 2016-08-27 12:10:10 SELECT
  3228. c.area_id,
  3229. d.area_name,
  3230. a.bus_type,
  3231. c.res_id,
  3232. c.res_name,
  3233. e.parent_area_id_list
  3234. FROM
  3235. opera_product AS a,
  3236. opera_product_station AS b,
  3237. base_resource AS c,
  3238. base_area AS d,
  3239. base_area_view AS e
  3240. WHERE
  3241. a.prod_id = b.prod_id
  3242. AND b.res_id = c.res_id
  3243. AND c.area_id = d.id
  3244. AND d.id = e.area_id
  3245. AND a.prod_type = 81
  3246. AND a.cancel_flag = 0
  3247. GROUP BY
  3248. c.res_id,
  3249. a.bus_type,
  3250. c.area_id
  3251. ORDER BY
  3252. c.area_id
  3253. 2016-08-27 04:10:10 SELECT
  3254. a.run_id,
  3255. a.prod_id as line_id,
  3256. a.run_date,
  3257. b.start_time,
  3258. b.station_res_id
  3259. FROM
  3260. run_main as a,
  3261. run_station as b
  3262. WHERE
  3263. a.run_id = b.run_id
  3264. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  3265. AND a.run_date = '2016-08-27'
  3266. AND a.run_status = 138
  3267. AND b.station_inout_type in (108,109,110)
  3268. ORDER BY
  3269. a.run_id,
  3270. b.station_res_id
  3271. 2016-08-27 04:10:10 SELECT
  3272. run_id,
  3273. res_id,
  3274. seq_id,
  3275. prod_id,
  3276. total_count,
  3277. saled_count
  3278. FROM
  3279. run_stock
  3280. WHERE
  3281. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  3282. )
  3283. AND seat_type = 72
  3284. ORDER BY
  3285. run_id ASC,
  3286. seq_id ASC
  3287. 2016-08-27 04:10:10 SELECT
  3288. run_id,
  3289. prod_id as ticket_id
  3290. FROM
  3291. run_prod
  3292. WHERE
  3293. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  3294. AND cancel_flag = 0
  3295. 2016-08-27 12:10:42 SELECT
  3296. a.prod_id,
  3297. a.prod_name,
  3298. a.bus_type,
  3299. b.type_id,
  3300. b.property
  3301. FROM
  3302. opera_product AS a,
  3303. opera_product_property AS b
  3304. WHERE
  3305. a.prod_id = b.prod_id
  3306. AND a.prod_type = 81
  3307. AND a.is_onsale = 1
  3308. AND a.cancel_flag = 0
  3309. GROUP BY
  3310. a.prod_id,
  3311. b.type_id
  3312. 2016-08-27 12:10:42 SELECT
  3313. a.prod_id,
  3314. a.ticket_mark,
  3315. a.parent_id,
  3316. b.type_id,
  3317. b.property,
  3318. c.prod_price,
  3319. c.cus_price
  3320. FROM
  3321. opera_product AS a,
  3322. opera_product_property AS b,
  3323. opera_product_price AS c
  3324. WHERE
  3325. a.prod_id = b.prod_id
  3326. AND a.prod_id = c.prod_id
  3327. AND a.prod_type = 82
  3328. AND a.is_onsale = 1
  3329. AND a.cancel_flag = 0
  3330. AND c.cancel_flag = 0
  3331. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  3332. GROUP BY
  3333. a.prod_id,
  3334. b.type_id
  3335. 2016-08-27 12:10:44 SELECT
  3336. c.area_id,
  3337. d.area_name,
  3338. a.bus_type,
  3339. c.res_id,
  3340. c.res_name,
  3341. e.parent_area_id_list
  3342. FROM
  3343. opera_product AS a,
  3344. opera_product_station AS b,
  3345. base_resource AS c,
  3346. base_area AS d,
  3347. base_area_view AS e
  3348. WHERE
  3349. a.prod_id = b.prod_id
  3350. AND b.res_id = c.res_id
  3351. AND c.area_id = d.id
  3352. AND d.id = e.area_id
  3353. AND a.prod_type = 81
  3354. AND a.cancel_flag = 0
  3355. GROUP BY
  3356. c.res_id,
  3357. a.bus_type,
  3358. c.area_id
  3359. ORDER BY
  3360. c.area_id
  3361. 2016-08-27 04:10:44 SELECT
  3362. a.run_id,
  3363. a.prod_id as line_id,
  3364. a.run_date,
  3365. b.start_time,
  3366. b.station_res_id
  3367. FROM
  3368. run_main as a,
  3369. run_station as b
  3370. WHERE
  3371. a.run_id = b.run_id
  3372. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  3373. AND a.run_date = '2016-08-27'
  3374. AND a.run_status = 138
  3375. AND b.station_inout_type in (108,109,110)
  3376. ORDER BY
  3377. a.run_id,
  3378. b.station_res_id
  3379. 2016-08-27 04:10:45 SELECT
  3380. run_id,
  3381. res_id,
  3382. seq_id,
  3383. prod_id,
  3384. total_count,
  3385. saled_count
  3386. FROM
  3387. run_stock
  3388. WHERE
  3389. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  3390. )
  3391. AND seat_type = 72
  3392. ORDER BY
  3393. run_id ASC,
  3394. seq_id ASC
  3395. 2016-08-27 04:10:45 SELECT
  3396. run_id,
  3397. prod_id as ticket_id
  3398. FROM
  3399. run_prod
  3400. WHERE
  3401. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  3402. AND cancel_flag = 0
  3403. 2016-08-27 12:12:07 SELECT
  3404. a.prod_id,
  3405. a.prod_name,
  3406. a.bus_type,
  3407. b.type_id,
  3408. b.property
  3409. FROM
  3410. opera_product AS a,
  3411. opera_product_property AS b
  3412. WHERE
  3413. a.prod_id = b.prod_id
  3414. AND a.prod_type = 81
  3415. AND a.is_onsale = 1
  3416. AND a.cancel_flag = 0
  3417. GROUP BY
  3418. a.prod_id,
  3419. b.type_id
  3420. 2016-08-27 12:12:07 SELECT
  3421. a.prod_id,
  3422. a.ticket_mark,
  3423. a.parent_id,
  3424. b.type_id,
  3425. b.property,
  3426. c.prod_price,
  3427. c.cus_price
  3428. FROM
  3429. opera_product AS a,
  3430. opera_product_property AS b,
  3431. opera_product_price AS c
  3432. WHERE
  3433. a.prod_id = b.prod_id
  3434. AND a.prod_id = c.prod_id
  3435. AND a.prod_type = 82
  3436. AND a.is_onsale = 1
  3437. AND a.cancel_flag = 0
  3438. AND c.cancel_flag = 0
  3439. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  3440. GROUP BY
  3441. a.prod_id,
  3442. b.type_id
  3443. 2016-08-27 12:12:09 SELECT
  3444. c.area_id,
  3445. d.area_name,
  3446. a.bus_type,
  3447. c.res_id,
  3448. c.res_name,
  3449. e.parent_area_id_list
  3450. FROM
  3451. opera_product AS a,
  3452. opera_product_station AS b,
  3453. base_resource AS c,
  3454. base_area AS d,
  3455. base_area_view AS e
  3456. WHERE
  3457. a.prod_id = b.prod_id
  3458. AND b.res_id = c.res_id
  3459. AND c.area_id = d.id
  3460. AND d.id = e.area_id
  3461. AND a.prod_type = 81
  3462. AND a.cancel_flag = 0
  3463. GROUP BY
  3464. c.res_id,
  3465. a.bus_type,
  3466. c.area_id
  3467. ORDER BY
  3468. c.area_id
  3469. 2016-08-27 04:12:09 SELECT
  3470. a.run_id,
  3471. a.prod_id as line_id,
  3472. a.run_date,
  3473. b.start_time,
  3474. b.station_res_id
  3475. FROM
  3476. run_main as a,
  3477. run_station as b
  3478. WHERE
  3479. a.run_id = b.run_id
  3480. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  3481. AND a.run_date = '2016-08-27'
  3482. AND a.run_status = 138
  3483. AND b.station_inout_type in (108,109,110)
  3484. ORDER BY
  3485. a.run_id,
  3486. b.station_res_id
  3487. 2016-08-27 04:12:09 SELECT
  3488. run_id,
  3489. res_id,
  3490. seq_id,
  3491. prod_id,
  3492. total_count,
  3493. saled_count
  3494. FROM
  3495. run_stock
  3496. WHERE
  3497. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  3498. )
  3499. AND seat_type = 72
  3500. ORDER BY
  3501. run_id ASC,
  3502. seq_id ASC
  3503. 2016-08-27 04:12:09 SELECT
  3504. run_id,
  3505. prod_id as ticket_id
  3506. FROM
  3507. run_prod
  3508. WHERE
  3509. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  3510. AND cancel_flag = 0
  3511. 2016-08-27 12:12:42 SELECT
  3512. a.prod_id,
  3513. a.prod_name,
  3514. a.bus_type,
  3515. b.type_id,
  3516. b.property
  3517. FROM
  3518. opera_product AS a,
  3519. opera_product_property AS b
  3520. WHERE
  3521. a.prod_id = b.prod_id
  3522. AND a.prod_type = 81
  3523. AND a.is_onsale = 1
  3524. AND a.cancel_flag = 0
  3525. GROUP BY
  3526. a.prod_id,
  3527. b.type_id
  3528. 2016-08-27 12:12:42 SELECT
  3529. a.prod_id,
  3530. a.ticket_mark,
  3531. a.parent_id,
  3532. b.type_id,
  3533. b.property,
  3534. c.prod_price,
  3535. c.cus_price
  3536. FROM
  3537. opera_product AS a,
  3538. opera_product_property AS b,
  3539. opera_product_price AS c
  3540. WHERE
  3541. a.prod_id = b.prod_id
  3542. AND a.prod_id = c.prod_id
  3543. AND a.prod_type = 82
  3544. AND a.is_onsale = 1
  3545. AND a.cancel_flag = 0
  3546. AND c.cancel_flag = 0
  3547. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  3548. GROUP BY
  3549. a.prod_id,
  3550. b.type_id
  3551. 2016-08-27 12:12:44 SELECT
  3552. c.area_id,
  3553. d.area_name,
  3554. a.bus_type,
  3555. c.res_id,
  3556. c.res_name,
  3557. e.parent_area_id_list
  3558. FROM
  3559. opera_product AS a,
  3560. opera_product_station AS b,
  3561. base_resource AS c,
  3562. base_area AS d,
  3563. base_area_view AS e
  3564. WHERE
  3565. a.prod_id = b.prod_id
  3566. AND b.res_id = c.res_id
  3567. AND c.area_id = d.id
  3568. AND d.id = e.area_id
  3569. AND a.prod_type = 81
  3570. AND a.cancel_flag = 0
  3571. GROUP BY
  3572. c.res_id,
  3573. a.bus_type,
  3574. c.area_id
  3575. ORDER BY
  3576. c.area_id
  3577. 2016-08-27 04:12:44 SELECT
  3578. a.run_id,
  3579. a.prod_id as line_id,
  3580. a.run_date,
  3581. b.start_time,
  3582. b.station_res_id
  3583. FROM
  3584. run_main as a,
  3585. run_station as b
  3586. WHERE
  3587. a.run_id = b.run_id
  3588. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  3589. AND a.run_date = '2016-08-27'
  3590. AND a.run_status = 138
  3591. AND b.station_inout_type in (108,109,110)
  3592. ORDER BY
  3593. a.run_id,
  3594. b.station_res_id
  3595. 2016-08-27 04:12:44 SELECT
  3596. run_id,
  3597. res_id,
  3598. seq_id,
  3599. prod_id,
  3600. total_count,
  3601. saled_count
  3602. FROM
  3603. run_stock
  3604. WHERE
  3605. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  3606. )
  3607. AND seat_type = 72
  3608. ORDER BY
  3609. run_id ASC,
  3610. seq_id ASC
  3611. 2016-08-27 04:12:45 SELECT
  3612. run_id,
  3613. prod_id as ticket_id
  3614. FROM
  3615. run_prod
  3616. WHERE
  3617. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  3618. AND cancel_flag = 0
  3619. 2016-08-27 12:15:06 SELECT
  3620. a.prod_id,
  3621. a.prod_name,
  3622. a.bus_type,
  3623. b.type_id,
  3624. b.property
  3625. FROM
  3626. opera_product AS a,
  3627. opera_product_property AS b
  3628. WHERE
  3629. a.prod_id = b.prod_id
  3630. AND a.prod_type = 81
  3631. AND a.is_onsale = 1
  3632. AND a.cancel_flag = 0
  3633. GROUP BY
  3634. a.prod_id,
  3635. b.type_id
  3636. 2016-08-27 12:15:06 SELECT
  3637. a.prod_id,
  3638. a.ticket_mark,
  3639. a.parent_id,
  3640. b.type_id,
  3641. b.property,
  3642. c.prod_price,
  3643. c.cus_price
  3644. FROM
  3645. opera_product AS a,
  3646. opera_product_property AS b,
  3647. opera_product_price AS c
  3648. WHERE
  3649. a.prod_id = b.prod_id
  3650. AND a.prod_id = c.prod_id
  3651. AND a.prod_type = 82
  3652. AND a.is_onsale = 1
  3653. AND a.cancel_flag = 0
  3654. AND c.cancel_flag = 0
  3655. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  3656. GROUP BY
  3657. a.prod_id,
  3658. b.type_id
  3659. 2016-08-27 12:15:08 SELECT
  3660. c.area_id,
  3661. d.area_name,
  3662. a.bus_type,
  3663. c.res_id,
  3664. c.res_name,
  3665. e.parent_area_id_list
  3666. FROM
  3667. opera_product AS a,
  3668. opera_product_station AS b,
  3669. base_resource AS c,
  3670. base_area AS d,
  3671. base_area_view AS e
  3672. WHERE
  3673. a.prod_id = b.prod_id
  3674. AND b.res_id = c.res_id
  3675. AND c.area_id = d.id
  3676. AND d.id = e.area_id
  3677. AND a.prod_type = 81
  3678. AND a.cancel_flag = 0
  3679. GROUP BY
  3680. c.res_id,
  3681. a.bus_type,
  3682. c.area_id
  3683. ORDER BY
  3684. c.area_id
  3685. 2016-08-27 04:15:08 SELECT
  3686. a.run_id,
  3687. a.prod_id as line_id,
  3688. a.run_date,
  3689. b.start_time,
  3690. b.station_res_id
  3691. FROM
  3692. run_main as a,
  3693. run_station as b
  3694. WHERE
  3695. a.run_id = b.run_id
  3696. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  3697. AND a.run_date = '2016-08-27'
  3698. AND a.run_status = 138
  3699. AND b.station_inout_type in (108,109,110)
  3700. ORDER BY
  3701. a.run_id,
  3702. b.station_res_id
  3703. 2016-08-27 04:15:08 SELECT
  3704. run_id,
  3705. res_id,
  3706. seq_id,
  3707. prod_id,
  3708. total_count,
  3709. saled_count
  3710. FROM
  3711. run_stock
  3712. WHERE
  3713. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  3714. )
  3715. AND seat_type = 72
  3716. ORDER BY
  3717. run_id ASC,
  3718. seq_id ASC
  3719. 2016-08-27 04:15:08 SELECT
  3720. run_id,
  3721. prod_id as ticket_id
  3722. FROM
  3723. run_prod
  3724. WHERE
  3725. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  3726. AND cancel_flag = 0
  3727. 2016-08-27 12:15:36 SELECT
  3728. a.prod_id,
  3729. a.prod_name,
  3730. a.bus_type,
  3731. b.type_id,
  3732. b.property
  3733. FROM
  3734. opera_product AS a,
  3735. opera_product_property AS b
  3736. WHERE
  3737. a.prod_id = b.prod_id
  3738. AND a.prod_type = 81
  3739. AND a.is_onsale = 1
  3740. AND a.cancel_flag = 0
  3741. GROUP BY
  3742. a.prod_id,
  3743. b.type_id
  3744. 2016-08-27 12:15:36 SELECT
  3745. a.prod_id,
  3746. a.ticket_mark,
  3747. a.parent_id,
  3748. b.type_id,
  3749. b.property,
  3750. c.prod_price,
  3751. c.cus_price
  3752. FROM
  3753. opera_product AS a,
  3754. opera_product_property AS b,
  3755. opera_product_price AS c
  3756. WHERE
  3757. a.prod_id = b.prod_id
  3758. AND a.prod_id = c.prod_id
  3759. AND a.prod_type = 82
  3760. AND a.is_onsale = 1
  3761. AND a.cancel_flag = 0
  3762. AND c.cancel_flag = 0
  3763. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  3764. GROUP BY
  3765. a.prod_id,
  3766. b.type_id
  3767. 2016-08-27 12:15:38 SELECT
  3768. c.area_id,
  3769. d.area_name,
  3770. a.bus_type,
  3771. c.res_id,
  3772. c.res_name,
  3773. e.parent_area_id_list
  3774. FROM
  3775. opera_product AS a,
  3776. opera_product_station AS b,
  3777. base_resource AS c,
  3778. base_area AS d,
  3779. base_area_view AS e
  3780. WHERE
  3781. a.prod_id = b.prod_id
  3782. AND b.res_id = c.res_id
  3783. AND c.area_id = d.id
  3784. AND d.id = e.area_id
  3785. AND a.prod_type = 81
  3786. AND a.cancel_flag = 0
  3787. GROUP BY
  3788. c.res_id,
  3789. a.bus_type,
  3790. c.area_id
  3791. ORDER BY
  3792. c.area_id
  3793. 2016-08-27 04:15:38 SELECT
  3794. a.run_id,
  3795. a.prod_id as line_id,
  3796. a.run_date,
  3797. b.start_time,
  3798. b.station_res_id
  3799. FROM
  3800. run_main as a,
  3801. run_station as b
  3802. WHERE
  3803. a.run_id = b.run_id
  3804. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  3805. AND a.run_date = '2016-08-27'
  3806. AND a.run_status = 138
  3807. AND b.station_inout_type in (108,109,110)
  3808. ORDER BY
  3809. a.run_id,
  3810. b.station_res_id
  3811. 2016-08-27 04:15:38 SELECT
  3812. run_id,
  3813. res_id,
  3814. seq_id,
  3815. prod_id,
  3816. total_count,
  3817. saled_count
  3818. FROM
  3819. run_stock
  3820. WHERE
  3821. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  3822. )
  3823. AND seat_type = 72
  3824. ORDER BY
  3825. run_id ASC,
  3826. seq_id ASC
  3827. 2016-08-27 04:15:38 SELECT
  3828. run_id,
  3829. prod_id as ticket_id
  3830. FROM
  3831. run_prod
  3832. WHERE
  3833. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  3834. AND cancel_flag = 0
  3835. 2016-08-27 12:16:27 SELECT
  3836. a.prod_id,
  3837. a.prod_name,
  3838. a.bus_type,
  3839. b.type_id,
  3840. b.property
  3841. FROM
  3842. opera_product AS a,
  3843. opera_product_property AS b
  3844. WHERE
  3845. a.prod_id = b.prod_id
  3846. AND a.prod_type = 81
  3847. AND a.is_onsale = 1
  3848. AND a.cancel_flag = 0
  3849. GROUP BY
  3850. a.prod_id,
  3851. b.type_id
  3852. 2016-08-27 12:16:27 SELECT
  3853. a.prod_id,
  3854. a.ticket_mark,
  3855. a.parent_id,
  3856. b.type_id,
  3857. b.property,
  3858. c.prod_price,
  3859. c.cus_price
  3860. FROM
  3861. opera_product AS a,
  3862. opera_product_property AS b,
  3863. opera_product_price AS c
  3864. WHERE
  3865. a.prod_id = b.prod_id
  3866. AND a.prod_id = c.prod_id
  3867. AND a.prod_type = 82
  3868. AND a.is_onsale = 1
  3869. AND a.cancel_flag = 0
  3870. AND c.cancel_flag = 0
  3871. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  3872. GROUP BY
  3873. a.prod_id,
  3874. b.type_id
  3875. 2016-08-27 12:16:29 SELECT
  3876. c.area_id,
  3877. d.area_name,
  3878. a.bus_type,
  3879. c.res_id,
  3880. c.res_name,
  3881. e.parent_area_id_list
  3882. FROM
  3883. opera_product AS a,
  3884. opera_product_station AS b,
  3885. base_resource AS c,
  3886. base_area AS d,
  3887. base_area_view AS e
  3888. WHERE
  3889. a.prod_id = b.prod_id
  3890. AND b.res_id = c.res_id
  3891. AND c.area_id = d.id
  3892. AND d.id = e.area_id
  3893. AND a.prod_type = 81
  3894. AND a.cancel_flag = 0
  3895. GROUP BY
  3896. c.res_id,
  3897. a.bus_type,
  3898. c.area_id
  3899. ORDER BY
  3900. c.area_id
  3901. 2016-08-27 04:16:29 SELECT
  3902. a.run_id,
  3903. a.prod_id as line_id,
  3904. a.run_date,
  3905. b.start_time,
  3906. b.station_res_id
  3907. FROM
  3908. run_main as a,
  3909. run_station as b
  3910. WHERE
  3911. a.run_id = b.run_id
  3912. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  3913. AND a.run_date = '2016-08-27'
  3914. AND a.run_status = 138
  3915. AND b.station_inout_type in (108,109,110)
  3916. ORDER BY
  3917. a.run_id,
  3918. b.station_res_id
  3919. 2016-08-27 04:16:29 SELECT
  3920. run_id,
  3921. res_id,
  3922. seq_id,
  3923. prod_id,
  3924. total_count,
  3925. saled_count
  3926. FROM
  3927. run_stock
  3928. WHERE
  3929. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  3930. )
  3931. AND seat_type = 72
  3932. ORDER BY
  3933. run_id ASC,
  3934. seq_id ASC
  3935. 2016-08-27 04:16:29 SELECT
  3936. run_id,
  3937. prod_id as ticket_id
  3938. FROM
  3939. run_prod
  3940. WHERE
  3941. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  3942. AND cancel_flag = 0
  3943. 2016-08-27 12:18:26 SELECT
  3944. a.prod_id,
  3945. a.prod_name,
  3946. a.bus_type,
  3947. b.type_id,
  3948. b.property
  3949. FROM
  3950. opera_product AS a,
  3951. opera_product_property AS b
  3952. WHERE
  3953. a.prod_id = b.prod_id
  3954. AND a.prod_type = 81
  3955. AND a.is_onsale = 1
  3956. AND a.cancel_flag = 0
  3957. GROUP BY
  3958. a.prod_id,
  3959. b.type_id
  3960. 2016-08-27 12:18:26 SELECT
  3961. a.prod_id,
  3962. a.ticket_mark,
  3963. a.parent_id,
  3964. b.type_id,
  3965. b.property,
  3966. c.prod_price,
  3967. c.cus_price
  3968. FROM
  3969. opera_product AS a,
  3970. opera_product_property AS b,
  3971. opera_product_price AS c
  3972. WHERE
  3973. a.prod_id = b.prod_id
  3974. AND a.prod_id = c.prod_id
  3975. AND a.prod_type = 82
  3976. AND a.is_onsale = 1
  3977. AND a.cancel_flag = 0
  3978. AND c.cancel_flag = 0
  3979. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  3980. GROUP BY
  3981. a.prod_id,
  3982. b.type_id
  3983. 2016-08-27 12:18:28 SELECT
  3984. c.area_id,
  3985. d.area_name,
  3986. a.bus_type,
  3987. c.res_id,
  3988. c.res_name,
  3989. e.parent_area_id_list
  3990. FROM
  3991. opera_product AS a,
  3992. opera_product_station AS b,
  3993. base_resource AS c,
  3994. base_area AS d,
  3995. base_area_view AS e
  3996. WHERE
  3997. a.prod_id = b.prod_id
  3998. AND b.res_id = c.res_id
  3999. AND c.area_id = d.id
  4000. AND d.id = e.area_id
  4001. AND a.prod_type = 81
  4002. AND a.cancel_flag = 0
  4003. GROUP BY
  4004. c.res_id,
  4005. a.bus_type,
  4006. c.area_id
  4007. ORDER BY
  4008. c.area_id
  4009. 2016-08-27 04:18:28 SELECT
  4010. a.run_id,
  4011. a.prod_id as line_id,
  4012. a.run_date,
  4013. b.start_time,
  4014. b.station_res_id
  4015. FROM
  4016. run_main as a,
  4017. run_station as b
  4018. WHERE
  4019. a.run_id = b.run_id
  4020. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  4021. AND a.run_date = '2016-08-27'
  4022. AND a.run_status = 138
  4023. AND b.station_inout_type in (108,109,110)
  4024. ORDER BY
  4025. a.run_id,
  4026. b.station_res_id
  4027. 2016-08-27 04:18:28 SELECT
  4028. run_id,
  4029. res_id,
  4030. seq_id,
  4031. prod_id,
  4032. total_count,
  4033. saled_count
  4034. FROM
  4035. run_stock
  4036. WHERE
  4037. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  4038. )
  4039. AND seat_type = 72
  4040. ORDER BY
  4041. run_id ASC,
  4042. seq_id ASC
  4043. 2016-08-27 04:18:28 SELECT
  4044. run_id,
  4045. prod_id as ticket_id
  4046. FROM
  4047. run_prod
  4048. WHERE
  4049. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  4050. AND cancel_flag = 0
  4051. 2016-08-27 12:20:43 SELECT
  4052. a.prod_id,
  4053. a.prod_name,
  4054. a.bus_type,
  4055. b.type_id,
  4056. b.property
  4057. FROM
  4058. opera_product AS a,
  4059. opera_product_property AS b
  4060. WHERE
  4061. a.prod_id = b.prod_id
  4062. AND a.prod_type = 81
  4063. AND a.is_onsale = 1
  4064. AND a.cancel_flag = 0
  4065. GROUP BY
  4066. a.prod_id,
  4067. b.type_id
  4068. 2016-08-27 12:20:44 SELECT
  4069. a.prod_id,
  4070. a.ticket_mark,
  4071. a.parent_id,
  4072. b.type_id,
  4073. b.property,
  4074. c.prod_price,
  4075. c.cus_price
  4076. FROM
  4077. opera_product AS a,
  4078. opera_product_property AS b,
  4079. opera_product_price AS c
  4080. WHERE
  4081. a.prod_id = b.prod_id
  4082. AND a.prod_id = c.prod_id
  4083. AND a.prod_type = 82
  4084. AND a.is_onsale = 1
  4085. AND a.cancel_flag = 0
  4086. AND c.cancel_flag = 0
  4087. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  4088. GROUP BY
  4089. a.prod_id,
  4090. b.type_id
  4091. 2016-08-27 12:20:45 SELECT
  4092. c.area_id,
  4093. d.area_name,
  4094. a.bus_type,
  4095. c.res_id,
  4096. c.res_name,
  4097. e.parent_area_id_list
  4098. FROM
  4099. opera_product AS a,
  4100. opera_product_station AS b,
  4101. base_resource AS c,
  4102. base_area AS d,
  4103. base_area_view AS e
  4104. WHERE
  4105. a.prod_id = b.prod_id
  4106. AND b.res_id = c.res_id
  4107. AND c.area_id = d.id
  4108. AND d.id = e.area_id
  4109. AND a.prod_type = 81
  4110. AND a.cancel_flag = 0
  4111. GROUP BY
  4112. c.res_id,
  4113. a.bus_type,
  4114. c.area_id
  4115. ORDER BY
  4116. c.area_id
  4117. 2016-08-27 04:20:46 SELECT
  4118. a.run_id,
  4119. a.prod_id as line_id,
  4120. a.run_date,
  4121. b.start_time,
  4122. b.station_res_id
  4123. FROM
  4124. run_main as a,
  4125. run_station as b
  4126. WHERE
  4127. a.run_id = b.run_id
  4128. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  4129. AND a.run_date = '2016-08-27'
  4130. AND a.run_status = 138
  4131. AND b.station_inout_type in (108,109,110)
  4132. ORDER BY
  4133. a.run_id,
  4134. b.station_res_id
  4135. 2016-08-27 04:20:46 SELECT
  4136. run_id,
  4137. res_id,
  4138. seq_id,
  4139. prod_id,
  4140. total_count,
  4141. saled_count
  4142. FROM
  4143. run_stock
  4144. WHERE
  4145. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  4146. )
  4147. AND seat_type = 72
  4148. ORDER BY
  4149. run_id ASC,
  4150. seq_id ASC
  4151. 2016-08-27 04:20:46 SELECT
  4152. run_id,
  4153. prod_id as ticket_id
  4154. FROM
  4155. run_prod
  4156. WHERE
  4157. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  4158. AND cancel_flag = 0
  4159. 2016-08-27 12:21:24 SELECT
  4160. a.prod_id,
  4161. a.prod_name,
  4162. a.bus_type,
  4163. b.type_id,
  4164. b.property
  4165. FROM
  4166. opera_product AS a,
  4167. opera_product_property AS b
  4168. WHERE
  4169. a.prod_id = b.prod_id
  4170. AND a.prod_type = 81
  4171. AND a.is_onsale = 1
  4172. AND a.cancel_flag = 0
  4173. GROUP BY
  4174. a.prod_id,
  4175. b.type_id
  4176. 2016-08-27 12:21:24 SELECT
  4177. a.prod_id,
  4178. a.ticket_mark,
  4179. a.parent_id,
  4180. b.type_id,
  4181. b.property,
  4182. c.prod_price,
  4183. c.cus_price
  4184. FROM
  4185. opera_product AS a,
  4186. opera_product_property AS b,
  4187. opera_product_price AS c
  4188. WHERE
  4189. a.prod_id = b.prod_id
  4190. AND a.prod_id = c.prod_id
  4191. AND a.prod_type = 82
  4192. AND a.is_onsale = 1
  4193. AND a.cancel_flag = 0
  4194. AND c.cancel_flag = 0
  4195. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  4196. GROUP BY
  4197. a.prod_id,
  4198. b.type_id
  4199. 2016-08-27 12:21:26 SELECT
  4200. c.area_id,
  4201. d.area_name,
  4202. a.bus_type,
  4203. c.res_id,
  4204. c.res_name,
  4205. e.parent_area_id_list
  4206. FROM
  4207. opera_product AS a,
  4208. opera_product_station AS b,
  4209. base_resource AS c,
  4210. base_area AS d,
  4211. base_area_view AS e
  4212. WHERE
  4213. a.prod_id = b.prod_id
  4214. AND b.res_id = c.res_id
  4215. AND c.area_id = d.id
  4216. AND d.id = e.area_id
  4217. AND a.prod_type = 81
  4218. AND a.cancel_flag = 0
  4219. GROUP BY
  4220. c.res_id,
  4221. a.bus_type,
  4222. c.area_id
  4223. ORDER BY
  4224. c.area_id
  4225. 2016-08-27 04:21:26 SELECT
  4226. a.run_id,
  4227. a.prod_id as line_id,
  4228. a.run_date,
  4229. b.start_time,
  4230. b.station_res_id
  4231. FROM
  4232. run_main as a,
  4233. run_station as b
  4234. WHERE
  4235. a.run_id = b.run_id
  4236. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  4237. AND a.run_date = '2016-08-27'
  4238. AND a.run_status = 138
  4239. AND b.station_inout_type in (108,109,110)
  4240. ORDER BY
  4241. a.run_id,
  4242. b.station_res_id
  4243. 2016-08-27 04:21:26 SELECT
  4244. run_id,
  4245. res_id,
  4246. seq_id,
  4247. prod_id,
  4248. total_count,
  4249. saled_count
  4250. FROM
  4251. run_stock
  4252. WHERE
  4253. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  4254. )
  4255. AND seat_type = 72
  4256. ORDER BY
  4257. run_id ASC,
  4258. seq_id ASC
  4259. 2016-08-27 04:21:26 SELECT
  4260. run_id,
  4261. prod_id as ticket_id
  4262. FROM
  4263. run_prod
  4264. WHERE
  4265. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  4266. AND cancel_flag = 0
  4267. 2016-08-27 12:21:58 SELECT
  4268. a.prod_id,
  4269. a.prod_name,
  4270. a.bus_type,
  4271. b.type_id,
  4272. b.property
  4273. FROM
  4274. opera_product AS a,
  4275. opera_product_property AS b
  4276. WHERE
  4277. a.prod_id = b.prod_id
  4278. AND a.prod_type = 81
  4279. AND a.is_onsale = 1
  4280. AND a.cancel_flag = 0
  4281. GROUP BY
  4282. a.prod_id,
  4283. b.type_id
  4284. 2016-08-27 12:21:58 SELECT
  4285. a.prod_id,
  4286. a.ticket_mark,
  4287. a.parent_id,
  4288. b.type_id,
  4289. b.property,
  4290. c.prod_price,
  4291. c.cus_price
  4292. FROM
  4293. opera_product AS a,
  4294. opera_product_property AS b,
  4295. opera_product_price AS c
  4296. WHERE
  4297. a.prod_id = b.prod_id
  4298. AND a.prod_id = c.prod_id
  4299. AND a.prod_type = 82
  4300. AND a.is_onsale = 1
  4301. AND a.cancel_flag = 0
  4302. AND c.cancel_flag = 0
  4303. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  4304. GROUP BY
  4305. a.prod_id,
  4306. b.type_id
  4307. 2016-08-27 12:22:00 SELECT
  4308. c.area_id,
  4309. d.area_name,
  4310. a.bus_type,
  4311. c.res_id,
  4312. c.res_name,
  4313. e.parent_area_id_list
  4314. FROM
  4315. opera_product AS a,
  4316. opera_product_station AS b,
  4317. base_resource AS c,
  4318. base_area AS d,
  4319. base_area_view AS e
  4320. WHERE
  4321. a.prod_id = b.prod_id
  4322. AND b.res_id = c.res_id
  4323. AND c.area_id = d.id
  4324. AND d.id = e.area_id
  4325. AND a.prod_type = 81
  4326. AND a.cancel_flag = 0
  4327. GROUP BY
  4328. c.res_id,
  4329. a.bus_type,
  4330. c.area_id
  4331. ORDER BY
  4332. c.area_id
  4333. 2016-08-27 04:22:00 SELECT
  4334. a.run_id,
  4335. a.prod_id as line_id,
  4336. a.run_date,
  4337. b.start_time,
  4338. b.station_res_id
  4339. FROM
  4340. run_main as a,
  4341. run_station as b
  4342. WHERE
  4343. a.run_id = b.run_id
  4344. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  4345. AND a.run_date = '2016-08-27'
  4346. AND a.run_status = 138
  4347. AND b.station_inout_type in (108,109,110)
  4348. ORDER BY
  4349. a.run_id,
  4350. b.station_res_id
  4351. 2016-08-27 04:22:00 SELECT
  4352. run_id,
  4353. res_id,
  4354. seq_id,
  4355. prod_id,
  4356. total_count,
  4357. saled_count
  4358. FROM
  4359. run_stock
  4360. WHERE
  4361. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  4362. )
  4363. AND seat_type = 72
  4364. ORDER BY
  4365. run_id ASC,
  4366. seq_id ASC
  4367. 2016-08-27 04:22:00 SELECT
  4368. run_id,
  4369. prod_id as ticket_id
  4370. FROM
  4371. run_prod
  4372. WHERE
  4373. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  4374. AND cancel_flag = 0
  4375. 2016-08-27 12:22:39 SELECT
  4376. a.prod_id,
  4377. a.prod_name,
  4378. a.bus_type,
  4379. b.type_id,
  4380. b.property
  4381. FROM
  4382. opera_product AS a,
  4383. opera_product_property AS b
  4384. WHERE
  4385. a.prod_id = b.prod_id
  4386. AND a.prod_type = 81
  4387. AND a.is_onsale = 1
  4388. AND a.cancel_flag = 0
  4389. GROUP BY
  4390. a.prod_id,
  4391. b.type_id
  4392. 2016-08-27 12:22:39 SELECT
  4393. a.prod_id,
  4394. a.ticket_mark,
  4395. a.parent_id,
  4396. b.type_id,
  4397. b.property,
  4398. c.prod_price,
  4399. c.cus_price
  4400. FROM
  4401. opera_product AS a,
  4402. opera_product_property AS b,
  4403. opera_product_price AS c
  4404. WHERE
  4405. a.prod_id = b.prod_id
  4406. AND a.prod_id = c.prod_id
  4407. AND a.prod_type = 82
  4408. AND a.is_onsale = 1
  4409. AND a.cancel_flag = 0
  4410. AND c.cancel_flag = 0
  4411. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  4412. GROUP BY
  4413. a.prod_id,
  4414. b.type_id
  4415. 2016-08-27 12:22:41 SELECT
  4416. c.area_id,
  4417. d.area_name,
  4418. a.bus_type,
  4419. c.res_id,
  4420. c.res_name,
  4421. e.parent_area_id_list
  4422. FROM
  4423. opera_product AS a,
  4424. opera_product_station AS b,
  4425. base_resource AS c,
  4426. base_area AS d,
  4427. base_area_view AS e
  4428. WHERE
  4429. a.prod_id = b.prod_id
  4430. AND b.res_id = c.res_id
  4431. AND c.area_id = d.id
  4432. AND d.id = e.area_id
  4433. AND a.prod_type = 81
  4434. AND a.cancel_flag = 0
  4435. GROUP BY
  4436. c.res_id,
  4437. a.bus_type,
  4438. c.area_id
  4439. ORDER BY
  4440. c.area_id
  4441. 2016-08-27 04:22:41 SELECT
  4442. a.run_id,
  4443. a.prod_id as line_id,
  4444. a.run_date,
  4445. b.start_time,
  4446. b.station_res_id
  4447. FROM
  4448. run_main as a,
  4449. run_station as b
  4450. WHERE
  4451. a.run_id = b.run_id
  4452. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  4453. AND a.run_date = '2016-08-27'
  4454. AND a.run_status = 138
  4455. AND b.station_inout_type in (108,109,110)
  4456. ORDER BY
  4457. a.run_id,
  4458. b.station_res_id
  4459. 2016-08-27 04:22:41 SELECT
  4460. run_id,
  4461. res_id,
  4462. seq_id,
  4463. prod_id,
  4464. total_count,
  4465. saled_count
  4466. FROM
  4467. run_stock
  4468. WHERE
  4469. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  4470. )
  4471. AND seat_type = 72
  4472. ORDER BY
  4473. run_id ASC,
  4474. seq_id ASC
  4475. 2016-08-27 04:22:41 SELECT
  4476. run_id,
  4477. prod_id as ticket_id
  4478. FROM
  4479. run_prod
  4480. WHERE
  4481. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  4482. AND cancel_flag = 0
  4483. 2016-08-27 12:23:15 SELECT
  4484. a.prod_id,
  4485. a.prod_name,
  4486. a.bus_type,
  4487. b.type_id,
  4488. b.property
  4489. FROM
  4490. opera_product AS a,
  4491. opera_product_property AS b
  4492. WHERE
  4493. a.prod_id = b.prod_id
  4494. AND a.prod_type = 81
  4495. AND a.is_onsale = 1
  4496. AND a.cancel_flag = 0
  4497. GROUP BY
  4498. a.prod_id,
  4499. b.type_id
  4500. 2016-08-27 12:23:15 SELECT
  4501. a.prod_id,
  4502. a.ticket_mark,
  4503. a.parent_id,
  4504. b.type_id,
  4505. b.property,
  4506. c.prod_price,
  4507. c.cus_price
  4508. FROM
  4509. opera_product AS a,
  4510. opera_product_property AS b,
  4511. opera_product_price AS c
  4512. WHERE
  4513. a.prod_id = b.prod_id
  4514. AND a.prod_id = c.prod_id
  4515. AND a.prod_type = 82
  4516. AND a.is_onsale = 1
  4517. AND a.cancel_flag = 0
  4518. AND c.cancel_flag = 0
  4519. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  4520. GROUP BY
  4521. a.prod_id,
  4522. b.type_id
  4523. 2016-08-27 12:23:17 SELECT
  4524. c.area_id,
  4525. d.area_name,
  4526. a.bus_type,
  4527. c.res_id,
  4528. c.res_name,
  4529. e.parent_area_id_list
  4530. FROM
  4531. opera_product AS a,
  4532. opera_product_station AS b,
  4533. base_resource AS c,
  4534. base_area AS d,
  4535. base_area_view AS e
  4536. WHERE
  4537. a.prod_id = b.prod_id
  4538. AND b.res_id = c.res_id
  4539. AND c.area_id = d.id
  4540. AND d.id = e.area_id
  4541. AND a.prod_type = 81
  4542. AND a.cancel_flag = 0
  4543. GROUP BY
  4544. c.res_id,
  4545. a.bus_type,
  4546. c.area_id
  4547. ORDER BY
  4548. c.area_id
  4549. 2016-08-27 04:23:17 SELECT
  4550. a.run_id,
  4551. a.prod_id as line_id,
  4552. a.run_date,
  4553. b.start_time,
  4554. b.station_res_id
  4555. FROM
  4556. run_main as a,
  4557. run_station as b
  4558. WHERE
  4559. a.run_id = b.run_id
  4560. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  4561. AND a.run_date = '2016-08-27'
  4562. AND a.run_status = 138
  4563. AND b.station_inout_type in (108,109,110)
  4564. ORDER BY
  4565. a.run_id,
  4566. b.station_res_id
  4567. 2016-08-27 04:23:17 SELECT
  4568. run_id,
  4569. res_id,
  4570. seq_id,
  4571. prod_id,
  4572. total_count,
  4573. saled_count
  4574. FROM
  4575. run_stock
  4576. WHERE
  4577. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  4578. )
  4579. AND seat_type = 72
  4580. ORDER BY
  4581. run_id ASC,
  4582. seq_id ASC
  4583. 2016-08-27 04:23:17 SELECT
  4584. run_id,
  4585. prod_id as ticket_id
  4586. FROM
  4587. run_prod
  4588. WHERE
  4589. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  4590. AND cancel_flag = 0
  4591. 2016-08-27 12:26:10 SELECT
  4592. a.prod_id,
  4593. a.prod_name,
  4594. a.bus_type,
  4595. b.type_id,
  4596. b.property
  4597. FROM
  4598. opera_product AS a,
  4599. opera_product_property AS b
  4600. WHERE
  4601. a.prod_id = b.prod_id
  4602. AND a.prod_type = 81
  4603. AND a.is_onsale = 1
  4604. AND a.cancel_flag = 0
  4605. GROUP BY
  4606. a.prod_id,
  4607. b.type_id
  4608. 2016-08-27 12:26:10 SELECT
  4609. a.prod_id,
  4610. a.ticket_mark,
  4611. a.parent_id,
  4612. b.type_id,
  4613. b.property,
  4614. c.prod_price,
  4615. c.cus_price
  4616. FROM
  4617. opera_product AS a,
  4618. opera_product_property AS b,
  4619. opera_product_price AS c
  4620. WHERE
  4621. a.prod_id = b.prod_id
  4622. AND a.prod_id = c.prod_id
  4623. AND a.prod_type = 82
  4624. AND a.is_onsale = 1
  4625. AND a.cancel_flag = 0
  4626. AND c.cancel_flag = 0
  4627. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  4628. GROUP BY
  4629. a.prod_id,
  4630. b.type_id
  4631. 2016-08-27 12:26:12 SELECT
  4632. c.area_id,
  4633. d.area_name,
  4634. a.bus_type,
  4635. c.res_id,
  4636. c.res_name,
  4637. e.parent_area_id_list
  4638. FROM
  4639. opera_product AS a,
  4640. opera_product_station AS b,
  4641. base_resource AS c,
  4642. base_area AS d,
  4643. base_area_view AS e
  4644. WHERE
  4645. a.prod_id = b.prod_id
  4646. AND b.res_id = c.res_id
  4647. AND c.area_id = d.id
  4648. AND d.id = e.area_id
  4649. AND a.prod_type = 81
  4650. AND a.cancel_flag = 0
  4651. GROUP BY
  4652. c.res_id,
  4653. a.bus_type,
  4654. c.area_id
  4655. ORDER BY
  4656. c.area_id
  4657. 2016-08-27 04:26:12 SELECT
  4658. a.run_id,
  4659. a.prod_id as line_id,
  4660. a.run_date,
  4661. b.start_time,
  4662. b.station_res_id
  4663. FROM
  4664. run_main as a,
  4665. run_station as b
  4666. WHERE
  4667. a.run_id = b.run_id
  4668. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  4669. AND a.run_date = '2016-08-27'
  4670. AND a.run_status = 138
  4671. AND b.station_inout_type in (108,109,110)
  4672. ORDER BY
  4673. a.run_id,
  4674. b.station_res_id
  4675. 2016-08-27 04:26:12 SELECT
  4676. run_id,
  4677. res_id,
  4678. seq_id,
  4679. prod_id,
  4680. total_count,
  4681. saled_count
  4682. FROM
  4683. run_stock
  4684. WHERE
  4685. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  4686. )
  4687. AND seat_type = 72
  4688. ORDER BY
  4689. run_id ASC,
  4690. seq_id ASC
  4691. 2016-08-27 04:26:12 SELECT
  4692. run_id,
  4693. prod_id as ticket_id
  4694. FROM
  4695. run_prod
  4696. WHERE
  4697. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  4698. AND cancel_flag = 0
  4699. 2016-08-27 12:26:48 SELECT
  4700. a.prod_id,
  4701. a.prod_name,
  4702. a.bus_type,
  4703. b.type_id,
  4704. b.property
  4705. FROM
  4706. opera_product AS a,
  4707. opera_product_property AS b
  4708. WHERE
  4709. a.prod_id = b.prod_id
  4710. AND a.prod_type = 81
  4711. AND a.is_onsale = 1
  4712. AND a.cancel_flag = 0
  4713. GROUP BY
  4714. a.prod_id,
  4715. b.type_id
  4716. 2016-08-27 12:26:48 SELECT
  4717. a.prod_id,
  4718. a.ticket_mark,
  4719. a.parent_id,
  4720. b.type_id,
  4721. b.property,
  4722. c.prod_price,
  4723. c.cus_price
  4724. FROM
  4725. opera_product AS a,
  4726. opera_product_property AS b,
  4727. opera_product_price AS c
  4728. WHERE
  4729. a.prod_id = b.prod_id
  4730. AND a.prod_id = c.prod_id
  4731. AND a.prod_type = 82
  4732. AND a.is_onsale = 1
  4733. AND a.cancel_flag = 0
  4734. AND c.cancel_flag = 0
  4735. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  4736. GROUP BY
  4737. a.prod_id,
  4738. b.type_id
  4739. 2016-08-27 12:26:50 SELECT
  4740. c.area_id,
  4741. d.area_name,
  4742. a.bus_type,
  4743. c.res_id,
  4744. c.res_name,
  4745. e.parent_area_id_list
  4746. FROM
  4747. opera_product AS a,
  4748. opera_product_station AS b,
  4749. base_resource AS c,
  4750. base_area AS d,
  4751. base_area_view AS e
  4752. WHERE
  4753. a.prod_id = b.prod_id
  4754. AND b.res_id = c.res_id
  4755. AND c.area_id = d.id
  4756. AND d.id = e.area_id
  4757. AND a.prod_type = 81
  4758. AND a.cancel_flag = 0
  4759. GROUP BY
  4760. c.res_id,
  4761. a.bus_type,
  4762. c.area_id
  4763. ORDER BY
  4764. c.area_id
  4765. 2016-08-27 04:26:50 SELECT
  4766. a.run_id,
  4767. a.prod_id as line_id,
  4768. a.run_date,
  4769. b.start_time,
  4770. b.station_res_id
  4771. FROM
  4772. run_main as a,
  4773. run_station as b
  4774. WHERE
  4775. a.run_id = b.run_id
  4776. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  4777. AND a.run_date = '2016-08-27'
  4778. AND a.run_status = 138
  4779. AND b.station_inout_type in (108,109,110)
  4780. ORDER BY
  4781. a.run_id,
  4782. b.station_res_id
  4783. 2016-08-27 04:26:50 SELECT
  4784. run_id,
  4785. res_id,
  4786. seq_id,
  4787. prod_id,
  4788. total_count,
  4789. saled_count
  4790. FROM
  4791. run_stock
  4792. WHERE
  4793. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  4794. )
  4795. AND seat_type = 72
  4796. ORDER BY
  4797. run_id ASC,
  4798. seq_id ASC
  4799. 2016-08-27 04:26:50 SELECT
  4800. run_id,
  4801. prod_id as ticket_id
  4802. FROM
  4803. run_prod
  4804. WHERE
  4805. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  4806. AND cancel_flag = 0
  4807. 2016-08-27 12:28:07 SELECT
  4808. a.prod_id,
  4809. a.prod_name,
  4810. a.bus_type,
  4811. b.type_id,
  4812. b.property
  4813. FROM
  4814. opera_product AS a,
  4815. opera_product_property AS b
  4816. WHERE
  4817. a.prod_id = b.prod_id
  4818. AND a.prod_type = 81
  4819. AND a.is_onsale = 1
  4820. AND a.cancel_flag = 0
  4821. GROUP BY
  4822. a.prod_id,
  4823. b.type_id
  4824. 2016-08-27 12:28:07 SELECT
  4825. a.prod_id,
  4826. a.ticket_mark,
  4827. a.parent_id,
  4828. b.type_id,
  4829. b.property,
  4830. c.prod_price,
  4831. c.cus_price
  4832. FROM
  4833. opera_product AS a,
  4834. opera_product_property AS b,
  4835. opera_product_price AS c
  4836. WHERE
  4837. a.prod_id = b.prod_id
  4838. AND a.prod_id = c.prod_id
  4839. AND a.prod_type = 82
  4840. AND a.is_onsale = 1
  4841. AND a.cancel_flag = 0
  4842. AND c.cancel_flag = 0
  4843. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  4844. GROUP BY
  4845. a.prod_id,
  4846. b.type_id
  4847. 2016-08-27 12:28:09 SELECT
  4848. c.area_id,
  4849. d.area_name,
  4850. a.bus_type,
  4851. c.res_id,
  4852. c.res_name,
  4853. e.parent_area_id_list
  4854. FROM
  4855. opera_product AS a,
  4856. opera_product_station AS b,
  4857. base_resource AS c,
  4858. base_area AS d,
  4859. base_area_view AS e
  4860. WHERE
  4861. a.prod_id = b.prod_id
  4862. AND b.res_id = c.res_id
  4863. AND c.area_id = d.id
  4864. AND d.id = e.area_id
  4865. AND a.prod_type = 81
  4866. AND a.cancel_flag = 0
  4867. GROUP BY
  4868. c.res_id,
  4869. a.bus_type,
  4870. c.area_id
  4871. ORDER BY
  4872. c.area_id
  4873. 2016-08-27 04:28:09 SELECT
  4874. a.run_id,
  4875. a.prod_id as line_id,
  4876. a.run_date,
  4877. b.start_time,
  4878. b.station_res_id
  4879. FROM
  4880. run_main as a,
  4881. run_station as b
  4882. WHERE
  4883. a.run_id = b.run_id
  4884. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  4885. AND a.run_date = '2016-08-27'
  4886. AND a.run_status = 138
  4887. AND b.station_inout_type in (108,109,110)
  4888. ORDER BY
  4889. a.run_id,
  4890. b.station_res_id
  4891. 2016-08-27 04:28:09 SELECT
  4892. run_id,
  4893. res_id,
  4894. seq_id,
  4895. prod_id,
  4896. total_count,
  4897. saled_count
  4898. FROM
  4899. run_stock
  4900. WHERE
  4901. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  4902. )
  4903. AND seat_type = 72
  4904. ORDER BY
  4905. run_id ASC,
  4906. seq_id ASC
  4907. 2016-08-27 04:28:09 SELECT
  4908. run_id,
  4909. prod_id as ticket_id
  4910. FROM
  4911. run_prod
  4912. WHERE
  4913. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  4914. AND cancel_flag = 0
  4915. 2016-08-27 12:32:01 SELECT
  4916. a.prod_id,
  4917. a.prod_name,
  4918. a.bus_type,
  4919. b.type_id,
  4920. b.property
  4921. FROM
  4922. opera_product AS a,
  4923. opera_product_property AS b
  4924. WHERE
  4925. a.prod_id = b.prod_id
  4926. AND a.prod_type = 81
  4927. AND a.is_onsale = 1
  4928. AND a.cancel_flag = 0
  4929. GROUP BY
  4930. a.prod_id,
  4931. b.type_id
  4932. 2016-08-27 12:32:01 SELECT
  4933. a.prod_id,
  4934. a.ticket_mark,
  4935. a.parent_id,
  4936. b.type_id,
  4937. b.property,
  4938. c.prod_price,
  4939. c.cus_price
  4940. FROM
  4941. opera_product AS a,
  4942. opera_product_property AS b,
  4943. opera_product_price AS c
  4944. WHERE
  4945. a.prod_id = b.prod_id
  4946. AND a.prod_id = c.prod_id
  4947. AND a.prod_type = 82
  4948. AND a.is_onsale = 1
  4949. AND a.cancel_flag = 0
  4950. AND c.cancel_flag = 0
  4951. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  4952. GROUP BY
  4953. a.prod_id,
  4954. b.type_id
  4955. 2016-08-27 12:32:03 SELECT
  4956. c.area_id,
  4957. d.area_name,
  4958. a.bus_type,
  4959. c.res_id,
  4960. c.res_name,
  4961. e.parent_area_id_list
  4962. FROM
  4963. opera_product AS a,
  4964. opera_product_station AS b,
  4965. base_resource AS c,
  4966. base_area AS d,
  4967. base_area_view AS e
  4968. WHERE
  4969. a.prod_id = b.prod_id
  4970. AND b.res_id = c.res_id
  4971. AND c.area_id = d.id
  4972. AND d.id = e.area_id
  4973. AND a.prod_type = 81
  4974. AND a.cancel_flag = 0
  4975. GROUP BY
  4976. c.res_id,
  4977. a.bus_type,
  4978. c.area_id
  4979. ORDER BY
  4980. c.area_id
  4981. 2016-08-27 04:32:03 SELECT
  4982. a.run_id,
  4983. a.prod_id as line_id,
  4984. a.run_date,
  4985. b.start_time,
  4986. b.station_res_id
  4987. FROM
  4988. run_main as a,
  4989. run_station as b
  4990. WHERE
  4991. a.run_id = b.run_id
  4992. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  4993. AND a.run_date = '2016-08-27'
  4994. AND a.run_status = 138
  4995. AND b.station_inout_type in (108,109,110)
  4996. ORDER BY
  4997. a.run_id,
  4998. b.station_res_id
  4999. 2016-08-27 04:32:03 SELECT
  5000. run_id,
  5001. res_id,
  5002. seq_id,
  5003. prod_id,
  5004. total_count,
  5005. saled_count
  5006. FROM
  5007. run_stock
  5008. WHERE
  5009. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  5010. )
  5011. AND seat_type = 72
  5012. ORDER BY
  5013. run_id ASC,
  5014. seq_id ASC
  5015. 2016-08-27 04:32:03 SELECT
  5016. run_id,
  5017. prod_id as ticket_id
  5018. FROM
  5019. run_prod
  5020. WHERE
  5021. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  5022. AND cancel_flag = 0
  5023. 2016-08-27 12:33:11 SELECT
  5024. a.prod_id,
  5025. a.prod_name,
  5026. a.bus_type,
  5027. b.type_id,
  5028. b.property
  5029. FROM
  5030. opera_product AS a,
  5031. opera_product_property AS b
  5032. WHERE
  5033. a.prod_id = b.prod_id
  5034. AND a.prod_type = 81
  5035. AND a.is_onsale = 1
  5036. AND a.cancel_flag = 0
  5037. GROUP BY
  5038. a.prod_id,
  5039. b.type_id
  5040. 2016-08-27 12:33:12 SELECT
  5041. a.prod_id,
  5042. a.ticket_mark,
  5043. a.parent_id,
  5044. b.type_id,
  5045. b.property,
  5046. c.prod_price,
  5047. c.cus_price
  5048. FROM
  5049. opera_product AS a,
  5050. opera_product_property AS b,
  5051. opera_product_price AS c
  5052. WHERE
  5053. a.prod_id = b.prod_id
  5054. AND a.prod_id = c.prod_id
  5055. AND a.prod_type = 82
  5056. AND a.is_onsale = 1
  5057. AND a.cancel_flag = 0
  5058. AND c.cancel_flag = 0
  5059. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  5060. GROUP BY
  5061. a.prod_id,
  5062. b.type_id
  5063. 2016-08-27 12:33:15 SELECT
  5064. c.area_id,
  5065. d.area_name,
  5066. a.bus_type,
  5067. c.res_id,
  5068. c.res_name,
  5069. e.parent_area_id_list
  5070. FROM
  5071. opera_product AS a,
  5072. opera_product_station AS b,
  5073. base_resource AS c,
  5074. base_area AS d,
  5075. base_area_view AS e
  5076. WHERE
  5077. a.prod_id = b.prod_id
  5078. AND b.res_id = c.res_id
  5079. AND c.area_id = d.id
  5080. AND d.id = e.area_id
  5081. AND a.prod_type = 81
  5082. AND a.cancel_flag = 0
  5083. GROUP BY
  5084. c.res_id,
  5085. a.bus_type,
  5086. c.area_id
  5087. ORDER BY
  5088. c.area_id
  5089. 2016-08-27 04:33:15 SELECT
  5090. a.run_id,
  5091. a.prod_id as line_id,
  5092. a.run_date,
  5093. b.start_time,
  5094. b.station_res_id
  5095. FROM
  5096. run_main as a,
  5097. run_station as b
  5098. WHERE
  5099. a.run_id = b.run_id
  5100. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  5101. AND a.run_date = '2016-08-27'
  5102. AND a.run_status = 138
  5103. AND b.station_inout_type in (108,109,110)
  5104. ORDER BY
  5105. a.run_id,
  5106. b.station_res_id
  5107. 2016-08-27 04:33:15 SELECT
  5108. run_id,
  5109. res_id,
  5110. seq_id,
  5111. prod_id,
  5112. total_count,
  5113. saled_count
  5114. FROM
  5115. run_stock
  5116. WHERE
  5117. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  5118. )
  5119. AND seat_type = 72
  5120. ORDER BY
  5121. run_id ASC,
  5122. seq_id ASC
  5123. 2016-08-27 04:33:15 SELECT
  5124. run_id,
  5125. prod_id as ticket_id
  5126. FROM
  5127. run_prod
  5128. WHERE
  5129. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  5130. AND cancel_flag = 0
  5131. 2016-08-27 12:34:25 SELECT
  5132. a.prod_id,
  5133. a.prod_name,
  5134. a.bus_type,
  5135. b.type_id,
  5136. b.property
  5137. FROM
  5138. opera_product AS a,
  5139. opera_product_property AS b
  5140. WHERE
  5141. a.prod_id = b.prod_id
  5142. AND a.prod_type = 81
  5143. AND a.is_onsale = 1
  5144. AND a.cancel_flag = 0
  5145. GROUP BY
  5146. a.prod_id,
  5147. b.type_id
  5148. 2016-08-27 12:34:25 SELECT
  5149. a.prod_id,
  5150. a.ticket_mark,
  5151. a.parent_id,
  5152. b.type_id,
  5153. b.property,
  5154. c.prod_price,
  5155. c.cus_price
  5156. FROM
  5157. opera_product AS a,
  5158. opera_product_property AS b,
  5159. opera_product_price AS c
  5160. WHERE
  5161. a.prod_id = b.prod_id
  5162. AND a.prod_id = c.prod_id
  5163. AND a.prod_type = 82
  5164. AND a.is_onsale = 1
  5165. AND a.cancel_flag = 0
  5166. AND c.cancel_flag = 0
  5167. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  5168. GROUP BY
  5169. a.prod_id,
  5170. b.type_id
  5171. 2016-08-27 12:34:27 SELECT
  5172. c.area_id,
  5173. d.area_name,
  5174. a.bus_type,
  5175. c.res_id,
  5176. c.res_name,
  5177. e.parent_area_id_list
  5178. FROM
  5179. opera_product AS a,
  5180. opera_product_station AS b,
  5181. base_resource AS c,
  5182. base_area AS d,
  5183. base_area_view AS e
  5184. WHERE
  5185. a.prod_id = b.prod_id
  5186. AND b.res_id = c.res_id
  5187. AND c.area_id = d.id
  5188. AND d.id = e.area_id
  5189. AND a.prod_type = 81
  5190. AND a.cancel_flag = 0
  5191. GROUP BY
  5192. c.res_id,
  5193. a.bus_type,
  5194. c.area_id
  5195. ORDER BY
  5196. c.area_id
  5197. 2016-08-27 04:34:27 SELECT
  5198. a.run_id,
  5199. a.prod_id as line_id,
  5200. a.run_date,
  5201. b.start_time,
  5202. b.station_res_id
  5203. FROM
  5204. run_main as a,
  5205. run_station as b
  5206. WHERE
  5207. a.run_id = b.run_id
  5208. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  5209. AND a.run_date = '2016-08-27'
  5210. AND a.run_status = 138
  5211. AND b.station_inout_type in (108,109,110)
  5212. ORDER BY
  5213. a.run_id,
  5214. b.station_res_id
  5215. 2016-08-27 04:34:27 SELECT
  5216. run_id,
  5217. res_id,
  5218. seq_id,
  5219. prod_id,
  5220. total_count,
  5221. saled_count
  5222. FROM
  5223. run_stock
  5224. WHERE
  5225. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  5226. )
  5227. AND seat_type = 72
  5228. ORDER BY
  5229. run_id ASC,
  5230. seq_id ASC
  5231. 2016-08-27 04:34:27 SELECT
  5232. run_id,
  5233. prod_id as ticket_id
  5234. FROM
  5235. run_prod
  5236. WHERE
  5237. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  5238. AND cancel_flag = 0
  5239. 2016-08-27 12:35:02 SELECT
  5240. a.prod_id,
  5241. a.prod_name,
  5242. a.bus_type,
  5243. b.type_id,
  5244. b.property
  5245. FROM
  5246. opera_product AS a,
  5247. opera_product_property AS b
  5248. WHERE
  5249. a.prod_id = b.prod_id
  5250. AND a.prod_type = 81
  5251. AND a.is_onsale = 1
  5252. AND a.cancel_flag = 0
  5253. GROUP BY
  5254. a.prod_id,
  5255. b.type_id
  5256. 2016-08-27 12:35:02 SELECT
  5257. a.prod_id,
  5258. a.ticket_mark,
  5259. a.parent_id,
  5260. b.type_id,
  5261. b.property,
  5262. c.prod_price,
  5263. c.cus_price
  5264. FROM
  5265. opera_product AS a,
  5266. opera_product_property AS b,
  5267. opera_product_price AS c
  5268. WHERE
  5269. a.prod_id = b.prod_id
  5270. AND a.prod_id = c.prod_id
  5271. AND a.prod_type = 82
  5272. AND a.is_onsale = 1
  5273. AND a.cancel_flag = 0
  5274. AND c.cancel_flag = 0
  5275. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  5276. GROUP BY
  5277. a.prod_id,
  5278. b.type_id
  5279. 2016-08-27 12:35:04 SELECT
  5280. c.area_id,
  5281. d.area_name,
  5282. a.bus_type,
  5283. c.res_id,
  5284. c.res_name,
  5285. e.parent_area_id_list
  5286. FROM
  5287. opera_product AS a,
  5288. opera_product_station AS b,
  5289. base_resource AS c,
  5290. base_area AS d,
  5291. base_area_view AS e
  5292. WHERE
  5293. a.prod_id = b.prod_id
  5294. AND b.res_id = c.res_id
  5295. AND c.area_id = d.id
  5296. AND d.id = e.area_id
  5297. AND a.prod_type = 81
  5298. AND a.cancel_flag = 0
  5299. GROUP BY
  5300. c.res_id,
  5301. a.bus_type,
  5302. c.area_id
  5303. ORDER BY
  5304. c.area_id
  5305. 2016-08-27 04:35:04 SELECT
  5306. a.run_id,
  5307. a.prod_id as line_id,
  5308. a.run_date,
  5309. b.start_time,
  5310. b.station_res_id
  5311. FROM
  5312. run_main as a,
  5313. run_station as b
  5314. WHERE
  5315. a.run_id = b.run_id
  5316. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  5317. AND a.run_date = '2016-08-27'
  5318. AND a.run_status = 138
  5319. AND b.station_inout_type in (108,109,110)
  5320. ORDER BY
  5321. a.run_id,
  5322. b.station_res_id
  5323. 2016-08-27 04:35:04 SELECT
  5324. run_id,
  5325. res_id,
  5326. seq_id,
  5327. prod_id,
  5328. total_count,
  5329. saled_count
  5330. FROM
  5331. run_stock
  5332. WHERE
  5333. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  5334. )
  5335. AND seat_type = 72
  5336. ORDER BY
  5337. run_id ASC,
  5338. seq_id ASC
  5339. 2016-08-27 04:35:04 SELECT
  5340. run_id,
  5341. prod_id as ticket_id
  5342. FROM
  5343. run_prod
  5344. WHERE
  5345. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  5346. AND cancel_flag = 0
  5347. 2016-08-27 12:36:57 SELECT
  5348. a.prod_id,
  5349. a.prod_name,
  5350. a.bus_type,
  5351. b.type_id,
  5352. b.property
  5353. FROM
  5354. opera_product AS a,
  5355. opera_product_property AS b
  5356. WHERE
  5357. a.prod_id = b.prod_id
  5358. AND a.prod_type = 81
  5359. AND a.is_onsale = 1
  5360. AND a.cancel_flag = 0
  5361. GROUP BY
  5362. a.prod_id,
  5363. b.type_id
  5364. 2016-08-27 12:36:57 SELECT
  5365. a.prod_id,
  5366. a.ticket_mark,
  5367. a.parent_id,
  5368. b.type_id,
  5369. b.property,
  5370. c.prod_price,
  5371. c.cus_price
  5372. FROM
  5373. opera_product AS a,
  5374. opera_product_property AS b,
  5375. opera_product_price AS c
  5376. WHERE
  5377. a.prod_id = b.prod_id
  5378. AND a.prod_id = c.prod_id
  5379. AND a.prod_type = 82
  5380. AND a.is_onsale = 1
  5381. AND a.cancel_flag = 0
  5382. AND c.cancel_flag = 0
  5383. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  5384. GROUP BY
  5385. a.prod_id,
  5386. b.type_id
  5387. 2016-08-27 12:36:59 SELECT
  5388. c.area_id,
  5389. d.area_name,
  5390. a.bus_type,
  5391. c.res_id,
  5392. c.res_name,
  5393. e.parent_area_id_list
  5394. FROM
  5395. opera_product AS a,
  5396. opera_product_station AS b,
  5397. base_resource AS c,
  5398. base_area AS d,
  5399. base_area_view AS e
  5400. WHERE
  5401. a.prod_id = b.prod_id
  5402. AND b.res_id = c.res_id
  5403. AND c.area_id = d.id
  5404. AND d.id = e.area_id
  5405. AND a.prod_type = 81
  5406. AND a.cancel_flag = 0
  5407. GROUP BY
  5408. c.res_id,
  5409. a.bus_type,
  5410. c.area_id
  5411. ORDER BY
  5412. c.area_id
  5413. 2016-08-27 04:36:59 SELECT
  5414. a.run_id,
  5415. a.prod_id as line_id,
  5416. a.run_date,
  5417. b.start_time,
  5418. b.station_res_id
  5419. FROM
  5420. run_main as a,
  5421. run_station as b
  5422. WHERE
  5423. a.run_id = b.run_id
  5424. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  5425. AND a.run_date = '2016-08-27'
  5426. AND a.run_status = 138
  5427. AND b.station_inout_type in (108,109,110)
  5428. ORDER BY
  5429. a.run_id,
  5430. b.station_res_id
  5431. 2016-08-27 04:36:59 SELECT
  5432. run_id,
  5433. res_id,
  5434. seq_id,
  5435. prod_id,
  5436. total_count,
  5437. saled_count
  5438. FROM
  5439. run_stock
  5440. WHERE
  5441. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  5442. )
  5443. AND seat_type = 72
  5444. ORDER BY
  5445. run_id ASC,
  5446. seq_id ASC
  5447. 2016-08-27 04:36:59 SELECT
  5448. run_id,
  5449. prod_id as ticket_id
  5450. FROM
  5451. run_prod
  5452. WHERE
  5453. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  5454. AND cancel_flag = 0
  5455. 2016-08-27 12:38:45 SELECT
  5456. a.prod_id,
  5457. a.prod_name,
  5458. a.bus_type,
  5459. b.type_id,
  5460. b.property
  5461. FROM
  5462. opera_product AS a,
  5463. opera_product_property AS b
  5464. WHERE
  5465. a.prod_id = b.prod_id
  5466. AND a.prod_type = 81
  5467. AND a.is_onsale = 1
  5468. AND a.cancel_flag = 0
  5469. GROUP BY
  5470. a.prod_id,
  5471. b.type_id
  5472. 2016-08-27 12:38:45 SELECT
  5473. a.prod_id,
  5474. a.ticket_mark,
  5475. a.parent_id,
  5476. b.type_id,
  5477. b.property,
  5478. c.prod_price,
  5479. c.cus_price
  5480. FROM
  5481. opera_product AS a,
  5482. opera_product_property AS b,
  5483. opera_product_price AS c
  5484. WHERE
  5485. a.prod_id = b.prod_id
  5486. AND a.prod_id = c.prod_id
  5487. AND a.prod_type = 82
  5488. AND a.is_onsale = 1
  5489. AND a.cancel_flag = 0
  5490. AND c.cancel_flag = 0
  5491. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  5492. GROUP BY
  5493. a.prod_id,
  5494. b.type_id
  5495. 2016-08-27 12:38:47 SELECT
  5496. c.area_id,
  5497. d.area_name,
  5498. a.bus_type,
  5499. c.res_id,
  5500. c.res_name,
  5501. e.parent_area_id_list
  5502. FROM
  5503. opera_product AS a,
  5504. opera_product_station AS b,
  5505. base_resource AS c,
  5506. base_area AS d,
  5507. base_area_view AS e
  5508. WHERE
  5509. a.prod_id = b.prod_id
  5510. AND b.res_id = c.res_id
  5511. AND c.area_id = d.id
  5512. AND d.id = e.area_id
  5513. AND a.prod_type = 81
  5514. AND a.cancel_flag = 0
  5515. GROUP BY
  5516. c.res_id,
  5517. a.bus_type,
  5518. c.area_id
  5519. ORDER BY
  5520. c.area_id
  5521. 2016-08-27 04:38:48 SELECT
  5522. a.run_id,
  5523. a.prod_id as line_id,
  5524. a.run_date,
  5525. b.start_time,
  5526. b.station_res_id
  5527. FROM
  5528. run_main as a,
  5529. run_station as b
  5530. WHERE
  5531. a.run_id = b.run_id
  5532. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  5533. AND a.run_date = '2016-08-27'
  5534. AND a.run_status = 138
  5535. AND b.station_inout_type in (108,109,110)
  5536. ORDER BY
  5537. a.run_id,
  5538. b.station_res_id
  5539. 2016-08-27 04:38:48 SELECT
  5540. run_id,
  5541. res_id,
  5542. seq_id,
  5543. prod_id,
  5544. total_count,
  5545. saled_count
  5546. FROM
  5547. run_stock
  5548. WHERE
  5549. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  5550. )
  5551. AND seat_type = 72
  5552. ORDER BY
  5553. run_id ASC,
  5554. seq_id ASC
  5555. 2016-08-27 04:38:48 SELECT
  5556. run_id,
  5557. prod_id as ticket_id
  5558. FROM
  5559. run_prod
  5560. WHERE
  5561. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  5562. AND cancel_flag = 0
  5563. 2016-08-27 12:38:56 SELECT
  5564. a.prod_id,
  5565. a.prod_name,
  5566. a.bus_type,
  5567. b.type_id,
  5568. b.property
  5569. FROM
  5570. opera_product AS a,
  5571. opera_product_property AS b
  5572. WHERE
  5573. a.prod_id = b.prod_id
  5574. AND a.prod_type = 81
  5575. AND a.is_onsale = 1
  5576. AND a.cancel_flag = 0
  5577. GROUP BY
  5578. a.prod_id,
  5579. b.type_id
  5580. 2016-08-27 12:38:57 SELECT
  5581. a.prod_id,
  5582. a.ticket_mark,
  5583. a.parent_id,
  5584. b.type_id,
  5585. b.property,
  5586. c.prod_price,
  5587. c.cus_price
  5588. FROM
  5589. opera_product AS a,
  5590. opera_product_property AS b,
  5591. opera_product_price AS c
  5592. WHERE
  5593. a.prod_id = b.prod_id
  5594. AND a.prod_id = c.prod_id
  5595. AND a.prod_type = 82
  5596. AND a.is_onsale = 1
  5597. AND a.cancel_flag = 0
  5598. AND c.cancel_flag = 0
  5599. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  5600. GROUP BY
  5601. a.prod_id,
  5602. b.type_id
  5603. 2016-08-27 12:38:58 SELECT
  5604. c.area_id,
  5605. d.area_name,
  5606. a.bus_type,
  5607. c.res_id,
  5608. c.res_name,
  5609. e.parent_area_id_list
  5610. FROM
  5611. opera_product AS a,
  5612. opera_product_station AS b,
  5613. base_resource AS c,
  5614. base_area AS d,
  5615. base_area_view AS e
  5616. WHERE
  5617. a.prod_id = b.prod_id
  5618. AND b.res_id = c.res_id
  5619. AND c.area_id = d.id
  5620. AND d.id = e.area_id
  5621. AND a.prod_type = 81
  5622. AND a.cancel_flag = 0
  5623. GROUP BY
  5624. c.res_id,
  5625. a.bus_type,
  5626. c.area_id
  5627. ORDER BY
  5628. c.area_id
  5629. 2016-08-27 04:38:58 SELECT
  5630. a.run_id,
  5631. a.prod_id as line_id,
  5632. a.run_date,
  5633. b.start_time,
  5634. b.station_res_id
  5635. FROM
  5636. run_main as a,
  5637. run_station as b
  5638. WHERE
  5639. a.run_id = b.run_id
  5640. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  5641. AND a.run_date = '2016-08-27'
  5642. AND a.run_status = 138
  5643. AND b.station_inout_type in (108,109,110)
  5644. ORDER BY
  5645. a.run_id,
  5646. b.station_res_id
  5647. 2016-08-27 04:38:59 SELECT
  5648. run_id,
  5649. res_id,
  5650. seq_id,
  5651. prod_id,
  5652. total_count,
  5653. saled_count
  5654. FROM
  5655. run_stock
  5656. WHERE
  5657. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  5658. )
  5659. AND seat_type = 72
  5660. ORDER BY
  5661. run_id ASC,
  5662. seq_id ASC
  5663. 2016-08-27 04:38:59 SELECT
  5664. run_id,
  5665. prod_id as ticket_id
  5666. FROM
  5667. run_prod
  5668. WHERE
  5669. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  5670. AND cancel_flag = 0
  5671. 2016-08-27 12:40:38 SELECT
  5672. a.prod_id,
  5673. a.prod_name,
  5674. a.bus_type,
  5675. b.type_id,
  5676. b.property
  5677. FROM
  5678. opera_product AS a,
  5679. opera_product_property AS b
  5680. WHERE
  5681. a.prod_id = b.prod_id
  5682. AND a.prod_type = 81
  5683. AND a.is_onsale = 1
  5684. AND a.cancel_flag = 0
  5685. GROUP BY
  5686. a.prod_id,
  5687. b.type_id
  5688. 2016-08-27 12:40:38 SELECT
  5689. a.prod_id,
  5690. a.ticket_mark,
  5691. a.parent_id,
  5692. b.type_id,
  5693. b.property,
  5694. c.prod_price,
  5695. c.cus_price
  5696. FROM
  5697. opera_product AS a,
  5698. opera_product_property AS b,
  5699. opera_product_price AS c
  5700. WHERE
  5701. a.prod_id = b.prod_id
  5702. AND a.prod_id = c.prod_id
  5703. AND a.prod_type = 82
  5704. AND a.is_onsale = 1
  5705. AND a.cancel_flag = 0
  5706. AND c.cancel_flag = 0
  5707. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  5708. GROUP BY
  5709. a.prod_id,
  5710. b.type_id
  5711. 2016-08-27 12:40:40 SELECT
  5712. c.area_id,
  5713. d.area_name,
  5714. a.bus_type,
  5715. c.res_id,
  5716. c.res_name,
  5717. e.parent_area_id_list
  5718. FROM
  5719. opera_product AS a,
  5720. opera_product_station AS b,
  5721. base_resource AS c,
  5722. base_area AS d,
  5723. base_area_view AS e
  5724. WHERE
  5725. a.prod_id = b.prod_id
  5726. AND b.res_id = c.res_id
  5727. AND c.area_id = d.id
  5728. AND d.id = e.area_id
  5729. AND a.prod_type = 81
  5730. AND a.cancel_flag = 0
  5731. GROUP BY
  5732. c.res_id,
  5733. a.bus_type,
  5734. c.area_id
  5735. ORDER BY
  5736. c.area_id
  5737. 2016-08-27 04:40:40 SELECT
  5738. a.run_id,
  5739. a.prod_id as line_id,
  5740. a.run_date,
  5741. b.start_time,
  5742. b.station_res_id
  5743. FROM
  5744. run_main as a,
  5745. run_station as b
  5746. WHERE
  5747. a.run_id = b.run_id
  5748. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  5749. AND a.run_date = '2016-08-27'
  5750. AND a.run_status = 138
  5751. AND b.station_inout_type in (108,109,110)
  5752. ORDER BY
  5753. a.run_id,
  5754. b.station_res_id
  5755. 2016-08-27 04:40:40 SELECT
  5756. run_id,
  5757. res_id,
  5758. seq_id,
  5759. prod_id,
  5760. total_count,
  5761. saled_count
  5762. FROM
  5763. run_stock
  5764. WHERE
  5765. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  5766. )
  5767. AND seat_type = 72
  5768. ORDER BY
  5769. run_id ASC,
  5770. seq_id ASC
  5771. 2016-08-27 04:40:41 SELECT
  5772. run_id,
  5773. prod_id as ticket_id
  5774. FROM
  5775. run_prod
  5776. WHERE
  5777. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  5778. AND cancel_flag = 0
  5779. 2016-08-27 12:41:17 SELECT
  5780. a.prod_id,
  5781. a.prod_name,
  5782. a.bus_type,
  5783. b.type_id,
  5784. b.property
  5785. FROM
  5786. opera_product AS a,
  5787. opera_product_property AS b
  5788. WHERE
  5789. a.prod_id = b.prod_id
  5790. AND a.prod_type = 81
  5791. AND a.is_onsale = 1
  5792. AND a.cancel_flag = 0
  5793. GROUP BY
  5794. a.prod_id,
  5795. b.type_id
  5796. 2016-08-27 12:41:17 SELECT
  5797. a.prod_id,
  5798. a.ticket_mark,
  5799. a.parent_id,
  5800. b.type_id,
  5801. b.property,
  5802. c.prod_price,
  5803. c.cus_price
  5804. FROM
  5805. opera_product AS a,
  5806. opera_product_property AS b,
  5807. opera_product_price AS c
  5808. WHERE
  5809. a.prod_id = b.prod_id
  5810. AND a.prod_id = c.prod_id
  5811. AND a.prod_type = 82
  5812. AND a.is_onsale = 1
  5813. AND a.cancel_flag = 0
  5814. AND c.cancel_flag = 0
  5815. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  5816. GROUP BY
  5817. a.prod_id,
  5818. b.type_id
  5819. 2016-08-27 12:41:19 SELECT
  5820. c.area_id,
  5821. d.area_name,
  5822. a.bus_type,
  5823. c.res_id,
  5824. c.res_name,
  5825. e.parent_area_id_list
  5826. FROM
  5827. opera_product AS a,
  5828. opera_product_station AS b,
  5829. base_resource AS c,
  5830. base_area AS d,
  5831. base_area_view AS e
  5832. WHERE
  5833. a.prod_id = b.prod_id
  5834. AND b.res_id = c.res_id
  5835. AND c.area_id = d.id
  5836. AND d.id = e.area_id
  5837. AND a.prod_type = 81
  5838. AND a.cancel_flag = 0
  5839. GROUP BY
  5840. c.res_id,
  5841. a.bus_type,
  5842. c.area_id
  5843. ORDER BY
  5844. c.area_id
  5845. 2016-08-27 04:41:19 SELECT
  5846. a.run_id,
  5847. a.prod_id as line_id,
  5848. a.run_date,
  5849. b.start_time,
  5850. b.station_res_id
  5851. FROM
  5852. run_main as a,
  5853. run_station as b
  5854. WHERE
  5855. a.run_id = b.run_id
  5856. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  5857. AND a.run_date = '2016-08-27'
  5858. AND a.run_status = 138
  5859. AND b.station_inout_type in (108,109,110)
  5860. ORDER BY
  5861. a.run_id,
  5862. b.station_res_id
  5863. 2016-08-27 04:41:19 SELECT
  5864. run_id,
  5865. res_id,
  5866. seq_id,
  5867. prod_id,
  5868. total_count,
  5869. saled_count
  5870. FROM
  5871. run_stock
  5872. WHERE
  5873. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718
  5874. )
  5875. AND seat_type = 72
  5876. ORDER BY
  5877. run_id ASC,
  5878. seq_id ASC
  5879. 2016-08-27 04:41:19 SELECT
  5880. run_id,
  5881. prod_id as ticket_id
  5882. FROM
  5883. run_prod
  5884. WHERE
  5885. run_id IN (333789,346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416101,416718)
  5886. AND cancel_flag = 0
  5887. 2016-08-27 12:49:47 SELECT
  5888. a.prod_id,
  5889. a.prod_name,
  5890. a.bus_type,
  5891. b.type_id,
  5892. b.property
  5893. FROM
  5894. opera_product AS a,
  5895. opera_product_property AS b
  5896. WHERE
  5897. a.prod_id = b.prod_id
  5898. AND a.prod_type = 81
  5899. AND a.is_onsale = 1
  5900. AND a.cancel_flag = 0
  5901. GROUP BY
  5902. a.prod_id,
  5903. b.type_id
  5904. 2016-08-27 12:49:47 SELECT
  5905. a.prod_id,
  5906. a.ticket_mark,
  5907. a.parent_id,
  5908. b.type_id,
  5909. b.property,
  5910. c.prod_price,
  5911. c.cus_price
  5912. FROM
  5913. opera_product AS a,
  5914. opera_product_property AS b,
  5915. opera_product_price AS c
  5916. WHERE
  5917. a.prod_id = b.prod_id
  5918. AND a.prod_id = c.prod_id
  5919. AND a.prod_type = 82
  5920. AND a.is_onsale = 1
  5921. AND a.cancel_flag = 0
  5922. AND c.cancel_flag = 0
  5923. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  5924. GROUP BY
  5925. a.prod_id,
  5926. b.type_id
  5927. 2016-08-27 12:49:49 SELECT
  5928. c.area_id,
  5929. d.area_name,
  5930. a.bus_type,
  5931. c.res_id,
  5932. c.res_name,
  5933. e.parent_area_id_list
  5934. FROM
  5935. opera_product AS a,
  5936. opera_product_station AS b,
  5937. base_resource AS c,
  5938. base_area AS d,
  5939. base_area_view AS e
  5940. WHERE
  5941. a.prod_id = b.prod_id
  5942. AND b.res_id = c.res_id
  5943. AND c.area_id = d.id
  5944. AND d.id = e.area_id
  5945. AND a.prod_type = 81
  5946. AND a.cancel_flag = 0
  5947. GROUP BY
  5948. c.res_id,
  5949. a.bus_type,
  5950. c.area_id
  5951. ORDER BY
  5952. c.area_id
  5953. 2016-08-27 12:49:56 SELECT
  5954. a.prod_id,
  5955. a.prod_name,
  5956. a.bus_type,
  5957. b.type_id,
  5958. b.property
  5959. FROM
  5960. opera_product AS a,
  5961. opera_product_property AS b
  5962. WHERE
  5963. a.prod_id = b.prod_id
  5964. AND a.prod_type = 81
  5965. AND a.is_onsale = 1
  5966. AND a.cancel_flag = 0
  5967. GROUP BY
  5968. a.prod_id,
  5969. b.type_id
  5970. 2016-08-27 12:49:56 SELECT
  5971. a.prod_id,
  5972. a.ticket_mark,
  5973. a.parent_id,
  5974. b.type_id,
  5975. b.property,
  5976. c.prod_price,
  5977. c.cus_price
  5978. FROM
  5979. opera_product AS a,
  5980. opera_product_property AS b,
  5981. opera_product_price AS c
  5982. WHERE
  5983. a.prod_id = b.prod_id
  5984. AND a.prod_id = c.prod_id
  5985. AND a.prod_type = 82
  5986. AND a.is_onsale = 1
  5987. AND a.cancel_flag = 0
  5988. AND c.cancel_flag = 0
  5989. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  5990. GROUP BY
  5991. a.prod_id,
  5992. b.type_id
  5993. 2016-08-27 12:49:58 SELECT
  5994. c.area_id,
  5995. d.area_name,
  5996. a.bus_type,
  5997. c.res_id,
  5998. c.res_name,
  5999. e.parent_area_id_list
  6000. FROM
  6001. opera_product AS a,
  6002. opera_product_station AS b,
  6003. base_resource AS c,
  6004. base_area AS d,
  6005. base_area_view AS e
  6006. WHERE
  6007. a.prod_id = b.prod_id
  6008. AND b.res_id = c.res_id
  6009. AND c.area_id = d.id
  6010. AND d.id = e.area_id
  6011. AND a.prod_type = 81
  6012. AND a.cancel_flag = 0
  6013. GROUP BY
  6014. c.res_id,
  6015. a.bus_type,
  6016. c.area_id
  6017. ORDER BY
  6018. c.area_id
  6019. 2016-08-27 12:52:42 SELECT
  6020. a.prod_id,
  6021. a.prod_name,
  6022. a.bus_type,
  6023. b.type_id,
  6024. b.property
  6025. FROM
  6026. opera_product AS a,
  6027. opera_product_property AS b
  6028. WHERE
  6029. a.prod_id = b.prod_id
  6030. AND a.prod_type = 81
  6031. AND a.is_onsale = 1
  6032. AND a.cancel_flag = 0
  6033. GROUP BY
  6034. a.prod_id,
  6035. b.type_id
  6036. 2016-08-27 12:52:42 SELECT
  6037. a.prod_id,
  6038. a.ticket_mark,
  6039. a.parent_id,
  6040. b.type_id,
  6041. b.property,
  6042. c.prod_price,
  6043. c.cus_price
  6044. FROM
  6045. opera_product AS a,
  6046. opera_product_property AS b,
  6047. opera_product_price AS c
  6048. WHERE
  6049. a.prod_id = b.prod_id
  6050. AND a.prod_id = c.prod_id
  6051. AND a.prod_type = 82
  6052. AND a.is_onsale = 1
  6053. AND a.cancel_flag = 0
  6054. AND c.cancel_flag = 0
  6055. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  6056. GROUP BY
  6057. a.prod_id,
  6058. b.type_id
  6059. 2016-08-27 12:52:43 SELECT
  6060. c.area_id,
  6061. d.area_name,
  6062. a.bus_type,
  6063. c.res_id,
  6064. c.res_name,
  6065. e.parent_area_id_list
  6066. FROM
  6067. opera_product AS a,
  6068. opera_product_station AS b,
  6069. base_resource AS c,
  6070. base_area AS d,
  6071. base_area_view AS e
  6072. WHERE
  6073. a.prod_id = b.prod_id
  6074. AND b.res_id = c.res_id
  6075. AND c.area_id = d.id
  6076. AND d.id = e.area_id
  6077. AND a.prod_type = 81
  6078. AND a.cancel_flag = 0
  6079. GROUP BY
  6080. c.res_id,
  6081. a.bus_type,
  6082. c.area_id
  6083. ORDER BY
  6084. c.area_id
  6085. 2016-08-27 12:52:47 SELECT
  6086. a.prod_id,
  6087. a.prod_name,
  6088. a.bus_type,
  6089. b.type_id,
  6090. b.property
  6091. FROM
  6092. opera_product AS a,
  6093. opera_product_property AS b
  6094. WHERE
  6095. a.prod_id = b.prod_id
  6096. AND a.prod_type = 81
  6097. AND a.is_onsale = 1
  6098. AND a.cancel_flag = 0
  6099. GROUP BY
  6100. a.prod_id,
  6101. b.type_id
  6102. 2016-08-27 12:52:47 SELECT
  6103. a.prod_id,
  6104. a.ticket_mark,
  6105. a.parent_id,
  6106. b.type_id,
  6107. b.property,
  6108. c.prod_price,
  6109. c.cus_price
  6110. FROM
  6111. opera_product AS a,
  6112. opera_product_property AS b,
  6113. opera_product_price AS c
  6114. WHERE
  6115. a.prod_id = b.prod_id
  6116. AND a.prod_id = c.prod_id
  6117. AND a.prod_type = 82
  6118. AND a.is_onsale = 1
  6119. AND a.cancel_flag = 0
  6120. AND c.cancel_flag = 0
  6121. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  6122. GROUP BY
  6123. a.prod_id,
  6124. b.type_id
  6125. 2016-08-27 12:52:49 SELECT
  6126. c.area_id,
  6127. d.area_name,
  6128. a.bus_type,
  6129. c.res_id,
  6130. c.res_name,
  6131. e.parent_area_id_list
  6132. FROM
  6133. opera_product AS a,
  6134. opera_product_station AS b,
  6135. base_resource AS c,
  6136. base_area AS d,
  6137. base_area_view AS e
  6138. WHERE
  6139. a.prod_id = b.prod_id
  6140. AND b.res_id = c.res_id
  6141. AND c.area_id = d.id
  6142. AND d.id = e.area_id
  6143. AND a.prod_type = 81
  6144. AND a.cancel_flag = 0
  6145. GROUP BY
  6146. c.res_id,
  6147. a.bus_type,
  6148. c.area_id
  6149. ORDER BY
  6150. c.area_id
  6151. 2016-08-27 12:54:44 SELECT
  6152. a.prod_id,
  6153. a.prod_name,
  6154. a.bus_type,
  6155. b.type_id,
  6156. b.property
  6157. FROM
  6158. opera_product AS a,
  6159. opera_product_property AS b
  6160. WHERE
  6161. a.prod_id = b.prod_id
  6162. AND a.prod_type = 81
  6163. AND a.is_onsale = 1
  6164. AND a.cancel_flag = 0
  6165. GROUP BY
  6166. a.prod_id,
  6167. b.type_id
  6168. 2016-08-27 12:54:44 SELECT
  6169. a.prod_id,
  6170. a.ticket_mark,
  6171. a.parent_id,
  6172. b.type_id,
  6173. b.property,
  6174. c.prod_price,
  6175. c.cus_price
  6176. FROM
  6177. opera_product AS a,
  6178. opera_product_property AS b,
  6179. opera_product_price AS c
  6180. WHERE
  6181. a.prod_id = b.prod_id
  6182. AND a.prod_id = c.prod_id
  6183. AND a.prod_type = 82
  6184. AND a.is_onsale = 1
  6185. AND a.cancel_flag = 0
  6186. AND c.cancel_flag = 0
  6187. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  6188. GROUP BY
  6189. a.prod_id,
  6190. b.type_id
  6191. 2016-08-27 12:54:46 SELECT
  6192. c.area_id,
  6193. d.area_name,
  6194. a.bus_type,
  6195. c.res_id,
  6196. c.res_name,
  6197. e.parent_area_id_list
  6198. FROM
  6199. opera_product AS a,
  6200. opera_product_station AS b,
  6201. base_resource AS c,
  6202. base_area AS d,
  6203. base_area_view AS e
  6204. WHERE
  6205. a.prod_id = b.prod_id
  6206. AND b.res_id = c.res_id
  6207. AND c.area_id = d.id
  6208. AND d.id = e.area_id
  6209. AND a.prod_type = 81
  6210. AND a.cancel_flag = 0
  6211. GROUP BY
  6212. c.res_id,
  6213. a.bus_type,
  6214. c.area_id
  6215. ORDER BY
  6216. c.area_id
  6217. 2016-08-27 12:54:50 SELECT
  6218. a.prod_id,
  6219. a.prod_name,
  6220. a.bus_type,
  6221. b.type_id,
  6222. b.property
  6223. FROM
  6224. opera_product AS a,
  6225. opera_product_property AS b
  6226. WHERE
  6227. a.prod_id = b.prod_id
  6228. AND a.prod_type = 81
  6229. AND a.is_onsale = 1
  6230. AND a.cancel_flag = 0
  6231. GROUP BY
  6232. a.prod_id,
  6233. b.type_id
  6234. 2016-08-27 12:54:50 SELECT
  6235. a.prod_id,
  6236. a.ticket_mark,
  6237. a.parent_id,
  6238. b.type_id,
  6239. b.property,
  6240. c.prod_price,
  6241. c.cus_price
  6242. FROM
  6243. opera_product AS a,
  6244. opera_product_property AS b,
  6245. opera_product_price AS c
  6246. WHERE
  6247. a.prod_id = b.prod_id
  6248. AND a.prod_id = c.prod_id
  6249. AND a.prod_type = 82
  6250. AND a.is_onsale = 1
  6251. AND a.cancel_flag = 0
  6252. AND c.cancel_flag = 0
  6253. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  6254. GROUP BY
  6255. a.prod_id,
  6256. b.type_id
  6257. 2016-08-27 12:54:51 SELECT
  6258. c.area_id,
  6259. d.area_name,
  6260. a.bus_type,
  6261. c.res_id,
  6262. c.res_name,
  6263. e.parent_area_id_list
  6264. FROM
  6265. opera_product AS a,
  6266. opera_product_station AS b,
  6267. base_resource AS c,
  6268. base_area AS d,
  6269. base_area_view AS e
  6270. WHERE
  6271. a.prod_id = b.prod_id
  6272. AND b.res_id = c.res_id
  6273. AND c.area_id = d.id
  6274. AND d.id = e.area_id
  6275. AND a.prod_type = 81
  6276. AND a.cancel_flag = 0
  6277. GROUP BY
  6278. c.res_id,
  6279. a.bus_type,
  6280. c.area_id
  6281. ORDER BY
  6282. c.area_id
  6283. 2016-08-27 13:00:59 SELECT
  6284. a.prod_id,
  6285. a.prod_name,
  6286. a.bus_type,
  6287. b.type_id,
  6288. b.property
  6289. FROM
  6290. opera_product AS a,
  6291. opera_product_property AS b
  6292. WHERE
  6293. a.prod_id = b.prod_id
  6294. AND a.prod_type = 81
  6295. AND a.is_onsale = 1
  6296. AND a.cancel_flag = 0
  6297. GROUP BY
  6298. a.prod_id,
  6299. b.type_id
  6300. 2016-08-27 13:00:59 SELECT
  6301. a.prod_id,
  6302. a.ticket_mark,
  6303. a.parent_id,
  6304. b.type_id,
  6305. b.property,
  6306. c.prod_price,
  6307. c.cus_price
  6308. FROM
  6309. opera_product AS a,
  6310. opera_product_property AS b,
  6311. opera_product_price AS c
  6312. WHERE
  6313. a.prod_id = b.prod_id
  6314. AND a.prod_id = c.prod_id
  6315. AND a.prod_type = 82
  6316. AND a.is_onsale = 1
  6317. AND a.cancel_flag = 0
  6318. AND c.cancel_flag = 0
  6319. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  6320. GROUP BY
  6321. a.prod_id,
  6322. b.type_id
  6323. 2016-08-27 13:01:01 SELECT
  6324. a.prod_id,
  6325. a.prod_name,
  6326. a.bus_type,
  6327. b.type_id,
  6328. b.property
  6329. FROM
  6330. opera_product AS a,
  6331. opera_product_property AS b
  6332. WHERE
  6333. a.prod_id = b.prod_id
  6334. AND a.prod_type = 81
  6335. AND a.is_onsale = 1
  6336. AND a.cancel_flag = 0
  6337. GROUP BY
  6338. a.prod_id,
  6339. b.type_id
  6340. 2016-08-27 13:01:01 SELECT
  6341. c.area_id,
  6342. d.area_name,
  6343. a.bus_type,
  6344. c.res_id,
  6345. c.res_name,
  6346. e.parent_area_id_list
  6347. FROM
  6348. opera_product AS a,
  6349. opera_product_station AS b,
  6350. base_resource AS c,
  6351. base_area AS d,
  6352. base_area_view AS e
  6353. WHERE
  6354. a.prod_id = b.prod_id
  6355. AND b.res_id = c.res_id
  6356. AND c.area_id = d.id
  6357. AND d.id = e.area_id
  6358. AND a.prod_type = 81
  6359. AND a.cancel_flag = 0
  6360. GROUP BY
  6361. c.res_id,
  6362. a.bus_type,
  6363. c.area_id
  6364. ORDER BY
  6365. c.area_id
  6366. 2016-08-27 13:01:01 SELECT
  6367. a.prod_id,
  6368. a.ticket_mark,
  6369. a.parent_id,
  6370. b.type_id,
  6371. b.property,
  6372. c.prod_price,
  6373. c.cus_price
  6374. FROM
  6375. opera_product AS a,
  6376. opera_product_property AS b,
  6377. opera_product_price AS c
  6378. WHERE
  6379. a.prod_id = b.prod_id
  6380. AND a.prod_id = c.prod_id
  6381. AND a.prod_type = 82
  6382. AND a.is_onsale = 1
  6383. AND a.cancel_flag = 0
  6384. AND c.cancel_flag = 0
  6385. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  6386. GROUP BY
  6387. a.prod_id,
  6388. b.type_id
  6389. 2016-08-27 13:01:03 SELECT
  6390. c.area_id,
  6391. d.area_name,
  6392. a.bus_type,
  6393. c.res_id,
  6394. c.res_name,
  6395. e.parent_area_id_list
  6396. FROM
  6397. opera_product AS a,
  6398. opera_product_station AS b,
  6399. base_resource AS c,
  6400. base_area AS d,
  6401. base_area_view AS e
  6402. WHERE
  6403. a.prod_id = b.prod_id
  6404. AND b.res_id = c.res_id
  6405. AND c.area_id = d.id
  6406. AND d.id = e.area_id
  6407. AND a.prod_type = 81
  6408. AND a.cancel_flag = 0
  6409. GROUP BY
  6410. c.res_id,
  6411. a.bus_type,
  6412. c.area_id
  6413. ORDER BY
  6414. c.area_id
  6415. 2016-08-27 13:01:03 SELECT
  6416. a.prod_id,
  6417. a.prod_name,
  6418. a.bus_type,
  6419. b.type_id,
  6420. b.property
  6421. FROM
  6422. opera_product AS a,
  6423. opera_product_property AS b
  6424. WHERE
  6425. a.prod_id = b.prod_id
  6426. AND a.prod_type = 81
  6427. AND a.is_onsale = 1
  6428. AND a.cancel_flag = 0
  6429. GROUP BY
  6430. a.prod_id,
  6431. b.type_id
  6432. 2016-08-27 13:01:03 SELECT
  6433. a.prod_id,
  6434. a.ticket_mark,
  6435. a.parent_id,
  6436. b.type_id,
  6437. b.property,
  6438. c.prod_price,
  6439. c.cus_price
  6440. FROM
  6441. opera_product AS a,
  6442. opera_product_property AS b,
  6443. opera_product_price AS c
  6444. WHERE
  6445. a.prod_id = b.prod_id
  6446. AND a.prod_id = c.prod_id
  6447. AND a.prod_type = 82
  6448. AND a.is_onsale = 1
  6449. AND a.cancel_flag = 0
  6450. AND c.cancel_flag = 0
  6451. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  6452. GROUP BY
  6453. a.prod_id,
  6454. b.type_id
  6455. 2016-08-27 13:01:05 SELECT
  6456. c.area_id,
  6457. d.area_name,
  6458. a.bus_type,
  6459. c.res_id,
  6460. c.res_name,
  6461. e.parent_area_id_list
  6462. FROM
  6463. opera_product AS a,
  6464. opera_product_station AS b,
  6465. base_resource AS c,
  6466. base_area AS d,
  6467. base_area_view AS e
  6468. WHERE
  6469. a.prod_id = b.prod_id
  6470. AND b.res_id = c.res_id
  6471. AND c.area_id = d.id
  6472. AND d.id = e.area_id
  6473. AND a.prod_type = 81
  6474. AND a.cancel_flag = 0
  6475. GROUP BY
  6476. c.res_id,
  6477. a.bus_type,
  6478. c.area_id
  6479. ORDER BY
  6480. c.area_id
  6481. 2016-08-27 13:21:35 SELECT
  6482. a.prod_id,
  6483. a.prod_name,
  6484. a.bus_type,
  6485. b.type_id,
  6486. b.property
  6487. FROM
  6488. opera_product AS a,
  6489. opera_product_property AS b
  6490. WHERE
  6491. a.prod_id = b.prod_id
  6492. AND a.prod_type = 81
  6493. AND a.is_onsale = 1
  6494. AND a.cancel_flag = 0
  6495. GROUP BY
  6496. a.prod_id,
  6497. b.type_id
  6498. 2016-08-27 13:21:35 SELECT
  6499. a.prod_id,
  6500. a.ticket_mark,
  6501. a.parent_id,
  6502. b.type_id,
  6503. b.property,
  6504. c.prod_price,
  6505. c.cus_price
  6506. FROM
  6507. opera_product AS a,
  6508. opera_product_property AS b,
  6509. opera_product_price AS c
  6510. WHERE
  6511. a.prod_id = b.prod_id
  6512. AND a.prod_id = c.prod_id
  6513. AND a.prod_type = 82
  6514. AND a.is_onsale = 1
  6515. AND a.cancel_flag = 0
  6516. AND c.cancel_flag = 0
  6517. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  6518. GROUP BY
  6519. a.prod_id,
  6520. b.type_id
  6521. 2016-08-27 13:21:35 SELECT
  6522. a.prod_id,
  6523. a.prod_name,
  6524. a.bus_type,
  6525. b.type_id,
  6526. b.property
  6527. FROM
  6528. opera_product AS a,
  6529. opera_product_property AS b
  6530. WHERE
  6531. a.prod_id = b.prod_id
  6532. AND a.prod_type = 81
  6533. AND a.is_onsale = 1
  6534. AND a.cancel_flag = 0
  6535. GROUP BY
  6536. a.prod_id,
  6537. b.type_id
  6538. 2016-08-27 13:21:35 SELECT
  6539. a.prod_id,
  6540. a.ticket_mark,
  6541. a.parent_id,
  6542. b.type_id,
  6543. b.property,
  6544. c.prod_price,
  6545. c.cus_price
  6546. FROM
  6547. opera_product AS a,
  6548. opera_product_property AS b,
  6549. opera_product_price AS c
  6550. WHERE
  6551. a.prod_id = b.prod_id
  6552. AND a.prod_id = c.prod_id
  6553. AND a.prod_type = 82
  6554. AND a.is_onsale = 1
  6555. AND a.cancel_flag = 0
  6556. AND c.cancel_flag = 0
  6557. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  6558. GROUP BY
  6559. a.prod_id,
  6560. b.type_id
  6561. 2016-08-27 13:21:37 SELECT
  6562. c.area_id,
  6563. d.area_name,
  6564. a.bus_type,
  6565. c.res_id,
  6566. c.res_name,
  6567. e.parent_area_id_list
  6568. FROM
  6569. opera_product AS a,
  6570. opera_product_station AS b,
  6571. base_resource AS c,
  6572. base_area AS d,
  6573. base_area_view AS e
  6574. WHERE
  6575. a.prod_id = b.prod_id
  6576. AND b.res_id = c.res_id
  6577. AND c.area_id = d.id
  6578. AND d.id = e.area_id
  6579. AND a.prod_type = 81
  6580. AND a.cancel_flag = 0
  6581. GROUP BY
  6582. c.res_id,
  6583. a.bus_type,
  6584. c.area_id
  6585. ORDER BY
  6586. c.area_id
  6587. 2016-08-27 13:21:37 SELECT
  6588. c.area_id,
  6589. d.area_name,
  6590. a.bus_type,
  6591. c.res_id,
  6592. c.res_name,
  6593. e.parent_area_id_list
  6594. FROM
  6595. opera_product AS a,
  6596. opera_product_station AS b,
  6597. base_resource AS c,
  6598. base_area AS d,
  6599. base_area_view AS e
  6600. WHERE
  6601. a.prod_id = b.prod_id
  6602. AND b.res_id = c.res_id
  6603. AND c.area_id = d.id
  6604. AND d.id = e.area_id
  6605. AND a.prod_type = 81
  6606. AND a.cancel_flag = 0
  6607. GROUP BY
  6608. c.res_id,
  6609. a.bus_type,
  6610. c.area_id
  6611. ORDER BY
  6612. c.area_id
  6613. 2016-08-27 13:21:41 SELECT
  6614. a.prod_id,
  6615. a.prod_name,
  6616. a.bus_type,
  6617. b.type_id,
  6618. b.property
  6619. FROM
  6620. opera_product AS a,
  6621. opera_product_property AS b
  6622. WHERE
  6623. a.prod_id = b.prod_id
  6624. AND a.prod_type = 81
  6625. AND a.is_onsale = 1
  6626. AND a.cancel_flag = 0
  6627. GROUP BY
  6628. a.prod_id,
  6629. b.type_id
  6630. 2016-08-27 13:21:41 SELECT
  6631. a.prod_id,
  6632. a.ticket_mark,
  6633. a.parent_id,
  6634. b.type_id,
  6635. b.property,
  6636. c.prod_price,
  6637. c.cus_price
  6638. FROM
  6639. opera_product AS a,
  6640. opera_product_property AS b,
  6641. opera_product_price AS c
  6642. WHERE
  6643. a.prod_id = b.prod_id
  6644. AND a.prod_id = c.prod_id
  6645. AND a.prod_type = 82
  6646. AND a.is_onsale = 1
  6647. AND a.cancel_flag = 0
  6648. AND c.cancel_flag = 0
  6649. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  6650. GROUP BY
  6651. a.prod_id,
  6652. b.type_id
  6653. 2016-08-27 13:21:43 SELECT
  6654. c.area_id,
  6655. d.area_name,
  6656. a.bus_type,
  6657. c.res_id,
  6658. c.res_name,
  6659. e.parent_area_id_list
  6660. FROM
  6661. opera_product AS a,
  6662. opera_product_station AS b,
  6663. base_resource AS c,
  6664. base_area AS d,
  6665. base_area_view AS e
  6666. WHERE
  6667. a.prod_id = b.prod_id
  6668. AND b.res_id = c.res_id
  6669. AND c.area_id = d.id
  6670. AND d.id = e.area_id
  6671. AND a.prod_type = 81
  6672. AND a.cancel_flag = 0
  6673. GROUP BY
  6674. c.res_id,
  6675. a.bus_type,
  6676. c.area_id
  6677. ORDER BY
  6678. c.area_id
  6679. 2016-08-27 13:35:32 SELECT
  6680. a.prod_id,
  6681. a.prod_name,
  6682. a.bus_type,
  6683. b.type_id,
  6684. b.property
  6685. FROM
  6686. opera_product AS a,
  6687. opera_product_property AS b
  6688. WHERE
  6689. a.prod_id = b.prod_id
  6690. AND a.prod_type = 81
  6691. AND a.is_onsale = 1
  6692. AND a.cancel_flag = 0
  6693. GROUP BY
  6694. a.prod_id,
  6695. b.type_id
  6696. 2016-08-27 13:35:32 SELECT
  6697. a.prod_id,
  6698. a.ticket_mark,
  6699. a.parent_id,
  6700. b.type_id,
  6701. b.property,
  6702. c.prod_price,
  6703. c.cus_price
  6704. FROM
  6705. opera_product AS a,
  6706. opera_product_property AS b,
  6707. opera_product_price AS c
  6708. WHERE
  6709. a.prod_id = b.prod_id
  6710. AND a.prod_id = c.prod_id
  6711. AND a.prod_type = 82
  6712. AND a.is_onsale = 1
  6713. AND a.cancel_flag = 0
  6714. AND c.cancel_flag = 0
  6715. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  6716. GROUP BY
  6717. a.prod_id,
  6718. b.type_id
  6719. 2016-08-27 13:35:33 SELECT
  6720. a.prod_id,
  6721. a.prod_name,
  6722. a.bus_type,
  6723. b.type_id,
  6724. b.property
  6725. FROM
  6726. opera_product AS a,
  6727. opera_product_property AS b
  6728. WHERE
  6729. a.prod_id = b.prod_id
  6730. AND a.prod_type = 81
  6731. AND a.is_onsale = 1
  6732. AND a.cancel_flag = 0
  6733. GROUP BY
  6734. a.prod_id,
  6735. b.type_id
  6736. 2016-08-27 13:35:33 SELECT
  6737. a.prod_id,
  6738. a.ticket_mark,
  6739. a.parent_id,
  6740. b.type_id,
  6741. b.property,
  6742. c.prod_price,
  6743. c.cus_price
  6744. FROM
  6745. opera_product AS a,
  6746. opera_product_property AS b,
  6747. opera_product_price AS c
  6748. WHERE
  6749. a.prod_id = b.prod_id
  6750. AND a.prod_id = c.prod_id
  6751. AND a.prod_type = 82
  6752. AND a.is_onsale = 1
  6753. AND a.cancel_flag = 0
  6754. AND c.cancel_flag = 0
  6755. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  6756. GROUP BY
  6757. a.prod_id,
  6758. b.type_id
  6759. 2016-08-27 13:35:34 SELECT
  6760. c.area_id,
  6761. d.area_name,
  6762. a.bus_type,
  6763. c.res_id,
  6764. c.res_name,
  6765. e.parent_area_id_list
  6766. FROM
  6767. opera_product AS a,
  6768. opera_product_station AS b,
  6769. base_resource AS c,
  6770. base_area AS d,
  6771. base_area_view AS e
  6772. WHERE
  6773. a.prod_id = b.prod_id
  6774. AND b.res_id = c.res_id
  6775. AND c.area_id = d.id
  6776. AND d.id = e.area_id
  6777. AND a.prod_type = 81
  6778. AND a.cancel_flag = 0
  6779. GROUP BY
  6780. c.res_id,
  6781. a.bus_type,
  6782. c.area_id
  6783. ORDER BY
  6784. c.area_id
  6785. 2016-08-27 13:35:35 SELECT
  6786. c.area_id,
  6787. d.area_name,
  6788. a.bus_type,
  6789. c.res_id,
  6790. c.res_name,
  6791. e.parent_area_id_list
  6792. FROM
  6793. opera_product AS a,
  6794. opera_product_station AS b,
  6795. base_resource AS c,
  6796. base_area AS d,
  6797. base_area_view AS e
  6798. WHERE
  6799. a.prod_id = b.prod_id
  6800. AND b.res_id = c.res_id
  6801. AND c.area_id = d.id
  6802. AND d.id = e.area_id
  6803. AND a.prod_type = 81
  6804. AND a.cancel_flag = 0
  6805. GROUP BY
  6806. c.res_id,
  6807. a.bus_type,
  6808. c.area_id
  6809. ORDER BY
  6810. c.area_id
  6811. 2016-08-27 13:35:40 SELECT
  6812. a.prod_id,
  6813. a.prod_name,
  6814. a.bus_type,
  6815. b.type_id,
  6816. b.property
  6817. FROM
  6818. opera_product AS a,
  6819. opera_product_property AS b
  6820. WHERE
  6821. a.prod_id = b.prod_id
  6822. AND a.prod_type = 81
  6823. AND a.is_onsale = 1
  6824. AND a.cancel_flag = 0
  6825. GROUP BY
  6826. a.prod_id,
  6827. b.type_id
  6828. 2016-08-27 13:35:40 SELECT
  6829. a.prod_id,
  6830. a.ticket_mark,
  6831. a.parent_id,
  6832. b.type_id,
  6833. b.property,
  6834. c.prod_price,
  6835. c.cus_price
  6836. FROM
  6837. opera_product AS a,
  6838. opera_product_property AS b,
  6839. opera_product_price AS c
  6840. WHERE
  6841. a.prod_id = b.prod_id
  6842. AND a.prod_id = c.prod_id
  6843. AND a.prod_type = 82
  6844. AND a.is_onsale = 1
  6845. AND a.cancel_flag = 0
  6846. AND c.cancel_flag = 0
  6847. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  6848. GROUP BY
  6849. a.prod_id,
  6850. b.type_id
  6851. 2016-08-27 13:35:44 SELECT
  6852. c.area_id,
  6853. d.area_name,
  6854. a.bus_type,
  6855. c.res_id,
  6856. c.res_name,
  6857. e.parent_area_id_list
  6858. FROM
  6859. opera_product AS a,
  6860. opera_product_station AS b,
  6861. base_resource AS c,
  6862. base_area AS d,
  6863. base_area_view AS e
  6864. WHERE
  6865. a.prod_id = b.prod_id
  6866. AND b.res_id = c.res_id
  6867. AND c.area_id = d.id
  6868. AND d.id = e.area_id
  6869. AND a.prod_type = 81
  6870. AND a.cancel_flag = 0
  6871. GROUP BY
  6872. c.res_id,
  6873. a.bus_type,
  6874. c.area_id
  6875. ORDER BY
  6876. c.area_id
  6877. 2016-08-27 13:49:47 SELECT
  6878. a.prod_id,
  6879. a.prod_name,
  6880. a.bus_type,
  6881. b.type_id,
  6882. b.property
  6883. FROM
  6884. opera_product AS a,
  6885. opera_product_property AS b
  6886. WHERE
  6887. a.prod_id = b.prod_id
  6888. AND a.prod_type = 81
  6889. AND a.is_onsale = 1
  6890. AND a.cancel_flag = 0
  6891. GROUP BY
  6892. a.prod_id,
  6893. b.type_id
  6894. 2016-08-27 13:49:47 SELECT
  6895. a.prod_id,
  6896. a.ticket_mark,
  6897. a.parent_id,
  6898. b.type_id,
  6899. b.property,
  6900. c.prod_price,
  6901. c.cus_price
  6902. FROM
  6903. opera_product AS a,
  6904. opera_product_property AS b,
  6905. opera_product_price AS c
  6906. WHERE
  6907. a.prod_id = b.prod_id
  6908. AND a.prod_id = c.prod_id
  6909. AND a.prod_type = 82
  6910. AND a.is_onsale = 1
  6911. AND a.cancel_flag = 0
  6912. AND c.cancel_flag = 0
  6913. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  6914. GROUP BY
  6915. a.prod_id,
  6916. b.type_id
  6917. 2016-08-27 13:49:49 SELECT
  6918. c.area_id,
  6919. d.area_name,
  6920. a.bus_type,
  6921. c.res_id,
  6922. c.res_name,
  6923. e.parent_area_id_list
  6924. FROM
  6925. opera_product AS a,
  6926. opera_product_station AS b,
  6927. base_resource AS c,
  6928. base_area AS d,
  6929. base_area_view AS e
  6930. WHERE
  6931. a.prod_id = b.prod_id
  6932. AND b.res_id = c.res_id
  6933. AND c.area_id = d.id
  6934. AND d.id = e.area_id
  6935. AND a.prod_type = 81
  6936. AND a.cancel_flag = 0
  6937. GROUP BY
  6938. c.res_id,
  6939. a.bus_type,
  6940. c.area_id
  6941. ORDER BY
  6942. c.area_id
  6943. 2016-08-27 13:49:53 SELECT
  6944. a.prod_id,
  6945. a.prod_name,
  6946. a.bus_type,
  6947. b.type_id,
  6948. b.property
  6949. FROM
  6950. opera_product AS a,
  6951. opera_product_property AS b
  6952. WHERE
  6953. a.prod_id = b.prod_id
  6954. AND a.prod_type = 81
  6955. AND a.is_onsale = 1
  6956. AND a.cancel_flag = 0
  6957. GROUP BY
  6958. a.prod_id,
  6959. b.type_id
  6960. 2016-08-27 13:49:53 SELECT
  6961. a.prod_id,
  6962. a.ticket_mark,
  6963. a.parent_id,
  6964. b.type_id,
  6965. b.property,
  6966. c.prod_price,
  6967. c.cus_price
  6968. FROM
  6969. opera_product AS a,
  6970. opera_product_property AS b,
  6971. opera_product_price AS c
  6972. WHERE
  6973. a.prod_id = b.prod_id
  6974. AND a.prod_id = c.prod_id
  6975. AND a.prod_type = 82
  6976. AND a.is_onsale = 1
  6977. AND a.cancel_flag = 0
  6978. AND c.cancel_flag = 0
  6979. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  6980. GROUP BY
  6981. a.prod_id,
  6982. b.type_id
  6983. 2016-08-27 13:49:53 SELECT
  6984. a.prod_id,
  6985. a.prod_name,
  6986. a.bus_type,
  6987. b.type_id,
  6988. b.property
  6989. FROM
  6990. opera_product AS a,
  6991. opera_product_property AS b
  6992. WHERE
  6993. a.prod_id = b.prod_id
  6994. AND a.prod_type = 81
  6995. AND a.is_onsale = 1
  6996. AND a.cancel_flag = 0
  6997. GROUP BY
  6998. a.prod_id,
  6999. b.type_id
  7000. 2016-08-27 13:49:53 SELECT
  7001. a.prod_id,
  7002. a.ticket_mark,
  7003. a.parent_id,
  7004. b.type_id,
  7005. b.property,
  7006. c.prod_price,
  7007. c.cus_price
  7008. FROM
  7009. opera_product AS a,
  7010. opera_product_property AS b,
  7011. opera_product_price AS c
  7012. WHERE
  7013. a.prod_id = b.prod_id
  7014. AND a.prod_id = c.prod_id
  7015. AND a.prod_type = 82
  7016. AND a.is_onsale = 1
  7017. AND a.cancel_flag = 0
  7018. AND c.cancel_flag = 0
  7019. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  7020. GROUP BY
  7021. a.prod_id,
  7022. b.type_id
  7023. 2016-08-27 13:49:55 SELECT
  7024. c.area_id,
  7025. d.area_name,
  7026. a.bus_type,
  7027. c.res_id,
  7028. c.res_name,
  7029. e.parent_area_id_list
  7030. FROM
  7031. opera_product AS a,
  7032. opera_product_station AS b,
  7033. base_resource AS c,
  7034. base_area AS d,
  7035. base_area_view AS e
  7036. WHERE
  7037. a.prod_id = b.prod_id
  7038. AND b.res_id = c.res_id
  7039. AND c.area_id = d.id
  7040. AND d.id = e.area_id
  7041. AND a.prod_type = 81
  7042. AND a.cancel_flag = 0
  7043. GROUP BY
  7044. c.res_id,
  7045. a.bus_type,
  7046. c.area_id
  7047. ORDER BY
  7048. c.area_id
  7049. 2016-08-27 13:49:55 SELECT
  7050. c.area_id,
  7051. d.area_name,
  7052. a.bus_type,
  7053. c.res_id,
  7054. c.res_name,
  7055. e.parent_area_id_list
  7056. FROM
  7057. opera_product AS a,
  7058. opera_product_station AS b,
  7059. base_resource AS c,
  7060. base_area AS d,
  7061. base_area_view AS e
  7062. WHERE
  7063. a.prod_id = b.prod_id
  7064. AND b.res_id = c.res_id
  7065. AND c.area_id = d.id
  7066. AND d.id = e.area_id
  7067. AND a.prod_type = 81
  7068. AND a.cancel_flag = 0
  7069. GROUP BY
  7070. c.res_id,
  7071. a.bus_type,
  7072. c.area_id
  7073. ORDER BY
  7074. c.area_id
  7075. 2016-08-27 13:50:22 SELECT
  7076. a.prod_id,
  7077. a.prod_name,
  7078. a.bus_type,
  7079. b.type_id,
  7080. b.property
  7081. FROM
  7082. opera_product AS a,
  7083. opera_product_property AS b
  7084. WHERE
  7085. a.prod_id = b.prod_id
  7086. AND a.prod_type = 81
  7087. AND a.is_onsale = 1
  7088. AND a.cancel_flag = 0
  7089. GROUP BY
  7090. a.prod_id,
  7091. b.type_id
  7092. 2016-08-27 13:50:22 SELECT
  7093. a.prod_id,
  7094. a.ticket_mark,
  7095. a.parent_id,
  7096. b.type_id,
  7097. b.property,
  7098. c.prod_price,
  7099. c.cus_price
  7100. FROM
  7101. opera_product AS a,
  7102. opera_product_property AS b,
  7103. opera_product_price AS c
  7104. WHERE
  7105. a.prod_id = b.prod_id
  7106. AND a.prod_id = c.prod_id
  7107. AND a.prod_type = 82
  7108. AND a.is_onsale = 1
  7109. AND a.cancel_flag = 0
  7110. AND c.cancel_flag = 0
  7111. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  7112. GROUP BY
  7113. a.prod_id,
  7114. b.type_id
  7115. 2016-08-27 13:50:24 SELECT
  7116. c.area_id,
  7117. d.area_name,
  7118. a.bus_type,
  7119. c.res_id,
  7120. c.res_name,
  7121. e.parent_area_id_list
  7122. FROM
  7123. opera_product AS a,
  7124. opera_product_station AS b,
  7125. base_resource AS c,
  7126. base_area AS d,
  7127. base_area_view AS e
  7128. WHERE
  7129. a.prod_id = b.prod_id
  7130. AND b.res_id = c.res_id
  7131. AND c.area_id = d.id
  7132. AND d.id = e.area_id
  7133. AND a.prod_type = 81
  7134. AND a.cancel_flag = 0
  7135. GROUP BY
  7136. c.res_id,
  7137. a.bus_type,
  7138. c.area_id
  7139. ORDER BY
  7140. c.area_id
  7141. 2016-08-27 13:50:40 SELECT
  7142. a.prod_id,
  7143. a.prod_name,
  7144. a.bus_type,
  7145. b.type_id,
  7146. b.property
  7147. FROM
  7148. opera_product AS a,
  7149. opera_product_property AS b
  7150. WHERE
  7151. a.prod_id = b.prod_id
  7152. AND a.prod_type = 81
  7153. AND a.is_onsale = 1
  7154. AND a.cancel_flag = 0
  7155. GROUP BY
  7156. a.prod_id,
  7157. b.type_id
  7158. 2016-08-27 13:50:40 SELECT
  7159. a.prod_id,
  7160. a.ticket_mark,
  7161. a.parent_id,
  7162. b.type_id,
  7163. b.property,
  7164. c.prod_price,
  7165. c.cus_price
  7166. FROM
  7167. opera_product AS a,
  7168. opera_product_property AS b,
  7169. opera_product_price AS c
  7170. WHERE
  7171. a.prod_id = b.prod_id
  7172. AND a.prod_id = c.prod_id
  7173. AND a.prod_type = 82
  7174. AND a.is_onsale = 1
  7175. AND a.cancel_flag = 0
  7176. AND c.cancel_flag = 0
  7177. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  7178. GROUP BY
  7179. a.prod_id,
  7180. b.type_id
  7181. 2016-08-27 13:50:42 SELECT
  7182. c.area_id,
  7183. d.area_name,
  7184. a.bus_type,
  7185. c.res_id,
  7186. c.res_name,
  7187. e.parent_area_id_list
  7188. FROM
  7189. opera_product AS a,
  7190. opera_product_station AS b,
  7191. base_resource AS c,
  7192. base_area AS d,
  7193. base_area_view AS e
  7194. WHERE
  7195. a.prod_id = b.prod_id
  7196. AND b.res_id = c.res_id
  7197. AND c.area_id = d.id
  7198. AND d.id = e.area_id
  7199. AND a.prod_type = 81
  7200. AND a.cancel_flag = 0
  7201. GROUP BY
  7202. c.res_id,
  7203. a.bus_type,
  7204. c.area_id
  7205. ORDER BY
  7206. c.area_id
  7207. 2016-08-27 13:51:54 SELECT
  7208. a.prod_id,
  7209. a.prod_name,
  7210. a.bus_type,
  7211. b.type_id,
  7212. b.property
  7213. FROM
  7214. opera_product AS a,
  7215. opera_product_property AS b
  7216. WHERE
  7217. a.prod_id = b.prod_id
  7218. AND a.prod_type = 81
  7219. AND a.is_onsale = 1
  7220. AND a.cancel_flag = 0
  7221. GROUP BY
  7222. a.prod_id,
  7223. b.type_id
  7224. 2016-08-27 13:51:54 SELECT
  7225. a.prod_id,
  7226. a.ticket_mark,
  7227. a.parent_id,
  7228. b.type_id,
  7229. b.property,
  7230. c.prod_price,
  7231. c.cus_price
  7232. FROM
  7233. opera_product AS a,
  7234. opera_product_property AS b,
  7235. opera_product_price AS c
  7236. WHERE
  7237. a.prod_id = b.prod_id
  7238. AND a.prod_id = c.prod_id
  7239. AND a.prod_type = 82
  7240. AND a.is_onsale = 1
  7241. AND a.cancel_flag = 0
  7242. AND c.cancel_flag = 0
  7243. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  7244. GROUP BY
  7245. a.prod_id,
  7246. b.type_id
  7247. 2016-08-27 13:51:56 SELECT
  7248. c.area_id,
  7249. d.area_name,
  7250. a.bus_type,
  7251. c.res_id,
  7252. c.res_name,
  7253. e.parent_area_id_list
  7254. FROM
  7255. opera_product AS a,
  7256. opera_product_station AS b,
  7257. base_resource AS c,
  7258. base_area AS d,
  7259. base_area_view AS e
  7260. WHERE
  7261. a.prod_id = b.prod_id
  7262. AND b.res_id = c.res_id
  7263. AND c.area_id = d.id
  7264. AND d.id = e.area_id
  7265. AND a.prod_type = 81
  7266. AND a.cancel_flag = 0
  7267. GROUP BY
  7268. c.res_id,
  7269. a.bus_type,
  7270. c.area_id
  7271. ORDER BY
  7272. c.area_id
  7273. 2016-08-27 13:52:03 SELECT
  7274. a.prod_id,
  7275. a.prod_name,
  7276. a.bus_type,
  7277. b.type_id,
  7278. b.property
  7279. FROM
  7280. opera_product AS a,
  7281. opera_product_property AS b
  7282. WHERE
  7283. a.prod_id = b.prod_id
  7284. AND a.prod_type = 81
  7285. AND a.is_onsale = 1
  7286. AND a.cancel_flag = 0
  7287. GROUP BY
  7288. a.prod_id,
  7289. b.type_id
  7290. 2016-08-27 13:52:03 SELECT
  7291. a.prod_id,
  7292. a.ticket_mark,
  7293. a.parent_id,
  7294. b.type_id,
  7295. b.property,
  7296. c.prod_price,
  7297. c.cus_price
  7298. FROM
  7299. opera_product AS a,
  7300. opera_product_property AS b,
  7301. opera_product_price AS c
  7302. WHERE
  7303. a.prod_id = b.prod_id
  7304. AND a.prod_id = c.prod_id
  7305. AND a.prod_type = 82
  7306. AND a.is_onsale = 1
  7307. AND a.cancel_flag = 0
  7308. AND c.cancel_flag = 0
  7309. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  7310. GROUP BY
  7311. a.prod_id,
  7312. b.type_id
  7313. 2016-08-27 13:52:05 SELECT
  7314. c.area_id,
  7315. d.area_name,
  7316. a.bus_type,
  7317. c.res_id,
  7318. c.res_name,
  7319. e.parent_area_id_list
  7320. FROM
  7321. opera_product AS a,
  7322. opera_product_station AS b,
  7323. base_resource AS c,
  7324. base_area AS d,
  7325. base_area_view AS e
  7326. WHERE
  7327. a.prod_id = b.prod_id
  7328. AND b.res_id = c.res_id
  7329. AND c.area_id = d.id
  7330. AND d.id = e.area_id
  7331. AND a.prod_type = 81
  7332. AND a.cancel_flag = 0
  7333. GROUP BY
  7334. c.res_id,
  7335. a.bus_type,
  7336. c.area_id
  7337. ORDER BY
  7338. c.area_id
  7339. 2016-08-27 13:52:38 SELECT
  7340. a.prod_id,
  7341. a.prod_name,
  7342. a.bus_type,
  7343. b.type_id,
  7344. b.property
  7345. FROM
  7346. opera_product AS a,
  7347. opera_product_property AS b
  7348. WHERE
  7349. a.prod_id = b.prod_id
  7350. AND a.prod_type = 81
  7351. AND a.is_onsale = 1
  7352. AND a.cancel_flag = 0
  7353. GROUP BY
  7354. a.prod_id,
  7355. b.type_id
  7356. 2016-08-27 13:52:38 SELECT
  7357. a.prod_id,
  7358. a.ticket_mark,
  7359. a.parent_id,
  7360. b.type_id,
  7361. b.property,
  7362. c.prod_price,
  7363. c.cus_price
  7364. FROM
  7365. opera_product AS a,
  7366. opera_product_property AS b,
  7367. opera_product_price AS c
  7368. WHERE
  7369. a.prod_id = b.prod_id
  7370. AND a.prod_id = c.prod_id
  7371. AND a.prod_type = 82
  7372. AND a.is_onsale = 1
  7373. AND a.cancel_flag = 0
  7374. AND c.cancel_flag = 0
  7375. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  7376. GROUP BY
  7377. a.prod_id,
  7378. b.type_id
  7379. 2016-08-27 13:52:40 SELECT
  7380. c.area_id,
  7381. d.area_name,
  7382. a.bus_type,
  7383. c.res_id,
  7384. c.res_name,
  7385. e.parent_area_id_list
  7386. FROM
  7387. opera_product AS a,
  7388. opera_product_station AS b,
  7389. base_resource AS c,
  7390. base_area AS d,
  7391. base_area_view AS e
  7392. WHERE
  7393. a.prod_id = b.prod_id
  7394. AND b.res_id = c.res_id
  7395. AND c.area_id = d.id
  7396. AND d.id = e.area_id
  7397. AND a.prod_type = 81
  7398. AND a.cancel_flag = 0
  7399. GROUP BY
  7400. c.res_id,
  7401. a.bus_type,
  7402. c.area_id
  7403. ORDER BY
  7404. c.area_id
  7405. 2016-08-27 13:52:44 SELECT
  7406. a.prod_id,
  7407. a.prod_name,
  7408. a.bus_type,
  7409. b.type_id,
  7410. b.property
  7411. FROM
  7412. opera_product AS a,
  7413. opera_product_property AS b
  7414. WHERE
  7415. a.prod_id = b.prod_id
  7416. AND a.prod_type = 81
  7417. AND a.is_onsale = 1
  7418. AND a.cancel_flag = 0
  7419. GROUP BY
  7420. a.prod_id,
  7421. b.type_id
  7422. 2016-08-27 13:52:44 SELECT
  7423. a.prod_id,
  7424. a.ticket_mark,
  7425. a.parent_id,
  7426. b.type_id,
  7427. b.property,
  7428. c.prod_price,
  7429. c.cus_price
  7430. FROM
  7431. opera_product AS a,
  7432. opera_product_property AS b,
  7433. opera_product_price AS c
  7434. WHERE
  7435. a.prod_id = b.prod_id
  7436. AND a.prod_id = c.prod_id
  7437. AND a.prod_type = 82
  7438. AND a.is_onsale = 1
  7439. AND a.cancel_flag = 0
  7440. AND c.cancel_flag = 0
  7441. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  7442. GROUP BY
  7443. a.prod_id,
  7444. b.type_id
  7445. 2016-08-27 13:52:46 SELECT
  7446. c.area_id,
  7447. d.area_name,
  7448. a.bus_type,
  7449. c.res_id,
  7450. c.res_name,
  7451. e.parent_area_id_list
  7452. FROM
  7453. opera_product AS a,
  7454. opera_product_station AS b,
  7455. base_resource AS c,
  7456. base_area AS d,
  7457. base_area_view AS e
  7458. WHERE
  7459. a.prod_id = b.prod_id
  7460. AND b.res_id = c.res_id
  7461. AND c.area_id = d.id
  7462. AND d.id = e.area_id
  7463. AND a.prod_type = 81
  7464. AND a.cancel_flag = 0
  7465. GROUP BY
  7466. c.res_id,
  7467. a.bus_type,
  7468. c.area_id
  7469. ORDER BY
  7470. c.area_id
  7471. 2016-08-27 13:53:21 SELECT
  7472. a.prod_id,
  7473. a.prod_name,
  7474. a.bus_type,
  7475. b.type_id,
  7476. b.property
  7477. FROM
  7478. opera_product AS a,
  7479. opera_product_property AS b
  7480. WHERE
  7481. a.prod_id = b.prod_id
  7482. AND a.prod_type = 81
  7483. AND a.is_onsale = 1
  7484. AND a.cancel_flag = 0
  7485. GROUP BY
  7486. a.prod_id,
  7487. b.type_id
  7488. 2016-08-27 13:53:22 SELECT
  7489. a.prod_id,
  7490. a.ticket_mark,
  7491. a.parent_id,
  7492. b.type_id,
  7493. b.property,
  7494. c.prod_price,
  7495. c.cus_price
  7496. FROM
  7497. opera_product AS a,
  7498. opera_product_property AS b,
  7499. opera_product_price AS c
  7500. WHERE
  7501. a.prod_id = b.prod_id
  7502. AND a.prod_id = c.prod_id
  7503. AND a.prod_type = 82
  7504. AND a.is_onsale = 1
  7505. AND a.cancel_flag = 0
  7506. AND c.cancel_flag = 0
  7507. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  7508. GROUP BY
  7509. a.prod_id,
  7510. b.type_id
  7511. 2016-08-27 13:53:23 SELECT
  7512. c.area_id,
  7513. d.area_name,
  7514. a.bus_type,
  7515. c.res_id,
  7516. c.res_name,
  7517. e.parent_area_id_list
  7518. FROM
  7519. opera_product AS a,
  7520. opera_product_station AS b,
  7521. base_resource AS c,
  7522. base_area AS d,
  7523. base_area_view AS e
  7524. WHERE
  7525. a.prod_id = b.prod_id
  7526. AND b.res_id = c.res_id
  7527. AND c.area_id = d.id
  7528. AND d.id = e.area_id
  7529. AND a.prod_type = 81
  7530. AND a.cancel_flag = 0
  7531. GROUP BY
  7532. c.res_id,
  7533. a.bus_type,
  7534. c.area_id
  7535. ORDER BY
  7536. c.area_id
  7537. 2016-08-27 13:53:27 SELECT
  7538. a.prod_id,
  7539. a.prod_name,
  7540. a.bus_type,
  7541. b.type_id,
  7542. b.property
  7543. FROM
  7544. opera_product AS a,
  7545. opera_product_property AS b
  7546. WHERE
  7547. a.prod_id = b.prod_id
  7548. AND a.prod_type = 81
  7549. AND a.is_onsale = 1
  7550. AND a.cancel_flag = 0
  7551. GROUP BY
  7552. a.prod_id,
  7553. b.type_id
  7554. 2016-08-27 13:53:27 SELECT
  7555. a.prod_id,
  7556. a.ticket_mark,
  7557. a.parent_id,
  7558. b.type_id,
  7559. b.property,
  7560. c.prod_price,
  7561. c.cus_price
  7562. FROM
  7563. opera_product AS a,
  7564. opera_product_property AS b,
  7565. opera_product_price AS c
  7566. WHERE
  7567. a.prod_id = b.prod_id
  7568. AND a.prod_id = c.prod_id
  7569. AND a.prod_type = 82
  7570. AND a.is_onsale = 1
  7571. AND a.cancel_flag = 0
  7572. AND c.cancel_flag = 0
  7573. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  7574. GROUP BY
  7575. a.prod_id,
  7576. b.type_id
  7577. 2016-08-27 13:53:29 SELECT
  7578. c.area_id,
  7579. d.area_name,
  7580. a.bus_type,
  7581. c.res_id,
  7582. c.res_name,
  7583. e.parent_area_id_list
  7584. FROM
  7585. opera_product AS a,
  7586. opera_product_station AS b,
  7587. base_resource AS c,
  7588. base_area AS d,
  7589. base_area_view AS e
  7590. WHERE
  7591. a.prod_id = b.prod_id
  7592. AND b.res_id = c.res_id
  7593. AND c.area_id = d.id
  7594. AND d.id = e.area_id
  7595. AND a.prod_type = 81
  7596. AND a.cancel_flag = 0
  7597. GROUP BY
  7598. c.res_id,
  7599. a.bus_type,
  7600. c.area_id
  7601. ORDER BY
  7602. c.area_id
  7603. 2016-08-27 14:10:02 SELECT
  7604. a.prod_id,
  7605. a.prod_name,
  7606. a.bus_type,
  7607. b.type_id,
  7608. b.property
  7609. FROM
  7610. opera_product AS a,
  7611. opera_product_property AS b
  7612. WHERE
  7613. a.prod_id = b.prod_id
  7614. AND a.prod_type = 81
  7615. AND a.is_onsale = 1
  7616. AND a.cancel_flag = 0
  7617. GROUP BY
  7618. a.prod_id,
  7619. b.type_id
  7620. 2016-08-27 14:10:02 SELECT
  7621. a.prod_id,
  7622. a.ticket_mark,
  7623. a.parent_id,
  7624. b.type_id,
  7625. b.property,
  7626. c.prod_price,
  7627. c.cus_price
  7628. FROM
  7629. opera_product AS a,
  7630. opera_product_property AS b,
  7631. opera_product_price AS c
  7632. WHERE
  7633. a.prod_id = b.prod_id
  7634. AND a.prod_id = c.prod_id
  7635. AND a.prod_type = 82
  7636. AND a.is_onsale = 1
  7637. AND a.cancel_flag = 0
  7638. AND c.cancel_flag = 0
  7639. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  7640. GROUP BY
  7641. a.prod_id,
  7642. b.type_id
  7643. 2016-08-27 14:10:04 SELECT
  7644. c.area_id,
  7645. d.area_name,
  7646. a.bus_type,
  7647. c.res_id,
  7648. c.res_name,
  7649. e.parent_area_id_list
  7650. FROM
  7651. opera_product AS a,
  7652. opera_product_station AS b,
  7653. base_resource AS c,
  7654. base_area AS d,
  7655. base_area_view AS e
  7656. WHERE
  7657. a.prod_id = b.prod_id
  7658. AND b.res_id = c.res_id
  7659. AND c.area_id = d.id
  7660. AND d.id = e.area_id
  7661. AND a.prod_type = 81
  7662. AND a.cancel_flag = 0
  7663. GROUP BY
  7664. c.res_id,
  7665. a.bus_type,
  7666. c.area_id
  7667. ORDER BY
  7668. c.area_id
  7669. 2016-08-27 14:11:28 SELECT
  7670. a.prod_id,
  7671. a.prod_name,
  7672. a.bus_type,
  7673. b.type_id,
  7674. b.property
  7675. FROM
  7676. opera_product AS a,
  7677. opera_product_property AS b
  7678. WHERE
  7679. a.prod_id = b.prod_id
  7680. AND a.prod_type = 81
  7681. AND a.is_onsale = 1
  7682. AND a.cancel_flag = 0
  7683. GROUP BY
  7684. a.prod_id,
  7685. b.type_id
  7686. 2016-08-27 14:11:28 SELECT
  7687. a.prod_id,
  7688. a.ticket_mark,
  7689. a.parent_id,
  7690. b.type_id,
  7691. b.property,
  7692. c.prod_price,
  7693. c.cus_price
  7694. FROM
  7695. opera_product AS a,
  7696. opera_product_property AS b,
  7697. opera_product_price AS c
  7698. WHERE
  7699. a.prod_id = b.prod_id
  7700. AND a.prod_id = c.prod_id
  7701. AND a.prod_type = 82
  7702. AND a.is_onsale = 1
  7703. AND a.cancel_flag = 0
  7704. AND c.cancel_flag = 0
  7705. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  7706. GROUP BY
  7707. a.prod_id,
  7708. b.type_id
  7709. 2016-08-27 14:11:30 SELECT
  7710. c.area_id,
  7711. d.area_name,
  7712. a.bus_type,
  7713. c.res_id,
  7714. c.res_name,
  7715. e.parent_area_id_list
  7716. FROM
  7717. opera_product AS a,
  7718. opera_product_station AS b,
  7719. base_resource AS c,
  7720. base_area AS d,
  7721. base_area_view AS e
  7722. WHERE
  7723. a.prod_id = b.prod_id
  7724. AND b.res_id = c.res_id
  7725. AND c.area_id = d.id
  7726. AND d.id = e.area_id
  7727. AND a.prod_type = 81
  7728. AND a.cancel_flag = 0
  7729. GROUP BY
  7730. c.res_id,
  7731. a.bus_type,
  7732. c.area_id
  7733. ORDER BY
  7734. c.area_id
  7735. 2016-08-27 14:11:49 SELECT
  7736. a.prod_id,
  7737. a.prod_name,
  7738. a.bus_type,
  7739. b.type_id,
  7740. b.property
  7741. FROM
  7742. opera_product AS a,
  7743. opera_product_property AS b
  7744. WHERE
  7745. a.prod_id = b.prod_id
  7746. AND a.prod_type = 81
  7747. AND a.is_onsale = 1
  7748. AND a.cancel_flag = 0
  7749. GROUP BY
  7750. a.prod_id,
  7751. b.type_id
  7752. 2016-08-27 14:11:49 SELECT
  7753. a.prod_id,
  7754. a.ticket_mark,
  7755. a.parent_id,
  7756. b.type_id,
  7757. b.property,
  7758. c.prod_price,
  7759. c.cus_price
  7760. FROM
  7761. opera_product AS a,
  7762. opera_product_property AS b,
  7763. opera_product_price AS c
  7764. WHERE
  7765. a.prod_id = b.prod_id
  7766. AND a.prod_id = c.prod_id
  7767. AND a.prod_type = 82
  7768. AND a.is_onsale = 1
  7769. AND a.cancel_flag = 0
  7770. AND c.cancel_flag = 0
  7771. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  7772. GROUP BY
  7773. a.prod_id,
  7774. b.type_id
  7775. 2016-08-27 14:11:51 SELECT
  7776. c.area_id,
  7777. d.area_name,
  7778. a.bus_type,
  7779. c.res_id,
  7780. c.res_name,
  7781. e.parent_area_id_list
  7782. FROM
  7783. opera_product AS a,
  7784. opera_product_station AS b,
  7785. base_resource AS c,
  7786. base_area AS d,
  7787. base_area_view AS e
  7788. WHERE
  7789. a.prod_id = b.prod_id
  7790. AND b.res_id = c.res_id
  7791. AND c.area_id = d.id
  7792. AND d.id = e.area_id
  7793. AND a.prod_type = 81
  7794. AND a.cancel_flag = 0
  7795. GROUP BY
  7796. c.res_id,
  7797. a.bus_type,
  7798. c.area_id
  7799. ORDER BY
  7800. c.area_id
  7801. 2016-08-27 14:12:40 SELECT
  7802. a.prod_id,
  7803. a.prod_name,
  7804. a.bus_type,
  7805. b.type_id,
  7806. b.property
  7807. FROM
  7808. opera_product AS a,
  7809. opera_product_property AS b
  7810. WHERE
  7811. a.prod_id = b.prod_id
  7812. AND a.prod_type = 81
  7813. AND a.is_onsale = 1
  7814. AND a.cancel_flag = 0
  7815. GROUP BY
  7816. a.prod_id,
  7817. b.type_id
  7818. 2016-08-27 14:12:40 SELECT
  7819. a.prod_id,
  7820. a.ticket_mark,
  7821. a.parent_id,
  7822. b.type_id,
  7823. b.property,
  7824. c.prod_price,
  7825. c.cus_price
  7826. FROM
  7827. opera_product AS a,
  7828. opera_product_property AS b,
  7829. opera_product_price AS c
  7830. WHERE
  7831. a.prod_id = b.prod_id
  7832. AND a.prod_id = c.prod_id
  7833. AND a.prod_type = 82
  7834. AND a.is_onsale = 1
  7835. AND a.cancel_flag = 0
  7836. AND c.cancel_flag = 0
  7837. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  7838. GROUP BY
  7839. a.prod_id,
  7840. b.type_id
  7841. 2016-08-27 14:12:42 SELECT
  7842. c.area_id,
  7843. d.area_name,
  7844. a.bus_type,
  7845. c.res_id,
  7846. c.res_name,
  7847. e.parent_area_id_list
  7848. FROM
  7849. opera_product AS a,
  7850. opera_product_station AS b,
  7851. base_resource AS c,
  7852. base_area AS d,
  7853. base_area_view AS e
  7854. WHERE
  7855. a.prod_id = b.prod_id
  7856. AND b.res_id = c.res_id
  7857. AND c.area_id = d.id
  7858. AND d.id = e.area_id
  7859. AND a.prod_type = 81
  7860. AND a.cancel_flag = 0
  7861. GROUP BY
  7862. c.res_id,
  7863. a.bus_type,
  7864. c.area_id
  7865. ORDER BY
  7866. c.area_id
  7867. 2016-08-27 14:12:57 SELECT
  7868. a.prod_id,
  7869. a.prod_name,
  7870. a.bus_type,
  7871. b.type_id,
  7872. b.property
  7873. FROM
  7874. opera_product AS a,
  7875. opera_product_property AS b
  7876. WHERE
  7877. a.prod_id = b.prod_id
  7878. AND a.prod_type = 81
  7879. AND a.is_onsale = 1
  7880. AND a.cancel_flag = 0
  7881. GROUP BY
  7882. a.prod_id,
  7883. b.type_id
  7884. 2016-08-27 14:12:57 SELECT
  7885. a.prod_id,
  7886. a.ticket_mark,
  7887. a.parent_id,
  7888. b.type_id,
  7889. b.property,
  7890. c.prod_price,
  7891. c.cus_price
  7892. FROM
  7893. opera_product AS a,
  7894. opera_product_property AS b,
  7895. opera_product_price AS c
  7896. WHERE
  7897. a.prod_id = b.prod_id
  7898. AND a.prod_id = c.prod_id
  7899. AND a.prod_type = 82
  7900. AND a.is_onsale = 1
  7901. AND a.cancel_flag = 0
  7902. AND c.cancel_flag = 0
  7903. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  7904. GROUP BY
  7905. a.prod_id,
  7906. b.type_id
  7907. 2016-08-27 14:12:59 SELECT
  7908. c.area_id,
  7909. d.area_name,
  7910. a.bus_type,
  7911. c.res_id,
  7912. c.res_name,
  7913. e.parent_area_id_list
  7914. FROM
  7915. opera_product AS a,
  7916. opera_product_station AS b,
  7917. base_resource AS c,
  7918. base_area AS d,
  7919. base_area_view AS e
  7920. WHERE
  7921. a.prod_id = b.prod_id
  7922. AND b.res_id = c.res_id
  7923. AND c.area_id = d.id
  7924. AND d.id = e.area_id
  7925. AND a.prod_type = 81
  7926. AND a.cancel_flag = 0
  7927. GROUP BY
  7928. c.res_id,
  7929. a.bus_type,
  7930. c.area_id
  7931. ORDER BY
  7932. c.area_id
  7933. 2016-08-27 14:14:19 SELECT
  7934. a.prod_id,
  7935. a.prod_name,
  7936. a.bus_type,
  7937. b.type_id,
  7938. b.property
  7939. FROM
  7940. opera_product AS a,
  7941. opera_product_property AS b
  7942. WHERE
  7943. a.prod_id = b.prod_id
  7944. AND a.prod_type = 81
  7945. AND a.is_onsale = 1
  7946. AND a.cancel_flag = 0
  7947. GROUP BY
  7948. a.prod_id,
  7949. b.type_id
  7950. 2016-08-27 14:14:19 SELECT
  7951. a.prod_id,
  7952. a.ticket_mark,
  7953. a.parent_id,
  7954. b.type_id,
  7955. b.property,
  7956. c.prod_price,
  7957. c.cus_price
  7958. FROM
  7959. opera_product AS a,
  7960. opera_product_property AS b,
  7961. opera_product_price AS c
  7962. WHERE
  7963. a.prod_id = b.prod_id
  7964. AND a.prod_id = c.prod_id
  7965. AND a.prod_type = 82
  7966. AND a.is_onsale = 1
  7967. AND a.cancel_flag = 0
  7968. AND c.cancel_flag = 0
  7969. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  7970. GROUP BY
  7971. a.prod_id,
  7972. b.type_id
  7973. 2016-08-27 14:14:21 SELECT
  7974. c.area_id,
  7975. d.area_name,
  7976. a.bus_type,
  7977. c.res_id,
  7978. c.res_name,
  7979. e.parent_area_id_list
  7980. FROM
  7981. opera_product AS a,
  7982. opera_product_station AS b,
  7983. base_resource AS c,
  7984. base_area AS d,
  7985. base_area_view AS e
  7986. WHERE
  7987. a.prod_id = b.prod_id
  7988. AND b.res_id = c.res_id
  7989. AND c.area_id = d.id
  7990. AND d.id = e.area_id
  7991. AND a.prod_type = 81
  7992. AND a.cancel_flag = 0
  7993. GROUP BY
  7994. c.res_id,
  7995. a.bus_type,
  7996. c.area_id
  7997. ORDER BY
  7998. c.area_id
  7999. 2016-08-27 14:15:24 SELECT
  8000. a.prod_id,
  8001. a.prod_name,
  8002. a.bus_type,
  8003. b.type_id,
  8004. b.property
  8005. FROM
  8006. opera_product AS a,
  8007. opera_product_property AS b
  8008. WHERE
  8009. a.prod_id = b.prod_id
  8010. AND a.prod_type = 81
  8011. AND a.is_onsale = 1
  8012. AND a.cancel_flag = 0
  8013. GROUP BY
  8014. a.prod_id,
  8015. b.type_id
  8016. 2016-08-27 14:15:24 SELECT
  8017. a.prod_id,
  8018. a.ticket_mark,
  8019. a.parent_id,
  8020. b.type_id,
  8021. b.property,
  8022. c.prod_price,
  8023. c.cus_price
  8024. FROM
  8025. opera_product AS a,
  8026. opera_product_property AS b,
  8027. opera_product_price AS c
  8028. WHERE
  8029. a.prod_id = b.prod_id
  8030. AND a.prod_id = c.prod_id
  8031. AND a.prod_type = 82
  8032. AND a.is_onsale = 1
  8033. AND a.cancel_flag = 0
  8034. AND c.cancel_flag = 0
  8035. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  8036. GROUP BY
  8037. a.prod_id,
  8038. b.type_id
  8039. 2016-08-27 14:15:26 SELECT
  8040. c.area_id,
  8041. d.area_name,
  8042. a.bus_type,
  8043. c.res_id,
  8044. c.res_name,
  8045. e.parent_area_id_list
  8046. FROM
  8047. opera_product AS a,
  8048. opera_product_station AS b,
  8049. base_resource AS c,
  8050. base_area AS d,
  8051. base_area_view AS e
  8052. WHERE
  8053. a.prod_id = b.prod_id
  8054. AND b.res_id = c.res_id
  8055. AND c.area_id = d.id
  8056. AND d.id = e.area_id
  8057. AND a.prod_type = 81
  8058. AND a.cancel_flag = 0
  8059. GROUP BY
  8060. c.res_id,
  8061. a.bus_type,
  8062. c.area_id
  8063. ORDER BY
  8064. c.area_id
  8065. 2016-08-27 14:23:50 SELECT
  8066. a.prod_id,
  8067. a.prod_name,
  8068. a.bus_type,
  8069. b.type_id,
  8070. b.property
  8071. FROM
  8072. opera_product AS a,
  8073. opera_product_property AS b
  8074. WHERE
  8075. a.prod_id = b.prod_id
  8076. AND a.prod_type = 81
  8077. AND a.is_onsale = 1
  8078. AND a.cancel_flag = 0
  8079. GROUP BY
  8080. a.prod_id,
  8081. b.type_id
  8082. 2016-08-27 14:23:50 SELECT
  8083. a.prod_id,
  8084. a.ticket_mark,
  8085. a.parent_id,
  8086. b.type_id,
  8087. b.property,
  8088. c.prod_price,
  8089. c.cus_price
  8090. FROM
  8091. opera_product AS a,
  8092. opera_product_property AS b,
  8093. opera_product_price AS c
  8094. WHERE
  8095. a.prod_id = b.prod_id
  8096. AND a.prod_id = c.prod_id
  8097. AND a.prod_type = 82
  8098. AND a.is_onsale = 1
  8099. AND a.cancel_flag = 0
  8100. AND c.cancel_flag = 0
  8101. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  8102. GROUP BY
  8103. a.prod_id,
  8104. b.type_id
  8105. 2016-08-27 14:23:52 SELECT
  8106. c.area_id,
  8107. d.area_name,
  8108. a.bus_type,
  8109. c.res_id,
  8110. c.res_name,
  8111. e.parent_area_id_list
  8112. FROM
  8113. opera_product AS a,
  8114. opera_product_station AS b,
  8115. base_resource AS c,
  8116. base_area AS d,
  8117. base_area_view AS e
  8118. WHERE
  8119. a.prod_id = b.prod_id
  8120. AND b.res_id = c.res_id
  8121. AND c.area_id = d.id
  8122. AND d.id = e.area_id
  8123. AND a.prod_type = 81
  8124. AND a.cancel_flag = 0
  8125. GROUP BY
  8126. c.res_id,
  8127. a.bus_type,
  8128. c.area_id
  8129. ORDER BY
  8130. c.area_id
  8131. 2016-08-27 14:24:19 SELECT
  8132. a.prod_id,
  8133. a.prod_name,
  8134. a.bus_type,
  8135. b.type_id,
  8136. b.property
  8137. FROM
  8138. opera_product AS a,
  8139. opera_product_property AS b
  8140. WHERE
  8141. a.prod_id = b.prod_id
  8142. AND a.prod_type = 81
  8143. AND a.is_onsale = 1
  8144. AND a.cancel_flag = 0
  8145. GROUP BY
  8146. a.prod_id,
  8147. b.type_id
  8148. 2016-08-27 14:24:19 SELECT
  8149. a.prod_id,
  8150. a.ticket_mark,
  8151. a.parent_id,
  8152. b.type_id,
  8153. b.property,
  8154. c.prod_price,
  8155. c.cus_price
  8156. FROM
  8157. opera_product AS a,
  8158. opera_product_property AS b,
  8159. opera_product_price AS c
  8160. WHERE
  8161. a.prod_id = b.prod_id
  8162. AND a.prod_id = c.prod_id
  8163. AND a.prod_type = 82
  8164. AND a.is_onsale = 1
  8165. AND a.cancel_flag = 0
  8166. AND c.cancel_flag = 0
  8167. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  8168. GROUP BY
  8169. a.prod_id,
  8170. b.type_id
  8171. 2016-08-27 14:24:21 SELECT
  8172. c.area_id,
  8173. d.area_name,
  8174. a.bus_type,
  8175. c.res_id,
  8176. c.res_name,
  8177. e.parent_area_id_list
  8178. FROM
  8179. opera_product AS a,
  8180. opera_product_station AS b,
  8181. base_resource AS c,
  8182. base_area AS d,
  8183. base_area_view AS e
  8184. WHERE
  8185. a.prod_id = b.prod_id
  8186. AND b.res_id = c.res_id
  8187. AND c.area_id = d.id
  8188. AND d.id = e.area_id
  8189. AND a.prod_type = 81
  8190. AND a.cancel_flag = 0
  8191. GROUP BY
  8192. c.res_id,
  8193. a.bus_type,
  8194. c.area_id
  8195. ORDER BY
  8196. c.area_id
  8197. 2016-08-27 14:32:15 SELECT
  8198. a.prod_id,
  8199. a.prod_name,
  8200. a.bus_type,
  8201. b.type_id,
  8202. b.property
  8203. FROM
  8204. opera_product AS a,
  8205. opera_product_property AS b
  8206. WHERE
  8207. a.prod_id = b.prod_id
  8208. AND a.prod_type = 81
  8209. AND a.is_onsale = 1
  8210. AND a.cancel_flag = 0
  8211. GROUP BY
  8212. a.prod_id,
  8213. b.type_id
  8214. 2016-08-27 14:32:15 SELECT
  8215. a.prod_id,
  8216. a.ticket_mark,
  8217. a.parent_id,
  8218. b.type_id,
  8219. b.property,
  8220. c.prod_price,
  8221. c.cus_price
  8222. FROM
  8223. opera_product AS a,
  8224. opera_product_property AS b,
  8225. opera_product_price AS c
  8226. WHERE
  8227. a.prod_id = b.prod_id
  8228. AND a.prod_id = c.prod_id
  8229. AND a.prod_type = 82
  8230. AND a.is_onsale = 1
  8231. AND a.cancel_flag = 0
  8232. AND c.cancel_flag = 0
  8233. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  8234. GROUP BY
  8235. a.prod_id,
  8236. b.type_id
  8237. 2016-08-27 14:32:16 SELECT
  8238. a.prod_id,
  8239. a.prod_name,
  8240. a.bus_type,
  8241. b.type_id,
  8242. b.property
  8243. FROM
  8244. opera_product AS a,
  8245. opera_product_property AS b
  8246. WHERE
  8247. a.prod_id = b.prod_id
  8248. AND a.prod_type = 81
  8249. AND a.is_onsale = 1
  8250. AND a.cancel_flag = 0
  8251. GROUP BY
  8252. a.prod_id,
  8253. b.type_id
  8254. 2016-08-27 14:32:16 SELECT
  8255. a.prod_id,
  8256. a.ticket_mark,
  8257. a.parent_id,
  8258. b.type_id,
  8259. b.property,
  8260. c.prod_price,
  8261. c.cus_price
  8262. FROM
  8263. opera_product AS a,
  8264. opera_product_property AS b,
  8265. opera_product_price AS c
  8266. WHERE
  8267. a.prod_id = b.prod_id
  8268. AND a.prod_id = c.prod_id
  8269. AND a.prod_type = 82
  8270. AND a.is_onsale = 1
  8271. AND a.cancel_flag = 0
  8272. AND c.cancel_flag = 0
  8273. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  8274. GROUP BY
  8275. a.prod_id,
  8276. b.type_id
  8277. 2016-08-27 14:32:17 SELECT
  8278. c.area_id,
  8279. d.area_name,
  8280. a.bus_type,
  8281. c.res_id,
  8282. c.res_name,
  8283. e.parent_area_id_list
  8284. FROM
  8285. opera_product AS a,
  8286. opera_product_station AS b,
  8287. base_resource AS c,
  8288. base_area AS d,
  8289. base_area_view AS e
  8290. WHERE
  8291. a.prod_id = b.prod_id
  8292. AND b.res_id = c.res_id
  8293. AND c.area_id = d.id
  8294. AND d.id = e.area_id
  8295. AND a.prod_type = 81
  8296. AND a.cancel_flag = 0
  8297. GROUP BY
  8298. c.res_id,
  8299. a.bus_type,
  8300. c.area_id
  8301. ORDER BY
  8302. c.area_id
  8303. 2016-08-27 14:32:18 SELECT
  8304. c.area_id,
  8305. d.area_name,
  8306. a.bus_type,
  8307. c.res_id,
  8308. c.res_name,
  8309. e.parent_area_id_list
  8310. FROM
  8311. opera_product AS a,
  8312. opera_product_station AS b,
  8313. base_resource AS c,
  8314. base_area AS d,
  8315. base_area_view AS e
  8316. WHERE
  8317. a.prod_id = b.prod_id
  8318. AND b.res_id = c.res_id
  8319. AND c.area_id = d.id
  8320. AND d.id = e.area_id
  8321. AND a.prod_type = 81
  8322. AND a.cancel_flag = 0
  8323. GROUP BY
  8324. c.res_id,
  8325. a.bus_type,
  8326. c.area_id
  8327. ORDER BY
  8328. c.area_id
  8329. 2016-08-27 14:32:36 SELECT
  8330. a.prod_id,
  8331. a.prod_name,
  8332. a.bus_type,
  8333. b.type_id,
  8334. b.property
  8335. FROM
  8336. opera_product AS a,
  8337. opera_product_property AS b
  8338. WHERE
  8339. a.prod_id = b.prod_id
  8340. AND a.prod_type = 81
  8341. AND a.is_onsale = 1
  8342. AND a.cancel_flag = 0
  8343. GROUP BY
  8344. a.prod_id,
  8345. b.type_id
  8346. 2016-08-27 14:32:36 SELECT
  8347. a.prod_id,
  8348. a.ticket_mark,
  8349. a.parent_id,
  8350. b.type_id,
  8351. b.property,
  8352. c.prod_price,
  8353. c.cus_price
  8354. FROM
  8355. opera_product AS a,
  8356. opera_product_property AS b,
  8357. opera_product_price AS c
  8358. WHERE
  8359. a.prod_id = b.prod_id
  8360. AND a.prod_id = c.prod_id
  8361. AND a.prod_type = 82
  8362. AND a.is_onsale = 1
  8363. AND a.cancel_flag = 0
  8364. AND c.cancel_flag = 0
  8365. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  8366. GROUP BY
  8367. a.prod_id,
  8368. b.type_id
  8369. 2016-08-27 14:32:37 SELECT
  8370. c.area_id,
  8371. d.area_name,
  8372. a.bus_type,
  8373. c.res_id,
  8374. c.res_name,
  8375. e.parent_area_id_list
  8376. FROM
  8377. opera_product AS a,
  8378. opera_product_station AS b,
  8379. base_resource AS c,
  8380. base_area AS d,
  8381. base_area_view AS e
  8382. WHERE
  8383. a.prod_id = b.prod_id
  8384. AND b.res_id = c.res_id
  8385. AND c.area_id = d.id
  8386. AND d.id = e.area_id
  8387. AND a.prod_type = 81
  8388. AND a.cancel_flag = 0
  8389. GROUP BY
  8390. c.res_id,
  8391. a.bus_type,
  8392. c.area_id
  8393. ORDER BY
  8394. c.area_id
  8395. 2016-08-27 14:43:35 SELECT
  8396. a.prod_id,
  8397. a.prod_name,
  8398. a.bus_type,
  8399. b.type_id,
  8400. b.property
  8401. FROM
  8402. opera_product AS a,
  8403. opera_product_property AS b
  8404. WHERE
  8405. a.prod_id = b.prod_id
  8406. AND a.prod_type = 81
  8407. AND a.is_onsale = 1
  8408. AND a.cancel_flag = 0
  8409. GROUP BY
  8410. a.prod_id,
  8411. b.type_id
  8412. 2016-08-27 14:43:35 SELECT
  8413. a.prod_id,
  8414. a.ticket_mark,
  8415. a.parent_id,
  8416. b.type_id,
  8417. b.property,
  8418. c.prod_price,
  8419. c.cus_price
  8420. FROM
  8421. opera_product AS a,
  8422. opera_product_property AS b,
  8423. opera_product_price AS c
  8424. WHERE
  8425. a.prod_id = b.prod_id
  8426. AND a.prod_id = c.prod_id
  8427. AND a.prod_type = 82
  8428. AND a.is_onsale = 1
  8429. AND a.cancel_flag = 0
  8430. AND c.cancel_flag = 0
  8431. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  8432. GROUP BY
  8433. a.prod_id,
  8434. b.type_id
  8435. 2016-08-27 14:43:37 SELECT
  8436. c.area_id,
  8437. d.area_name,
  8438. a.bus_type,
  8439. c.res_id,
  8440. c.res_name,
  8441. e.parent_area_id_list
  8442. FROM
  8443. opera_product AS a,
  8444. opera_product_station AS b,
  8445. base_resource AS c,
  8446. base_area AS d,
  8447. base_area_view AS e
  8448. WHERE
  8449. a.prod_id = b.prod_id
  8450. AND b.res_id = c.res_id
  8451. AND c.area_id = d.id
  8452. AND d.id = e.area_id
  8453. AND a.prod_type = 81
  8454. AND a.cancel_flag = 0
  8455. GROUP BY
  8456. c.res_id,
  8457. a.bus_type,
  8458. c.area_id
  8459. ORDER BY
  8460. c.area_id
  8461. 2016-08-27 06:43:37 SELECT
  8462. a.run_id,
  8463. a.prod_id as line_id,
  8464. a.run_date,
  8465. b.start_time,
  8466. b.station_res_id
  8467. FROM
  8468. run_main as a,
  8469. run_station as b
  8470. WHERE
  8471. a.run_id = b.run_id
  8472. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  8473. AND a.run_date = '2016-08-27'
  8474. AND a.run_status = 138
  8475. AND b.station_inout_type in (108,109,110)
  8476. ORDER BY
  8477. a.run_id,
  8478. b.station_res_id
  8479. 2016-08-27 06:43:37 SELECT
  8480. run_id,
  8481. res_id,
  8482. seq_id,
  8483. prod_id,
  8484. total_count,
  8485. saled_count
  8486. FROM
  8487. run_stock
  8488. WHERE
  8489. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  8490. )
  8491. AND seat_type = 72
  8492. ORDER BY
  8493. run_id ASC,
  8494. seq_id ASC
  8495. 2016-08-27 06:43:37 SELECT
  8496. run_id,
  8497. prod_id as ticket_id
  8498. FROM
  8499. run_prod
  8500. WHERE
  8501. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  8502. AND cancel_flag = 0
  8503. 2016-08-27 14:44:50 SELECT
  8504. a.prod_id,
  8505. a.prod_name,
  8506. a.bus_type,
  8507. b.type_id,
  8508. b.property
  8509. FROM
  8510. opera_product AS a,
  8511. opera_product_property AS b
  8512. WHERE
  8513. a.prod_id = b.prod_id
  8514. AND a.prod_type = 81
  8515. AND a.is_onsale = 1
  8516. AND a.cancel_flag = 0
  8517. GROUP BY
  8518. a.prod_id,
  8519. b.type_id
  8520. 2016-08-27 14:44:50 SELECT
  8521. a.prod_id,
  8522. a.ticket_mark,
  8523. a.parent_id,
  8524. b.type_id,
  8525. b.property,
  8526. c.prod_price,
  8527. c.cus_price
  8528. FROM
  8529. opera_product AS a,
  8530. opera_product_property AS b,
  8531. opera_product_price AS c
  8532. WHERE
  8533. a.prod_id = b.prod_id
  8534. AND a.prod_id = c.prod_id
  8535. AND a.prod_type = 82
  8536. AND a.is_onsale = 1
  8537. AND a.cancel_flag = 0
  8538. AND c.cancel_flag = 0
  8539. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  8540. GROUP BY
  8541. a.prod_id,
  8542. b.type_id
  8543. 2016-08-27 14:44:52 SELECT
  8544. c.area_id,
  8545. d.area_name,
  8546. a.bus_type,
  8547. c.res_id,
  8548. c.res_name,
  8549. e.parent_area_id_list
  8550. FROM
  8551. opera_product AS a,
  8552. opera_product_station AS b,
  8553. base_resource AS c,
  8554. base_area AS d,
  8555. base_area_view AS e
  8556. WHERE
  8557. a.prod_id = b.prod_id
  8558. AND b.res_id = c.res_id
  8559. AND c.area_id = d.id
  8560. AND d.id = e.area_id
  8561. AND a.prod_type = 81
  8562. AND a.cancel_flag = 0
  8563. GROUP BY
  8564. c.res_id,
  8565. a.bus_type,
  8566. c.area_id
  8567. ORDER BY
  8568. c.area_id
  8569. 2016-08-27 06:44:52 SELECT
  8570. a.run_id,
  8571. a.prod_id as line_id,
  8572. a.run_date,
  8573. b.start_time,
  8574. b.station_res_id
  8575. FROM
  8576. run_main as a,
  8577. run_station as b
  8578. WHERE
  8579. a.run_id = b.run_id
  8580. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  8581. AND a.run_date = '2016-08-27'
  8582. AND a.run_status = 138
  8583. AND b.station_inout_type in (108,109,110)
  8584. ORDER BY
  8585. a.run_id,
  8586. b.station_res_id
  8587. 2016-08-27 06:44:52 SELECT
  8588. run_id,
  8589. res_id,
  8590. seq_id,
  8591. prod_id,
  8592. total_count,
  8593. saled_count
  8594. FROM
  8595. run_stock
  8596. WHERE
  8597. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  8598. )
  8599. AND seat_type = 72
  8600. ORDER BY
  8601. run_id ASC,
  8602. seq_id ASC
  8603. 2016-08-27 06:44:52 SELECT
  8604. run_id,
  8605. prod_id as ticket_id
  8606. FROM
  8607. run_prod
  8608. WHERE
  8609. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  8610. AND cancel_flag = 0
  8611. 2016-08-27 14:49:21 SELECT
  8612. a.prod_id,
  8613. a.prod_name,
  8614. a.bus_type,
  8615. b.type_id,
  8616. b.property
  8617. FROM
  8618. opera_product AS a,
  8619. opera_product_property AS b
  8620. WHERE
  8621. a.prod_id = b.prod_id
  8622. AND a.prod_type = 81
  8623. AND a.is_onsale = 1
  8624. AND a.cancel_flag = 0
  8625. GROUP BY
  8626. a.prod_id,
  8627. b.type_id
  8628. 2016-08-27 14:49:21 SELECT
  8629. a.prod_id,
  8630. a.ticket_mark,
  8631. a.parent_id,
  8632. b.type_id,
  8633. b.property,
  8634. c.prod_price,
  8635. c.cus_price
  8636. FROM
  8637. opera_product AS a,
  8638. opera_product_property AS b,
  8639. opera_product_price AS c
  8640. WHERE
  8641. a.prod_id = b.prod_id
  8642. AND a.prod_id = c.prod_id
  8643. AND a.prod_type = 82
  8644. AND a.is_onsale = 1
  8645. AND a.cancel_flag = 0
  8646. AND c.cancel_flag = 0
  8647. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  8648. GROUP BY
  8649. a.prod_id,
  8650. b.type_id
  8651. 2016-08-27 14:49:23 SELECT
  8652. c.area_id,
  8653. d.area_name,
  8654. a.bus_type,
  8655. c.res_id,
  8656. c.res_name,
  8657. e.parent_area_id_list
  8658. FROM
  8659. opera_product AS a,
  8660. opera_product_station AS b,
  8661. base_resource AS c,
  8662. base_area AS d,
  8663. base_area_view AS e
  8664. WHERE
  8665. a.prod_id = b.prod_id
  8666. AND b.res_id = c.res_id
  8667. AND c.area_id = d.id
  8668. AND d.id = e.area_id
  8669. AND a.prod_type = 81
  8670. AND a.cancel_flag = 0
  8671. GROUP BY
  8672. c.res_id,
  8673. a.bus_type,
  8674. c.area_id
  8675. ORDER BY
  8676. c.area_id
  8677. 2016-08-27 06:49:23 SELECT
  8678. a.run_id,
  8679. a.prod_id as line_id,
  8680. a.run_date,
  8681. b.start_time,
  8682. b.station_res_id
  8683. FROM
  8684. run_main as a,
  8685. run_station as b
  8686. WHERE
  8687. a.run_id = b.run_id
  8688. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  8689. AND a.run_date = '2016-08-27'
  8690. AND a.run_status = 138
  8691. AND b.station_inout_type in (108,109,110)
  8692. ORDER BY
  8693. a.run_id,
  8694. b.station_res_id
  8695. 2016-08-27 06:49:23 SELECT
  8696. run_id,
  8697. res_id,
  8698. seq_id,
  8699. prod_id,
  8700. total_count,
  8701. saled_count
  8702. FROM
  8703. run_stock
  8704. WHERE
  8705. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  8706. )
  8707. AND seat_type = 72
  8708. ORDER BY
  8709. run_id ASC,
  8710. seq_id ASC
  8711. 2016-08-27 06:49:23 SELECT
  8712. run_id,
  8713. prod_id as ticket_id
  8714. FROM
  8715. run_prod
  8716. WHERE
  8717. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  8718. AND cancel_flag = 0
  8719. 2016-08-27 15:17:50 SELECT
  8720. a.prod_id,
  8721. a.prod_name,
  8722. a.bus_type,
  8723. b.type_id,
  8724. b.property
  8725. FROM
  8726. opera_product AS a,
  8727. opera_product_property AS b
  8728. WHERE
  8729. a.prod_id = b.prod_id
  8730. AND a.prod_type = 81
  8731. AND a.is_onsale = 1
  8732. AND a.cancel_flag = 0
  8733. GROUP BY
  8734. a.prod_id,
  8735. b.type_id
  8736. 2016-08-27 15:17:50 SELECT
  8737. a.prod_id,
  8738. a.ticket_mark,
  8739. a.parent_id,
  8740. b.type_id,
  8741. b.property,
  8742. c.prod_price,
  8743. c.cus_price
  8744. FROM
  8745. opera_product AS a,
  8746. opera_product_property AS b,
  8747. opera_product_price AS c
  8748. WHERE
  8749. a.prod_id = b.prod_id
  8750. AND a.prod_id = c.prod_id
  8751. AND a.prod_type = 82
  8752. AND a.is_onsale = 1
  8753. AND a.cancel_flag = 0
  8754. AND c.cancel_flag = 0
  8755. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  8756. GROUP BY
  8757. a.prod_id,
  8758. b.type_id
  8759. 2016-08-27 15:17:52 SELECT
  8760. c.area_id,
  8761. d.area_name,
  8762. a.bus_type,
  8763. c.res_id,
  8764. c.res_name,
  8765. e.parent_area_id_list
  8766. FROM
  8767. opera_product AS a,
  8768. opera_product_station AS b,
  8769. base_resource AS c,
  8770. base_area AS d,
  8771. base_area_view AS e
  8772. WHERE
  8773. a.prod_id = b.prod_id
  8774. AND b.res_id = c.res_id
  8775. AND c.area_id = d.id
  8776. AND d.id = e.area_id
  8777. AND a.prod_type = 81
  8778. AND a.cancel_flag = 0
  8779. GROUP BY
  8780. c.res_id,
  8781. a.bus_type,
  8782. c.area_id
  8783. ORDER BY
  8784. c.area_id
  8785. 2016-08-27 15:18:01 SELECT
  8786. a.prod_id,
  8787. a.prod_name,
  8788. a.bus_type,
  8789. b.type_id,
  8790. b.property
  8791. FROM
  8792. opera_product AS a,
  8793. opera_product_property AS b
  8794. WHERE
  8795. a.prod_id = b.prod_id
  8796. AND a.prod_type = 81
  8797. AND a.is_onsale = 1
  8798. AND a.cancel_flag = 0
  8799. GROUP BY
  8800. a.prod_id,
  8801. b.type_id
  8802. 2016-08-27 15:18:01 SELECT
  8803. a.prod_id,
  8804. a.ticket_mark,
  8805. a.parent_id,
  8806. b.type_id,
  8807. b.property,
  8808. c.prod_price,
  8809. c.cus_price
  8810. FROM
  8811. opera_product AS a,
  8812. opera_product_property AS b,
  8813. opera_product_price AS c
  8814. WHERE
  8815. a.prod_id = b.prod_id
  8816. AND a.prod_id = c.prod_id
  8817. AND a.prod_type = 82
  8818. AND a.is_onsale = 1
  8819. AND a.cancel_flag = 0
  8820. AND c.cancel_flag = 0
  8821. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  8822. GROUP BY
  8823. a.prod_id,
  8824. b.type_id
  8825. 2016-08-27 15:18:03 SELECT
  8826. c.area_id,
  8827. d.area_name,
  8828. a.bus_type,
  8829. c.res_id,
  8830. c.res_name,
  8831. e.parent_area_id_list
  8832. FROM
  8833. opera_product AS a,
  8834. opera_product_station AS b,
  8835. base_resource AS c,
  8836. base_area AS d,
  8837. base_area_view AS e
  8838. WHERE
  8839. a.prod_id = b.prod_id
  8840. AND b.res_id = c.res_id
  8841. AND c.area_id = d.id
  8842. AND d.id = e.area_id
  8843. AND a.prod_type = 81
  8844. AND a.cancel_flag = 0
  8845. GROUP BY
  8846. c.res_id,
  8847. a.bus_type,
  8848. c.area_id
  8849. ORDER BY
  8850. c.area_id
  8851. 2016-08-27 15:21:02 SELECT
  8852. a.prod_id,
  8853. a.prod_name,
  8854. a.bus_type,
  8855. b.type_id,
  8856. b.property
  8857. FROM
  8858. opera_product AS a,
  8859. opera_product_property AS b
  8860. WHERE
  8861. a.prod_id = b.prod_id
  8862. AND a.prod_type = 81
  8863. AND a.is_onsale = 1
  8864. AND a.cancel_flag = 0
  8865. GROUP BY
  8866. a.prod_id,
  8867. b.type_id
  8868. 2016-08-27 15:21:02 SELECT
  8869. a.prod_id,
  8870. a.ticket_mark,
  8871. a.parent_id,
  8872. b.type_id,
  8873. b.property,
  8874. c.prod_price,
  8875. c.cus_price
  8876. FROM
  8877. opera_product AS a,
  8878. opera_product_property AS b,
  8879. opera_product_price AS c
  8880. WHERE
  8881. a.prod_id = b.prod_id
  8882. AND a.prod_id = c.prod_id
  8883. AND a.prod_type = 82
  8884. AND a.is_onsale = 1
  8885. AND a.cancel_flag = 0
  8886. AND c.cancel_flag = 0
  8887. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  8888. GROUP BY
  8889. a.prod_id,
  8890. b.type_id
  8891. 2016-08-27 15:21:04 SELECT
  8892. c.area_id,
  8893. d.area_name,
  8894. a.bus_type,
  8895. c.res_id,
  8896. c.res_name,
  8897. e.parent_area_id_list
  8898. FROM
  8899. opera_product AS a,
  8900. opera_product_station AS b,
  8901. base_resource AS c,
  8902. base_area AS d,
  8903. base_area_view AS e
  8904. WHERE
  8905. a.prod_id = b.prod_id
  8906. AND b.res_id = c.res_id
  8907. AND c.area_id = d.id
  8908. AND d.id = e.area_id
  8909. AND a.prod_type = 81
  8910. AND a.cancel_flag = 0
  8911. GROUP BY
  8912. c.res_id,
  8913. a.bus_type,
  8914. c.area_id
  8915. ORDER BY
  8916. c.area_id
  8917. 2016-08-27 15:24:32 SELECT
  8918. a.prod_id,
  8919. a.prod_name,
  8920. a.bus_type,
  8921. b.type_id,
  8922. b.property
  8923. FROM
  8924. opera_product AS a,
  8925. opera_product_property AS b
  8926. WHERE
  8927. a.prod_id = b.prod_id
  8928. AND a.prod_type = 81
  8929. AND a.is_onsale = 1
  8930. AND a.cancel_flag = 0
  8931. GROUP BY
  8932. a.prod_id,
  8933. b.type_id
  8934. 2016-08-27 15:24:32 SELECT
  8935. a.prod_id,
  8936. a.ticket_mark,
  8937. a.parent_id,
  8938. b.type_id,
  8939. b.property,
  8940. c.prod_price,
  8941. c.cus_price
  8942. FROM
  8943. opera_product AS a,
  8944. opera_product_property AS b,
  8945. opera_product_price AS c
  8946. WHERE
  8947. a.prod_id = b.prod_id
  8948. AND a.prod_id = c.prod_id
  8949. AND a.prod_type = 82
  8950. AND a.is_onsale = 1
  8951. AND a.cancel_flag = 0
  8952. AND c.cancel_flag = 0
  8953. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  8954. GROUP BY
  8955. a.prod_id,
  8956. b.type_id
  8957. 2016-08-27 15:24:34 SELECT
  8958. c.area_id,
  8959. d.area_name,
  8960. a.bus_type,
  8961. c.res_id,
  8962. c.res_name,
  8963. e.parent_area_id_list
  8964. FROM
  8965. opera_product AS a,
  8966. opera_product_station AS b,
  8967. base_resource AS c,
  8968. base_area AS d,
  8969. base_area_view AS e
  8970. WHERE
  8971. a.prod_id = b.prod_id
  8972. AND b.res_id = c.res_id
  8973. AND c.area_id = d.id
  8974. AND d.id = e.area_id
  8975. AND a.prod_type = 81
  8976. AND a.cancel_flag = 0
  8977. GROUP BY
  8978. c.res_id,
  8979. a.bus_type,
  8980. c.area_id
  8981. ORDER BY
  8982. c.area_id
  8983. 2016-08-27 07:24:34 SELECT
  8984. a.run_id,
  8985. a.prod_id as line_id,
  8986. a.run_date,
  8987. b.start_time,
  8988. b.station_res_id
  8989. FROM
  8990. run_main as a,
  8991. run_station as b
  8992. WHERE
  8993. a.run_id = b.run_id
  8994. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  8995. AND a.run_date = '2016-08-27'
  8996. AND a.run_status = 138
  8997. AND b.station_inout_type in (108,109,110)
  8998. ORDER BY
  8999. a.run_id,
  9000. b.station_res_id
  9001. 2016-08-27 07:24:34 SELECT
  9002. run_id,
  9003. res_id,
  9004. seq_id,
  9005. prod_id,
  9006. total_count,
  9007. saled_count
  9008. FROM
  9009. run_stock
  9010. WHERE
  9011. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  9012. )
  9013. AND seat_type = 72
  9014. ORDER BY
  9015. run_id ASC,
  9016. seq_id ASC
  9017. 2016-08-27 07:24:34 SELECT
  9018. run_id,
  9019. prod_id as ticket_id
  9020. FROM
  9021. run_prod
  9022. WHERE
  9023. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  9024. AND cancel_flag = 0
  9025. 2016-08-27 15:25:42 SELECT
  9026. a.prod_id,
  9027. a.prod_name,
  9028. a.bus_type,
  9029. b.type_id,
  9030. b.property
  9031. FROM
  9032. opera_product AS a,
  9033. opera_product_property AS b
  9034. WHERE
  9035. a.prod_id = b.prod_id
  9036. AND a.prod_type = 81
  9037. AND a.is_onsale = 1
  9038. AND a.cancel_flag = 0
  9039. GROUP BY
  9040. a.prod_id,
  9041. b.type_id
  9042. 2016-08-27 15:25:42 SELECT
  9043. a.prod_id,
  9044. a.ticket_mark,
  9045. a.parent_id,
  9046. b.type_id,
  9047. b.property,
  9048. c.prod_price,
  9049. c.cus_price
  9050. FROM
  9051. opera_product AS a,
  9052. opera_product_property AS b,
  9053. opera_product_price AS c
  9054. WHERE
  9055. a.prod_id = b.prod_id
  9056. AND a.prod_id = c.prod_id
  9057. AND a.prod_type = 82
  9058. AND a.is_onsale = 1
  9059. AND a.cancel_flag = 0
  9060. AND c.cancel_flag = 0
  9061. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  9062. GROUP BY
  9063. a.prod_id,
  9064. b.type_id
  9065. 2016-08-27 15:25:44 SELECT
  9066. c.area_id,
  9067. d.area_name,
  9068. a.bus_type,
  9069. c.res_id,
  9070. c.res_name,
  9071. e.parent_area_id_list
  9072. FROM
  9073. opera_product AS a,
  9074. opera_product_station AS b,
  9075. base_resource AS c,
  9076. base_area AS d,
  9077. base_area_view AS e
  9078. WHERE
  9079. a.prod_id = b.prod_id
  9080. AND b.res_id = c.res_id
  9081. AND c.area_id = d.id
  9082. AND d.id = e.area_id
  9083. AND a.prod_type = 81
  9084. AND a.cancel_flag = 0
  9085. GROUP BY
  9086. c.res_id,
  9087. a.bus_type,
  9088. c.area_id
  9089. ORDER BY
  9090. c.area_id
  9091. 2016-08-27 07:25:44 SELECT
  9092. a.run_id,
  9093. a.prod_id as line_id,
  9094. a.run_date,
  9095. b.start_time,
  9096. b.station_res_id
  9097. FROM
  9098. run_main as a,
  9099. run_station as b
  9100. WHERE
  9101. a.run_id = b.run_id
  9102. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  9103. AND a.run_date = '2016-08-27'
  9104. AND a.run_status = 138
  9105. AND b.station_inout_type in (108,109,110)
  9106. ORDER BY
  9107. a.run_id,
  9108. b.station_res_id
  9109. 2016-08-27 07:25:44 SELECT
  9110. run_id,
  9111. res_id,
  9112. seq_id,
  9113. prod_id,
  9114. total_count,
  9115. saled_count
  9116. FROM
  9117. run_stock
  9118. WHERE
  9119. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  9120. )
  9121. AND seat_type = 72
  9122. ORDER BY
  9123. run_id ASC,
  9124. seq_id ASC
  9125. 2016-08-27 07:25:45 SELECT
  9126. run_id,
  9127. prod_id as ticket_id
  9128. FROM
  9129. run_prod
  9130. WHERE
  9131. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  9132. AND cancel_flag = 0
  9133. 2016-08-27 15:29:13 SELECT
  9134. a.prod_id,
  9135. a.prod_name,
  9136. a.bus_type,
  9137. b.type_id,
  9138. b.property
  9139. FROM
  9140. opera_product AS a,
  9141. opera_product_property AS b
  9142. WHERE
  9143. a.prod_id = b.prod_id
  9144. AND a.prod_type = 81
  9145. AND a.is_onsale = 1
  9146. AND a.cancel_flag = 0
  9147. GROUP BY
  9148. a.prod_id,
  9149. b.type_id
  9150. 2016-08-27 15:29:13 SELECT
  9151. a.prod_id,
  9152. a.ticket_mark,
  9153. a.parent_id,
  9154. b.type_id,
  9155. b.property,
  9156. c.prod_price,
  9157. c.cus_price
  9158. FROM
  9159. opera_product AS a,
  9160. opera_product_property AS b,
  9161. opera_product_price AS c
  9162. WHERE
  9163. a.prod_id = b.prod_id
  9164. AND a.prod_id = c.prod_id
  9165. AND a.prod_type = 82
  9166. AND a.is_onsale = 1
  9167. AND a.cancel_flag = 0
  9168. AND c.cancel_flag = 0
  9169. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  9170. GROUP BY
  9171. a.prod_id,
  9172. b.type_id
  9173. 2016-08-27 15:29:15 SELECT
  9174. c.area_id,
  9175. d.area_name,
  9176. a.bus_type,
  9177. c.res_id,
  9178. c.res_name,
  9179. e.parent_area_id_list
  9180. FROM
  9181. opera_product AS a,
  9182. opera_product_station AS b,
  9183. base_resource AS c,
  9184. base_area AS d,
  9185. base_area_view AS e
  9186. WHERE
  9187. a.prod_id = b.prod_id
  9188. AND b.res_id = c.res_id
  9189. AND c.area_id = d.id
  9190. AND d.id = e.area_id
  9191. AND a.prod_type = 81
  9192. AND a.cancel_flag = 0
  9193. GROUP BY
  9194. c.res_id,
  9195. a.bus_type,
  9196. c.area_id
  9197. ORDER BY
  9198. c.area_id
  9199. 2016-08-27 07:29:15 SELECT
  9200. a.run_id,
  9201. a.prod_id as line_id,
  9202. a.run_date,
  9203. b.start_time,
  9204. b.station_res_id
  9205. FROM
  9206. run_main as a,
  9207. run_station as b
  9208. WHERE
  9209. a.run_id = b.run_id
  9210. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  9211. AND a.run_date = '2016-08-27'
  9212. AND a.run_status = 138
  9213. AND b.station_inout_type in (108,109,110)
  9214. ORDER BY
  9215. a.run_id,
  9216. b.station_res_id
  9217. 2016-08-27 07:29:15 SELECT
  9218. run_id,
  9219. res_id,
  9220. seq_id,
  9221. prod_id,
  9222. total_count,
  9223. saled_count
  9224. FROM
  9225. run_stock
  9226. WHERE
  9227. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  9228. )
  9229. AND seat_type = 72
  9230. ORDER BY
  9231. run_id ASC,
  9232. seq_id ASC
  9233. 2016-08-27 07:29:16 SELECT
  9234. run_id,
  9235. prod_id as ticket_id
  9236. FROM
  9237. run_prod
  9238. WHERE
  9239. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  9240. AND cancel_flag = 0
  9241. 2016-08-27 15:31:27 SELECT
  9242. a.prod_id,
  9243. a.prod_name,
  9244. a.bus_type,
  9245. b.type_id,
  9246. b.property
  9247. FROM
  9248. opera_product AS a,
  9249. opera_product_property AS b
  9250. WHERE
  9251. a.prod_id = b.prod_id
  9252. AND a.prod_type = 81
  9253. AND a.is_onsale = 1
  9254. AND a.cancel_flag = 0
  9255. GROUP BY
  9256. a.prod_id,
  9257. b.type_id
  9258. 2016-08-27 15:31:27 SELECT
  9259. a.prod_id,
  9260. a.ticket_mark,
  9261. a.parent_id,
  9262. b.type_id,
  9263. b.property,
  9264. c.prod_price,
  9265. c.cus_price
  9266. FROM
  9267. opera_product AS a,
  9268. opera_product_property AS b,
  9269. opera_product_price AS c
  9270. WHERE
  9271. a.prod_id = b.prod_id
  9272. AND a.prod_id = c.prod_id
  9273. AND a.prod_type = 82
  9274. AND a.is_onsale = 1
  9275. AND a.cancel_flag = 0
  9276. AND c.cancel_flag = 0
  9277. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  9278. GROUP BY
  9279. a.prod_id,
  9280. b.type_id
  9281. 2016-08-27 15:31:29 SELECT
  9282. c.area_id,
  9283. d.area_name,
  9284. a.bus_type,
  9285. c.res_id,
  9286. c.res_name,
  9287. e.parent_area_id_list
  9288. FROM
  9289. opera_product AS a,
  9290. opera_product_station AS b,
  9291. base_resource AS c,
  9292. base_area AS d,
  9293. base_area_view AS e
  9294. WHERE
  9295. a.prod_id = b.prod_id
  9296. AND b.res_id = c.res_id
  9297. AND c.area_id = d.id
  9298. AND d.id = e.area_id
  9299. AND a.prod_type = 81
  9300. AND a.cancel_flag = 0
  9301. GROUP BY
  9302. c.res_id,
  9303. a.bus_type,
  9304. c.area_id
  9305. ORDER BY
  9306. c.area_id
  9307. 2016-08-27 07:31:29 SELECT
  9308. a.run_id,
  9309. a.prod_id as line_id,
  9310. a.run_date,
  9311. b.start_time,
  9312. b.station_res_id
  9313. FROM
  9314. run_main as a,
  9315. run_station as b
  9316. WHERE
  9317. a.run_id = b.run_id
  9318. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  9319. AND a.run_date = '2016-08-27'
  9320. AND a.run_status = 138
  9321. AND b.station_inout_type in (108,109,110)
  9322. ORDER BY
  9323. a.run_id,
  9324. b.station_res_id
  9325. 2016-08-27 07:31:29 SELECT
  9326. run_id,
  9327. res_id,
  9328. seq_id,
  9329. prod_id,
  9330. total_count,
  9331. saled_count
  9332. FROM
  9333. run_stock
  9334. WHERE
  9335. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  9336. )
  9337. AND seat_type = 72
  9338. ORDER BY
  9339. run_id ASC,
  9340. seq_id ASC
  9341. 2016-08-27 07:31:29 SELECT
  9342. run_id,
  9343. prod_id as ticket_id
  9344. FROM
  9345. run_prod
  9346. WHERE
  9347. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  9348. AND cancel_flag = 0
  9349. 2016-08-27 15:32:02 SELECT
  9350. a.prod_id,
  9351. a.prod_name,
  9352. a.bus_type,
  9353. b.type_id,
  9354. b.property
  9355. FROM
  9356. opera_product AS a,
  9357. opera_product_property AS b
  9358. WHERE
  9359. a.prod_id = b.prod_id
  9360. AND a.prod_type = 81
  9361. AND a.is_onsale = 1
  9362. AND a.cancel_flag = 0
  9363. GROUP BY
  9364. a.prod_id,
  9365. b.type_id
  9366. 2016-08-27 15:32:02 SELECT
  9367. a.prod_id,
  9368. a.ticket_mark,
  9369. a.parent_id,
  9370. b.type_id,
  9371. b.property,
  9372. c.prod_price,
  9373. c.cus_price
  9374. FROM
  9375. opera_product AS a,
  9376. opera_product_property AS b,
  9377. opera_product_price AS c
  9378. WHERE
  9379. a.prod_id = b.prod_id
  9380. AND a.prod_id = c.prod_id
  9381. AND a.prod_type = 82
  9382. AND a.is_onsale = 1
  9383. AND a.cancel_flag = 0
  9384. AND c.cancel_flag = 0
  9385. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  9386. GROUP BY
  9387. a.prod_id,
  9388. b.type_id
  9389. 2016-08-27 15:32:04 SELECT
  9390. c.area_id,
  9391. d.area_name,
  9392. a.bus_type,
  9393. c.res_id,
  9394. c.res_name,
  9395. e.parent_area_id_list
  9396. FROM
  9397. opera_product AS a,
  9398. opera_product_station AS b,
  9399. base_resource AS c,
  9400. base_area AS d,
  9401. base_area_view AS e
  9402. WHERE
  9403. a.prod_id = b.prod_id
  9404. AND b.res_id = c.res_id
  9405. AND c.area_id = d.id
  9406. AND d.id = e.area_id
  9407. AND a.prod_type = 81
  9408. AND a.cancel_flag = 0
  9409. GROUP BY
  9410. c.res_id,
  9411. a.bus_type,
  9412. c.area_id
  9413. ORDER BY
  9414. c.area_id
  9415. 2016-08-27 07:32:04 SELECT
  9416. a.run_id,
  9417. a.prod_id as line_id,
  9418. a.run_date,
  9419. b.start_time,
  9420. b.station_res_id
  9421. FROM
  9422. run_main as a,
  9423. run_station as b
  9424. WHERE
  9425. a.run_id = b.run_id
  9426. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  9427. AND a.run_date = '2016-08-27'
  9428. AND a.run_status = 138
  9429. AND b.station_inout_type in (108,109,110)
  9430. ORDER BY
  9431. a.run_id,
  9432. b.station_res_id
  9433. 2016-08-27 07:32:04 SELECT
  9434. run_id,
  9435. res_id,
  9436. seq_id,
  9437. prod_id,
  9438. total_count,
  9439. saled_count
  9440. FROM
  9441. run_stock
  9442. WHERE
  9443. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  9444. )
  9445. AND seat_type = 72
  9446. ORDER BY
  9447. run_id ASC,
  9448. seq_id ASC
  9449. 2016-08-27 07:32:04 SELECT
  9450. run_id,
  9451. prod_id as ticket_id
  9452. FROM
  9453. run_prod
  9454. WHERE
  9455. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  9456. AND cancel_flag = 0
  9457. 2016-08-27 15:33:47 SELECT
  9458. a.prod_id,
  9459. a.prod_name,
  9460. a.bus_type,
  9461. b.type_id,
  9462. b.property
  9463. FROM
  9464. opera_product AS a,
  9465. opera_product_property AS b
  9466. WHERE
  9467. a.prod_id = b.prod_id
  9468. AND a.prod_type = 81
  9469. AND a.is_onsale = 1
  9470. AND a.cancel_flag = 0
  9471. GROUP BY
  9472. a.prod_id,
  9473. b.type_id
  9474. 2016-08-27 15:33:47 SELECT
  9475. a.prod_id,
  9476. a.ticket_mark,
  9477. a.parent_id,
  9478. b.type_id,
  9479. b.property,
  9480. c.prod_price,
  9481. c.cus_price
  9482. FROM
  9483. opera_product AS a,
  9484. opera_product_property AS b,
  9485. opera_product_price AS c
  9486. WHERE
  9487. a.prod_id = b.prod_id
  9488. AND a.prod_id = c.prod_id
  9489. AND a.prod_type = 82
  9490. AND a.is_onsale = 1
  9491. AND a.cancel_flag = 0
  9492. AND c.cancel_flag = 0
  9493. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  9494. GROUP BY
  9495. a.prod_id,
  9496. b.type_id
  9497. 2016-08-27 15:33:49 SELECT
  9498. c.area_id,
  9499. d.area_name,
  9500. a.bus_type,
  9501. c.res_id,
  9502. c.res_name,
  9503. e.parent_area_id_list
  9504. FROM
  9505. opera_product AS a,
  9506. opera_product_station AS b,
  9507. base_resource AS c,
  9508. base_area AS d,
  9509. base_area_view AS e
  9510. WHERE
  9511. a.prod_id = b.prod_id
  9512. AND b.res_id = c.res_id
  9513. AND c.area_id = d.id
  9514. AND d.id = e.area_id
  9515. AND a.prod_type = 81
  9516. AND a.cancel_flag = 0
  9517. GROUP BY
  9518. c.res_id,
  9519. a.bus_type,
  9520. c.area_id
  9521. ORDER BY
  9522. c.area_id
  9523. 2016-08-27 07:33:49 SELECT
  9524. a.run_id,
  9525. a.prod_id as line_id,
  9526. a.run_date,
  9527. b.start_time,
  9528. b.station_res_id
  9529. FROM
  9530. run_main as a,
  9531. run_station as b
  9532. WHERE
  9533. a.run_id = b.run_id
  9534. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  9535. AND a.run_date = '2016-08-27'
  9536. AND a.run_status = 138
  9537. AND b.station_inout_type in (108,109,110)
  9538. ORDER BY
  9539. a.run_id,
  9540. b.station_res_id
  9541. 2016-08-27 07:33:49 SELECT
  9542. run_id,
  9543. res_id,
  9544. seq_id,
  9545. prod_id,
  9546. total_count,
  9547. saled_count
  9548. FROM
  9549. run_stock
  9550. WHERE
  9551. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  9552. )
  9553. AND seat_type = 72
  9554. ORDER BY
  9555. run_id ASC,
  9556. seq_id ASC
  9557. 2016-08-27 07:33:49 SELECT
  9558. run_id,
  9559. prod_id as ticket_id
  9560. FROM
  9561. run_prod
  9562. WHERE
  9563. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  9564. AND cancel_flag = 0
  9565. 2016-08-27 15:44:23 SELECT
  9566. a.prod_id,
  9567. a.prod_name,
  9568. a.bus_type,
  9569. b.type_id,
  9570. b.property
  9571. FROM
  9572. opera_product AS a,
  9573. opera_product_property AS b
  9574. WHERE
  9575. a.prod_id = b.prod_id
  9576. AND a.prod_type = 81
  9577. AND a.is_onsale = 1
  9578. AND a.cancel_flag = 0
  9579. GROUP BY
  9580. a.prod_id,
  9581. b.type_id
  9582. 2016-08-27 15:44:24 SELECT
  9583. a.prod_id,
  9584. a.ticket_mark,
  9585. a.parent_id,
  9586. b.type_id,
  9587. b.property,
  9588. c.prod_price,
  9589. c.cus_price
  9590. FROM
  9591. opera_product AS a,
  9592. opera_product_property AS b,
  9593. opera_product_price AS c
  9594. WHERE
  9595. a.prod_id = b.prod_id
  9596. AND a.prod_id = c.prod_id
  9597. AND a.prod_type = 82
  9598. AND a.is_onsale = 1
  9599. AND a.cancel_flag = 0
  9600. AND c.cancel_flag = 0
  9601. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  9602. GROUP BY
  9603. a.prod_id,
  9604. b.type_id
  9605. 2016-08-27 15:44:25 SELECT
  9606. c.area_id,
  9607. d.area_name,
  9608. a.bus_type,
  9609. c.res_id,
  9610. c.res_name,
  9611. e.parent_area_id_list
  9612. FROM
  9613. opera_product AS a,
  9614. opera_product_station AS b,
  9615. base_resource AS c,
  9616. base_area AS d,
  9617. base_area_view AS e
  9618. WHERE
  9619. a.prod_id = b.prod_id
  9620. AND b.res_id = c.res_id
  9621. AND c.area_id = d.id
  9622. AND d.id = e.area_id
  9623. AND a.prod_type = 81
  9624. AND a.cancel_flag = 0
  9625. GROUP BY
  9626. c.res_id,
  9627. a.bus_type,
  9628. c.area_id
  9629. ORDER BY
  9630. c.area_id
  9631. 2016-08-27 07:44:26 SELECT
  9632. a.run_id,
  9633. a.prod_id as line_id,
  9634. a.run_date,
  9635. b.start_time,
  9636. b.station_res_id
  9637. FROM
  9638. run_main as a,
  9639. run_station as b
  9640. WHERE
  9641. a.run_id = b.run_id
  9642. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  9643. AND a.run_date = '2016-08-27'
  9644. AND a.run_status = 138
  9645. AND b.station_inout_type in (108,109,110)
  9646. ORDER BY
  9647. a.run_id,
  9648. b.station_res_id
  9649. 2016-08-27 07:44:26 SELECT
  9650. run_id,
  9651. res_id,
  9652. seq_id,
  9653. prod_id,
  9654. total_count,
  9655. saled_count
  9656. FROM
  9657. run_stock
  9658. WHERE
  9659. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  9660. )
  9661. AND seat_type = 72
  9662. ORDER BY
  9663. run_id ASC,
  9664. seq_id ASC
  9665. 2016-08-27 07:44:26 SELECT
  9666. run_id,
  9667. prod_id as ticket_id
  9668. FROM
  9669. run_prod
  9670. WHERE
  9671. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  9672. AND cancel_flag = 0
  9673. 2016-08-27 15:46:27 SELECT
  9674. a.prod_id,
  9675. a.prod_name,
  9676. a.bus_type,
  9677. b.type_id,
  9678. b.property
  9679. FROM
  9680. opera_product AS a,
  9681. opera_product_property AS b
  9682. WHERE
  9683. a.prod_id = b.prod_id
  9684. AND a.prod_type = 81
  9685. AND a.is_onsale = 1
  9686. AND a.cancel_flag = 0
  9687. GROUP BY
  9688. a.prod_id,
  9689. b.type_id
  9690. 2016-08-27 15:46:27 SELECT
  9691. a.prod_id,
  9692. a.ticket_mark,
  9693. a.parent_id,
  9694. b.type_id,
  9695. b.property,
  9696. c.prod_price,
  9697. c.cus_price
  9698. FROM
  9699. opera_product AS a,
  9700. opera_product_property AS b,
  9701. opera_product_price AS c
  9702. WHERE
  9703. a.prod_id = b.prod_id
  9704. AND a.prod_id = c.prod_id
  9705. AND a.prod_type = 82
  9706. AND a.is_onsale = 1
  9707. AND a.cancel_flag = 0
  9708. AND c.cancel_flag = 0
  9709. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  9710. GROUP BY
  9711. a.prod_id,
  9712. b.type_id
  9713. 2016-08-27 15:46:29 SELECT
  9714. c.area_id,
  9715. d.area_name,
  9716. a.bus_type,
  9717. c.res_id,
  9718. c.res_name,
  9719. e.parent_area_id_list
  9720. FROM
  9721. opera_product AS a,
  9722. opera_product_station AS b,
  9723. base_resource AS c,
  9724. base_area AS d,
  9725. base_area_view AS e
  9726. WHERE
  9727. a.prod_id = b.prod_id
  9728. AND b.res_id = c.res_id
  9729. AND c.area_id = d.id
  9730. AND d.id = e.area_id
  9731. AND a.prod_type = 81
  9732. AND a.cancel_flag = 0
  9733. GROUP BY
  9734. c.res_id,
  9735. a.bus_type,
  9736. c.area_id
  9737. ORDER BY
  9738. c.area_id
  9739. 2016-08-27 07:46:29 SELECT
  9740. a.run_id,
  9741. a.prod_id as line_id,
  9742. a.run_date,
  9743. b.start_time,
  9744. b.station_res_id
  9745. FROM
  9746. run_main as a,
  9747. run_station as b
  9748. WHERE
  9749. a.run_id = b.run_id
  9750. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  9751. AND a.run_date = '2016-08-27'
  9752. AND a.run_status = 138
  9753. AND b.station_inout_type in (108,109,110)
  9754. ORDER BY
  9755. a.run_id,
  9756. b.station_res_id
  9757. 2016-08-27 07:46:29 SELECT
  9758. run_id,
  9759. res_id,
  9760. seq_id,
  9761. prod_id,
  9762. total_count,
  9763. saled_count
  9764. FROM
  9765. run_stock
  9766. WHERE
  9767. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  9768. )
  9769. AND seat_type = 72
  9770. ORDER BY
  9771. run_id ASC,
  9772. seq_id ASC
  9773. 2016-08-27 07:46:29 SELECT
  9774. run_id,
  9775. prod_id as ticket_id
  9776. FROM
  9777. run_prod
  9778. WHERE
  9779. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  9780. AND cancel_flag = 0
  9781. 2016-08-27 15:48:31 SELECT
  9782. a.prod_id,
  9783. a.prod_name,
  9784. a.bus_type,
  9785. b.type_id,
  9786. b.property
  9787. FROM
  9788. opera_product AS a,
  9789. opera_product_property AS b
  9790. WHERE
  9791. a.prod_id = b.prod_id
  9792. AND a.prod_type = 81
  9793. AND a.is_onsale = 1
  9794. AND a.cancel_flag = 0
  9795. GROUP BY
  9796. a.prod_id,
  9797. b.type_id
  9798. 2016-08-27 15:48:31 SELECT
  9799. a.prod_id,
  9800. a.ticket_mark,
  9801. a.parent_id,
  9802. b.type_id,
  9803. b.property,
  9804. c.prod_price,
  9805. c.cus_price
  9806. FROM
  9807. opera_product AS a,
  9808. opera_product_property AS b,
  9809. opera_product_price AS c
  9810. WHERE
  9811. a.prod_id = b.prod_id
  9812. AND a.prod_id = c.prod_id
  9813. AND a.prod_type = 82
  9814. AND a.is_onsale = 1
  9815. AND a.cancel_flag = 0
  9816. AND c.cancel_flag = 0
  9817. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  9818. GROUP BY
  9819. a.prod_id,
  9820. b.type_id
  9821. 2016-08-27 15:48:33 SELECT
  9822. c.area_id,
  9823. d.area_name,
  9824. a.bus_type,
  9825. c.res_id,
  9826. c.res_name,
  9827. e.parent_area_id_list
  9828. FROM
  9829. opera_product AS a,
  9830. opera_product_station AS b,
  9831. base_resource AS c,
  9832. base_area AS d,
  9833. base_area_view AS e
  9834. WHERE
  9835. a.prod_id = b.prod_id
  9836. AND b.res_id = c.res_id
  9837. AND c.area_id = d.id
  9838. AND d.id = e.area_id
  9839. AND a.prod_type = 81
  9840. AND a.cancel_flag = 0
  9841. GROUP BY
  9842. c.res_id,
  9843. a.bus_type,
  9844. c.area_id
  9845. ORDER BY
  9846. c.area_id
  9847. 2016-08-27 07:48:33 SELECT
  9848. a.run_id,
  9849. a.prod_id as line_id,
  9850. a.run_date,
  9851. b.start_time,
  9852. b.station_res_id
  9853. FROM
  9854. run_main as a,
  9855. run_station as b
  9856. WHERE
  9857. a.run_id = b.run_id
  9858. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  9859. AND a.run_date = '2016-08-27'
  9860. AND a.run_status = 138
  9861. AND b.station_inout_type in (108,109,110)
  9862. ORDER BY
  9863. a.run_id,
  9864. b.station_res_id
  9865. 2016-08-27 07:48:33 SELECT
  9866. run_id,
  9867. res_id,
  9868. seq_id,
  9869. prod_id,
  9870. total_count,
  9871. saled_count
  9872. FROM
  9873. run_stock
  9874. WHERE
  9875. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  9876. )
  9877. AND seat_type = 72
  9878. ORDER BY
  9879. run_id ASC,
  9880. seq_id ASC
  9881. 2016-08-27 07:48:33 SELECT
  9882. run_id,
  9883. prod_id as ticket_id
  9884. FROM
  9885. run_prod
  9886. WHERE
  9887. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  9888. AND cancel_flag = 0
  9889. 2016-08-27 15:49:36 SELECT
  9890. a.prod_id,
  9891. a.prod_name,
  9892. a.bus_type,
  9893. b.type_id,
  9894. b.property
  9895. FROM
  9896. opera_product AS a,
  9897. opera_product_property AS b
  9898. WHERE
  9899. a.prod_id = b.prod_id
  9900. AND a.prod_type = 81
  9901. AND a.is_onsale = 1
  9902. AND a.cancel_flag = 0
  9903. GROUP BY
  9904. a.prod_id,
  9905. b.type_id
  9906. 2016-08-27 15:49:36 SELECT
  9907. a.prod_id,
  9908. a.ticket_mark,
  9909. a.parent_id,
  9910. b.type_id,
  9911. b.property,
  9912. c.prod_price,
  9913. c.cus_price
  9914. FROM
  9915. opera_product AS a,
  9916. opera_product_property AS b,
  9917. opera_product_price AS c
  9918. WHERE
  9919. a.prod_id = b.prod_id
  9920. AND a.prod_id = c.prod_id
  9921. AND a.prod_type = 82
  9922. AND a.is_onsale = 1
  9923. AND a.cancel_flag = 0
  9924. AND c.cancel_flag = 0
  9925. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  9926. GROUP BY
  9927. a.prod_id,
  9928. b.type_id
  9929. 2016-08-27 15:49:38 SELECT
  9930. c.area_id,
  9931. d.area_name,
  9932. a.bus_type,
  9933. c.res_id,
  9934. c.res_name,
  9935. e.parent_area_id_list
  9936. FROM
  9937. opera_product AS a,
  9938. opera_product_station AS b,
  9939. base_resource AS c,
  9940. base_area AS d,
  9941. base_area_view AS e
  9942. WHERE
  9943. a.prod_id = b.prod_id
  9944. AND b.res_id = c.res_id
  9945. AND c.area_id = d.id
  9946. AND d.id = e.area_id
  9947. AND a.prod_type = 81
  9948. AND a.cancel_flag = 0
  9949. GROUP BY
  9950. c.res_id,
  9951. a.bus_type,
  9952. c.area_id
  9953. ORDER BY
  9954. c.area_id
  9955. 2016-08-27 07:49:38 SELECT
  9956. a.run_id,
  9957. a.prod_id as line_id,
  9958. a.run_date,
  9959. b.start_time,
  9960. b.station_res_id
  9961. FROM
  9962. run_main as a,
  9963. run_station as b
  9964. WHERE
  9965. a.run_id = b.run_id
  9966. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  9967. AND a.run_date = '2016-08-27'
  9968. AND a.run_status = 138
  9969. AND b.station_inout_type in (108,109,110)
  9970. ORDER BY
  9971. a.run_id,
  9972. b.station_res_id
  9973. 2016-08-27 07:49:39 SELECT
  9974. run_id,
  9975. res_id,
  9976. seq_id,
  9977. prod_id,
  9978. total_count,
  9979. saled_count
  9980. FROM
  9981. run_stock
  9982. WHERE
  9983. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  9984. )
  9985. AND seat_type = 72
  9986. ORDER BY
  9987. run_id ASC,
  9988. seq_id ASC
  9989. 2016-08-27 07:49:39 SELECT
  9990. run_id,
  9991. prod_id as ticket_id
  9992. FROM
  9993. run_prod
  9994. WHERE
  9995. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  9996. AND cancel_flag = 0
  9997. 2016-08-27 15:50:50 SELECT
  9998. a.prod_id,
  9999. a.prod_name,
  10000. a.bus_type,
  10001. b.type_id,
  10002. b.property
  10003. FROM
  10004. opera_product AS a,
  10005. opera_product_property AS b
  10006. WHERE
  10007. a.prod_id = b.prod_id
  10008. AND a.prod_type = 81
  10009. AND a.is_onsale = 1
  10010. AND a.cancel_flag = 0
  10011. GROUP BY
  10012. a.prod_id,
  10013. b.type_id
  10014. 2016-08-27 15:50:50 SELECT
  10015. a.prod_id,
  10016. a.ticket_mark,
  10017. a.parent_id,
  10018. b.type_id,
  10019. b.property,
  10020. c.prod_price,
  10021. c.cus_price
  10022. FROM
  10023. opera_product AS a,
  10024. opera_product_property AS b,
  10025. opera_product_price AS c
  10026. WHERE
  10027. a.prod_id = b.prod_id
  10028. AND a.prod_id = c.prod_id
  10029. AND a.prod_type = 82
  10030. AND a.is_onsale = 1
  10031. AND a.cancel_flag = 0
  10032. AND c.cancel_flag = 0
  10033. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  10034. GROUP BY
  10035. a.prod_id,
  10036. b.type_id
  10037. 2016-08-27 15:50:52 SELECT
  10038. c.area_id,
  10039. d.area_name,
  10040. a.bus_type,
  10041. c.res_id,
  10042. c.res_name,
  10043. e.parent_area_id_list
  10044. FROM
  10045. opera_product AS a,
  10046. opera_product_station AS b,
  10047. base_resource AS c,
  10048. base_area AS d,
  10049. base_area_view AS e
  10050. WHERE
  10051. a.prod_id = b.prod_id
  10052. AND b.res_id = c.res_id
  10053. AND c.area_id = d.id
  10054. AND d.id = e.area_id
  10055. AND a.prod_type = 81
  10056. AND a.cancel_flag = 0
  10057. GROUP BY
  10058. c.res_id,
  10059. a.bus_type,
  10060. c.area_id
  10061. ORDER BY
  10062. c.area_id
  10063. 2016-08-27 07:50:52 SELECT
  10064. a.run_id,
  10065. a.prod_id as line_id,
  10066. a.run_date,
  10067. b.start_time,
  10068. b.station_res_id
  10069. FROM
  10070. run_main as a,
  10071. run_station as b
  10072. WHERE
  10073. a.run_id = b.run_id
  10074. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  10075. AND a.run_date = '2016-08-27'
  10076. AND a.run_status = 138
  10077. AND b.station_inout_type in (108,109,110)
  10078. ORDER BY
  10079. a.run_id,
  10080. b.station_res_id
  10081. 2016-08-27 07:50:52 SELECT
  10082. run_id,
  10083. res_id,
  10084. seq_id,
  10085. prod_id,
  10086. total_count,
  10087. saled_count
  10088. FROM
  10089. run_stock
  10090. WHERE
  10091. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  10092. )
  10093. AND seat_type = 72
  10094. ORDER BY
  10095. run_id ASC,
  10096. seq_id ASC
  10097. 2016-08-27 07:50:52 SELECT
  10098. run_id,
  10099. prod_id as ticket_id
  10100. FROM
  10101. run_prod
  10102. WHERE
  10103. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  10104. AND cancel_flag = 0
  10105. 2016-08-27 15:56:35 SELECT
  10106. a.prod_id,
  10107. a.prod_name,
  10108. a.bus_type,
  10109. b.type_id,
  10110. b.property
  10111. FROM
  10112. opera_product AS a,
  10113. opera_product_property AS b
  10114. WHERE
  10115. a.prod_id = b.prod_id
  10116. AND a.prod_type = 81
  10117. AND a.is_onsale = 1
  10118. AND a.cancel_flag = 0
  10119. GROUP BY
  10120. a.prod_id,
  10121. b.type_id
  10122. 2016-08-27 15:56:35 SELECT
  10123. a.prod_id,
  10124. a.ticket_mark,
  10125. a.parent_id,
  10126. b.type_id,
  10127. b.property,
  10128. c.prod_price,
  10129. c.cus_price
  10130. FROM
  10131. opera_product AS a,
  10132. opera_product_property AS b,
  10133. opera_product_price AS c
  10134. WHERE
  10135. a.prod_id = b.prod_id
  10136. AND a.prod_id = c.prod_id
  10137. AND a.prod_type = 82
  10138. AND a.is_onsale = 1
  10139. AND a.cancel_flag = 0
  10140. AND c.cancel_flag = 0
  10141. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  10142. GROUP BY
  10143. a.prod_id,
  10144. b.type_id
  10145. 2016-08-27 15:56:37 SELECT
  10146. c.area_id,
  10147. d.area_name,
  10148. a.bus_type,
  10149. c.res_id,
  10150. c.res_name,
  10151. e.parent_area_id_list
  10152. FROM
  10153. opera_product AS a,
  10154. opera_product_station AS b,
  10155. base_resource AS c,
  10156. base_area AS d,
  10157. base_area_view AS e
  10158. WHERE
  10159. a.prod_id = b.prod_id
  10160. AND b.res_id = c.res_id
  10161. AND c.area_id = d.id
  10162. AND d.id = e.area_id
  10163. AND a.prod_type = 81
  10164. AND a.cancel_flag = 0
  10165. GROUP BY
  10166. c.res_id,
  10167. a.bus_type,
  10168. c.area_id
  10169. ORDER BY
  10170. c.area_id
  10171. 2016-08-27 15:56:49 SELECT
  10172. a.prod_id,
  10173. a.prod_name,
  10174. a.bus_type,
  10175. b.type_id,
  10176. b.property
  10177. FROM
  10178. opera_product AS a,
  10179. opera_product_property AS b
  10180. WHERE
  10181. a.prod_id = b.prod_id
  10182. AND a.prod_type = 81
  10183. AND a.is_onsale = 1
  10184. AND a.cancel_flag = 0
  10185. GROUP BY
  10186. a.prod_id,
  10187. b.type_id
  10188. 2016-08-27 15:56:49 SELECT
  10189. a.prod_id,
  10190. a.ticket_mark,
  10191. a.parent_id,
  10192. b.type_id,
  10193. b.property,
  10194. c.prod_price,
  10195. c.cus_price
  10196. FROM
  10197. opera_product AS a,
  10198. opera_product_property AS b,
  10199. opera_product_price AS c
  10200. WHERE
  10201. a.prod_id = b.prod_id
  10202. AND a.prod_id = c.prod_id
  10203. AND a.prod_type = 82
  10204. AND a.is_onsale = 1
  10205. AND a.cancel_flag = 0
  10206. AND c.cancel_flag = 0
  10207. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  10208. GROUP BY
  10209. a.prod_id,
  10210. b.type_id
  10211. 2016-08-27 15:56:50 SELECT
  10212. a.prod_id,
  10213. a.prod_name,
  10214. a.bus_type,
  10215. b.type_id,
  10216. b.property
  10217. FROM
  10218. opera_product AS a,
  10219. opera_product_property AS b
  10220. WHERE
  10221. a.prod_id = b.prod_id
  10222. AND a.prod_type = 81
  10223. AND a.is_onsale = 1
  10224. AND a.cancel_flag = 0
  10225. GROUP BY
  10226. a.prod_id,
  10227. b.type_id
  10228. 2016-08-27 15:56:50 SELECT
  10229. a.prod_id,
  10230. a.ticket_mark,
  10231. a.parent_id,
  10232. b.type_id,
  10233. b.property,
  10234. c.prod_price,
  10235. c.cus_price
  10236. FROM
  10237. opera_product AS a,
  10238. opera_product_property AS b,
  10239. opera_product_price AS c
  10240. WHERE
  10241. a.prod_id = b.prod_id
  10242. AND a.prod_id = c.prod_id
  10243. AND a.prod_type = 82
  10244. AND a.is_onsale = 1
  10245. AND a.cancel_flag = 0
  10246. AND c.cancel_flag = 0
  10247. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  10248. GROUP BY
  10249. a.prod_id,
  10250. b.type_id
  10251. 2016-08-27 15:56:51 SELECT
  10252. c.area_id,
  10253. d.area_name,
  10254. a.bus_type,
  10255. c.res_id,
  10256. c.res_name,
  10257. e.parent_area_id_list
  10258. FROM
  10259. opera_product AS a,
  10260. opera_product_station AS b,
  10261. base_resource AS c,
  10262. base_area AS d,
  10263. base_area_view AS e
  10264. WHERE
  10265. a.prod_id = b.prod_id
  10266. AND b.res_id = c.res_id
  10267. AND c.area_id = d.id
  10268. AND d.id = e.area_id
  10269. AND a.prod_type = 81
  10270. AND a.cancel_flag = 0
  10271. GROUP BY
  10272. c.res_id,
  10273. a.bus_type,
  10274. c.area_id
  10275. ORDER BY
  10276. c.area_id
  10277. 2016-08-27 15:56:52 SELECT
  10278. c.area_id,
  10279. d.area_name,
  10280. a.bus_type,
  10281. c.res_id,
  10282. c.res_name,
  10283. e.parent_area_id_list
  10284. FROM
  10285. opera_product AS a,
  10286. opera_product_station AS b,
  10287. base_resource AS c,
  10288. base_area AS d,
  10289. base_area_view AS e
  10290. WHERE
  10291. a.prod_id = b.prod_id
  10292. AND b.res_id = c.res_id
  10293. AND c.area_id = d.id
  10294. AND d.id = e.area_id
  10295. AND a.prod_type = 81
  10296. AND a.cancel_flag = 0
  10297. GROUP BY
  10298. c.res_id,
  10299. a.bus_type,
  10300. c.area_id
  10301. ORDER BY
  10302. c.area_id
  10303. 2016-08-27 15:57:08 SELECT
  10304. a.prod_id,
  10305. a.prod_name,
  10306. a.bus_type,
  10307. b.type_id,
  10308. b.property
  10309. FROM
  10310. opera_product AS a,
  10311. opera_product_property AS b
  10312. WHERE
  10313. a.prod_id = b.prod_id
  10314. AND a.prod_type = 81
  10315. AND a.is_onsale = 1
  10316. AND a.cancel_flag = 0
  10317. GROUP BY
  10318. a.prod_id,
  10319. b.type_id
  10320. 2016-08-27 15:57:08 SELECT
  10321. a.prod_id,
  10322. a.ticket_mark,
  10323. a.parent_id,
  10324. b.type_id,
  10325. b.property,
  10326. c.prod_price,
  10327. c.cus_price
  10328. FROM
  10329. opera_product AS a,
  10330. opera_product_property AS b,
  10331. opera_product_price AS c
  10332. WHERE
  10333. a.prod_id = b.prod_id
  10334. AND a.prod_id = c.prod_id
  10335. AND a.prod_type = 82
  10336. AND a.is_onsale = 1
  10337. AND a.cancel_flag = 0
  10338. AND c.cancel_flag = 0
  10339. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  10340. GROUP BY
  10341. a.prod_id,
  10342. b.type_id
  10343. 2016-08-27 15:57:09 SELECT
  10344. a.prod_id,
  10345. a.prod_name,
  10346. a.bus_type,
  10347. b.type_id,
  10348. b.property
  10349. FROM
  10350. opera_product AS a,
  10351. opera_product_property AS b
  10352. WHERE
  10353. a.prod_id = b.prod_id
  10354. AND a.prod_type = 81
  10355. AND a.is_onsale = 1
  10356. AND a.cancel_flag = 0
  10357. GROUP BY
  10358. a.prod_id,
  10359. b.type_id
  10360. 2016-08-27 15:57:09 SELECT
  10361. a.prod_id,
  10362. a.ticket_mark,
  10363. a.parent_id,
  10364. b.type_id,
  10365. b.property,
  10366. c.prod_price,
  10367. c.cus_price
  10368. FROM
  10369. opera_product AS a,
  10370. opera_product_property AS b,
  10371. opera_product_price AS c
  10372. WHERE
  10373. a.prod_id = b.prod_id
  10374. AND a.prod_id = c.prod_id
  10375. AND a.prod_type = 82
  10376. AND a.is_onsale = 1
  10377. AND a.cancel_flag = 0
  10378. AND c.cancel_flag = 0
  10379. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  10380. GROUP BY
  10381. a.prod_id,
  10382. b.type_id
  10383. 2016-08-27 15:57:10 SELECT
  10384. c.area_id,
  10385. d.area_name,
  10386. a.bus_type,
  10387. c.res_id,
  10388. c.res_name,
  10389. e.parent_area_id_list
  10390. FROM
  10391. opera_product AS a,
  10392. opera_product_station AS b,
  10393. base_resource AS c,
  10394. base_area AS d,
  10395. base_area_view AS e
  10396. WHERE
  10397. a.prod_id = b.prod_id
  10398. AND b.res_id = c.res_id
  10399. AND c.area_id = d.id
  10400. AND d.id = e.area_id
  10401. AND a.prod_type = 81
  10402. AND a.cancel_flag = 0
  10403. GROUP BY
  10404. c.res_id,
  10405. a.bus_type,
  10406. c.area_id
  10407. ORDER BY
  10408. c.area_id
  10409. 2016-08-27 15:57:11 SELECT
  10410. a.prod_id,
  10411. a.prod_name,
  10412. a.bus_type,
  10413. b.type_id,
  10414. b.property
  10415. FROM
  10416. opera_product AS a,
  10417. opera_product_property AS b
  10418. WHERE
  10419. a.prod_id = b.prod_id
  10420. AND a.prod_type = 81
  10421. AND a.is_onsale = 1
  10422. AND a.cancel_flag = 0
  10423. GROUP BY
  10424. a.prod_id,
  10425. b.type_id
  10426. 2016-08-27 15:57:11 SELECT
  10427. a.prod_id,
  10428. a.ticket_mark,
  10429. a.parent_id,
  10430. b.type_id,
  10431. b.property,
  10432. c.prod_price,
  10433. c.cus_price
  10434. FROM
  10435. opera_product AS a,
  10436. opera_product_property AS b,
  10437. opera_product_price AS c
  10438. WHERE
  10439. a.prod_id = b.prod_id
  10440. AND a.prod_id = c.prod_id
  10441. AND a.prod_type = 82
  10442. AND a.is_onsale = 1
  10443. AND a.cancel_flag = 0
  10444. AND c.cancel_flag = 0
  10445. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  10446. GROUP BY
  10447. a.prod_id,
  10448. b.type_id
  10449. 2016-08-27 15:57:11 SELECT
  10450. a.prod_id,
  10451. a.prod_name,
  10452. a.bus_type,
  10453. b.type_id,
  10454. b.property
  10455. FROM
  10456. opera_product AS a,
  10457. opera_product_property AS b
  10458. WHERE
  10459. a.prod_id = b.prod_id
  10460. AND a.prod_type = 81
  10461. AND a.is_onsale = 1
  10462. AND a.cancel_flag = 0
  10463. GROUP BY
  10464. a.prod_id,
  10465. b.type_id
  10466. 2016-08-27 15:57:11 SELECT
  10467. a.prod_id,
  10468. a.ticket_mark,
  10469. a.parent_id,
  10470. b.type_id,
  10471. b.property,
  10472. c.prod_price,
  10473. c.cus_price
  10474. FROM
  10475. opera_product AS a,
  10476. opera_product_property AS b,
  10477. opera_product_price AS c
  10478. WHERE
  10479. a.prod_id = b.prod_id
  10480. AND a.prod_id = c.prod_id
  10481. AND a.prod_type = 82
  10482. AND a.is_onsale = 1
  10483. AND a.cancel_flag = 0
  10484. AND c.cancel_flag = 0
  10485. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  10486. GROUP BY
  10487. a.prod_id,
  10488. b.type_id
  10489. 2016-08-27 15:57:11 SELECT
  10490. a.prod_id,
  10491. a.prod_name,
  10492. a.bus_type,
  10493. b.type_id,
  10494. b.property
  10495. FROM
  10496. opera_product AS a,
  10497. opera_product_property AS b
  10498. WHERE
  10499. a.prod_id = b.prod_id
  10500. AND a.prod_type = 81
  10501. AND a.is_onsale = 1
  10502. AND a.cancel_flag = 0
  10503. GROUP BY
  10504. a.prod_id,
  10505. b.type_id
  10506. 2016-08-27 15:57:11 SELECT
  10507. a.prod_id,
  10508. a.ticket_mark,
  10509. a.parent_id,
  10510. b.type_id,
  10511. b.property,
  10512. c.prod_price,
  10513. c.cus_price
  10514. FROM
  10515. opera_product AS a,
  10516. opera_product_property AS b,
  10517. opera_product_price AS c
  10518. WHERE
  10519. a.prod_id = b.prod_id
  10520. AND a.prod_id = c.prod_id
  10521. AND a.prod_type = 82
  10522. AND a.is_onsale = 1
  10523. AND a.cancel_flag = 0
  10524. AND c.cancel_flag = 0
  10525. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  10526. GROUP BY
  10527. a.prod_id,
  10528. b.type_id
  10529. 2016-08-27 15:57:11 SELECT
  10530. a.prod_id,
  10531. a.prod_name,
  10532. a.bus_type,
  10533. b.type_id,
  10534. b.property
  10535. FROM
  10536. opera_product AS a,
  10537. opera_product_property AS b
  10538. WHERE
  10539. a.prod_id = b.prod_id
  10540. AND a.prod_type = 81
  10541. AND a.is_onsale = 1
  10542. AND a.cancel_flag = 0
  10543. GROUP BY
  10544. a.prod_id,
  10545. b.type_id
  10546. 2016-08-27 15:57:11 SELECT
  10547. a.prod_id,
  10548. a.prod_name,
  10549. a.bus_type,
  10550. b.type_id,
  10551. b.property
  10552. FROM
  10553. opera_product AS a,
  10554. opera_product_property AS b
  10555. WHERE
  10556. a.prod_id = b.prod_id
  10557. AND a.prod_type = 81
  10558. AND a.is_onsale = 1
  10559. AND a.cancel_flag = 0
  10560. GROUP BY
  10561. a.prod_id,
  10562. b.type_id
  10563. 2016-08-27 15:57:11 SELECT
  10564. a.prod_id,
  10565. a.ticket_mark,
  10566. a.parent_id,
  10567. b.type_id,
  10568. b.property,
  10569. c.prod_price,
  10570. c.cus_price
  10571. FROM
  10572. opera_product AS a,
  10573. opera_product_property AS b,
  10574. opera_product_price AS c
  10575. WHERE
  10576. a.prod_id = b.prod_id
  10577. AND a.prod_id = c.prod_id
  10578. AND a.prod_type = 82
  10579. AND a.is_onsale = 1
  10580. AND a.cancel_flag = 0
  10581. AND c.cancel_flag = 0
  10582. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  10583. GROUP BY
  10584. a.prod_id,
  10585. b.type_id
  10586. 2016-08-27 15:57:11 SELECT
  10587. c.area_id,
  10588. d.area_name,
  10589. a.bus_type,
  10590. c.res_id,
  10591. c.res_name,
  10592. e.parent_area_id_list
  10593. FROM
  10594. opera_product AS a,
  10595. opera_product_station AS b,
  10596. base_resource AS c,
  10597. base_area AS d,
  10598. base_area_view AS e
  10599. WHERE
  10600. a.prod_id = b.prod_id
  10601. AND b.res_id = c.res_id
  10602. AND c.area_id = d.id
  10603. AND d.id = e.area_id
  10604. AND a.prod_type = 81
  10605. AND a.cancel_flag = 0
  10606. GROUP BY
  10607. c.res_id,
  10608. a.bus_type,
  10609. c.area_id
  10610. ORDER BY
  10611. c.area_id
  10612. 2016-08-27 15:57:11 SELECT
  10613. a.prod_id,
  10614. a.ticket_mark,
  10615. a.parent_id,
  10616. b.type_id,
  10617. b.property,
  10618. c.prod_price,
  10619. c.cus_price
  10620. FROM
  10621. opera_product AS a,
  10622. opera_product_property AS b,
  10623. opera_product_price AS c
  10624. WHERE
  10625. a.prod_id = b.prod_id
  10626. AND a.prod_id = c.prod_id
  10627. AND a.prod_type = 82
  10628. AND a.is_onsale = 1
  10629. AND a.cancel_flag = 0
  10630. AND c.cancel_flag = 0
  10631. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  10632. GROUP BY
  10633. a.prod_id,
  10634. b.type_id
  10635. 2016-08-27 15:57:12 SELECT
  10636. a.prod_id,
  10637. a.prod_name,
  10638. a.bus_type,
  10639. b.type_id,
  10640. b.property
  10641. FROM
  10642. opera_product AS a,
  10643. opera_product_property AS b
  10644. WHERE
  10645. a.prod_id = b.prod_id
  10646. AND a.prod_type = 81
  10647. AND a.is_onsale = 1
  10648. AND a.cancel_flag = 0
  10649. GROUP BY
  10650. a.prod_id,
  10651. b.type_id
  10652. 2016-08-27 15:57:12 SELECT
  10653. a.prod_id,
  10654. a.ticket_mark,
  10655. a.parent_id,
  10656. b.type_id,
  10657. b.property,
  10658. c.prod_price,
  10659. c.cus_price
  10660. FROM
  10661. opera_product AS a,
  10662. opera_product_property AS b,
  10663. opera_product_price AS c
  10664. WHERE
  10665. a.prod_id = b.prod_id
  10666. AND a.prod_id = c.prod_id
  10667. AND a.prod_type = 82
  10668. AND a.is_onsale = 1
  10669. AND a.cancel_flag = 0
  10670. AND c.cancel_flag = 0
  10671. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  10672. GROUP BY
  10673. a.prod_id,
  10674. b.type_id
  10675. 2016-08-27 15:57:13 SELECT
  10676. c.area_id,
  10677. d.area_name,
  10678. a.bus_type,
  10679. c.res_id,
  10680. c.res_name,
  10681. e.parent_area_id_list
  10682. FROM
  10683. opera_product AS a,
  10684. opera_product_station AS b,
  10685. base_resource AS c,
  10686. base_area AS d,
  10687. base_area_view AS e
  10688. WHERE
  10689. a.prod_id = b.prod_id
  10690. AND b.res_id = c.res_id
  10691. AND c.area_id = d.id
  10692. AND d.id = e.area_id
  10693. AND a.prod_type = 81
  10694. AND a.cancel_flag = 0
  10695. GROUP BY
  10696. c.res_id,
  10697. a.bus_type,
  10698. c.area_id
  10699. ORDER BY
  10700. c.area_id
  10701. 2016-08-27 15:57:13 SELECT
  10702. c.area_id,
  10703. d.area_name,
  10704. a.bus_type,
  10705. c.res_id,
  10706. c.res_name,
  10707. e.parent_area_id_list
  10708. FROM
  10709. opera_product AS a,
  10710. opera_product_station AS b,
  10711. base_resource AS c,
  10712. base_area AS d,
  10713. base_area_view AS e
  10714. WHERE
  10715. a.prod_id = b.prod_id
  10716. AND b.res_id = c.res_id
  10717. AND c.area_id = d.id
  10718. AND d.id = e.area_id
  10719. AND a.prod_type = 81
  10720. AND a.cancel_flag = 0
  10721. GROUP BY
  10722. c.res_id,
  10723. a.bus_type,
  10724. c.area_id
  10725. ORDER BY
  10726. c.area_id
  10727. 2016-08-27 15:57:13 SELECT
  10728. c.area_id,
  10729. d.area_name,
  10730. a.bus_type,
  10731. c.res_id,
  10732. c.res_name,
  10733. e.parent_area_id_list
  10734. FROM
  10735. opera_product AS a,
  10736. opera_product_station AS b,
  10737. base_resource AS c,
  10738. base_area AS d,
  10739. base_area_view AS e
  10740. WHERE
  10741. a.prod_id = b.prod_id
  10742. AND b.res_id = c.res_id
  10743. AND c.area_id = d.id
  10744. AND d.id = e.area_id
  10745. AND a.prod_type = 81
  10746. AND a.cancel_flag = 0
  10747. GROUP BY
  10748. c.res_id,
  10749. a.bus_type,
  10750. c.area_id
  10751. ORDER BY
  10752. c.area_id
  10753. 2016-08-27 15:57:13 SELECT
  10754. a.prod_id,
  10755. a.prod_name,
  10756. a.bus_type,
  10757. b.type_id,
  10758. b.property
  10759. FROM
  10760. opera_product AS a,
  10761. opera_product_property AS b
  10762. WHERE
  10763. a.prod_id = b.prod_id
  10764. AND a.prod_type = 81
  10765. AND a.is_onsale = 1
  10766. AND a.cancel_flag = 0
  10767. GROUP BY
  10768. a.prod_id,
  10769. b.type_id
  10770. 2016-08-27 15:57:13 SELECT
  10771. c.area_id,
  10772. d.area_name,
  10773. a.bus_type,
  10774. c.res_id,
  10775. c.res_name,
  10776. e.parent_area_id_list
  10777. FROM
  10778. opera_product AS a,
  10779. opera_product_station AS b,
  10780. base_resource AS c,
  10781. base_area AS d,
  10782. base_area_view AS e
  10783. WHERE
  10784. a.prod_id = b.prod_id
  10785. AND b.res_id = c.res_id
  10786. AND c.area_id = d.id
  10787. AND d.id = e.area_id
  10788. AND a.prod_type = 81
  10789. AND a.cancel_flag = 0
  10790. GROUP BY
  10791. c.res_id,
  10792. a.bus_type,
  10793. c.area_id
  10794. ORDER BY
  10795. c.area_id
  10796. 2016-08-27 15:57:13 SELECT
  10797. a.prod_id,
  10798. a.ticket_mark,
  10799. a.parent_id,
  10800. b.type_id,
  10801. b.property,
  10802. c.prod_price,
  10803. c.cus_price
  10804. FROM
  10805. opera_product AS a,
  10806. opera_product_property AS b,
  10807. opera_product_price AS c
  10808. WHERE
  10809. a.prod_id = b.prod_id
  10810. AND a.prod_id = c.prod_id
  10811. AND a.prod_type = 82
  10812. AND a.is_onsale = 1
  10813. AND a.cancel_flag = 0
  10814. AND c.cancel_flag = 0
  10815. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  10816. GROUP BY
  10817. a.prod_id,
  10818. b.type_id
  10819. 2016-08-27 15:57:13 SELECT
  10820. c.area_id,
  10821. d.area_name,
  10822. a.bus_type,
  10823. c.res_id,
  10824. c.res_name,
  10825. e.parent_area_id_list
  10826. FROM
  10827. opera_product AS a,
  10828. opera_product_station AS b,
  10829. base_resource AS c,
  10830. base_area AS d,
  10831. base_area_view AS e
  10832. WHERE
  10833. a.prod_id = b.prod_id
  10834. AND b.res_id = c.res_id
  10835. AND c.area_id = d.id
  10836. AND d.id = e.area_id
  10837. AND a.prod_type = 81
  10838. AND a.cancel_flag = 0
  10839. GROUP BY
  10840. c.res_id,
  10841. a.bus_type,
  10842. c.area_id
  10843. ORDER BY
  10844. c.area_id
  10845. 2016-08-27 15:57:14 SELECT
  10846. c.area_id,
  10847. d.area_name,
  10848. a.bus_type,
  10849. c.res_id,
  10850. c.res_name,
  10851. e.parent_area_id_list
  10852. FROM
  10853. opera_product AS a,
  10854. opera_product_station AS b,
  10855. base_resource AS c,
  10856. base_area AS d,
  10857. base_area_view AS e
  10858. WHERE
  10859. a.prod_id = b.prod_id
  10860. AND b.res_id = c.res_id
  10861. AND c.area_id = d.id
  10862. AND d.id = e.area_id
  10863. AND a.prod_type = 81
  10864. AND a.cancel_flag = 0
  10865. GROUP BY
  10866. c.res_id,
  10867. a.bus_type,
  10868. c.area_id
  10869. ORDER BY
  10870. c.area_id
  10871. 2016-08-27 15:57:14 SELECT
  10872. a.prod_id,
  10873. a.prod_name,
  10874. a.bus_type,
  10875. b.type_id,
  10876. b.property
  10877. FROM
  10878. opera_product AS a,
  10879. opera_product_property AS b
  10880. WHERE
  10881. a.prod_id = b.prod_id
  10882. AND a.prod_type = 81
  10883. AND a.is_onsale = 1
  10884. AND a.cancel_flag = 0
  10885. GROUP BY
  10886. a.prod_id,
  10887. b.type_id
  10888. 2016-08-27 15:57:14 SELECT
  10889. a.prod_id,
  10890. a.ticket_mark,
  10891. a.parent_id,
  10892. b.type_id,
  10893. b.property,
  10894. c.prod_price,
  10895. c.cus_price
  10896. FROM
  10897. opera_product AS a,
  10898. opera_product_property AS b,
  10899. opera_product_price AS c
  10900. WHERE
  10901. a.prod_id = b.prod_id
  10902. AND a.prod_id = c.prod_id
  10903. AND a.prod_type = 82
  10904. AND a.is_onsale = 1
  10905. AND a.cancel_flag = 0
  10906. AND c.cancel_flag = 0
  10907. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  10908. GROUP BY
  10909. a.prod_id,
  10910. b.type_id
  10911. 2016-08-27 15:57:15 SELECT
  10912. c.area_id,
  10913. d.area_name,
  10914. a.bus_type,
  10915. c.res_id,
  10916. c.res_name,
  10917. e.parent_area_id_list
  10918. FROM
  10919. opera_product AS a,
  10920. opera_product_station AS b,
  10921. base_resource AS c,
  10922. base_area AS d,
  10923. base_area_view AS e
  10924. WHERE
  10925. a.prod_id = b.prod_id
  10926. AND b.res_id = c.res_id
  10927. AND c.area_id = d.id
  10928. AND d.id = e.area_id
  10929. AND a.prod_type = 81
  10930. AND a.cancel_flag = 0
  10931. GROUP BY
  10932. c.res_id,
  10933. a.bus_type,
  10934. c.area_id
  10935. ORDER BY
  10936. c.area_id
  10937. 2016-08-27 15:57:16 SELECT
  10938. c.area_id,
  10939. d.area_name,
  10940. a.bus_type,
  10941. c.res_id,
  10942. c.res_name,
  10943. e.parent_area_id_list
  10944. FROM
  10945. opera_product AS a,
  10946. opera_product_station AS b,
  10947. base_resource AS c,
  10948. base_area AS d,
  10949. base_area_view AS e
  10950. WHERE
  10951. a.prod_id = b.prod_id
  10952. AND b.res_id = c.res_id
  10953. AND c.area_id = d.id
  10954. AND d.id = e.area_id
  10955. AND a.prod_type = 81
  10956. AND a.cancel_flag = 0
  10957. GROUP BY
  10958. c.res_id,
  10959. a.bus_type,
  10960. c.area_id
  10961. ORDER BY
  10962. c.area_id
  10963. 2016-08-27 15:58:09 SELECT
  10964. a.prod_id,
  10965. a.prod_name,
  10966. a.bus_type,
  10967. b.type_id,
  10968. b.property
  10969. FROM
  10970. opera_product AS a,
  10971. opera_product_property AS b
  10972. WHERE
  10973. a.prod_id = b.prod_id
  10974. AND a.prod_type = 81
  10975. AND a.is_onsale = 1
  10976. AND a.cancel_flag = 0
  10977. GROUP BY
  10978. a.prod_id,
  10979. b.type_id
  10980. 2016-08-27 15:58:09 SELECT
  10981. a.prod_id,
  10982. a.ticket_mark,
  10983. a.parent_id,
  10984. b.type_id,
  10985. b.property,
  10986. c.prod_price,
  10987. c.cus_price
  10988. FROM
  10989. opera_product AS a,
  10990. opera_product_property AS b,
  10991. opera_product_price AS c
  10992. WHERE
  10993. a.prod_id = b.prod_id
  10994. AND a.prod_id = c.prod_id
  10995. AND a.prod_type = 82
  10996. AND a.is_onsale = 1
  10997. AND a.cancel_flag = 0
  10998. AND c.cancel_flag = 0
  10999. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  11000. GROUP BY
  11001. a.prod_id,
  11002. b.type_id
  11003. 2016-08-27 15:58:11 SELECT
  11004. c.area_id,
  11005. d.area_name,
  11006. a.bus_type,
  11007. c.res_id,
  11008. c.res_name,
  11009. e.parent_area_id_list
  11010. FROM
  11011. opera_product AS a,
  11012. opera_product_station AS b,
  11013. base_resource AS c,
  11014. base_area AS d,
  11015. base_area_view AS e
  11016. WHERE
  11017. a.prod_id = b.prod_id
  11018. AND b.res_id = c.res_id
  11019. AND c.area_id = d.id
  11020. AND d.id = e.area_id
  11021. AND a.prod_type = 81
  11022. AND a.cancel_flag = 0
  11023. GROUP BY
  11024. c.res_id,
  11025. a.bus_type,
  11026. c.area_id
  11027. ORDER BY
  11028. c.area_id
  11029. 2016-08-27 07:58:11 SELECT
  11030. a.run_id,
  11031. a.prod_id as line_id,
  11032. a.run_date,
  11033. b.start_time,
  11034. b.station_res_id
  11035. FROM
  11036. run_main as a,
  11037. run_station as b
  11038. WHERE
  11039. a.run_id = b.run_id
  11040. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  11041. AND a.run_date = '2016-08-27'
  11042. AND a.run_status = 138
  11043. AND b.station_inout_type in (108,109,110)
  11044. ORDER BY
  11045. a.run_id,
  11046. b.station_res_id
  11047. 2016-08-27 07:58:11 SELECT
  11048. run_id,
  11049. res_id,
  11050. seq_id,
  11051. prod_id,
  11052. total_count,
  11053. saled_count
  11054. FROM
  11055. run_stock
  11056. WHERE
  11057. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  11058. )
  11059. AND seat_type = 72
  11060. ORDER BY
  11061. run_id ASC,
  11062. seq_id ASC
  11063. 2016-08-27 07:58:11 SELECT
  11064. run_id,
  11065. prod_id as ticket_id
  11066. FROM
  11067. run_prod
  11068. WHERE
  11069. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  11070. AND cancel_flag = 0
  11071. 2016-08-27 15:58:18 SELECT
  11072. a.prod_id,
  11073. a.prod_name,
  11074. a.bus_type,
  11075. b.type_id,
  11076. b.property
  11077. FROM
  11078. opera_product AS a,
  11079. opera_product_property AS b
  11080. WHERE
  11081. a.prod_id = b.prod_id
  11082. AND a.prod_type = 81
  11083. AND a.is_onsale = 1
  11084. AND a.cancel_flag = 0
  11085. GROUP BY
  11086. a.prod_id,
  11087. b.type_id
  11088. 2016-08-27 15:58:18 SELECT
  11089. a.prod_id,
  11090. a.ticket_mark,
  11091. a.parent_id,
  11092. b.type_id,
  11093. b.property,
  11094. c.prod_price,
  11095. c.cus_price
  11096. FROM
  11097. opera_product AS a,
  11098. opera_product_property AS b,
  11099. opera_product_price AS c
  11100. WHERE
  11101. a.prod_id = b.prod_id
  11102. AND a.prod_id = c.prod_id
  11103. AND a.prod_type = 82
  11104. AND a.is_onsale = 1
  11105. AND a.cancel_flag = 0
  11106. AND c.cancel_flag = 0
  11107. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  11108. GROUP BY
  11109. a.prod_id,
  11110. b.type_id
  11111. 2016-08-27 15:58:20 SELECT
  11112. c.area_id,
  11113. d.area_name,
  11114. a.bus_type,
  11115. c.res_id,
  11116. c.res_name,
  11117. e.parent_area_id_list
  11118. FROM
  11119. opera_product AS a,
  11120. opera_product_station AS b,
  11121. base_resource AS c,
  11122. base_area AS d,
  11123. base_area_view AS e
  11124. WHERE
  11125. a.prod_id = b.prod_id
  11126. AND b.res_id = c.res_id
  11127. AND c.area_id = d.id
  11128. AND d.id = e.area_id
  11129. AND a.prod_type = 81
  11130. AND a.cancel_flag = 0
  11131. GROUP BY
  11132. c.res_id,
  11133. a.bus_type,
  11134. c.area_id
  11135. ORDER BY
  11136. c.area_id
  11137. 2016-08-27 07:58:20 SELECT
  11138. a.run_id,
  11139. a.prod_id as line_id,
  11140. a.run_date,
  11141. b.start_time,
  11142. b.station_res_id
  11143. FROM
  11144. run_main as a,
  11145. run_station as b
  11146. WHERE
  11147. a.run_id = b.run_id
  11148. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  11149. AND a.run_date = '2016-08-27'
  11150. AND a.run_status = 138
  11151. AND b.station_inout_type in (108,109,110)
  11152. ORDER BY
  11153. a.run_id,
  11154. b.station_res_id
  11155. 2016-08-27 07:58:20 SELECT
  11156. run_id,
  11157. res_id,
  11158. seq_id,
  11159. prod_id,
  11160. total_count,
  11161. saled_count
  11162. FROM
  11163. run_stock
  11164. WHERE
  11165. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  11166. )
  11167. AND seat_type = 72
  11168. ORDER BY
  11169. run_id ASC,
  11170. seq_id ASC
  11171. 2016-08-27 07:58:20 SELECT
  11172. run_id,
  11173. prod_id as ticket_id
  11174. FROM
  11175. run_prod
  11176. WHERE
  11177. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  11178. AND cancel_flag = 0
  11179. 2016-08-27 16:04:10 SELECT
  11180. a.prod_id,
  11181. a.prod_name,
  11182. a.bus_type,
  11183. b.type_id,
  11184. b.property
  11185. FROM
  11186. opera_product AS a,
  11187. opera_product_property AS b
  11188. WHERE
  11189. a.prod_id = b.prod_id
  11190. AND a.prod_type = 81
  11191. AND a.is_onsale = 1
  11192. AND a.cancel_flag = 0
  11193. GROUP BY
  11194. a.prod_id,
  11195. b.type_id
  11196. 2016-08-27 16:04:10 SELECT
  11197. a.prod_id,
  11198. a.ticket_mark,
  11199. a.parent_id,
  11200. b.type_id,
  11201. b.property,
  11202. c.prod_price,
  11203. c.cus_price
  11204. FROM
  11205. opera_product AS a,
  11206. opera_product_property AS b,
  11207. opera_product_price AS c
  11208. WHERE
  11209. a.prod_id = b.prod_id
  11210. AND a.prod_id = c.prod_id
  11211. AND a.prod_type = 82
  11212. AND a.is_onsale = 1
  11213. AND a.cancel_flag = 0
  11214. AND c.cancel_flag = 0
  11215. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  11216. GROUP BY
  11217. a.prod_id,
  11218. b.type_id
  11219. 2016-08-27 16:04:12 SELECT
  11220. c.area_id,
  11221. d.area_name,
  11222. a.bus_type,
  11223. c.res_id,
  11224. c.res_name,
  11225. e.parent_area_id_list
  11226. FROM
  11227. opera_product AS a,
  11228. opera_product_station AS b,
  11229. base_resource AS c,
  11230. base_area AS d,
  11231. base_area_view AS e
  11232. WHERE
  11233. a.prod_id = b.prod_id
  11234. AND b.res_id = c.res_id
  11235. AND c.area_id = d.id
  11236. AND d.id = e.area_id
  11237. AND a.prod_type = 81
  11238. AND a.cancel_flag = 0
  11239. GROUP BY
  11240. c.res_id,
  11241. a.bus_type,
  11242. c.area_id
  11243. ORDER BY
  11244. c.area_id
  11245. 2016-08-27 08:04:13 SELECT
  11246. a.run_id,
  11247. a.prod_id as line_id,
  11248. a.run_date,
  11249. b.start_time,
  11250. b.station_res_id
  11251. FROM
  11252. run_main as a,
  11253. run_station as b
  11254. WHERE
  11255. a.run_id = b.run_id
  11256. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  11257. AND a.run_date = '2016-08-27'
  11258. AND a.run_status = 138
  11259. AND b.station_inout_type in (108,109,110)
  11260. ORDER BY
  11261. a.run_id,
  11262. b.station_res_id
  11263. 2016-08-27 08:04:13 SELECT
  11264. run_id,
  11265. res_id,
  11266. seq_id,
  11267. prod_id,
  11268. total_count,
  11269. saled_count
  11270. FROM
  11271. run_stock
  11272. WHERE
  11273. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  11274. )
  11275. AND seat_type = 72
  11276. ORDER BY
  11277. run_id ASC,
  11278. seq_id ASC
  11279. 2016-08-27 08:04:13 SELECT
  11280. run_id,
  11281. prod_id as ticket_id
  11282. FROM
  11283. run_prod
  11284. WHERE
  11285. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  11286. AND cancel_flag = 0
  11287. 2016-08-27 16:08:22 SELECT
  11288. a.prod_id,
  11289. a.prod_name,
  11290. a.bus_type,
  11291. b.type_id,
  11292. b.property
  11293. FROM
  11294. opera_product AS a,
  11295. opera_product_property AS b
  11296. WHERE
  11297. a.prod_id = b.prod_id
  11298. AND a.prod_type = 81
  11299. AND a.is_onsale = 1
  11300. AND a.cancel_flag = 0
  11301. GROUP BY
  11302. a.prod_id,
  11303. b.type_id
  11304. 2016-08-27 16:08:22 SELECT
  11305. a.prod_id,
  11306. a.ticket_mark,
  11307. a.parent_id,
  11308. b.type_id,
  11309. b.property,
  11310. c.prod_price,
  11311. c.cus_price
  11312. FROM
  11313. opera_product AS a,
  11314. opera_product_property AS b,
  11315. opera_product_price AS c
  11316. WHERE
  11317. a.prod_id = b.prod_id
  11318. AND a.prod_id = c.prod_id
  11319. AND a.prod_type = 82
  11320. AND a.is_onsale = 1
  11321. AND a.cancel_flag = 0
  11322. AND c.cancel_flag = 0
  11323. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  11324. GROUP BY
  11325. a.prod_id,
  11326. b.type_id
  11327. 2016-08-27 16:08:24 SELECT
  11328. c.area_id,
  11329. d.area_name,
  11330. a.bus_type,
  11331. c.res_id,
  11332. c.res_name,
  11333. e.parent_area_id_list
  11334. FROM
  11335. opera_product AS a,
  11336. opera_product_station AS b,
  11337. base_resource AS c,
  11338. base_area AS d,
  11339. base_area_view AS e
  11340. WHERE
  11341. a.prod_id = b.prod_id
  11342. AND b.res_id = c.res_id
  11343. AND c.area_id = d.id
  11344. AND d.id = e.area_id
  11345. AND a.prod_type = 81
  11346. AND a.cancel_flag = 0
  11347. GROUP BY
  11348. c.res_id,
  11349. a.bus_type,
  11350. c.area_id
  11351. ORDER BY
  11352. c.area_id
  11353. 2016-08-27 08:08:24 SELECT
  11354. a.run_id,
  11355. a.prod_id as line_id,
  11356. a.run_date,
  11357. b.start_time,
  11358. b.station_res_id
  11359. FROM
  11360. run_main as a,
  11361. run_station as b
  11362. WHERE
  11363. a.run_id = b.run_id
  11364. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  11365. AND a.run_date = '2016-08-27'
  11366. AND a.run_status = 138
  11367. AND b.station_inout_type in (108,109,110)
  11368. ORDER BY
  11369. a.run_id,
  11370. b.station_res_id
  11371. 2016-08-27 08:08:24 SELECT
  11372. run_id,
  11373. res_id,
  11374. seq_id,
  11375. prod_id,
  11376. total_count,
  11377. saled_count
  11378. FROM
  11379. run_stock
  11380. WHERE
  11381. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  11382. )
  11383. AND seat_type = 72
  11384. ORDER BY
  11385. run_id ASC,
  11386. seq_id ASC
  11387. 2016-08-27 08:08:24 SELECT
  11388. run_id,
  11389. prod_id as ticket_id
  11390. FROM
  11391. run_prod
  11392. WHERE
  11393. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  11394. AND cancel_flag = 0
  11395. 2016-08-27 16:11:47 SELECT
  11396. a.prod_id,
  11397. a.prod_name,
  11398. a.bus_type,
  11399. b.type_id,
  11400. b.property
  11401. FROM
  11402. opera_product AS a,
  11403. opera_product_property AS b
  11404. WHERE
  11405. a.prod_id = b.prod_id
  11406. AND a.prod_type = 81
  11407. AND a.is_onsale = 1
  11408. AND a.cancel_flag = 0
  11409. GROUP BY
  11410. a.prod_id,
  11411. b.type_id
  11412. 2016-08-27 16:11:47 SELECT
  11413. a.prod_id,
  11414. a.ticket_mark,
  11415. a.parent_id,
  11416. b.type_id,
  11417. b.property,
  11418. c.prod_price,
  11419. c.cus_price
  11420. FROM
  11421. opera_product AS a,
  11422. opera_product_property AS b,
  11423. opera_product_price AS c
  11424. WHERE
  11425. a.prod_id = b.prod_id
  11426. AND a.prod_id = c.prod_id
  11427. AND a.prod_type = 82
  11428. AND a.is_onsale = 1
  11429. AND a.cancel_flag = 0
  11430. AND c.cancel_flag = 0
  11431. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  11432. GROUP BY
  11433. a.prod_id,
  11434. b.type_id
  11435. 2016-08-27 16:11:49 SELECT
  11436. c.area_id,
  11437. d.area_name,
  11438. a.bus_type,
  11439. c.res_id,
  11440. c.res_name,
  11441. e.parent_area_id_list
  11442. FROM
  11443. opera_product AS a,
  11444. opera_product_station AS b,
  11445. base_resource AS c,
  11446. base_area AS d,
  11447. base_area_view AS e
  11448. WHERE
  11449. a.prod_id = b.prod_id
  11450. AND b.res_id = c.res_id
  11451. AND c.area_id = d.id
  11452. AND d.id = e.area_id
  11453. AND a.prod_type = 81
  11454. AND a.cancel_flag = 0
  11455. GROUP BY
  11456. c.res_id,
  11457. a.bus_type,
  11458. c.area_id
  11459. ORDER BY
  11460. c.area_id
  11461. 2016-08-27 08:11:49 SELECT
  11462. a.run_id,
  11463. a.prod_id as line_id,
  11464. a.run_date,
  11465. b.start_time,
  11466. b.station_res_id
  11467. FROM
  11468. run_main as a,
  11469. run_station as b
  11470. WHERE
  11471. a.run_id = b.run_id
  11472. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  11473. AND a.run_date = '2016-08-27'
  11474. AND a.run_status = 138
  11475. AND b.station_inout_type in (108,109,110)
  11476. ORDER BY
  11477. a.run_id,
  11478. b.station_res_id
  11479. 2016-08-27 08:11:49 SELECT
  11480. run_id,
  11481. res_id,
  11482. seq_id,
  11483. prod_id,
  11484. total_count,
  11485. saled_count
  11486. FROM
  11487. run_stock
  11488. WHERE
  11489. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  11490. )
  11491. AND seat_type = 72
  11492. ORDER BY
  11493. run_id ASC,
  11494. seq_id ASC
  11495. 2016-08-27 08:11:49 SELECT
  11496. run_id,
  11497. prod_id as ticket_id
  11498. FROM
  11499. run_prod
  11500. WHERE
  11501. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  11502. AND cancel_flag = 0
  11503. 2016-08-27 16:12:23 SELECT
  11504. a.prod_id,
  11505. a.prod_name,
  11506. a.bus_type,
  11507. b.type_id,
  11508. b.property
  11509. FROM
  11510. opera_product AS a,
  11511. opera_product_property AS b
  11512. WHERE
  11513. a.prod_id = b.prod_id
  11514. AND a.prod_type = 81
  11515. AND a.is_onsale = 1
  11516. AND a.cancel_flag = 0
  11517. GROUP BY
  11518. a.prod_id,
  11519. b.type_id
  11520. 2016-08-27 16:12:23 SELECT
  11521. a.prod_id,
  11522. a.ticket_mark,
  11523. a.parent_id,
  11524. b.type_id,
  11525. b.property,
  11526. c.prod_price,
  11527. c.cus_price
  11528. FROM
  11529. opera_product AS a,
  11530. opera_product_property AS b,
  11531. opera_product_price AS c
  11532. WHERE
  11533. a.prod_id = b.prod_id
  11534. AND a.prod_id = c.prod_id
  11535. AND a.prod_type = 82
  11536. AND a.is_onsale = 1
  11537. AND a.cancel_flag = 0
  11538. AND c.cancel_flag = 0
  11539. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  11540. GROUP BY
  11541. a.prod_id,
  11542. b.type_id
  11543. 2016-08-27 16:12:25 SELECT
  11544. c.area_id,
  11545. d.area_name,
  11546. a.bus_type,
  11547. c.res_id,
  11548. c.res_name,
  11549. e.parent_area_id_list
  11550. FROM
  11551. opera_product AS a,
  11552. opera_product_station AS b,
  11553. base_resource AS c,
  11554. base_area AS d,
  11555. base_area_view AS e
  11556. WHERE
  11557. a.prod_id = b.prod_id
  11558. AND b.res_id = c.res_id
  11559. AND c.area_id = d.id
  11560. AND d.id = e.area_id
  11561. AND a.prod_type = 81
  11562. AND a.cancel_flag = 0
  11563. GROUP BY
  11564. c.res_id,
  11565. a.bus_type,
  11566. c.area_id
  11567. ORDER BY
  11568. c.area_id
  11569. 2016-08-27 08:12:25 SELECT
  11570. a.run_id,
  11571. a.prod_id as line_id,
  11572. a.run_date,
  11573. b.start_time,
  11574. b.station_res_id
  11575. FROM
  11576. run_main as a,
  11577. run_station as b
  11578. WHERE
  11579. a.run_id = b.run_id
  11580. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  11581. AND a.run_date = '2016-08-27'
  11582. AND a.run_status = 138
  11583. AND b.station_inout_type in (108,109,110)
  11584. ORDER BY
  11585. a.run_id,
  11586. b.station_res_id
  11587. 2016-08-27 08:12:25 SELECT
  11588. run_id,
  11589. res_id,
  11590. seq_id,
  11591. prod_id,
  11592. total_count,
  11593. saled_count
  11594. FROM
  11595. run_stock
  11596. WHERE
  11597. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  11598. )
  11599. AND seat_type = 72
  11600. ORDER BY
  11601. run_id ASC,
  11602. seq_id ASC
  11603. 2016-08-27 08:12:25 SELECT
  11604. run_id,
  11605. prod_id as ticket_id
  11606. FROM
  11607. run_prod
  11608. WHERE
  11609. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  11610. AND cancel_flag = 0
  11611. 2016-08-27 16:13:11 SELECT
  11612. a.prod_id,
  11613. a.prod_name,
  11614. a.bus_type,
  11615. b.type_id,
  11616. b.property
  11617. FROM
  11618. opera_product AS a,
  11619. opera_product_property AS b
  11620. WHERE
  11621. a.prod_id = b.prod_id
  11622. AND a.prod_type = 81
  11623. AND a.is_onsale = 1
  11624. AND a.cancel_flag = 0
  11625. GROUP BY
  11626. a.prod_id,
  11627. b.type_id
  11628. 2016-08-27 16:13:11 SELECT
  11629. a.prod_id,
  11630. a.ticket_mark,
  11631. a.parent_id,
  11632. b.type_id,
  11633. b.property,
  11634. c.prod_price,
  11635. c.cus_price
  11636. FROM
  11637. opera_product AS a,
  11638. opera_product_property AS b,
  11639. opera_product_price AS c
  11640. WHERE
  11641. a.prod_id = b.prod_id
  11642. AND a.prod_id = c.prod_id
  11643. AND a.prod_type = 82
  11644. AND a.is_onsale = 1
  11645. AND a.cancel_flag = 0
  11646. AND c.cancel_flag = 0
  11647. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  11648. GROUP BY
  11649. a.prod_id,
  11650. b.type_id
  11651. 2016-08-27 16:13:13 SELECT
  11652. c.area_id,
  11653. d.area_name,
  11654. a.bus_type,
  11655. c.res_id,
  11656. c.res_name,
  11657. e.parent_area_id_list
  11658. FROM
  11659. opera_product AS a,
  11660. opera_product_station AS b,
  11661. base_resource AS c,
  11662. base_area AS d,
  11663. base_area_view AS e
  11664. WHERE
  11665. a.prod_id = b.prod_id
  11666. AND b.res_id = c.res_id
  11667. AND c.area_id = d.id
  11668. AND d.id = e.area_id
  11669. AND a.prod_type = 81
  11670. AND a.cancel_flag = 0
  11671. GROUP BY
  11672. c.res_id,
  11673. a.bus_type,
  11674. c.area_id
  11675. ORDER BY
  11676. c.area_id
  11677. 2016-08-27 08:13:13 SELECT
  11678. a.run_id,
  11679. a.prod_id as line_id,
  11680. a.run_date,
  11681. b.start_time,
  11682. b.station_res_id
  11683. FROM
  11684. run_main as a,
  11685. run_station as b
  11686. WHERE
  11687. a.run_id = b.run_id
  11688. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  11689. AND a.run_date = '2016-08-27'
  11690. AND a.run_status = 138
  11691. AND b.station_inout_type in (108,109,110)
  11692. ORDER BY
  11693. a.run_id,
  11694. b.station_res_id
  11695. 2016-08-27 08:13:14 SELECT
  11696. run_id,
  11697. res_id,
  11698. seq_id,
  11699. prod_id,
  11700. total_count,
  11701. saled_count
  11702. FROM
  11703. run_stock
  11704. WHERE
  11705. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  11706. )
  11707. AND seat_type = 72
  11708. ORDER BY
  11709. run_id ASC,
  11710. seq_id ASC
  11711. 2016-08-27 08:13:14 SELECT
  11712. run_id,
  11713. prod_id as ticket_id
  11714. FROM
  11715. run_prod
  11716. WHERE
  11717. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  11718. AND cancel_flag = 0
  11719. 2016-08-27 16:17:20 SELECT
  11720. a.prod_id,
  11721. a.prod_name,
  11722. a.bus_type,
  11723. b.type_id,
  11724. b.property
  11725. FROM
  11726. opera_product AS a,
  11727. opera_product_property AS b
  11728. WHERE
  11729. a.prod_id = b.prod_id
  11730. AND a.prod_type = 81
  11731. AND a.is_onsale = 1
  11732. AND a.cancel_flag = 0
  11733. GROUP BY
  11734. a.prod_id,
  11735. b.type_id
  11736. 2016-08-27 16:17:20 SELECT
  11737. a.prod_id,
  11738. a.ticket_mark,
  11739. a.parent_id,
  11740. b.type_id,
  11741. b.property,
  11742. c.prod_price,
  11743. c.cus_price
  11744. FROM
  11745. opera_product AS a,
  11746. opera_product_property AS b,
  11747. opera_product_price AS c
  11748. WHERE
  11749. a.prod_id = b.prod_id
  11750. AND a.prod_id = c.prod_id
  11751. AND a.prod_type = 82
  11752. AND a.is_onsale = 1
  11753. AND a.cancel_flag = 0
  11754. AND c.cancel_flag = 0
  11755. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  11756. GROUP BY
  11757. a.prod_id,
  11758. b.type_id
  11759. 2016-08-27 16:17:22 SELECT
  11760. c.area_id,
  11761. d.area_name,
  11762. a.bus_type,
  11763. c.res_id,
  11764. c.res_name,
  11765. e.parent_area_id_list
  11766. FROM
  11767. opera_product AS a,
  11768. opera_product_station AS b,
  11769. base_resource AS c,
  11770. base_area AS d,
  11771. base_area_view AS e
  11772. WHERE
  11773. a.prod_id = b.prod_id
  11774. AND b.res_id = c.res_id
  11775. AND c.area_id = d.id
  11776. AND d.id = e.area_id
  11777. AND a.prod_type = 81
  11778. AND a.cancel_flag = 0
  11779. GROUP BY
  11780. c.res_id,
  11781. a.bus_type,
  11782. c.area_id
  11783. ORDER BY
  11784. c.area_id
  11785. 2016-08-27 08:17:22 SELECT
  11786. a.run_id,
  11787. a.prod_id as line_id,
  11788. a.run_date,
  11789. b.start_time,
  11790. b.station_res_id
  11791. FROM
  11792. run_main as a,
  11793. run_station as b
  11794. WHERE
  11795. a.run_id = b.run_id
  11796. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  11797. AND a.run_date = '2016-08-27'
  11798. AND a.run_status = 138
  11799. AND b.station_inout_type in (108,109,110)
  11800. ORDER BY
  11801. a.run_id,
  11802. b.station_res_id
  11803. 2016-08-27 08:17:22 SELECT
  11804. run_id,
  11805. res_id,
  11806. seq_id,
  11807. prod_id,
  11808. total_count,
  11809. saled_count
  11810. FROM
  11811. run_stock
  11812. WHERE
  11813. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  11814. )
  11815. AND seat_type = 72
  11816. ORDER BY
  11817. run_id ASC,
  11818. seq_id ASC
  11819. 2016-08-27 08:17:23 SELECT
  11820. run_id,
  11821. prod_id as ticket_id
  11822. FROM
  11823. run_prod
  11824. WHERE
  11825. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  11826. AND cancel_flag = 0
  11827. 2016-08-27 16:20:53 SELECT
  11828. a.prod_id,
  11829. a.prod_name,
  11830. a.bus_type,
  11831. b.type_id,
  11832. b.property
  11833. FROM
  11834. opera_product AS a,
  11835. opera_product_property AS b
  11836. WHERE
  11837. a.prod_id = b.prod_id
  11838. AND a.prod_type = 81
  11839. AND a.is_onsale = 1
  11840. AND a.cancel_flag = 0
  11841. GROUP BY
  11842. a.prod_id,
  11843. b.type_id
  11844. 2016-08-27 16:20:53 SELECT
  11845. a.prod_id,
  11846. a.ticket_mark,
  11847. a.parent_id,
  11848. b.type_id,
  11849. b.property,
  11850. c.prod_price,
  11851. c.cus_price
  11852. FROM
  11853. opera_product AS a,
  11854. opera_product_property AS b,
  11855. opera_product_price AS c
  11856. WHERE
  11857. a.prod_id = b.prod_id
  11858. AND a.prod_id = c.prod_id
  11859. AND a.prod_type = 82
  11860. AND a.is_onsale = 1
  11861. AND a.cancel_flag = 0
  11862. AND c.cancel_flag = 0
  11863. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  11864. GROUP BY
  11865. a.prod_id,
  11866. b.type_id
  11867. 2016-08-27 16:20:55 SELECT
  11868. c.area_id,
  11869. d.area_name,
  11870. a.bus_type,
  11871. c.res_id,
  11872. c.res_name,
  11873. e.parent_area_id_list
  11874. FROM
  11875. opera_product AS a,
  11876. opera_product_station AS b,
  11877. base_resource AS c,
  11878. base_area AS d,
  11879. base_area_view AS e
  11880. WHERE
  11881. a.prod_id = b.prod_id
  11882. AND b.res_id = c.res_id
  11883. AND c.area_id = d.id
  11884. AND d.id = e.area_id
  11885. AND a.prod_type = 81
  11886. AND a.cancel_flag = 0
  11887. GROUP BY
  11888. c.res_id,
  11889. a.bus_type,
  11890. c.area_id
  11891. ORDER BY
  11892. c.area_id
  11893. 2016-08-27 08:20:55 SELECT
  11894. a.run_id,
  11895. a.prod_id as line_id,
  11896. a.run_date,
  11897. b.start_time,
  11898. b.station_res_id
  11899. FROM
  11900. run_main as a,
  11901. run_station as b
  11902. WHERE
  11903. a.run_id = b.run_id
  11904. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  11905. AND a.run_date = '2016-08-27'
  11906. AND a.run_status = 138
  11907. AND b.station_inout_type in (108,109,110)
  11908. ORDER BY
  11909. a.run_id,
  11910. b.station_res_id
  11911. 2016-08-27 08:20:55 SELECT
  11912. run_id,
  11913. res_id,
  11914. seq_id,
  11915. prod_id,
  11916. total_count,
  11917. saled_count
  11918. FROM
  11919. run_stock
  11920. WHERE
  11921. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  11922. )
  11923. AND seat_type = 72
  11924. ORDER BY
  11925. run_id ASC,
  11926. seq_id ASC
  11927. 2016-08-27 08:20:55 SELECT
  11928. run_id,
  11929. prod_id as ticket_id
  11930. FROM
  11931. run_prod
  11932. WHERE
  11933. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  11934. AND cancel_flag = 0
  11935. 2016-08-27 16:21:55 SELECT
  11936. a.prod_id,
  11937. a.prod_name,
  11938. a.bus_type,
  11939. b.type_id,
  11940. b.property
  11941. FROM
  11942. opera_product AS a,
  11943. opera_product_property AS b
  11944. WHERE
  11945. a.prod_id = b.prod_id
  11946. AND a.prod_type = 81
  11947. AND a.is_onsale = 1
  11948. AND a.cancel_flag = 0
  11949. GROUP BY
  11950. a.prod_id,
  11951. b.type_id
  11952. 2016-08-27 16:21:55 SELECT
  11953. a.prod_id,
  11954. a.ticket_mark,
  11955. a.parent_id,
  11956. b.type_id,
  11957. b.property,
  11958. c.prod_price,
  11959. c.cus_price
  11960. FROM
  11961. opera_product AS a,
  11962. opera_product_property AS b,
  11963. opera_product_price AS c
  11964. WHERE
  11965. a.prod_id = b.prod_id
  11966. AND a.prod_id = c.prod_id
  11967. AND a.prod_type = 82
  11968. AND a.is_onsale = 1
  11969. AND a.cancel_flag = 0
  11970. AND c.cancel_flag = 0
  11971. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  11972. GROUP BY
  11973. a.prod_id,
  11974. b.type_id
  11975. 2016-08-27 16:21:57 SELECT
  11976. c.area_id,
  11977. d.area_name,
  11978. a.bus_type,
  11979. c.res_id,
  11980. c.res_name,
  11981. e.parent_area_id_list
  11982. FROM
  11983. opera_product AS a,
  11984. opera_product_station AS b,
  11985. base_resource AS c,
  11986. base_area AS d,
  11987. base_area_view AS e
  11988. WHERE
  11989. a.prod_id = b.prod_id
  11990. AND b.res_id = c.res_id
  11991. AND c.area_id = d.id
  11992. AND d.id = e.area_id
  11993. AND a.prod_type = 81
  11994. AND a.cancel_flag = 0
  11995. GROUP BY
  11996. c.res_id,
  11997. a.bus_type,
  11998. c.area_id
  11999. ORDER BY
  12000. c.area_id
  12001. 2016-08-27 08:21:57 SELECT
  12002. a.run_id,
  12003. a.prod_id as line_id,
  12004. a.run_date,
  12005. b.start_time,
  12006. b.station_res_id
  12007. FROM
  12008. run_main as a,
  12009. run_station as b
  12010. WHERE
  12011. a.run_id = b.run_id
  12012. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  12013. AND a.run_date = '2016-08-27'
  12014. AND a.run_status = 138
  12015. AND b.station_inout_type in (108,109,110)
  12016. ORDER BY
  12017. a.run_id,
  12018. b.station_res_id
  12019. 2016-08-27 08:21:57 SELECT
  12020. run_id,
  12021. res_id,
  12022. seq_id,
  12023. prod_id,
  12024. total_count,
  12025. saled_count
  12026. FROM
  12027. run_stock
  12028. WHERE
  12029. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  12030. )
  12031. AND seat_type = 72
  12032. ORDER BY
  12033. run_id ASC,
  12034. seq_id ASC
  12035. 2016-08-27 08:21:57 SELECT
  12036. run_id,
  12037. prod_id as ticket_id
  12038. FROM
  12039. run_prod
  12040. WHERE
  12041. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  12042. AND cancel_flag = 0
  12043. 2016-08-27 16:24:56 SELECT
  12044. a.prod_id,
  12045. a.prod_name,
  12046. a.bus_type,
  12047. b.type_id,
  12048. b.property
  12049. FROM
  12050. opera_product AS a,
  12051. opera_product_property AS b
  12052. WHERE
  12053. a.prod_id = b.prod_id
  12054. AND a.prod_type = 81
  12055. AND a.is_onsale = 1
  12056. AND a.cancel_flag = 0
  12057. GROUP BY
  12058. a.prod_id,
  12059. b.type_id
  12060. 2016-08-27 16:24:56 SELECT
  12061. a.prod_id,
  12062. a.ticket_mark,
  12063. a.parent_id,
  12064. b.type_id,
  12065. b.property,
  12066. c.prod_price,
  12067. c.cus_price
  12068. FROM
  12069. opera_product AS a,
  12070. opera_product_property AS b,
  12071. opera_product_price AS c
  12072. WHERE
  12073. a.prod_id = b.prod_id
  12074. AND a.prod_id = c.prod_id
  12075. AND a.prod_type = 82
  12076. AND a.is_onsale = 1
  12077. AND a.cancel_flag = 0
  12078. AND c.cancel_flag = 0
  12079. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  12080. GROUP BY
  12081. a.prod_id,
  12082. b.type_id
  12083. 2016-08-27 16:24:58 SELECT
  12084. c.area_id,
  12085. d.area_name,
  12086. a.bus_type,
  12087. c.res_id,
  12088. c.res_name,
  12089. e.parent_area_id_list
  12090. FROM
  12091. opera_product AS a,
  12092. opera_product_station AS b,
  12093. base_resource AS c,
  12094. base_area AS d,
  12095. base_area_view AS e
  12096. WHERE
  12097. a.prod_id = b.prod_id
  12098. AND b.res_id = c.res_id
  12099. AND c.area_id = d.id
  12100. AND d.id = e.area_id
  12101. AND a.prod_type = 81
  12102. AND a.cancel_flag = 0
  12103. GROUP BY
  12104. c.res_id,
  12105. a.bus_type,
  12106. c.area_id
  12107. ORDER BY
  12108. c.area_id
  12109. 2016-08-27 08:24:58 SELECT
  12110. a.run_id,
  12111. a.prod_id as line_id,
  12112. a.run_date,
  12113. b.start_time,
  12114. b.station_res_id
  12115. FROM
  12116. run_main as a,
  12117. run_station as b
  12118. WHERE
  12119. a.run_id = b.run_id
  12120. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  12121. AND a.run_date = '2016-08-27'
  12122. AND a.run_status = 138
  12123. AND b.station_inout_type in (108,109,110)
  12124. ORDER BY
  12125. a.run_id,
  12126. b.station_res_id
  12127. 2016-08-27 08:24:58 SELECT
  12128. run_id,
  12129. res_id,
  12130. seq_id,
  12131. prod_id,
  12132. total_count,
  12133. saled_count
  12134. FROM
  12135. run_stock
  12136. WHERE
  12137. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  12138. )
  12139. AND seat_type = 72
  12140. ORDER BY
  12141. run_id ASC,
  12142. seq_id ASC
  12143. 2016-08-27 08:24:59 SELECT
  12144. run_id,
  12145. prod_id as ticket_id
  12146. FROM
  12147. run_prod
  12148. WHERE
  12149. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  12150. AND cancel_flag = 0
  12151. 2016-08-27 16:29:01 SELECT
  12152. a.prod_id,
  12153. a.prod_name,
  12154. a.bus_type,
  12155. b.type_id,
  12156. b.property
  12157. FROM
  12158. opera_product AS a,
  12159. opera_product_property AS b
  12160. WHERE
  12161. a.prod_id = b.prod_id
  12162. AND a.prod_type = 81
  12163. AND a.is_onsale = 1
  12164. AND a.cancel_flag = 0
  12165. GROUP BY
  12166. a.prod_id,
  12167. b.type_id
  12168. 2016-08-27 16:29:01 SELECT
  12169. a.prod_id,
  12170. a.ticket_mark,
  12171. a.parent_id,
  12172. b.type_id,
  12173. b.property,
  12174. c.prod_price,
  12175. c.cus_price
  12176. FROM
  12177. opera_product AS a,
  12178. opera_product_property AS b,
  12179. opera_product_price AS c
  12180. WHERE
  12181. a.prod_id = b.prod_id
  12182. AND a.prod_id = c.prod_id
  12183. AND a.prod_type = 82
  12184. AND a.is_onsale = 1
  12185. AND a.cancel_flag = 0
  12186. AND c.cancel_flag = 0
  12187. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  12188. GROUP BY
  12189. a.prod_id,
  12190. b.type_id
  12191. 2016-08-27 16:29:03 SELECT
  12192. c.area_id,
  12193. d.area_name,
  12194. a.bus_type,
  12195. c.res_id,
  12196. c.res_name,
  12197. e.parent_area_id_list
  12198. FROM
  12199. opera_product AS a,
  12200. opera_product_station AS b,
  12201. base_resource AS c,
  12202. base_area AS d,
  12203. base_area_view AS e
  12204. WHERE
  12205. a.prod_id = b.prod_id
  12206. AND b.res_id = c.res_id
  12207. AND c.area_id = d.id
  12208. AND d.id = e.area_id
  12209. AND a.prod_type = 81
  12210. AND a.cancel_flag = 0
  12211. GROUP BY
  12212. c.res_id,
  12213. a.bus_type,
  12214. c.area_id
  12215. ORDER BY
  12216. c.area_id
  12217. 2016-08-27 08:29:03 SELECT
  12218. a.run_id,
  12219. a.prod_id as line_id,
  12220. a.run_date,
  12221. b.start_time,
  12222. b.station_res_id
  12223. FROM
  12224. run_main as a,
  12225. run_station as b
  12226. WHERE
  12227. a.run_id = b.run_id
  12228. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  12229. AND a.run_date = '2016-08-27'
  12230. AND a.run_status = 138
  12231. AND b.station_inout_type in (108,109,110)
  12232. ORDER BY
  12233. a.run_id,
  12234. b.station_res_id
  12235. 2016-08-27 08:29:03 SELECT
  12236. run_id,
  12237. res_id,
  12238. seq_id,
  12239. prod_id,
  12240. total_count,
  12241. saled_count
  12242. FROM
  12243. run_stock
  12244. WHERE
  12245. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  12246. )
  12247. AND seat_type = 72
  12248. ORDER BY
  12249. run_id ASC,
  12250. seq_id ASC
  12251. 2016-08-27 08:29:03 SELECT
  12252. run_id,
  12253. prod_id as ticket_id
  12254. FROM
  12255. run_prod
  12256. WHERE
  12257. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  12258. AND cancel_flag = 0
  12259. 2016-08-27 16:29:05 SELECT
  12260. a.prod_id,
  12261. a.prod_name,
  12262. a.bus_type,
  12263. b.type_id,
  12264. b.property
  12265. FROM
  12266. opera_product AS a,
  12267. opera_product_property AS b
  12268. WHERE
  12269. a.prod_id = b.prod_id
  12270. AND a.prod_type = 81
  12271. AND a.is_onsale = 1
  12272. AND a.cancel_flag = 0
  12273. GROUP BY
  12274. a.prod_id,
  12275. b.type_id
  12276. 2016-08-27 16:29:05 SELECT
  12277. a.prod_id,
  12278. a.ticket_mark,
  12279. a.parent_id,
  12280. b.type_id,
  12281. b.property,
  12282. c.prod_price,
  12283. c.cus_price
  12284. FROM
  12285. opera_product AS a,
  12286. opera_product_property AS b,
  12287. opera_product_price AS c
  12288. WHERE
  12289. a.prod_id = b.prod_id
  12290. AND a.prod_id = c.prod_id
  12291. AND a.prod_type = 82
  12292. AND a.is_onsale = 1
  12293. AND a.cancel_flag = 0
  12294. AND c.cancel_flag = 0
  12295. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  12296. GROUP BY
  12297. a.prod_id,
  12298. b.type_id
  12299. 2016-08-27 16:29:07 SELECT
  12300. c.area_id,
  12301. d.area_name,
  12302. a.bus_type,
  12303. c.res_id,
  12304. c.res_name,
  12305. e.parent_area_id_list
  12306. FROM
  12307. opera_product AS a,
  12308. opera_product_station AS b,
  12309. base_resource AS c,
  12310. base_area AS d,
  12311. base_area_view AS e
  12312. WHERE
  12313. a.prod_id = b.prod_id
  12314. AND b.res_id = c.res_id
  12315. AND c.area_id = d.id
  12316. AND d.id = e.area_id
  12317. AND a.prod_type = 81
  12318. AND a.cancel_flag = 0
  12319. GROUP BY
  12320. c.res_id,
  12321. a.bus_type,
  12322. c.area_id
  12323. ORDER BY
  12324. c.area_id
  12325. 2016-08-27 08:29:07 SELECT
  12326. a.run_id,
  12327. a.prod_id as line_id,
  12328. a.run_date,
  12329. b.start_time,
  12330. b.station_res_id
  12331. FROM
  12332. run_main as a,
  12333. run_station as b
  12334. WHERE
  12335. a.run_id = b.run_id
  12336. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  12337. AND a.run_date = '2016-08-27'
  12338. AND a.run_status = 138
  12339. AND b.station_inout_type in (108,109,110)
  12340. ORDER BY
  12341. a.run_id,
  12342. b.station_res_id
  12343. 2016-08-27 08:29:07 SELECT
  12344. run_id,
  12345. res_id,
  12346. seq_id,
  12347. prod_id,
  12348. total_count,
  12349. saled_count
  12350. FROM
  12351. run_stock
  12352. WHERE
  12353. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  12354. )
  12355. AND seat_type = 72
  12356. ORDER BY
  12357. run_id ASC,
  12358. seq_id ASC
  12359. 2016-08-27 08:29:07 SELECT
  12360. run_id,
  12361. prod_id as ticket_id
  12362. FROM
  12363. run_prod
  12364. WHERE
  12365. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  12366. AND cancel_flag = 0
  12367. 2016-08-27 16:35:10 SELECT
  12368. a.prod_id,
  12369. a.prod_name,
  12370. a.bus_type,
  12371. b.type_id,
  12372. b.property
  12373. FROM
  12374. opera_product AS a,
  12375. opera_product_property AS b
  12376. WHERE
  12377. a.prod_id = b.prod_id
  12378. AND a.prod_type = 81
  12379. AND a.is_onsale = 1
  12380. AND a.cancel_flag = 0
  12381. GROUP BY
  12382. a.prod_id,
  12383. b.type_id
  12384. 2016-08-27 16:35:10 SELECT
  12385. a.prod_id,
  12386. a.ticket_mark,
  12387. a.parent_id,
  12388. b.type_id,
  12389. b.property,
  12390. c.prod_price,
  12391. c.cus_price
  12392. FROM
  12393. opera_product AS a,
  12394. opera_product_property AS b,
  12395. opera_product_price AS c
  12396. WHERE
  12397. a.prod_id = b.prod_id
  12398. AND a.prod_id = c.prod_id
  12399. AND a.prod_type = 82
  12400. AND a.is_onsale = 1
  12401. AND a.cancel_flag = 0
  12402. AND c.cancel_flag = 0
  12403. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  12404. GROUP BY
  12405. a.prod_id,
  12406. b.type_id
  12407. 2016-08-27 16:35:12 SELECT
  12408. c.area_id,
  12409. d.area_name,
  12410. a.bus_type,
  12411. c.res_id,
  12412. c.res_name,
  12413. e.parent_area_id_list
  12414. FROM
  12415. opera_product AS a,
  12416. opera_product_station AS b,
  12417. base_resource AS c,
  12418. base_area AS d,
  12419. base_area_view AS e
  12420. WHERE
  12421. a.prod_id = b.prod_id
  12422. AND b.res_id = c.res_id
  12423. AND c.area_id = d.id
  12424. AND d.id = e.area_id
  12425. AND a.prod_type = 81
  12426. AND a.cancel_flag = 0
  12427. GROUP BY
  12428. c.res_id,
  12429. a.bus_type,
  12430. c.area_id
  12431. ORDER BY
  12432. c.area_id
  12433. 2016-08-27 08:35:12 SELECT
  12434. a.run_id,
  12435. a.prod_id as line_id,
  12436. a.run_date,
  12437. b.start_time,
  12438. b.station_res_id
  12439. FROM
  12440. run_main as a,
  12441. run_station as b
  12442. WHERE
  12443. a.run_id = b.run_id
  12444. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  12445. AND a.run_date = '2016-08-27'
  12446. AND a.run_status = 138
  12447. AND b.station_inout_type in (108,109,110)
  12448. ORDER BY
  12449. a.run_id,
  12450. b.station_res_id
  12451. 2016-08-27 08:35:12 SELECT
  12452. run_id,
  12453. res_id,
  12454. seq_id,
  12455. prod_id,
  12456. total_count,
  12457. saled_count
  12458. FROM
  12459. run_stock
  12460. WHERE
  12461. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  12462. )
  12463. AND seat_type = 72
  12464. ORDER BY
  12465. run_id ASC,
  12466. seq_id ASC
  12467. 2016-08-27 08:35:12 SELECT
  12468. run_id,
  12469. prod_id as ticket_id
  12470. FROM
  12471. run_prod
  12472. WHERE
  12473. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  12474. AND cancel_flag = 0
  12475. 2016-08-27 16:39:51 SELECT
  12476. a.prod_id,
  12477. a.prod_name,
  12478. a.bus_type,
  12479. b.type_id,
  12480. b.property
  12481. FROM
  12482. opera_product AS a,
  12483. opera_product_property AS b
  12484. WHERE
  12485. a.prod_id = b.prod_id
  12486. AND a.prod_type = 81
  12487. AND a.is_onsale = 1
  12488. AND a.cancel_flag = 0
  12489. GROUP BY
  12490. a.prod_id,
  12491. b.type_id
  12492. 2016-08-27 16:39:51 SELECT
  12493. a.prod_id,
  12494. a.ticket_mark,
  12495. a.parent_id,
  12496. b.type_id,
  12497. b.property,
  12498. c.prod_price,
  12499. c.cus_price
  12500. FROM
  12501. opera_product AS a,
  12502. opera_product_property AS b,
  12503. opera_product_price AS c
  12504. WHERE
  12505. a.prod_id = b.prod_id
  12506. AND a.prod_id = c.prod_id
  12507. AND a.prod_type = 82
  12508. AND a.is_onsale = 1
  12509. AND a.cancel_flag = 0
  12510. AND c.cancel_flag = 0
  12511. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  12512. GROUP BY
  12513. a.prod_id,
  12514. b.type_id
  12515. 2016-08-27 16:39:53 SELECT
  12516. c.area_id,
  12517. d.area_name,
  12518. a.bus_type,
  12519. c.res_id,
  12520. c.res_name,
  12521. e.parent_area_id_list
  12522. FROM
  12523. opera_product AS a,
  12524. opera_product_station AS b,
  12525. base_resource AS c,
  12526. base_area AS d,
  12527. base_area_view AS e
  12528. WHERE
  12529. a.prod_id = b.prod_id
  12530. AND b.res_id = c.res_id
  12531. AND c.area_id = d.id
  12532. AND d.id = e.area_id
  12533. AND a.prod_type = 81
  12534. AND a.cancel_flag = 0
  12535. GROUP BY
  12536. c.res_id,
  12537. a.bus_type,
  12538. c.area_id
  12539. ORDER BY
  12540. c.area_id
  12541. 2016-08-27 08:39:53 SELECT
  12542. a.run_id,
  12543. a.prod_id as line_id,
  12544. a.run_date,
  12545. b.start_time,
  12546. b.station_res_id
  12547. FROM
  12548. run_main as a,
  12549. run_station as b
  12550. WHERE
  12551. a.run_id = b.run_id
  12552. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  12553. AND a.run_date = '2016-08-27'
  12554. AND a.run_status = 138
  12555. AND b.station_inout_type in (108,109,110)
  12556. ORDER BY
  12557. a.run_id,
  12558. b.station_res_id
  12559. 2016-08-27 08:39:53 SELECT
  12560. run_id,
  12561. res_id,
  12562. seq_id,
  12563. prod_id,
  12564. total_count,
  12565. saled_count
  12566. FROM
  12567. run_stock
  12568. WHERE
  12569. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  12570. )
  12571. AND seat_type = 72
  12572. ORDER BY
  12573. run_id ASC,
  12574. seq_id ASC
  12575. 2016-08-27 08:39:53 SELECT
  12576. run_id,
  12577. prod_id as ticket_id
  12578. FROM
  12579. run_prod
  12580. WHERE
  12581. run_id IN (346907,349658,351907,361390,362493,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  12582. AND cancel_flag = 0
  12583. 2016-08-27 16:40:26 SELECT
  12584. a.prod_id,
  12585. a.prod_name,
  12586. a.bus_type,
  12587. b.type_id,
  12588. b.property
  12589. FROM
  12590. opera_product AS a,
  12591. opera_product_property AS b
  12592. WHERE
  12593. a.prod_id = b.prod_id
  12594. AND a.prod_type = 81
  12595. AND a.is_onsale = 1
  12596. AND a.cancel_flag = 0
  12597. GROUP BY
  12598. a.prod_id,
  12599. b.type_id
  12600. 2016-08-27 16:40:26 SELECT
  12601. a.prod_id,
  12602. a.ticket_mark,
  12603. a.parent_id,
  12604. b.type_id,
  12605. b.property,
  12606. c.prod_price,
  12607. c.cus_price
  12608. FROM
  12609. opera_product AS a,
  12610. opera_product_property AS b,
  12611. opera_product_price AS c
  12612. WHERE
  12613. a.prod_id = b.prod_id
  12614. AND a.prod_id = c.prod_id
  12615. AND a.prod_type = 82
  12616. AND a.is_onsale = 1
  12617. AND a.cancel_flag = 0
  12618. AND c.cancel_flag = 0
  12619. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  12620. GROUP BY
  12621. a.prod_id,
  12622. b.type_id
  12623. 2016-08-27 16:40:28 SELECT
  12624. c.area_id,
  12625. d.area_name,
  12626. a.bus_type,
  12627. c.res_id,
  12628. c.res_name,
  12629. e.parent_area_id_list
  12630. FROM
  12631. opera_product AS a,
  12632. opera_product_station AS b,
  12633. base_resource AS c,
  12634. base_area AS d,
  12635. base_area_view AS e
  12636. WHERE
  12637. a.prod_id = b.prod_id
  12638. AND b.res_id = c.res_id
  12639. AND c.area_id = d.id
  12640. AND d.id = e.area_id
  12641. AND a.prod_type = 81
  12642. AND a.cancel_flag = 0
  12643. GROUP BY
  12644. c.res_id,
  12645. a.bus_type,
  12646. c.area_id
  12647. ORDER BY
  12648. c.area_id
  12649. 2016-08-27 08:40:28 SELECT
  12650. a.run_id,
  12651. a.prod_id as line_id,
  12652. a.run_date,
  12653. b.start_time,
  12654. b.station_res_id
  12655. FROM
  12656. run_main as a,
  12657. run_station as b
  12658. WHERE
  12659. a.run_id = b.run_id
  12660. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  12661. AND a.run_date = '2016-08-27'
  12662. AND a.run_status = 138
  12663. AND b.station_inout_type in (108,109,110)
  12664. ORDER BY
  12665. a.run_id,
  12666. b.station_res_id
  12667. 2016-08-27 08:40:28 SELECT
  12668. run_id,
  12669. res_id,
  12670. seq_id,
  12671. prod_id,
  12672. total_count,
  12673. saled_count
  12674. FROM
  12675. run_stock
  12676. WHERE
  12677. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  12678. )
  12679. AND seat_type = 72
  12680. ORDER BY
  12681. run_id ASC,
  12682. seq_id ASC
  12683. 2016-08-27 08:40:28 SELECT
  12684. run_id,
  12685. prod_id as ticket_id
  12686. FROM
  12687. run_prod
  12688. WHERE
  12689. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  12690. AND cancel_flag = 0
  12691. 2016-08-27 16:42:16 SELECT
  12692. a.prod_id,
  12693. a.prod_name,
  12694. a.bus_type,
  12695. b.type_id,
  12696. b.property
  12697. FROM
  12698. opera_product AS a,
  12699. opera_product_property AS b
  12700. WHERE
  12701. a.prod_id = b.prod_id
  12702. AND a.prod_type = 81
  12703. AND a.is_onsale = 1
  12704. AND a.cancel_flag = 0
  12705. GROUP BY
  12706. a.prod_id,
  12707. b.type_id
  12708. 2016-08-27 16:42:16 SELECT
  12709. a.prod_id,
  12710. a.ticket_mark,
  12711. a.parent_id,
  12712. b.type_id,
  12713. b.property,
  12714. c.prod_price,
  12715. c.cus_price
  12716. FROM
  12717. opera_product AS a,
  12718. opera_product_property AS b,
  12719. opera_product_price AS c
  12720. WHERE
  12721. a.prod_id = b.prod_id
  12722. AND a.prod_id = c.prod_id
  12723. AND a.prod_type = 82
  12724. AND a.is_onsale = 1
  12725. AND a.cancel_flag = 0
  12726. AND c.cancel_flag = 0
  12727. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  12728. GROUP BY
  12729. a.prod_id,
  12730. b.type_id
  12731. 2016-08-27 16:42:18 SELECT
  12732. c.area_id,
  12733. d.area_name,
  12734. a.bus_type,
  12735. c.res_id,
  12736. c.res_name,
  12737. e.parent_area_id_list
  12738. FROM
  12739. opera_product AS a,
  12740. opera_product_station AS b,
  12741. base_resource AS c,
  12742. base_area AS d,
  12743. base_area_view AS e
  12744. WHERE
  12745. a.prod_id = b.prod_id
  12746. AND b.res_id = c.res_id
  12747. AND c.area_id = d.id
  12748. AND d.id = e.area_id
  12749. AND a.prod_type = 81
  12750. AND a.cancel_flag = 0
  12751. GROUP BY
  12752. c.res_id,
  12753. a.bus_type,
  12754. c.area_id
  12755. ORDER BY
  12756. c.area_id
  12757. 2016-08-27 08:42:18 SELECT
  12758. a.run_id,
  12759. a.prod_id as line_id,
  12760. a.run_date,
  12761. b.start_time,
  12762. b.station_res_id
  12763. FROM
  12764. run_main as a,
  12765. run_station as b
  12766. WHERE
  12767. a.run_id = b.run_id
  12768. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  12769. AND a.run_date = '2016-08-27'
  12770. AND a.run_status = 138
  12771. AND b.station_inout_type in (108,109,110)
  12772. ORDER BY
  12773. a.run_id,
  12774. b.station_res_id
  12775. 2016-08-27 08:42:18 SELECT
  12776. run_id,
  12777. res_id,
  12778. seq_id,
  12779. prod_id,
  12780. total_count,
  12781. saled_count
  12782. FROM
  12783. run_stock
  12784. WHERE
  12785. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  12786. )
  12787. AND seat_type = 72
  12788. ORDER BY
  12789. run_id ASC,
  12790. seq_id ASC
  12791. 2016-08-27 08:42:18 SELECT
  12792. run_id,
  12793. prod_id as ticket_id
  12794. FROM
  12795. run_prod
  12796. WHERE
  12797. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  12798. AND cancel_flag = 0
  12799. 2016-08-27 16:43:38 SELECT
  12800. a.prod_id,
  12801. a.prod_name,
  12802. a.bus_type,
  12803. b.type_id,
  12804. b.property
  12805. FROM
  12806. opera_product AS a,
  12807. opera_product_property AS b
  12808. WHERE
  12809. a.prod_id = b.prod_id
  12810. AND a.prod_type = 81
  12811. AND a.is_onsale = 1
  12812. AND a.cancel_flag = 0
  12813. GROUP BY
  12814. a.prod_id,
  12815. b.type_id
  12816. 2016-08-27 16:43:38 SELECT
  12817. a.prod_id,
  12818. a.ticket_mark,
  12819. a.parent_id,
  12820. b.type_id,
  12821. b.property,
  12822. c.prod_price,
  12823. c.cus_price
  12824. FROM
  12825. opera_product AS a,
  12826. opera_product_property AS b,
  12827. opera_product_price AS c
  12828. WHERE
  12829. a.prod_id = b.prod_id
  12830. AND a.prod_id = c.prod_id
  12831. AND a.prod_type = 82
  12832. AND a.is_onsale = 1
  12833. AND a.cancel_flag = 0
  12834. AND c.cancel_flag = 0
  12835. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  12836. GROUP BY
  12837. a.prod_id,
  12838. b.type_id
  12839. 2016-08-27 16:43:40 SELECT
  12840. c.area_id,
  12841. d.area_name,
  12842. a.bus_type,
  12843. c.res_id,
  12844. c.res_name,
  12845. e.parent_area_id_list
  12846. FROM
  12847. opera_product AS a,
  12848. opera_product_station AS b,
  12849. base_resource AS c,
  12850. base_area AS d,
  12851. base_area_view AS e
  12852. WHERE
  12853. a.prod_id = b.prod_id
  12854. AND b.res_id = c.res_id
  12855. AND c.area_id = d.id
  12856. AND d.id = e.area_id
  12857. AND a.prod_type = 81
  12858. AND a.cancel_flag = 0
  12859. GROUP BY
  12860. c.res_id,
  12861. a.bus_type,
  12862. c.area_id
  12863. ORDER BY
  12864. c.area_id
  12865. 2016-08-27 08:43:40 SELECT
  12866. a.run_id,
  12867. a.prod_id as line_id,
  12868. a.run_date,
  12869. b.start_time,
  12870. b.station_res_id
  12871. FROM
  12872. run_main as a,
  12873. run_station as b
  12874. WHERE
  12875. a.run_id = b.run_id
  12876. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  12877. AND a.run_date = '2016-08-27'
  12878. AND a.run_status = 138
  12879. AND b.station_inout_type in (108,109,110)
  12880. ORDER BY
  12881. a.run_id,
  12882. b.station_res_id
  12883. 2016-08-27 08:43:40 SELECT
  12884. run_id,
  12885. res_id,
  12886. seq_id,
  12887. prod_id,
  12888. total_count,
  12889. saled_count
  12890. FROM
  12891. run_stock
  12892. WHERE
  12893. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  12894. )
  12895. AND seat_type = 72
  12896. ORDER BY
  12897. run_id ASC,
  12898. seq_id ASC
  12899. 2016-08-27 08:43:40 SELECT
  12900. run_id,
  12901. prod_id as ticket_id
  12902. FROM
  12903. run_prod
  12904. WHERE
  12905. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  12906. AND cancel_flag = 0
  12907. 2016-08-27 16:44:37 SELECT
  12908. a.prod_id,
  12909. a.prod_name,
  12910. a.bus_type,
  12911. b.type_id,
  12912. b.property
  12913. FROM
  12914. opera_product AS a,
  12915. opera_product_property AS b
  12916. WHERE
  12917. a.prod_id = b.prod_id
  12918. AND a.prod_type = 81
  12919. AND a.is_onsale = 1
  12920. AND a.cancel_flag = 0
  12921. GROUP BY
  12922. a.prod_id,
  12923. b.type_id
  12924. 2016-08-27 16:44:37 SELECT
  12925. a.prod_id,
  12926. a.ticket_mark,
  12927. a.parent_id,
  12928. b.type_id,
  12929. b.property,
  12930. c.prod_price,
  12931. c.cus_price
  12932. FROM
  12933. opera_product AS a,
  12934. opera_product_property AS b,
  12935. opera_product_price AS c
  12936. WHERE
  12937. a.prod_id = b.prod_id
  12938. AND a.prod_id = c.prod_id
  12939. AND a.prod_type = 82
  12940. AND a.is_onsale = 1
  12941. AND a.cancel_flag = 0
  12942. AND c.cancel_flag = 0
  12943. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  12944. GROUP BY
  12945. a.prod_id,
  12946. b.type_id
  12947. 2016-08-27 16:44:39 SELECT
  12948. c.area_id,
  12949. d.area_name,
  12950. a.bus_type,
  12951. c.res_id,
  12952. c.res_name,
  12953. e.parent_area_id_list
  12954. FROM
  12955. opera_product AS a,
  12956. opera_product_station AS b,
  12957. base_resource AS c,
  12958. base_area AS d,
  12959. base_area_view AS e
  12960. WHERE
  12961. a.prod_id = b.prod_id
  12962. AND b.res_id = c.res_id
  12963. AND c.area_id = d.id
  12964. AND d.id = e.area_id
  12965. AND a.prod_type = 81
  12966. AND a.cancel_flag = 0
  12967. GROUP BY
  12968. c.res_id,
  12969. a.bus_type,
  12970. c.area_id
  12971. ORDER BY
  12972. c.area_id
  12973. 2016-08-27 08:44:39 SELECT
  12974. a.run_id,
  12975. a.prod_id as line_id,
  12976. a.run_date,
  12977. b.start_time,
  12978. b.station_res_id
  12979. FROM
  12980. run_main as a,
  12981. run_station as b
  12982. WHERE
  12983. a.run_id = b.run_id
  12984. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  12985. AND a.run_date = '2016-08-27'
  12986. AND a.run_status = 138
  12987. AND b.station_inout_type in (108,109,110)
  12988. ORDER BY
  12989. a.run_id,
  12990. b.station_res_id
  12991. 2016-08-27 08:44:39 SELECT
  12992. run_id,
  12993. res_id,
  12994. seq_id,
  12995. prod_id,
  12996. total_count,
  12997. saled_count
  12998. FROM
  12999. run_stock
  13000. WHERE
  13001. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  13002. )
  13003. AND seat_type = 72
  13004. ORDER BY
  13005. run_id ASC,
  13006. seq_id ASC
  13007. 2016-08-27 08:44:39 SELECT
  13008. run_id,
  13009. prod_id as ticket_id
  13010. FROM
  13011. run_prod
  13012. WHERE
  13013. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  13014. AND cancel_flag = 0
  13015. 2016-08-27 16:45:43 SELECT
  13016. a.prod_id,
  13017. a.prod_name,
  13018. a.bus_type,
  13019. b.type_id,
  13020. b.property
  13021. FROM
  13022. opera_product AS a,
  13023. opera_product_property AS b
  13024. WHERE
  13025. a.prod_id = b.prod_id
  13026. AND a.prod_type = 81
  13027. AND a.is_onsale = 1
  13028. AND a.cancel_flag = 0
  13029. GROUP BY
  13030. a.prod_id,
  13031. b.type_id
  13032. 2016-08-27 16:45:43 SELECT
  13033. a.prod_id,
  13034. a.ticket_mark,
  13035. a.parent_id,
  13036. b.type_id,
  13037. b.property,
  13038. c.prod_price,
  13039. c.cus_price
  13040. FROM
  13041. opera_product AS a,
  13042. opera_product_property AS b,
  13043. opera_product_price AS c
  13044. WHERE
  13045. a.prod_id = b.prod_id
  13046. AND a.prod_id = c.prod_id
  13047. AND a.prod_type = 82
  13048. AND a.is_onsale = 1
  13049. AND a.cancel_flag = 0
  13050. AND c.cancel_flag = 0
  13051. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  13052. GROUP BY
  13053. a.prod_id,
  13054. b.type_id
  13055. 2016-08-27 16:45:45 SELECT
  13056. c.area_id,
  13057. d.area_name,
  13058. a.bus_type,
  13059. c.res_id,
  13060. c.res_name,
  13061. e.parent_area_id_list
  13062. FROM
  13063. opera_product AS a,
  13064. opera_product_station AS b,
  13065. base_resource AS c,
  13066. base_area AS d,
  13067. base_area_view AS e
  13068. WHERE
  13069. a.prod_id = b.prod_id
  13070. AND b.res_id = c.res_id
  13071. AND c.area_id = d.id
  13072. AND d.id = e.area_id
  13073. AND a.prod_type = 81
  13074. AND a.cancel_flag = 0
  13075. GROUP BY
  13076. c.res_id,
  13077. a.bus_type,
  13078. c.area_id
  13079. ORDER BY
  13080. c.area_id
  13081. 2016-08-27 08:45:45 SELECT
  13082. a.run_id,
  13083. a.prod_id as line_id,
  13084. a.run_date,
  13085. b.start_time,
  13086. b.station_res_id
  13087. FROM
  13088. run_main as a,
  13089. run_station as b
  13090. WHERE
  13091. a.run_id = b.run_id
  13092. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  13093. AND a.run_date = '2016-08-27'
  13094. AND a.run_status = 138
  13095. AND b.station_inout_type in (108,109,110)
  13096. ORDER BY
  13097. a.run_id,
  13098. b.station_res_id
  13099. 2016-08-27 08:45:45 SELECT
  13100. run_id,
  13101. res_id,
  13102. seq_id,
  13103. prod_id,
  13104. total_count,
  13105. saled_count
  13106. FROM
  13107. run_stock
  13108. WHERE
  13109. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  13110. )
  13111. AND seat_type = 72
  13112. ORDER BY
  13113. run_id ASC,
  13114. seq_id ASC
  13115. 2016-08-27 08:45:45 SELECT
  13116. run_id,
  13117. prod_id as ticket_id
  13118. FROM
  13119. run_prod
  13120. WHERE
  13121. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  13122. AND cancel_flag = 0
  13123. 2016-08-27 16:47:32 SELECT
  13124. a.prod_id,
  13125. a.prod_name,
  13126. a.bus_type,
  13127. b.type_id,
  13128. b.property
  13129. FROM
  13130. opera_product AS a,
  13131. opera_product_property AS b
  13132. WHERE
  13133. a.prod_id = b.prod_id
  13134. AND a.prod_type = 81
  13135. AND a.is_onsale = 1
  13136. AND a.cancel_flag = 0
  13137. GROUP BY
  13138. a.prod_id,
  13139. b.type_id
  13140. 2016-08-27 16:47:32 SELECT
  13141. a.prod_id,
  13142. a.ticket_mark,
  13143. a.parent_id,
  13144. b.type_id,
  13145. b.property,
  13146. c.prod_price,
  13147. c.cus_price
  13148. FROM
  13149. opera_product AS a,
  13150. opera_product_property AS b,
  13151. opera_product_price AS c
  13152. WHERE
  13153. a.prod_id = b.prod_id
  13154. AND a.prod_id = c.prod_id
  13155. AND a.prod_type = 82
  13156. AND a.is_onsale = 1
  13157. AND a.cancel_flag = 0
  13158. AND c.cancel_flag = 0
  13159. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  13160. GROUP BY
  13161. a.prod_id,
  13162. b.type_id
  13163. 2016-08-27 16:47:34 SELECT
  13164. c.area_id,
  13165. d.area_name,
  13166. a.bus_type,
  13167. c.res_id,
  13168. c.res_name,
  13169. e.parent_area_id_list
  13170. FROM
  13171. opera_product AS a,
  13172. opera_product_station AS b,
  13173. base_resource AS c,
  13174. base_area AS d,
  13175. base_area_view AS e
  13176. WHERE
  13177. a.prod_id = b.prod_id
  13178. AND b.res_id = c.res_id
  13179. AND c.area_id = d.id
  13180. AND d.id = e.area_id
  13181. AND a.prod_type = 81
  13182. AND a.cancel_flag = 0
  13183. GROUP BY
  13184. c.res_id,
  13185. a.bus_type,
  13186. c.area_id
  13187. ORDER BY
  13188. c.area_id
  13189. 2016-08-27 08:47:34 SELECT
  13190. a.run_id,
  13191. a.prod_id as line_id,
  13192. a.run_date,
  13193. b.start_time,
  13194. b.station_res_id
  13195. FROM
  13196. run_main as a,
  13197. run_station as b
  13198. WHERE
  13199. a.run_id = b.run_id
  13200. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  13201. AND a.run_date = '2016-08-27'
  13202. AND a.run_status = 138
  13203. AND b.station_inout_type in (108,109,110)
  13204. ORDER BY
  13205. a.run_id,
  13206. b.station_res_id
  13207. 2016-08-27 08:47:34 SELECT
  13208. run_id,
  13209. res_id,
  13210. seq_id,
  13211. prod_id,
  13212. total_count,
  13213. saled_count
  13214. FROM
  13215. run_stock
  13216. WHERE
  13217. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  13218. )
  13219. AND seat_type = 72
  13220. ORDER BY
  13221. run_id ASC,
  13222. seq_id ASC
  13223. 2016-08-27 08:47:34 SELECT
  13224. run_id,
  13225. prod_id as ticket_id
  13226. FROM
  13227. run_prod
  13228. WHERE
  13229. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  13230. AND cancel_flag = 0
  13231. 2016-08-27 16:48:31 SELECT
  13232. a.prod_id,
  13233. a.prod_name,
  13234. a.bus_type,
  13235. b.type_id,
  13236. b.property
  13237. FROM
  13238. opera_product AS a,
  13239. opera_product_property AS b
  13240. WHERE
  13241. a.prod_id = b.prod_id
  13242. AND a.prod_type = 81
  13243. AND a.is_onsale = 1
  13244. AND a.cancel_flag = 0
  13245. GROUP BY
  13246. a.prod_id,
  13247. b.type_id
  13248. 2016-08-27 16:48:32 SELECT
  13249. a.prod_id,
  13250. a.ticket_mark,
  13251. a.parent_id,
  13252. b.type_id,
  13253. b.property,
  13254. c.prod_price,
  13255. c.cus_price
  13256. FROM
  13257. opera_product AS a,
  13258. opera_product_property AS b,
  13259. opera_product_price AS c
  13260. WHERE
  13261. a.prod_id = b.prod_id
  13262. AND a.prod_id = c.prod_id
  13263. AND a.prod_type = 82
  13264. AND a.is_onsale = 1
  13265. AND a.cancel_flag = 0
  13266. AND c.cancel_flag = 0
  13267. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  13268. GROUP BY
  13269. a.prod_id,
  13270. b.type_id
  13271. 2016-08-27 16:48:33 SELECT
  13272. c.area_id,
  13273. d.area_name,
  13274. a.bus_type,
  13275. c.res_id,
  13276. c.res_name,
  13277. e.parent_area_id_list
  13278. FROM
  13279. opera_product AS a,
  13280. opera_product_station AS b,
  13281. base_resource AS c,
  13282. base_area AS d,
  13283. base_area_view AS e
  13284. WHERE
  13285. a.prod_id = b.prod_id
  13286. AND b.res_id = c.res_id
  13287. AND c.area_id = d.id
  13288. AND d.id = e.area_id
  13289. AND a.prod_type = 81
  13290. AND a.cancel_flag = 0
  13291. GROUP BY
  13292. c.res_id,
  13293. a.bus_type,
  13294. c.area_id
  13295. ORDER BY
  13296. c.area_id
  13297. 2016-08-27 08:48:34 SELECT
  13298. a.run_id,
  13299. a.prod_id as line_id,
  13300. a.run_date,
  13301. b.start_time,
  13302. b.station_res_id
  13303. FROM
  13304. run_main as a,
  13305. run_station as b
  13306. WHERE
  13307. a.run_id = b.run_id
  13308. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  13309. AND a.run_date = '2016-08-27'
  13310. AND a.run_status = 138
  13311. AND b.station_inout_type in (108,109,110)
  13312. ORDER BY
  13313. a.run_id,
  13314. b.station_res_id
  13315. 2016-08-27 08:48:34 SELECT
  13316. run_id,
  13317. res_id,
  13318. seq_id,
  13319. prod_id,
  13320. total_count,
  13321. saled_count
  13322. FROM
  13323. run_stock
  13324. WHERE
  13325. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  13326. )
  13327. AND seat_type = 72
  13328. ORDER BY
  13329. run_id ASC,
  13330. seq_id ASC
  13331. 2016-08-27 08:48:34 SELECT
  13332. run_id,
  13333. prod_id as ticket_id
  13334. FROM
  13335. run_prod
  13336. WHERE
  13337. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  13338. AND cancel_flag = 0
  13339. 2016-08-27 16:50:10 SELECT
  13340. a.prod_id,
  13341. a.prod_name,
  13342. a.bus_type,
  13343. b.type_id,
  13344. b.property
  13345. FROM
  13346. opera_product AS a,
  13347. opera_product_property AS b
  13348. WHERE
  13349. a.prod_id = b.prod_id
  13350. AND a.prod_type = 81
  13351. AND a.is_onsale = 1
  13352. AND a.cancel_flag = 0
  13353. GROUP BY
  13354. a.prod_id,
  13355. b.type_id
  13356. 2016-08-27 16:50:10 SELECT
  13357. a.prod_id,
  13358. a.ticket_mark,
  13359. a.parent_id,
  13360. b.type_id,
  13361. b.property,
  13362. c.prod_price,
  13363. c.cus_price
  13364. FROM
  13365. opera_product AS a,
  13366. opera_product_property AS b,
  13367. opera_product_price AS c
  13368. WHERE
  13369. a.prod_id = b.prod_id
  13370. AND a.prod_id = c.prod_id
  13371. AND a.prod_type = 82
  13372. AND a.is_onsale = 1
  13373. AND a.cancel_flag = 0
  13374. AND c.cancel_flag = 0
  13375. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  13376. GROUP BY
  13377. a.prod_id,
  13378. b.type_id
  13379. 2016-08-27 16:50:12 SELECT
  13380. c.area_id,
  13381. d.area_name,
  13382. a.bus_type,
  13383. c.res_id,
  13384. c.res_name,
  13385. e.parent_area_id_list
  13386. FROM
  13387. opera_product AS a,
  13388. opera_product_station AS b,
  13389. base_resource AS c,
  13390. base_area AS d,
  13391. base_area_view AS e
  13392. WHERE
  13393. a.prod_id = b.prod_id
  13394. AND b.res_id = c.res_id
  13395. AND c.area_id = d.id
  13396. AND d.id = e.area_id
  13397. AND a.prod_type = 81
  13398. AND a.cancel_flag = 0
  13399. GROUP BY
  13400. c.res_id,
  13401. a.bus_type,
  13402. c.area_id
  13403. ORDER BY
  13404. c.area_id
  13405. 2016-08-27 08:50:13 SELECT
  13406. a.run_id,
  13407. a.prod_id as line_id,
  13408. a.run_date,
  13409. b.start_time,
  13410. b.station_res_id
  13411. FROM
  13412. run_main as a,
  13413. run_station as b
  13414. WHERE
  13415. a.run_id = b.run_id
  13416. AND a.prod_id IN (153122,153123,153163,153164,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287)
  13417. AND a.run_date = '2016-08-27'
  13418. AND a.run_status = 138
  13419. AND b.station_inout_type in (108,109,110)
  13420. ORDER BY
  13421. a.run_id,
  13422. b.station_res_id
  13423. 2016-08-27 08:50:13 SELECT
  13424. run_id,
  13425. res_id,
  13426. seq_id,
  13427. prod_id,
  13428. total_count,
  13429. saled_count
  13430. FROM
  13431. run_stock
  13432. WHERE
  13433. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718
  13434. )
  13435. AND seat_type = 72
  13436. ORDER BY
  13437. run_id ASC,
  13438. seq_id ASC
  13439. 2016-08-27 08:50:13 SELECT
  13440. run_id,
  13441. prod_id as ticket_id
  13442. FROM
  13443. run_prod
  13444. WHERE
  13445. run_id IN (346907,349658,351907,361390,363275,367195,369868,372508,374370,376076,377977,379208,380330,385659,397467,399531,400323,415489,416718)
  13446. AND cancel_flag = 0
  13447. 2016-08-27 17:35:36 SELECT
  13448. a.prod_id,
  13449. a.prod_name,
  13450. a.bus_type,
  13451. b.type_id,
  13452. b.property
  13453. FROM
  13454. opera_product AS a,
  13455. opera_product_property AS b
  13456. WHERE
  13457. a.prod_id = b.prod_id
  13458. AND a.prod_type = 81
  13459. AND a.is_onsale = 1
  13460. AND a.cancel_flag = 0
  13461. GROUP BY
  13462. a.prod_id,
  13463. b.type_id
  13464. 2016-08-27 17:35:36 SELECT
  13465. a.prod_id,
  13466. a.ticket_mark,
  13467. a.parent_id,
  13468. b.type_id,
  13469. b.property,
  13470. c.prod_price,
  13471. c.cus_price
  13472. FROM
  13473. opera_product AS a,
  13474. opera_product_property AS b,
  13475. opera_product_price AS c
  13476. WHERE
  13477. a.prod_id = b.prod_id
  13478. AND a.prod_id = c.prod_id
  13479. AND a.prod_type = 82
  13480. AND a.is_onsale = 1
  13481. AND a.cancel_flag = 0
  13482. AND c.cancel_flag = 0
  13483. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  13484. GROUP BY
  13485. a.prod_id,
  13486. b.type_id
  13487. 2016-08-27 17:35:38 SELECT
  13488. c.area_id,
  13489. d.area_name,
  13490. a.bus_type,
  13491. c.res_id,
  13492. c.res_name,
  13493. e.parent_area_id_list
  13494. FROM
  13495. opera_product AS a,
  13496. opera_product_station AS b,
  13497. base_resource AS c,
  13498. base_area AS d,
  13499. base_area_view AS e
  13500. WHERE
  13501. a.prod_id = b.prod_id
  13502. AND b.res_id = c.res_id
  13503. AND c.area_id = d.id
  13504. AND d.id = e.area_id
  13505. AND a.prod_type = 81
  13506. AND a.cancel_flag = 0
  13507. GROUP BY
  13508. c.res_id,
  13509. a.bus_type,
  13510. c.area_id
  13511. ORDER BY
  13512. c.area_id
  13513. 2016-08-27 09:35:38 SELECT
  13514. a.run_id,
  13515. a.run_status,
  13516. a.run_date,
  13517. a.prod_id,
  13518. b.start_time,
  13519. b.station_order_id,
  13520. b.station_res_id,
  13521. b.station_inout_type,
  13522. b.area_id
  13523. FROM
  13524. run_main AS a,
  13525. run_station AS b
  13526. WHERE
  13527. a.run_id = b.run_id
  13528. AND a.run_id = 349658
  13529. AND a.run_status = 138
  13530. ORDER BY
  13531. a.run_id,
  13532. b.station_order_id
  13533. 2016-08-27 09:35:38 SELECT
  13534. run_id,
  13535. res_id,
  13536. seq_id,
  13537. prod_id,
  13538. total_count,
  13539. saled_count
  13540. FROM
  13541. run_stock
  13542. WHERE
  13543. run_id = 349658
  13544. AND seat_type = 72
  13545. ORDER BY
  13546. run_id ASC,
  13547. seq_id ASC
  13548. 2016-08-27 09:35:38 SELECT
  13549. id,
  13550. area_name
  13551. FROM
  13552. base_area
  13553. WHERE
  13554. id IN (3240,3241)
  13555. 2016-08-27 09:35:38 SELECT
  13556. res_id,
  13557. res_name
  13558. FROM
  13559. base_resource
  13560. WHERE
  13561. id IN (9126,9168,9170,9099,9098)
  13562. 2016-08-27 09:35:38 select bus_type from opera_product where prod_id = 153363
  13563. 2016-08-27 09:35:38 SELECT
  13564. a.res_id,
  13565. a.property AS longitude,
  13566. b.property AS latitude,
  13567. c.distance
  13568. FROM
  13569. base_resource_property AS a,
  13570. base_resource_property AS b,
  13571. opera_product_station AS c
  13572. WHERE
  13573. a.res_id = c.res_id
  13574. AND a.res_id = b.res_id
  13575. AND a.type_id = 212
  13576. AND b.type_id = 213
  13577. AND a.cancel_flag = 0
  13578. AND b.cancel_flag = 0
  13579. AND c.cancel_flag = 0
  13580. AND a.res_id IN (9126,9168,9170,9099,9098)
  13581. AND c.prod_id = 153363
  13582. GROUP BY
  13583. a.res_id
  13584. 2016-08-27 09:35:39 SELECT
  13585. a.prod_id as ticket_id,
  13586. a.ticket_mark,
  13587. d.prod_price,
  13588. d.cus_price
  13589. FROM
  13590. opera_product AS a,
  13591. opera_product_property AS b,
  13592. opera_product_property AS c,
  13593. opera_product_price as d
  13594. WHERE
  13595. a.prod_id = b.prod_id
  13596. AND b.prod_id = c.prod_id
  13597. AND a.prod_id = d.prod_id
  13598. AND a.cancel_flag = 0
  13599. AND b.type_id = 112
  13600. AND c.type_id = 113
  13601. AND b.property = 9126
  13602. AND c.property = 9098
  13603. AND a.parent_id = 153363
  13604. 2016-08-27 17:36:24 SELECT
  13605. a.prod_id,
  13606. a.prod_name,
  13607. a.bus_type,
  13608. b.type_id,
  13609. b.property
  13610. FROM
  13611. opera_product AS a,
  13612. opera_product_property AS b
  13613. WHERE
  13614. a.prod_id = b.prod_id
  13615. AND a.prod_type = 81
  13616. AND a.is_onsale = 1
  13617. AND a.cancel_flag = 0
  13618. GROUP BY
  13619. a.prod_id,
  13620. b.type_id
  13621. 2016-08-27 17:36:24 SELECT
  13622. a.prod_id,
  13623. a.ticket_mark,
  13624. a.parent_id,
  13625. b.type_id,
  13626. b.property,
  13627. c.prod_price,
  13628. c.cus_price
  13629. FROM
  13630. opera_product AS a,
  13631. opera_product_property AS b,
  13632. opera_product_price AS c
  13633. WHERE
  13634. a.prod_id = b.prod_id
  13635. AND a.prod_id = c.prod_id
  13636. AND a.prod_type = 82
  13637. AND a.is_onsale = 1
  13638. AND a.cancel_flag = 0
  13639. AND c.cancel_flag = 0
  13640. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  13641. GROUP BY
  13642. a.prod_id,
  13643. b.type_id
  13644. 2016-08-27 17:36:26 SELECT
  13645. c.area_id,
  13646. d.area_name,
  13647. a.bus_type,
  13648. c.res_id,
  13649. c.res_name,
  13650. e.parent_area_id_list
  13651. FROM
  13652. opera_product AS a,
  13653. opera_product_station AS b,
  13654. base_resource AS c,
  13655. base_area AS d,
  13656. base_area_view AS e
  13657. WHERE
  13658. a.prod_id = b.prod_id
  13659. AND b.res_id = c.res_id
  13660. AND c.area_id = d.id
  13661. AND d.id = e.area_id
  13662. AND a.prod_type = 81
  13663. AND a.cancel_flag = 0
  13664. GROUP BY
  13665. c.res_id,
  13666. a.bus_type,
  13667. c.area_id
  13668. ORDER BY
  13669. c.area_id
  13670. 2016-08-27 09:36:26 SELECT
  13671. a.run_id,
  13672. a.run_status,
  13673. a.run_date,
  13674. a.prod_id,
  13675. b.start_time,
  13676. b.station_order_id,
  13677. b.station_res_id,
  13678. b.station_inout_type,
  13679. b.area_id
  13680. FROM
  13681. run_main AS a,
  13682. run_station AS b
  13683. WHERE
  13684. a.run_id = b.run_id
  13685. AND a.run_id = 349658
  13686. AND a.run_status = 138
  13687. ORDER BY
  13688. a.run_id,
  13689. b.station_order_id
  13690. 2016-08-27 09:36:26 SELECT
  13691. run_id,
  13692. res_id,
  13693. seq_id,
  13694. prod_id,
  13695. total_count,
  13696. saled_count
  13697. FROM
  13698. run_stock
  13699. WHERE
  13700. run_id = 349658
  13701. AND seat_type = 72
  13702. ORDER BY
  13703. run_id ASC,
  13704. seq_id ASC
  13705. 2016-08-27 09:36:26 SELECT
  13706. id,
  13707. area_name
  13708. FROM
  13709. base_area
  13710. WHERE
  13711. id IN (3240,3241)
  13712. 2016-08-27 09:36:26 SELECT
  13713. res_id,
  13714. res_name
  13715. FROM
  13716. base_resource
  13717. WHERE
  13718. id IN (9126,9168,9170,9099,9098)
  13719. 2016-08-27 09:36:27 select bus_type from opera_product where prod_id = 153363
  13720. 2016-08-27 09:36:27 SELECT
  13721. a.res_id,
  13722. a.property AS longitude,
  13723. b.property AS latitude,
  13724. c.distance
  13725. FROM
  13726. base_resource_property AS a,
  13727. base_resource_property AS b,
  13728. opera_product_station AS c
  13729. WHERE
  13730. a.res_id = c.res_id
  13731. AND a.res_id = b.res_id
  13732. AND a.type_id = 212
  13733. AND b.type_id = 213
  13734. AND a.cancel_flag = 0
  13735. AND b.cancel_flag = 0
  13736. AND c.cancel_flag = 0
  13737. AND a.res_id IN (9126,9168,9170,9099,9098)
  13738. AND c.prod_id = 153363
  13739. GROUP BY
  13740. a.res_id
  13741. 2016-08-27 09:36:27 SELECT
  13742. a.prod_id as ticket_id,
  13743. a.ticket_mark,
  13744. d.prod_price,
  13745. d.cus_price
  13746. FROM
  13747. opera_product AS a,
  13748. opera_product_property AS b,
  13749. opera_product_property AS c,
  13750. opera_product_price as d
  13751. WHERE
  13752. a.prod_id = b.prod_id
  13753. AND b.prod_id = c.prod_id
  13754. AND a.prod_id = d.prod_id
  13755. AND a.cancel_flag = 0
  13756. AND b.type_id = 112
  13757. AND c.type_id = 113
  13758. AND b.property = 9126
  13759. AND c.property = 9098
  13760. AND a.parent_id = 153363
  13761. 2016-08-27 17:55:08 SELECT
  13762. a.prod_id,
  13763. a.prod_name,
  13764. a.bus_type,
  13765. b.type_id,
  13766. b.property
  13767. FROM
  13768. opera_product AS a,
  13769. opera_product_property AS b
  13770. WHERE
  13771. a.prod_id = b.prod_id
  13772. AND a.prod_type = 81
  13773. AND a.is_onsale = 1
  13774. AND a.cancel_flag = 0
  13775. GROUP BY
  13776. a.prod_id,
  13777. b.type_id
  13778. 2016-08-27 17:55:08 SELECT
  13779. a.prod_id,
  13780. a.ticket_mark,
  13781. a.parent_id,
  13782. b.type_id,
  13783. b.property,
  13784. c.prod_price,
  13785. c.cus_price
  13786. FROM
  13787. opera_product AS a,
  13788. opera_product_property AS b,
  13789. opera_product_price AS c
  13790. WHERE
  13791. a.prod_id = b.prod_id
  13792. AND a.prod_id = c.prod_id
  13793. AND a.prod_type = 82
  13794. AND a.is_onsale = 1
  13795. AND a.cancel_flag = 0
  13796. AND c.cancel_flag = 0
  13797. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  13798. GROUP BY
  13799. a.prod_id,
  13800. b.type_id
  13801. 2016-08-27 17:55:11 SELECT
  13802. c.area_id,
  13803. d.area_name,
  13804. a.bus_type,
  13805. c.res_id,
  13806. c.res_name,
  13807. e.parent_area_id_list
  13808. FROM
  13809. opera_product AS a,
  13810. opera_product_station AS b,
  13811. base_resource AS c,
  13812. base_area AS d,
  13813. base_area_view AS e
  13814. WHERE
  13815. a.prod_id = b.prod_id
  13816. AND b.res_id = c.res_id
  13817. AND c.area_id = d.id
  13818. AND d.id = e.area_id
  13819. AND a.prod_type = 81
  13820. AND a.cancel_flag = 0
  13821. GROUP BY
  13822. c.res_id,
  13823. a.bus_type,
  13824. c.area_id
  13825. ORDER BY
  13826. c.area_id
  13827. 2016-08-27 09:55:11 SELECT
  13828. a.run_id,
  13829. a.run_status,
  13830. a.run_date,
  13831. a.prod_id,
  13832. b.start_time,
  13833. b.station_order_id,
  13834. b.station_res_id,
  13835. b.station_inout_type,
  13836. b.area_id
  13837. FROM
  13838. run_main AS a,
  13839. run_station AS b
  13840. WHERE
  13841. a.run_id = b.run_id
  13842. AND a.run_id = 349658
  13843. AND a.run_status = 138
  13844. ORDER BY
  13845. a.run_id,
  13846. b.station_order_id
  13847. 2016-08-27 09:55:11 SELECT
  13848. run_id,
  13849. res_id,
  13850. seq_id,
  13851. prod_id,
  13852. total_count,
  13853. saled_count
  13854. FROM
  13855. run_stock
  13856. WHERE
  13857. run_id = 349658
  13858. AND seat_type = 72
  13859. ORDER BY
  13860. run_id ASC,
  13861. seq_id ASC
  13862. 2016-08-27 09:55:11 SELECT
  13863. id,
  13864. area_name
  13865. FROM
  13866. base_area
  13867. WHERE
  13868. id IN (3240,3241)
  13869. 2016-08-27 09:55:11 SELECT
  13870. res_id,
  13871. res_name
  13872. FROM
  13873. base_resource
  13874. WHERE
  13875. id IN (9126,9168,9170,9099,9098)
  13876. 2016-08-27 09:55:11 select bus_type from opera_product where prod_id = 153363
  13877. 2016-08-27 09:55:11 SELECT
  13878. a.res_id,
  13879. a.property AS longitude,
  13880. b.property AS latitude,
  13881. c.distance
  13882. FROM
  13883. base_resource_property AS a,
  13884. base_resource_property AS b,
  13885. opera_product_station AS c
  13886. WHERE
  13887. a.res_id = c.res_id
  13888. AND a.res_id = b.res_id
  13889. AND a.type_id = 212
  13890. AND b.type_id = 213
  13891. AND a.cancel_flag = 0
  13892. AND b.cancel_flag = 0
  13893. AND c.cancel_flag = 0
  13894. AND a.res_id IN (9126,9168,9170,9099,9098)
  13895. AND c.prod_id = 153363
  13896. GROUP BY
  13897. a.res_id
  13898. 2016-08-27 09:55:11 SELECT
  13899. a.prod_id as ticket_id,
  13900. a.ticket_mark,
  13901. d.prod_price,
  13902. d.cus_price
  13903. FROM
  13904. opera_product AS a,
  13905. opera_product_property AS b,
  13906. opera_product_property AS c,
  13907. opera_product_price as d
  13908. WHERE
  13909. a.prod_id = b.prod_id
  13910. AND b.prod_id = c.prod_id
  13911. AND a.prod_id = d.prod_id
  13912. AND a.cancel_flag = 0
  13913. AND b.type_id = 112
  13914. AND c.type_id = 113
  13915. AND b.property = 9126
  13916. AND c.property = 9098
  13917. AND a.parent_id = 153363
  13918. 2016-08-27 18:23:05 SELECT
  13919. a.prod_id,
  13920. a.prod_name,
  13921. a.bus_type,
  13922. b.type_id,
  13923. b.property
  13924. FROM
  13925. opera_product AS a,
  13926. opera_product_property AS b
  13927. WHERE
  13928. a.prod_id = b.prod_id
  13929. AND a.prod_type = 81
  13930. AND a.is_onsale = 1
  13931. AND a.cancel_flag = 0
  13932. GROUP BY
  13933. a.prod_id,
  13934. b.type_id
  13935. 2016-08-27 18:23:05 SELECT
  13936. a.prod_id,
  13937. a.ticket_mark,
  13938. a.parent_id,
  13939. b.type_id,
  13940. b.property,
  13941. c.prod_price,
  13942. c.cus_price
  13943. FROM
  13944. opera_product AS a,
  13945. opera_product_property AS b,
  13946. opera_product_price AS c
  13947. WHERE
  13948. a.prod_id = b.prod_id
  13949. AND a.prod_id = c.prod_id
  13950. AND a.prod_type = 82
  13951. AND a.is_onsale = 1
  13952. AND a.cancel_flag = 0
  13953. AND c.cancel_flag = 0
  13954. and a.parent_id in (152248,152251,152690,152703,152716,152727,152738,152745,153122,153123,153144,153146,153163,153164,153255,153332,153336,153337,153339,153340,153341,153343,153344,153345,153346,153347,153348,153349,153350,153351,153352,153354,153355,153356,153357,153358,153359,153361,153362,153363,153612,153873,153906,153911,387567,387585,387602,387619,387640,387661,387696,387697,448045,448062,448083,448104,448121,448142,448163,448192,448225,448226,448227,448228,448241,448254,448271,448272,448273,448274,448275,448276,448277,448278,448279,448280,448281,448282,448283,448284,448285,448286,448287,448568,448569)
  13955. GROUP BY
  13956. a.prod_id,
  13957. b.type_id
  13958. 2016-08-27 18:23:07 SELECT
  13959. c.area_id,
  13960. d.area_name,
  13961. a.bus_type,
  13962. c.res_id,
  13963. c.res_name,
  13964. e.parent_area_id_list
  13965. FROM
  13966. opera_product AS a,
  13967. opera_product_station AS b,
  13968. base_resource AS c,
  13969. base_area AS d,
  13970. base_area_view AS e
  13971. WHERE
  13972. a.prod_id = b.prod_id
  13973. AND b.res_id = c.res_id
  13974. AND c.area_id = d.id
  13975. AND d.id = e.area_id
  13976. AND a.prod_type = 81
  13977. AND a.cancel_flag = 0
  13978. GROUP BY
  13979. c.res_id,
  13980. a.bus_type,
  13981. c.area_id
  13982. ORDER BY
  13983. c.area_id
  13984. 2016-08-27 10:23:07 SELECT
  13985. a.run_id,
  13986. a.run_status,
  13987. a.run_date,
  13988. a.prod_id,
  13989. b.start_time,
  13990. b.station_order_id,
  13991. b.station_res_id,
  13992. b.station_inout_type,
  13993. b.area_id
  13994. FROM
  13995. run_main AS a,
  13996. run_station AS b
  13997. WHERE
  13998. a.run_id = b.run_id
  13999. AND a.run_id = 349658
  14000. AND a.run_status = 138
  14001. ORDER BY
  14002. a.run_id,
  14003. b.station_order_id
  14004. 2016-08-27 10:23:07 SELECT
  14005. run_id,
  14006. res_id,
  14007. seq_id,
  14008. prod_id,
  14009. total_count,
  14010. saled_count
  14011. FROM
  14012. run_stock
  14013. WHERE
  14014. run_id = 349658
  14015. AND seat_type = 72
  14016. ORDER BY
  14017. run_id ASC,
  14018. seq_id ASC
  14019. 2016-08-27 10:23:07 SELECT
  14020. id,
  14021. area_name
  14022. FROM
  14023. base_area
  14024. WHERE
  14025. id IN (3240,3241)
  14026. 2016-08-27 10:23:07 SELECT
  14027. res_id,
  14028. res_name
  14029. FROM
  14030. base_resource
  14031. WHERE
  14032. id IN (9126,9168,9170,9099,9098)
  14033. 2016-08-27 10:23:07 select bus_type from opera_product where prod_id = 153363
  14034. 2016-08-27 10:23:08 SELECT
  14035. a.res_id,
  14036. a.property AS longitude,
  14037. b.property AS latitude,
  14038. c.distance
  14039. FROM
  14040. base_resource_property AS a,
  14041. base_resource_property AS b,
  14042. opera_product_station AS c
  14043. WHERE
  14044. a.res_id = c.res_id
  14045. AND a.res_id = b.res_id
  14046. AND a.type_id = 212
  14047. AND b.type_id = 213
  14048. AND a.cancel_flag = 0
  14049. AND b.cancel_flag = 0
  14050. AND c.cancel_flag = 0
  14051. AND a.res_id IN (9126,9168,9170,9099,9098)
  14052. AND c.prod_id = 153363
  14053. GROUP BY
  14054. a.res_id
  14055. 2016-08-27 10:23:08 SELECT
  14056. a.prod_id as ticket_id,
  14057. a.ticket_mark,
  14058. d.prod_price,
  14059. d.cus_price
  14060. FROM
  14061. opera_product AS a,
  14062. opera_product_property AS b,
  14063. opera_product_property AS c,
  14064. opera_product_price as d
  14065. WHERE
  14066. a.prod_id = b.prod_id
  14067. AND b.prod_id = c.prod_id
  14068. AND a.prod_id = d.prod_id
  14069. AND a.cancel_flag = 0
  14070. AND b.type_id = 112
  14071. AND c.type_id = 113
  14072. AND b.property = 9126
  14073. AND c.property = 9098
  14074. AND a.parent_id = 153363