No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 

265 líneas
10 KiB

  1. 2016-08-25 21:07:51 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-25 21:07:51 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)
  38. GROUP BY
  39. a.prod_id,
  40. b.type_id
  41. 2016-08-25 21:07:53 SELECT
  42. c.area_id,
  43. d.area_name,
  44. a.bus_type,
  45. c.res_id,
  46. c.res_name,
  47. e.parent_area_id_list
  48. FROM
  49. opera_product AS a,
  50. opera_product_station AS b,
  51. base_resource AS c,
  52. base_area AS d,
  53. base_area_view AS e
  54. WHERE
  55. a.prod_id = b.prod_id
  56. AND b.res_id = c.res_id
  57. AND c.area_id = d.id
  58. AND d.id = e.area_id
  59. AND a.prod_type = 81
  60. AND a.cancel_flag = 0
  61. GROUP BY
  62. c.res_id,
  63. a.bus_type,
  64. c.area_id
  65. ORDER BY
  66. c.area_id
  67. 2016-08-25 21:08:30 SELECT
  68. a.prod_id,
  69. a.prod_name,
  70. a.bus_type,
  71. b.type_id,
  72. b.property
  73. FROM
  74. opera_product AS a,
  75. opera_product_property AS b
  76. WHERE
  77. a.prod_id = b.prod_id
  78. AND a.prod_type = 81
  79. AND a.is_onsale = 1
  80. AND a.cancel_flag = 0
  81. GROUP BY
  82. a.prod_id,
  83. b.type_id
  84. 2016-08-25 21:08:30 SELECT
  85. a.prod_id,
  86. a.ticket_mark,
  87. a.parent_id,
  88. b.type_id,
  89. b.property,
  90. c.prod_price,
  91. c.cus_price
  92. FROM
  93. opera_product AS a,
  94. opera_product_property AS b,
  95. opera_product_price AS c
  96. WHERE
  97. a.prod_id = b.prod_id
  98. AND a.prod_id = c.prod_id
  99. AND a.prod_type = 82
  100. AND a.is_onsale = 1
  101. AND a.cancel_flag = 0
  102. AND c.cancel_flag = 0
  103. 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)
  104. GROUP BY
  105. a.prod_id,
  106. b.type_id
  107. 2016-08-25 21:08:31 SELECT
  108. c.area_id,
  109. d.area_name,
  110. a.bus_type,
  111. c.res_id,
  112. c.res_name,
  113. e.parent_area_id_list
  114. FROM
  115. opera_product AS a,
  116. opera_product_station AS b,
  117. base_resource AS c,
  118. base_area AS d,
  119. base_area_view AS e
  120. WHERE
  121. a.prod_id = b.prod_id
  122. AND b.res_id = c.res_id
  123. AND c.area_id = d.id
  124. AND d.id = e.area_id
  125. AND a.prod_type = 81
  126. AND a.cancel_flag = 0
  127. GROUP BY
  128. c.res_id,
  129. a.bus_type,
  130. c.area_id
  131. ORDER BY
  132. c.area_id
  133. 2016-08-25 21:08:35 SELECT
  134. a.prod_id,
  135. a.prod_name,
  136. a.bus_type,
  137. b.type_id,
  138. b.property
  139. FROM
  140. opera_product AS a,
  141. opera_product_property AS b
  142. WHERE
  143. a.prod_id = b.prod_id
  144. AND a.prod_type = 81
  145. AND a.is_onsale = 1
  146. AND a.cancel_flag = 0
  147. GROUP BY
  148. a.prod_id,
  149. b.type_id
  150. 2016-08-25 21:08:35 SELECT
  151. a.prod_id,
  152. a.ticket_mark,
  153. a.parent_id,
  154. b.type_id,
  155. b.property,
  156. c.prod_price,
  157. c.cus_price
  158. FROM
  159. opera_product AS a,
  160. opera_product_property AS b,
  161. opera_product_price AS c
  162. WHERE
  163. a.prod_id = b.prod_id
  164. AND a.prod_id = c.prod_id
  165. AND a.prod_type = 82
  166. AND a.is_onsale = 1
  167. AND a.cancel_flag = 0
  168. AND c.cancel_flag = 0
  169. 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)
  170. GROUP BY
  171. a.prod_id,
  172. b.type_id
  173. 2016-08-25 21:08:37 SELECT
  174. c.area_id,
  175. d.area_name,
  176. a.bus_type,
  177. c.res_id,
  178. c.res_name,
  179. e.parent_area_id_list
  180. FROM
  181. opera_product AS a,
  182. opera_product_station AS b,
  183. base_resource AS c,
  184. base_area AS d,
  185. base_area_view AS e
  186. WHERE
  187. a.prod_id = b.prod_id
  188. AND b.res_id = c.res_id
  189. AND c.area_id = d.id
  190. AND d.id = e.area_id
  191. AND a.prod_type = 81
  192. AND a.cancel_flag = 0
  193. GROUP BY
  194. c.res_id,
  195. a.bus_type,
  196. c.area_id
  197. ORDER BY
  198. c.area_id
  199. 2016-08-25 21:10:21 SELECT
  200. a.prod_id,
  201. a.prod_name,
  202. a.bus_type,
  203. b.type_id,
  204. b.property
  205. FROM
  206. opera_product AS a,
  207. opera_product_property AS b
  208. WHERE
  209. a.prod_id = b.prod_id
  210. AND a.prod_type = 81
  211. AND a.is_onsale = 1
  212. AND a.cancel_flag = 0
  213. GROUP BY
  214. a.prod_id,
  215. b.type_id
  216. 2016-08-25 21:10:21 SELECT
  217. a.prod_id,
  218. a.ticket_mark,
  219. a.parent_id,
  220. b.type_id,
  221. b.property,
  222. c.prod_price,
  223. c.cus_price
  224. FROM
  225. opera_product AS a,
  226. opera_product_property AS b,
  227. opera_product_price AS c
  228. WHERE
  229. a.prod_id = b.prod_id
  230. AND a.prod_id = c.prod_id
  231. AND a.prod_type = 82
  232. AND a.is_onsale = 1
  233. AND a.cancel_flag = 0
  234. AND c.cancel_flag = 0
  235. 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)
  236. GROUP BY
  237. a.prod_id,
  238. b.type_id
  239. 2016-08-25 21:10:23 SELECT
  240. c.area_id,
  241. d.area_name,
  242. a.bus_type,
  243. c.res_id,
  244. c.res_name,
  245. e.parent_area_id_list
  246. FROM
  247. opera_product AS a,
  248. opera_product_station AS b,
  249. base_resource AS c,
  250. base_area AS d,
  251. base_area_view AS e
  252. WHERE
  253. a.prod_id = b.prod_id
  254. AND b.res_id = c.res_id
  255. AND c.area_id = d.id
  256. AND d.id = e.area_id
  257. AND a.prod_type = 81
  258. AND a.cancel_flag = 0
  259. GROUP BY
  260. c.res_id,
  261. a.bus_type,
  262. c.area_id
  263. ORDER BY
  264. c.area_id