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.
 
 
 
 

562 lines
22 KiB

  1. 2016-12-11 15:54:04 select base_supplier:SELECT
  2. id,
  3. supplier_name,
  4. area_id,
  5. is_disabled,
  6. supplier_type,
  7. manage_type
  8. FROM
  9. base_supplier
  10. WHERE
  11. cancel_flag = 0
  12. AND supplier_type = 301
  13. LIMIT 0,10
  14. 2016-12-11 15:54:04 select base_area:SELECT
  15. id,
  16. area_name
  17. FROM
  18. base_area
  19. WHERE
  20. id in(850,961,800,4,797,7,1966,794)
  21. 2016-12-11 15:54:07 select base_area:SELECT
  22. id,
  23. area_name
  24. FROM
  25. base_area
  26. WHERE
  27. parent_id = 0
  28. 2016-12-11 15:54:07 select base_area:SELECT
  29. id,
  30. area_name
  31. FROM
  32. base_area
  33. WHERE
  34. parent_id = 1
  35. 2016-12-11 15:54:22 check base_supplier:SELECT
  36. supplier_name
  37. FROM
  38. base_supplier
  39. WHERE
  40. cancel_flag = 0
  41. AND supplier_type = 301
  42. AND supplier_name = '南京途牛(酒店)'
  43. 2016-12-11 15:54:25 select base_area:SELECT
  44. id,
  45. area_name
  46. FROM
  47. base_area
  48. WHERE
  49. parent_id = 809
  50. 2016-12-11 15:56:39 INSERT INTO base_supplier:INSERT INTO base_supplier (
  51. create_user_id,
  52. create_time,
  53. supplier_type,
  54. supplier_name,
  55. area_id,
  56. manage_type,
  57. company_name,
  58. id_card,
  59. is_disabled,
  60. sett_type,
  61. sett_frequency,
  62. account_bank,
  63. account_num,
  64. account_name,
  65. sales_man
  66. )
  67. VALUES
  68. (35,'2016-12-11 15:56:39',301,'南京途牛(酒店)',810,1,'南京途牛国际旅行社有限公司','',0,275,295,'','','','王海顺')
  69. 2016-12-11 15:56:39 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  70. create_user_id,
  71. create_time,
  72. supplier_id,
  73. prod_supplier_id,
  74. product_type,
  75. parent_type,
  76. sale_type,
  77. commision_flag,
  78. commision_type,
  79. back_commision_type,
  80. back_commision_method,
  81. back_percent,
  82. back_value
  83. )
  84. VALUES (35,'2016-12-11 15:56:39',1021,0,0,25,177,0,0,0,0,'0','0')
  85. 2016-12-11 15:56:39 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  86. create_user_id,
  87. create_time,
  88. supplier_id,
  89. link_name,
  90. contact_name,
  91. contact_mobile,
  92. contact_telphone,
  93. fax,
  94. email,
  95. remark
  96. )
  97. VALUES (35,'2016-12-11 15:56:39',1021,'业务','许欣','','','','','')
  98. 2016-12-11 15:56:40 select base_supplier:SELECT
  99. id,
  100. supplier_name,
  101. area_id,
  102. is_disabled,
  103. supplier_type,
  104. manage_type
  105. FROM
  106. base_supplier
  107. WHERE
  108. cancel_flag = 0
  109. AND supplier_type = 301
  110. LIMIT 0,10
  111. 2016-12-11 15:56:40 select base_area:SELECT
  112. id,
  113. area_name
  114. FROM
  115. base_area
  116. WHERE
  117. id in(850,961,800,4,797,7,1966,794)
  118. 2016-12-11 15:56:47 select base_supplier_sale:SELECT
  119. supplier_id,
  120. product_type,
  121. parent_type
  122. FROM
  123. base_supplier_sale
  124. WHERE
  125. product_type = 25 or parent_type = 25 and cancel_flag = 0
  126. GROUP BY
  127. supplier_id
  128. 2016-12-11 15:56:47 select base_supplier:SELECT
  129. id,
  130. supplier_name,
  131. area_id,
  132. is_disabled,
  133. supplier_type,
  134. manage_type
  135. FROM
  136. base_supplier
  137. WHERE
  138. cancel_flag = 0
  139. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021)
  140. AND supplier_type = 301
  141. LIMIT 0,10
  142. 2016-12-11 15:56:47 select base_area:SELECT
  143. id,
  144. area_name
  145. FROM
  146. base_area
  147. WHERE
  148. id in(800,794,2,850,923,982,810)
  149. 2016-12-11 15:56:52 select base_area:SELECT
  150. id,
  151. area_name
  152. FROM
  153. base_area
  154. WHERE
  155. parent_id = 0
  156. 2016-12-11 15:56:52 select base_area:SELECT
  157. id,
  158. area_name
  159. FROM
  160. base_area
  161. WHERE
  162. parent_id = 1
  163. 2016-12-11 15:57:02 check base_supplier:SELECT
  164. supplier_name
  165. FROM
  166. base_supplier
  167. WHERE
  168. cancel_flag = 0
  169. AND supplier_type = 301
  170. AND supplier_name = '途牛(线路)'
  171. 2016-12-11 15:57:06 select base_area:SELECT
  172. id,
  173. area_name
  174. FROM
  175. base_area
  176. WHERE
  177. parent_id = 809
  178. 2016-12-11 15:57:36 INSERT INTO base_supplier:INSERT INTO base_supplier (
  179. create_user_id,
  180. create_time,
  181. supplier_type,
  182. supplier_name,
  183. area_id,
  184. manage_type,
  185. company_name,
  186. id_card,
  187. is_disabled,
  188. sett_type,
  189. sett_frequency,
  190. account_bank,
  191. account_num,
  192. account_name,
  193. sales_man
  194. )
  195. VALUES
  196. (35,'2016-12-11 15:57:36',301,'途牛(线路)',810,1,'南京途牛国际旅行社有限公司','',0,275,295,'','','','王海顺')
  197. 2016-12-11 15:57:36 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  198. create_user_id,
  199. create_time,
  200. supplier_id,
  201. prod_supplier_id,
  202. product_type,
  203. parent_type,
  204. sale_type,
  205. commision_flag,
  206. commision_type,
  207. back_commision_type,
  208. back_commision_method,
  209. back_percent,
  210. back_value
  211. )
  212. VALUES (35,'2016-12-11 15:57:36',1022,0,0,25,177,0,0,0,0,'0','0')
  213. 2016-12-11 15:57:36 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  214. create_user_id,
  215. create_time,
  216. supplier_id,
  217. link_name,
  218. contact_name,
  219. contact_mobile,
  220. contact_telphone,
  221. fax,
  222. email,
  223. remark
  224. )
  225. VALUES (35,'2016-12-11 15:57:36',1022,'业务','林楠','','','','','')
  226. 2016-12-11 15:57:37 select base_supplier:SELECT
  227. id,
  228. supplier_name,
  229. area_id,
  230. is_disabled,
  231. supplier_type,
  232. manage_type
  233. FROM
  234. base_supplier
  235. WHERE
  236. cancel_flag = 0
  237. AND supplier_type = 301
  238. LIMIT 0,10
  239. 2016-12-11 15:57:37 select base_area:SELECT
  240. id,
  241. area_name
  242. FROM
  243. base_area
  244. WHERE
  245. id in(850,961,800,4,797,7,1966,794)
  246. 2016-12-11 15:58:10 select base_supplier_sale:SELECT
  247. supplier_id,
  248. product_type,
  249. parent_type
  250. FROM
  251. base_supplier_sale
  252. WHERE
  253. product_type = 25 or parent_type = 25 and cancel_flag = 0
  254. GROUP BY
  255. supplier_id
  256. 2016-12-11 15:58:10 select base_supplier:SELECT
  257. id,
  258. supplier_name,
  259. area_id,
  260. is_disabled,
  261. supplier_type,
  262. manage_type
  263. FROM
  264. base_supplier
  265. WHERE
  266. cancel_flag = 0
  267. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  268. AND supplier_type = 301
  269. LIMIT 0,10
  270. 2016-12-11 15:58:10 select base_area:SELECT
  271. id,
  272. area_name
  273. FROM
  274. base_area
  275. WHERE
  276. id in(800,794,2,850,923,982,810)
  277. 2016-12-11 15:58:16 select base_supplier_sale:SELECT
  278. supplier_id,
  279. product_type,
  280. parent_type
  281. FROM
  282. base_supplier_sale
  283. WHERE
  284. product_type = 25 or parent_type = 25 and cancel_flag = 0
  285. GROUP BY
  286. supplier_id
  287. 2016-12-11 15:58:16 select base_supplier:SELECT
  288. id,
  289. supplier_name,
  290. area_id,
  291. is_disabled,
  292. supplier_type,
  293. manage_type
  294. FROM
  295. base_supplier
  296. WHERE
  297. cancel_flag = 0
  298. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  299. AND supplier_type = 301
  300. LIMIT 0,10
  301. 2016-12-11 15:58:16 select base_area:SELECT
  302. id,
  303. area_name
  304. FROM
  305. base_area
  306. WHERE
  307. id in(800,794,2,850,923,982,810)
  308. 2016-12-11 15:58:17 select base_supplier_sale:SELECT
  309. supplier_id,
  310. product_type,
  311. parent_type
  312. FROM
  313. base_supplier_sale
  314. WHERE
  315. product_type = 25 or parent_type = 25 and cancel_flag = 0
  316. GROUP BY
  317. supplier_id
  318. 2016-12-11 15:58:17 select base_supplier:SELECT
  319. id,
  320. supplier_name,
  321. area_id,
  322. is_disabled,
  323. supplier_type,
  324. manage_type
  325. FROM
  326. base_supplier
  327. WHERE
  328. cancel_flag = 0
  329. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  330. AND supplier_type = 301
  331. LIMIT 0,10
  332. 2016-12-11 15:58:17 select base_area:SELECT
  333. id,
  334. area_name
  335. FROM
  336. base_area
  337. WHERE
  338. id in(800,794,2,850,923,982,810)
  339. 2016-12-11 15:58:21 select base_supplier_sale:SELECT
  340. supplier_id,
  341. product_type,
  342. parent_type
  343. FROM
  344. base_supplier_sale
  345. WHERE
  346. product_type = 25 or parent_type = 25 and cancel_flag = 0
  347. GROUP BY
  348. supplier_id
  349. 2016-12-11 15:58:21 select base_supplier:SELECT
  350. id,
  351. supplier_name,
  352. area_id,
  353. is_disabled,
  354. supplier_type,
  355. manage_type
  356. FROM
  357. base_supplier
  358. WHERE
  359. cancel_flag = 0
  360. and supplier_name like '%%途牛%%' and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022) and supplier_name like '%%途牛%%'
  361. AND supplier_type = 301
  362. LIMIT 0,10
  363. 2016-12-11 15:58:21 select base_area:SELECT
  364. id,
  365. area_name
  366. FROM
  367. base_area
  368. WHERE
  369. id in(810)
  370. 2016-12-11 15:58:36 select base_area:SELECT
  371. id,
  372. area_name
  373. FROM
  374. base_area
  375. WHERE
  376. parent_id = 0
  377. 2016-12-11 15:58:36 select base_area:SELECT
  378. id,
  379. area_name
  380. FROM
  381. base_area
  382. WHERE
  383. parent_id = 1
  384. 2016-12-11 15:58:36 select base_supplier:SELECT
  385. id,
  386. supplier_name,
  387. area_id,
  388. manage_type,
  389. company_name,
  390. id_card,
  391. sett_type,
  392. sett_frequency,
  393. account_bank,
  394. account_num,
  395. account_name,
  396. sales_man
  397. FROM
  398. base_supplier
  399. WHERE
  400. cancel_flag = 0
  401. AND id = 1022
  402. 2016-12-11 15:58:36 select base_area:SELECT
  403. id,
  404. area_name,
  405. parent_id
  406. FROM
  407. base_area
  408. WHERE
  409. cancel_flag = 0
  410. AND id = 810
  411. 2016-12-11 15:58:36 select base_area:SELECT
  412. id,
  413. area_name
  414. FROM
  415. base_area
  416. WHERE
  417. cancel_flag = 0
  418. AND id = 809
  419. 2016-12-11 15:58:36 select base_supplier_sale:SELECT
  420. id,
  421. prod_supplier_id,
  422. product_type,
  423. parent_type,
  424. sale_type,
  425. commision_flag,
  426. commision_type,
  427. back_commision_type,
  428. back_commision_method,
  429. back_percent,
  430. back_value
  431. FROM
  432. base_supplier_sale
  433. WHERE
  434. cancel_flag = 0
  435. AND supplier_id = 1022
  436. 2016-12-11 15:58:36 select base_supplier_link:SELECT
  437. id,
  438. link_name,
  439. contact_name,
  440. contact_mobile,
  441. contact_telphone,
  442. fax,
  443. email,
  444. remark
  445. FROM
  446. base_supplier_link
  447. WHERE
  448. cancel_flag = 0
  449. AND supplier_id = 1022
  450. 2016-12-11 15:58:36 select base_area:SELECT
  451. id,
  452. area_name
  453. FROM
  454. base_area
  455. WHERE
  456. parent_id = 809
  457. 2016-12-11 15:58:40 check base_supplier:SELECT
  458. supplier_name
  459. FROM
  460. base_supplier
  461. WHERE
  462. cancel_flag = 0
  463. AND supplier_type = 301
  464. AND supplier_name = '南京途牛(线路)' and id != 1022
  465. 2016-12-11 15:58:43 getDbSale base_supplier_sale:SELECT
  466. id AS sale_id,
  467. prod_supplier_id,
  468. product_type,
  469. parent_type,
  470. sale_type,
  471. commision_flag,
  472. commision_type,
  473. back_commision_type,
  474. back_commision_method,
  475. back_percent,
  476. back_value
  477. FROM
  478. base_supplier_sale
  479. WHERE
  480. cancel_flag = 0
  481. AND supplier_id = 1022
  482. 2016-12-11 15:58:43 getDbLink base_supplier_link:SELECT
  483. id as link_id,
  484. link_name,
  485. contact_name,
  486. contact_mobile,
  487. contact_telphone,
  488. fax,
  489. email,
  490. remark
  491. FROM
  492. base_supplier_link
  493. WHERE
  494. cancel_flag = 0
  495. AND supplier_id = 1022
  496. 2016-12-11 15:58:43 getDbChannel base_supplier:SELECT
  497. supplier_name,
  498. area_id,
  499. manage_type,
  500. company_name,
  501. id_card,
  502. sett_type,
  503. sett_frequency,
  504. account_bank,
  505. account_num,
  506. account_name,
  507. sales_man
  508. FROM
  509. base_supplier
  510. WHERE
  511. cancel_flag = 0
  512. AND id = 1022
  513. 2016-12-11 15:58:43 UPDATE base_supplier:UPDATE base_supplier
  514. SET update_user_id = 35,update_time = '2016-12-11 15:58:43',supplier_name = '南京途牛(线路)',area_id = '810',manage_type = '1',company_name = '南京途牛国际旅行社有限公司',id_card = '',sett_type = '275',sett_frequency = '295',account_bank = '',account_num = '',account_name = '',sales_man = '王海顺'
  515. WHERE
  516. id = 1022
  517. 2016-12-11 15:58:45 select base_supplier:SELECT
  518. id,
  519. supplier_name,
  520. area_id,
  521. is_disabled,
  522. supplier_type,
  523. manage_type
  524. FROM
  525. base_supplier
  526. WHERE
  527. cancel_flag = 0
  528. AND supplier_type = 301
  529. LIMIT 0,10
  530. 2016-12-11 15:58:45 select base_area:SELECT
  531. id,
  532. area_name
  533. FROM
  534. base_area
  535. WHERE
  536. id in(850,961,800,4,797,7,1966,794)
  537. 2016-12-11 15:58:52 select base_supplier:SELECT
  538. id,
  539. supplier_name,
  540. area_id,
  541. is_disabled,
  542. supplier_type,
  543. manage_type
  544. FROM
  545. base_supplier
  546. WHERE
  547. cancel_flag = 0
  548. and supplier_name like '%%途牛%%'
  549. AND supplier_type = 301
  550. LIMIT 0,10
  551. 2016-12-11 15:58:52 select base_area:SELECT
  552. id,
  553. area_name
  554. FROM
  555. base_area
  556. WHERE
  557. id in(810)