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.
 
 
 
 

265 lines
11 KiB

  1. 2017-01-01 14:10:00 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-01 14:10:00 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-01 14:10:00 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-01 14:10:08 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 a.supplier_name like '%%五角场凯悦%%'
  42. AND supplier_type = 187
  43. LIMIT 0,10
  44. 2017-01-01 14:10:08 count:SELECT
  45. a.id
  46. FROM
  47. base_supplier AS a,
  48. base_supplier_purchase AS b
  49. WHERE
  50. a.id = b.supplier_id
  51. and a.supplier_name like '%%五角场凯悦%%'
  52. AND a.cancel_flag = 0
  53. AND b.cancel_flag = 0
  54. GROUP BY
  55. b.supplier_id
  56. 2017-01-01 14:10:08 select base_area:SELECT
  57. id,
  58. area_name
  59. FROM
  60. base_area
  61. WHERE
  62. id in(799)
  63. 2017-01-01 14:10:09 select base_area:SELECT
  64. id,
  65. area_name
  66. FROM
  67. base_area
  68. WHERE
  69. parent_id = 0
  70. 2017-01-01 14:10:09 select base_supplier:SELECT
  71. id,
  72. supplier_name,
  73. area_id,
  74. company_name,
  75. sett_type,
  76. sett_frequency,
  77. account_bank,
  78. account_num,
  79. account_name
  80. FROM
  81. base_supplier
  82. WHERE
  83. cancel_flag = 0
  84. AND id = 1074
  85. 2017-01-01 14:10:09 select base_area:SELECT
  86. id,
  87. area_name,
  88. parent_id
  89. FROM
  90. base_area
  91. WHERE
  92. cancel_flag = 0
  93. AND id = 799
  94. 2017-01-01 14:10:09 select base_area:SELECT
  95. id,
  96. area_name
  97. FROM
  98. base_area
  99. WHERE
  100. cancel_flag = 0
  101. AND id = 791
  102. 2017-01-01 14:10:09 select base_supplier_purchase:SELECT
  103. id,
  104. product_type,
  105. purchaser_name
  106. FROM
  107. base_supplier_purchase
  108. WHERE
  109. cancel_flag = 0
  110. AND supplier_id = 1074
  111. 2017-01-01 14:10:09 select base_supplier_link:SELECT
  112. id,
  113. link_name,
  114. contact_name,
  115. contact_mobile,
  116. contact_telphone,
  117. fax,
  118. email,
  119. remark
  120. FROM
  121. base_supplier_link
  122. WHERE
  123. cancel_flag = 0
  124. AND supplier_id = 1074
  125. 2017-01-01 14:10:10 select base_area:SELECT
  126. id,
  127. area_name
  128. FROM
  129. base_area
  130. WHERE
  131. parent_id = 791
  132. 2017-01-01 14:12:34 getDbPurchase base_supplier_purchase:SELECT
  133. id AS purchase_id,
  134. product_type,
  135. purchaser_name
  136. FROM
  137. base_supplier_purchase
  138. WHERE
  139. cancel_flag = 0
  140. AND supplier_id = 1074
  141. 2017-01-01 14:12:34 getDbLink base_supplier_link:SELECT
  142. id as link_id,
  143. link_name,
  144. contact_name,
  145. contact_mobile,
  146. contact_telphone,
  147. fax,
  148. email,
  149. remark
  150. FROM
  151. base_supplier_link
  152. WHERE
  153. cancel_flag = 0
  154. AND supplier_id = 1074
  155. 2017-01-01 14:12:34 getDbChannel base_supplier:SELECT
  156. supplier_name,
  157. area_id,
  158. company_name,
  159. sett_type,
  160. sett_frequency,
  161. account_bank,
  162. account_num,
  163. account_name
  164. FROM
  165. base_supplier
  166. WHERE
  167. cancel_flag = 0
  168. AND id = 1074
  169. 2017-01-01 14:12:34 UPDATE base_supplier:UPDATE base_supplier
  170. SET update_user_id = 283,update_time = '2017-01-01 14:12:34',supplier_name = '上海五角场凯悦酒店',area_id = '799',company_name = '上海五角场凯悦酒店',sett_type = '275',sett_frequency = '295',account_bank = '中国银行上海市杨浦支行',account_num = '中先国际控股有限公司分公司',account_name = '4559708609017'
  171. WHERE
  172. id = 1074
  173. 2017-01-01 14:12:34 INSERT base_supplier_purchase:INSERT INTO base_supplier_purchase (
  174. create_user_id,
  175. create_time,
  176. supplier_id,
  177. product_type,
  178. purchaser_name
  179. )
  180. VALUES (283,'2017-01-01 14:12:34',1074,25,'丁鹏')
  181. 2017-01-01 14:12:34 delete base_supplier_sale:UPDATE base_supplier_purchase
  182. SET update_user_id = 283,update_time = '2017-01-01 14:12:34',cancel_flag = 1
  183. WHERE
  184. id = 100
  185. 2017-01-01 14:12:34 UPDATE base_supplier_link:UPDATE base_supplier_link
  186. SET update_user_id = 283,update_time = '2017-01-01 14:12:34',link_name = '销售',contact_name = '蒋融',contact_mobile = '',contact_telphone = '+86 21 2565 1231',fax = '',email = 'james.jiang@hyatt.com',remark = ''
  187. WHERE
  188. id = 115
  189. 2017-01-01 14:12:35 select base_supplier:SELECT
  190. id,
  191. supplier_name,
  192. area_id,
  193. is_disabled,
  194. supplier_type
  195. FROM
  196. base_supplier a
  197. WHERE
  198. cancel_flag = 0
  199. AND supplier_type = 187
  200. LIMIT 0,10
  201. 2017-01-01 14:12:35 count:SELECT
  202. a.id
  203. FROM
  204. base_supplier AS a,
  205. base_supplier_purchase AS b
  206. WHERE
  207. a.id = b.supplier_id
  208. AND a.cancel_flag = 0
  209. AND b.cancel_flag = 0
  210. GROUP BY
  211. b.supplier_id
  212. 2017-01-01 14:12:35 select base_area:SELECT
  213. id,
  214. area_name
  215. FROM
  216. base_area
  217. WHERE
  218. id in(792,923,810)
  219. 2017-01-01 21:11:51 select base_supplier:SELECT
  220. id,
  221. supplier_name,
  222. area_id,
  223. is_disabled,
  224. supplier_type,
  225. manage_type
  226. FROM
  227. base_supplier
  228. WHERE
  229. cancel_flag = 0
  230. AND supplier_type = 301
  231. LIMIT 0,10
  232. 2017-01-01 21:11:51 select base_area:SELECT
  233. id,
  234. area_name
  235. FROM
  236. base_area
  237. WHERE
  238. id in(792,810,794,850,797,923)
  239. 2017-01-01 21:58:18 select base_supplier:SELECT
  240. id,
  241. supplier_name,
  242. area_id,
  243. is_disabled,
  244. supplier_type,
  245. manage_type
  246. FROM
  247. base_supplier
  248. WHERE
  249. cancel_flag = 0
  250. AND supplier_type = 301
  251. LIMIT 0,10
  252. 2017-01-01 21:58:18 select base_area:SELECT
  253. id,
  254. area_name
  255. FROM
  256. base_area
  257. WHERE
  258. id in(792,810,794,850,797,923)