You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

189 lines
7.4 KiB

  1. 2017-01-21 18:56:19 select base_supplier:SELECT
  2. id,
  3. supplier_name,
  4. area_id,
  5. is_disabled,
  6. supplier_type
  7. FROM
  8. base_supplier a
  9. WHERE
  10. cancel_flag = 0
  11. AND supplier_type = 187
  12. LIMIT 0,10
  13. 2017-01-21 18:56:19 count:SELECT
  14. a.id
  15. FROM
  16. base_supplier AS a,
  17. base_supplier_purchase AS b
  18. WHERE
  19. a.id = b.supplier_id
  20. AND a.cancel_flag = 0
  21. AND b.cancel_flag = 0
  22. GROUP BY
  23. b.supplier_id
  24. 2017-01-21 18:56:19 select base_area:SELECT
  25. id,
  26. area_name
  27. FROM
  28. base_area
  29. WHERE
  30. id in(792,923,810)
  31. 2017-01-21 20:38:32 select base_supplier:SELECT
  32. id,
  33. supplier_name,
  34. area_id,
  35. is_disabled,
  36. supplier_type
  37. FROM
  38. base_supplier a
  39. WHERE
  40. cancel_flag = 0
  41. AND supplier_type = 187
  42. LIMIT 0,10
  43. 2017-01-21 20:38:32 count:SELECT
  44. a.id
  45. FROM
  46. base_supplier AS a,
  47. base_supplier_purchase AS b
  48. WHERE
  49. a.id = b.supplier_id
  50. AND a.cancel_flag = 0
  51. AND b.cancel_flag = 0
  52. GROUP BY
  53. b.supplier_id
  54. 2017-01-21 20:38:32 select base_area:SELECT
  55. id,
  56. area_name
  57. FROM
  58. base_area
  59. WHERE
  60. id in(792,923,810)
  61. 2017-01-21 20:38:34 select base_area:SELECT
  62. id,
  63. area_name
  64. FROM
  65. base_area
  66. WHERE
  67. parent_id = 0
  68. 2017-01-21 20:38:34 select base_area:SELECT
  69. id,
  70. area_name
  71. FROM
  72. base_area
  73. WHERE
  74. parent_id = 1
  75. 2017-01-21 20:38:35 check base_supplier:SELECT
  76. supplier_name
  77. FROM
  78. base_supplier
  79. WHERE
  80. cancel_flag = 0
  81. AND supplier_name = '千岛湖洲际度假酒店'
  82. 2017-01-21 20:38:45 select base_area:SELECT
  83. id,
  84. area_name
  85. FROM
  86. base_area
  87. WHERE
  88. parent_id = 922
  89. 2017-01-21 20:39:09 check base_supplier:SELECT
  90. supplier_name
  91. FROM
  92. base_supplier
  93. WHERE
  94. cancel_flag = 0
  95. AND supplier_name = '千岛湖洲际度假酒店'
  96. 2017-01-21 20:39:09 INSERT INTO base_supplier:INSERT INTO base_supplier (
  97. create_user_id,
  98. create_time,
  99. supplier_type,
  100. supplier_name,
  101. area_id,
  102. company_name,
  103. is_disabled,
  104. sett_type,
  105. sett_frequency,
  106. account_bank,
  107. account_num,
  108. account_name,
  109. main_corp_id
  110. )
  111. VALUES
  112. (274,'2017-01-21 20:39:09',187,'千岛湖洲际度假酒店',923,'千岛湖洲际度假酒店',0,275,295,'','','',0)
  113. 2017-01-21 20:39:09 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  114. create_user_id,
  115. create_time,
  116. supplier_id,
  117. product_type,
  118. purchaser_name
  119. )
  120. VALUES (274,'2017-01-21 20:39:09',1206,25,'翁剑文')
  121. 2017-01-21 20:39:10 select base_supplier:SELECT
  122. id,
  123. supplier_name,
  124. area_id,
  125. is_disabled,
  126. supplier_type
  127. FROM
  128. base_supplier a
  129. WHERE
  130. cancel_flag = 0
  131. AND supplier_type = 187
  132. LIMIT 0,10
  133. 2017-01-21 20:39:10 count:SELECT
  134. a.id
  135. FROM
  136. base_supplier AS a,
  137. base_supplier_purchase AS b
  138. WHERE
  139. a.id = b.supplier_id
  140. AND a.cancel_flag = 0
  141. AND b.cancel_flag = 0
  142. GROUP BY
  143. b.supplier_id
  144. 2017-01-21 20:39:10 select base_area:SELECT
  145. id,
  146. area_name
  147. FROM
  148. base_area
  149. WHERE
  150. id in(792,923,810)
  151. 2017-01-21 20:39:12 select base_supplier:SELECT
  152. id,
  153. supplier_name,
  154. area_id,
  155. is_disabled,
  156. supplier_type
  157. FROM
  158. base_supplier a
  159. WHERE
  160. cancel_flag = 0
  161. AND supplier_type = 187
  162. LIMIT 0,10
  163. 2017-01-21 20:39:12 count:SELECT
  164. a.id
  165. FROM
  166. base_supplier AS a,
  167. base_supplier_purchase AS b
  168. WHERE
  169. a.id = b.supplier_id
  170. AND a.cancel_flag = 0
  171. AND b.cancel_flag = 0
  172. GROUP BY
  173. b.supplier_id
  174. 2017-01-21 20:39:12 select base_area:SELECT
  175. id,
  176. area_name
  177. FROM
  178. base_area
  179. WHERE
  180. id in(792,923,810)