25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10014 lines
396 KiB

  1. 2016-12-27 09:06:50 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. 2016-12-27 09:06:50 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. 2016-12-27 09:06:50 select base_area:SELECT
  25. id,
  26. area_name
  27. FROM
  28. base_area
  29. WHERE
  30. id in(923,803,792,1200,961)
  31. 2016-12-27 09:06:52 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 80,10
  43. 2016-12-27 09:06:52 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. 2016-12-27 09:06:52 select base_area:SELECT
  55. id,
  56. area_name
  57. FROM
  58. base_area
  59. WHERE
  60. id in(842,850,792,803,810,999)
  61. 2016-12-27 09:06:54 select base_supplier:SELECT
  62. id,
  63. supplier_name,
  64. area_id,
  65. is_disabled,
  66. supplier_type
  67. FROM
  68. base_supplier a
  69. WHERE
  70. cancel_flag = 0
  71. AND supplier_type = 187
  72. LIMIT 70,10
  73. 2016-12-27 09:06:54 count:SELECT
  74. a.id
  75. FROM
  76. base_supplier AS a,
  77. base_supplier_purchase AS b
  78. WHERE
  79. a.id = b.supplier_id
  80. AND a.cancel_flag = 0
  81. AND b.cancel_flag = 0
  82. GROUP BY
  83. b.supplier_id
  84. 2016-12-27 09:06:54 select base_area:SELECT
  85. id,
  86. area_name
  87. FROM
  88. base_area
  89. WHERE
  90. id in(803,798,810,800,850,799,796,793)
  91. 2016-12-27 09:07:05 select base_supplier:SELECT
  92. id,
  93. supplier_name,
  94. area_id,
  95. is_disabled,
  96. supplier_type
  97. FROM
  98. base_supplier a
  99. WHERE
  100. cancel_flag = 0
  101. and a.supplier_name like '%%佰廉%%'
  102. AND supplier_type = 187
  103. LIMIT 0,10
  104. 2016-12-27 09:07:07 select base_area:SELECT
  105. id,
  106. area_name
  107. FROM
  108. base_area
  109. WHERE
  110. parent_id = 0
  111. 2016-12-27 09:07:07 select base_area:SELECT
  112. id,
  113. area_name
  114. FROM
  115. base_area
  116. WHERE
  117. parent_id = 1
  118. 2016-12-27 09:07:10 check base_supplier:SELECT
  119. supplier_name
  120. FROM
  121. base_supplier
  122. WHERE
  123. cancel_flag = 0
  124. AND supplier_type = 187
  125. AND supplier_name = '佰廉国旅'
  126. 2016-12-27 09:07:14 select base_area:SELECT
  127. id,
  128. area_name
  129. FROM
  130. base_area
  131. WHERE
  132. parent_id = 922
  133. 2016-12-27 09:07:20 select base_area:SELECT
  134. id,
  135. area_name
  136. FROM
  137. base_area
  138. WHERE
  139. parent_id = 1146
  140. 2016-12-27 09:08:05 INSERT INTO base_supplier:INSERT INTO base_supplier (
  141. create_user_id,
  142. create_time,
  143. supplier_type,
  144. supplier_name,
  145. area_id,
  146. company_name,
  147. is_disabled,
  148. sett_type,
  149. sett_frequency,
  150. account_bank,
  151. account_num,
  152. account_name
  153. )
  154. VALUES
  155. (1,'2016-12-27 09:08:05',187,'佰廉国旅',1161,'厦门佰廉国旅客运有限公司',0,275,295,'','','')
  156. 2016-12-27 09:08:05 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  157. create_user_id,
  158. create_time,
  159. supplier_id,
  160. product_type,
  161. purchaser_name
  162. )
  163. VALUES (1,'2016-12-27 09:08:05',1088,310,'江世伟')
  164. 2016-12-27 09:08:05 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  165. create_user_id,
  166. create_time,
  167. supplier_id,
  168. link_name,
  169. contact_name,
  170. contact_mobile,
  171. contact_telphone,
  172. fax,
  173. email,
  174. remark
  175. )
  176. VALUES (1,'2016-12-27 09:08:05',1088,'负责人','郑佳','13625816476','0571-65039010','','','')
  177. 2016-12-27 09:08:07 select base_supplier:SELECT
  178. id,
  179. supplier_name,
  180. area_id,
  181. is_disabled,
  182. supplier_type
  183. FROM
  184. base_supplier a
  185. WHERE
  186. cancel_flag = 0
  187. AND supplier_type = 187
  188. LIMIT 0,10
  189. 2016-12-27 09:08:07 count:SELECT
  190. a.id
  191. FROM
  192. base_supplier AS a,
  193. base_supplier_purchase AS b
  194. WHERE
  195. a.id = b.supplier_id
  196. AND a.cancel_flag = 0
  197. AND b.cancel_flag = 0
  198. GROUP BY
  199. b.supplier_id
  200. 2016-12-27 09:08:07 select base_area:SELECT
  201. id,
  202. area_name
  203. FROM
  204. base_area
  205. WHERE
  206. id in(923,803,792,1200,961)
  207. 2016-12-27 09:08:11 select base_supplier:SELECT
  208. id,
  209. supplier_name,
  210. area_id,
  211. is_disabled,
  212. supplier_type
  213. FROM
  214. base_supplier a
  215. WHERE
  216. cancel_flag = 0
  217. AND supplier_type = 187
  218. LIMIT 80,10
  219. 2016-12-27 09:08:11 count:SELECT
  220. a.id
  221. FROM
  222. base_supplier AS a,
  223. base_supplier_purchase AS b
  224. WHERE
  225. a.id = b.supplier_id
  226. AND a.cancel_flag = 0
  227. AND b.cancel_flag = 0
  228. GROUP BY
  229. b.supplier_id
  230. 2016-12-27 09:08:11 select base_area:SELECT
  231. id,
  232. area_name
  233. FROM
  234. base_area
  235. WHERE
  236. id in(842,850,792,803,810,999,1161)
  237. 2016-12-27 09:08:14 select base_area:SELECT
  238. id,
  239. area_name
  240. FROM
  241. base_area
  242. WHERE
  243. parent_id = 0
  244. 2016-12-27 09:08:14 select base_area:SELECT
  245. id,
  246. area_name
  247. FROM
  248. base_area
  249. WHERE
  250. parent_id = 1
  251. 2016-12-27 09:08:24 check base_supplier:SELECT
  252. supplier_name
  253. FROM
  254. base_supplier
  255. WHERE
  256. cancel_flag = 0
  257. AND supplier_type = 187
  258. AND supplier_name = '佰廉车队'
  259. 2016-12-27 09:08:31 select base_area:SELECT
  260. id,
  261. area_name
  262. FROM
  263. base_area
  264. WHERE
  265. parent_id = 1146
  266. 2016-12-27 09:09:50 INSERT INTO base_supplier:INSERT INTO base_supplier (
  267. create_user_id,
  268. create_time,
  269. supplier_type,
  270. supplier_name,
  271. area_id,
  272. company_name,
  273. is_disabled,
  274. sett_type,
  275. sett_frequency,
  276. account_bank,
  277. account_num,
  278. account_name
  279. )
  280. VALUES
  281. (1,'2016-12-27 09:09:50',187,'佰廉车队',1161,'厦门佰廉客运有限公司',0,275,295,'','','')
  282. 2016-12-27 09:09:50 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  283. create_user_id,
  284. create_time,
  285. supplier_id,
  286. product_type,
  287. purchaser_name
  288. )
  289. VALUES (1,'2016-12-27 09:09:50',1089,259,'江世伟')
  290. 2016-12-27 09:09:50 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  291. create_user_id,
  292. create_time,
  293. supplier_id,
  294. link_name,
  295. contact_name,
  296. contact_mobile,
  297. contact_telphone,
  298. fax,
  299. email,
  300. remark
  301. )
  302. VALUES (1,'2016-12-27 09:09:50',1089,'车队长','殷法明','13671899997','','','','')
  303. 2016-12-27 09:09:51 select base_supplier:SELECT
  304. id,
  305. supplier_name,
  306. area_id,
  307. is_disabled,
  308. supplier_type
  309. FROM
  310. base_supplier a
  311. WHERE
  312. cancel_flag = 0
  313. AND supplier_type = 187
  314. LIMIT 0,10
  315. 2016-12-27 09:09:51 count:SELECT
  316. a.id
  317. FROM
  318. base_supplier AS a,
  319. base_supplier_purchase AS b
  320. WHERE
  321. a.id = b.supplier_id
  322. AND a.cancel_flag = 0
  323. AND b.cancel_flag = 0
  324. GROUP BY
  325. b.supplier_id
  326. 2016-12-27 09:09:51 select base_area:SELECT
  327. id,
  328. area_name
  329. FROM
  330. base_area
  331. WHERE
  332. id in(923,803,792,1200,961)
  333. 2016-12-27 09:11:56 select base_supplier:SELECT
  334. id,
  335. supplier_name,
  336. area_id,
  337. is_disabled,
  338. supplier_type
  339. FROM
  340. base_supplier a
  341. WHERE
  342. cancel_flag = 0
  343. AND supplier_type = 187
  344. LIMIT 80,10
  345. 2016-12-27 09:11:56 count:SELECT
  346. a.id
  347. FROM
  348. base_supplier AS a,
  349. base_supplier_purchase AS b
  350. WHERE
  351. a.id = b.supplier_id
  352. AND a.cancel_flag = 0
  353. AND b.cancel_flag = 0
  354. GROUP BY
  355. b.supplier_id
  356. 2016-12-27 09:11:56 select base_area:SELECT
  357. id,
  358. area_name
  359. FROM
  360. base_area
  361. WHERE
  362. id in(842,850,792,803,810,999,1161)
  363. 2016-12-27 09:14:34 select base_supplier:SELECT
  364. id,
  365. supplier_name,
  366. area_id,
  367. is_disabled,
  368. supplier_type
  369. FROM
  370. base_supplier a
  371. WHERE
  372. cancel_flag = 0
  373. AND supplier_type = 187
  374. LIMIT 0,10
  375. 2016-12-27 09:14:34 count:SELECT
  376. a.id
  377. FROM
  378. base_supplier AS a,
  379. base_supplier_purchase AS b
  380. WHERE
  381. a.id = b.supplier_id
  382. AND a.cancel_flag = 0
  383. AND b.cancel_flag = 0
  384. GROUP BY
  385. b.supplier_id
  386. 2016-12-27 09:14:34 select base_area:SELECT
  387. id,
  388. area_name
  389. FROM
  390. base_area
  391. WHERE
  392. id in(923,803,792,1200,961)
  393. 2016-12-27 09:14:36 select base_supplier:SELECT
  394. id,
  395. supplier_name,
  396. area_id,
  397. is_disabled,
  398. supplier_type
  399. FROM
  400. base_supplier a
  401. WHERE
  402. cancel_flag = 0
  403. AND supplier_type = 187
  404. LIMIT 80,10
  405. 2016-12-27 09:14:36 count:SELECT
  406. a.id
  407. FROM
  408. base_supplier AS a,
  409. base_supplier_purchase AS b
  410. WHERE
  411. a.id = b.supplier_id
  412. AND a.cancel_flag = 0
  413. AND b.cancel_flag = 0
  414. GROUP BY
  415. b.supplier_id
  416. 2016-12-27 09:14:36 select base_area:SELECT
  417. id,
  418. area_name
  419. FROM
  420. base_area
  421. WHERE
  422. id in(842,850,792,803,810,999,1161)
  423. 2016-12-27 09:17:03 select base_supplier:SELECT
  424. id,
  425. supplier_name,
  426. area_id,
  427. is_disabled,
  428. supplier_type,
  429. manage_type
  430. FROM
  431. base_supplier
  432. WHERE
  433. cancel_flag = 0
  434. AND supplier_type = 301
  435. LIMIT 0,10
  436. 2016-12-27 09:17:03 select base_area:SELECT
  437. id,
  438. area_name
  439. FROM
  440. base_area
  441. WHERE
  442. id in(850,961,800,4,797,7,1966,794)
  443. 2016-12-27 09:17:12 select base_area:SELECT
  444. id,
  445. area_name
  446. FROM
  447. base_area
  448. WHERE
  449. parent_id = 0
  450. 2016-12-27 09:17:12 select base_area:SELECT
  451. id,
  452. area_name
  453. FROM
  454. base_area
  455. WHERE
  456. parent_id = 1
  457. 2016-12-27 09:17:12 select base_supplier:SELECT
  458. id,
  459. supplier_name,
  460. area_id,
  461. manage_type,
  462. company_name,
  463. id_card,
  464. sett_type,
  465. sett_frequency,
  466. account_bank,
  467. account_num,
  468. account_name,
  469. sales_man
  470. FROM
  471. base_supplier
  472. WHERE
  473. cancel_flag = 0
  474. AND id = 587
  475. 2016-12-27 09:17:12 select base_area:SELECT
  476. id,
  477. area_name,
  478. parent_id
  479. FROM
  480. base_area
  481. WHERE
  482. cancel_flag = 0
  483. AND id = 794
  484. 2016-12-27 09:17:12 select base_area:SELECT
  485. id,
  486. area_name
  487. FROM
  488. base_area
  489. WHERE
  490. cancel_flag = 0
  491. AND id = 791
  492. 2016-12-27 09:17:12 select base_supplier_sale:SELECT
  493. id,
  494. prod_supplier_id,
  495. product_type,
  496. parent_type,
  497. sale_type,
  498. commision_flag,
  499. commision_type,
  500. back_commision_type,
  501. back_commision_method,
  502. back_percent,
  503. back_value
  504. FROM
  505. base_supplier_sale
  506. WHERE
  507. cancel_flag = 0
  508. AND supplier_id = 587
  509. 2016-12-27 09:17:12 select base_supplier_link:SELECT
  510. id,
  511. link_name,
  512. contact_name,
  513. contact_mobile,
  514. contact_telphone,
  515. fax,
  516. email,
  517. remark
  518. FROM
  519. base_supplier_link
  520. WHERE
  521. cancel_flag = 0
  522. AND supplier_id = 587
  523. 2016-12-27 09:17:12 select base_area:SELECT
  524. id,
  525. area_name
  526. FROM
  527. base_area
  528. WHERE
  529. parent_id = 791
  530. 2016-12-27 09:17:45 getDbSale base_supplier_sale:SELECT
  531. id AS sale_id,
  532. prod_supplier_id,
  533. product_type,
  534. parent_type,
  535. sale_type,
  536. commision_flag,
  537. commision_type,
  538. back_commision_type,
  539. back_commision_method,
  540. back_percent,
  541. back_value
  542. FROM
  543. base_supplier_sale
  544. WHERE
  545. cancel_flag = 0
  546. AND supplier_id = 587
  547. 2016-12-27 09:17:45 getDbLink base_supplier_link:SELECT
  548. id as link_id,
  549. link_name,
  550. contact_name,
  551. contact_mobile,
  552. contact_telphone,
  553. fax,
  554. email,
  555. remark
  556. FROM
  557. base_supplier_link
  558. WHERE
  559. cancel_flag = 0
  560. AND supplier_id = 587
  561. 2016-12-27 09:17:45 getDbChannel base_supplier:SELECT
  562. supplier_name,
  563. area_id,
  564. manage_type,
  565. company_name,
  566. id_card,
  567. sett_type,
  568. sett_frequency,
  569. account_bank,
  570. account_num,
  571. account_name,
  572. sales_man
  573. FROM
  574. base_supplier
  575. WHERE
  576. cancel_flag = 0
  577. AND id = 587
  578. 2016-12-27 09:17:45 UPDATE base_supplier:UPDATE base_supplier
  579. SET update_user_id = 1,update_time = '2016-12-27 09:17:45',supplier_name = '携程汽车票',area_id = '794',manage_type = '1',company_name = '上海极途信息技术有限公司',id_card = '',sett_type = '275',sett_frequency = '295',account_bank = '',account_num = '',account_name = '',sales_man = '晏雁'
  580. WHERE
  581. id = 587
  582. 2016-12-27 09:17:45 UPDATE base_supplier_sale:UPDATE base_supplier_sale
  583. SET update_user_id = 1,update_time = '2016-12-27 09:17:45',prod_supplier_id = '0',product_type = '0',parent_type = '310',sale_type = '277',commision_flag = '1',commision_type = '303',back_commision_type = '306',back_commision_method = '308',back_percent = '8.00',back_value = '0'
  584. WHERE
  585. id = 13
  586. 2016-12-27 09:17:46 select base_supplier:SELECT
  587. id,
  588. supplier_name,
  589. area_id,
  590. is_disabled,
  591. supplier_type,
  592. manage_type
  593. FROM
  594. base_supplier
  595. WHERE
  596. cancel_flag = 0
  597. AND supplier_type = 301
  598. LIMIT 0,10
  599. 2016-12-27 09:17:46 select base_area:SELECT
  600. id,
  601. area_name
  602. FROM
  603. base_area
  604. WHERE
  605. id in(850,961,800,4,797,7,1966,794)
  606. 2016-12-27 09:19:36 select base_supplier:SELECT
  607. id,
  608. supplier_name,
  609. area_id,
  610. is_disabled,
  611. supplier_type,
  612. manage_type
  613. FROM
  614. base_supplier
  615. WHERE
  616. cancel_flag = 0
  617. AND supplier_type = 301
  618. LIMIT 0,10
  619. 2016-12-27 09:19:36 select base_area:SELECT
  620. id,
  621. area_name
  622. FROM
  623. base_area
  624. WHERE
  625. id in(794,850,961,800,4,797,7,1966)
  626. 2016-12-27 09:19:40 select base_area:SELECT
  627. id,
  628. area_name
  629. FROM
  630. base_area
  631. WHERE
  632. parent_id = 0
  633. 2016-12-27 09:19:40 select base_area:SELECT
  634. id,
  635. area_name
  636. FROM
  637. base_area
  638. WHERE
  639. parent_id = 1
  640. 2016-12-27 09:19:40 select base_supplier:SELECT
  641. id,
  642. supplier_name,
  643. area_id,
  644. manage_type,
  645. company_name,
  646. id_card,
  647. sett_type,
  648. sett_frequency,
  649. account_bank,
  650. account_num,
  651. account_name,
  652. sales_man
  653. FROM
  654. base_supplier
  655. WHERE
  656. cancel_flag = 0
  657. AND id = 17
  658. 2016-12-27 09:19:40 select base_area:SELECT
  659. id,
  660. area_name,
  661. parent_id
  662. FROM
  663. base_area
  664. WHERE
  665. cancel_flag = 0
  666. AND id = 794
  667. 2016-12-27 09:19:40 select base_area:SELECT
  668. id,
  669. area_name
  670. FROM
  671. base_area
  672. WHERE
  673. cancel_flag = 0
  674. AND id = 791
  675. 2016-12-27 09:19:40 select base_supplier_sale:SELECT
  676. id,
  677. prod_supplier_id,
  678. product_type,
  679. parent_type,
  680. sale_type,
  681. commision_flag,
  682. commision_type,
  683. back_commision_type,
  684. back_commision_method,
  685. back_percent,
  686. back_value
  687. FROM
  688. base_supplier_sale
  689. WHERE
  690. cancel_flag = 0
  691. AND supplier_id = 17
  692. 2016-12-27 09:19:40 select base_supplier_link:SELECT
  693. id,
  694. link_name,
  695. contact_name,
  696. contact_mobile,
  697. contact_telphone,
  698. fax,
  699. email,
  700. remark
  701. FROM
  702. base_supplier_link
  703. WHERE
  704. cancel_flag = 0
  705. AND supplier_id = 17
  706. 2016-12-27 09:19:40 select base_area:SELECT
  707. id,
  708. area_name
  709. FROM
  710. base_area
  711. WHERE
  712. parent_id = 791
  713. 2016-12-27 09:19:47 select base_supplier:SELECT
  714. id,
  715. supplier_name,
  716. area_id,
  717. is_disabled,
  718. supplier_type,
  719. manage_type
  720. FROM
  721. base_supplier
  722. WHERE
  723. cancel_flag = 0
  724. AND supplier_type = 301
  725. LIMIT 0,10
  726. 2016-12-27 09:19:47 select base_area:SELECT
  727. id,
  728. area_name
  729. FROM
  730. base_area
  731. WHERE
  732. id in(794,850,961,800,4,797,7,1966)
  733. 2016-12-27 09:21:11 select base_supplier:SELECT
  734. id,
  735. supplier_name,
  736. area_id,
  737. is_disabled,
  738. supplier_type,
  739. manage_type
  740. FROM
  741. base_supplier
  742. WHERE
  743. cancel_flag = 0
  744. AND supplier_type = 301
  745. LIMIT 0,10
  746. 2016-12-27 09:21:11 select base_area:SELECT
  747. id,
  748. area_name
  749. FROM
  750. base_area
  751. WHERE
  752. id in(794,850,4,961,800,797,7,1966)
  753. 2016-12-27 09:21:14 select base_area:SELECT
  754. id,
  755. area_name
  756. FROM
  757. base_area
  758. WHERE
  759. parent_id = 0
  760. 2016-12-27 09:21:14 select base_area:SELECT
  761. id,
  762. area_name
  763. FROM
  764. base_area
  765. WHERE
  766. parent_id = 1
  767. 2016-12-27 09:21:14 select base_supplier:SELECT
  768. id,
  769. supplier_name,
  770. area_id,
  771. manage_type,
  772. company_name,
  773. id_card,
  774. sett_type,
  775. sett_frequency,
  776. account_bank,
  777. account_num,
  778. account_name,
  779. sales_man
  780. FROM
  781. base_supplier
  782. WHERE
  783. cancel_flag = 0
  784. AND id = 128
  785. 2016-12-27 09:21:14 select base_area:SELECT
  786. id,
  787. area_name,
  788. parent_id
  789. FROM
  790. base_area
  791. WHERE
  792. cancel_flag = 0
  793. AND id = 4
  794. 2016-12-27 09:21:14 select base_area:SELECT
  795. id,
  796. area_name
  797. FROM
  798. base_area
  799. WHERE
  800. cancel_flag = 0
  801. AND id = 1
  802. 2016-12-27 09:21:14 select base_supplier_sale:SELECT
  803. id,
  804. prod_supplier_id,
  805. product_type,
  806. parent_type,
  807. sale_type,
  808. commision_flag,
  809. commision_type,
  810. back_commision_type,
  811. back_commision_method,
  812. back_percent,
  813. back_value
  814. FROM
  815. base_supplier_sale
  816. WHERE
  817. cancel_flag = 0
  818. AND supplier_id = 128
  819. 2016-12-27 09:21:14 select base_supplier_link:SELECT
  820. id,
  821. link_name,
  822. contact_name,
  823. contact_mobile,
  824. contact_telphone,
  825. fax,
  826. email,
  827. remark
  828. FROM
  829. base_supplier_link
  830. WHERE
  831. cancel_flag = 0
  832. AND supplier_id = 128
  833. 2016-12-27 09:21:14 select base_area:SELECT
  834. id,
  835. area_name
  836. FROM
  837. base_area
  838. WHERE
  839. parent_id = 1
  840. 2016-12-27 09:23:00 select base_area:SELECT
  841. id,
  842. area_name
  843. FROM
  844. base_area
  845. WHERE
  846. parent_id = 0
  847. 2016-12-27 09:23:00 select base_area:SELECT
  848. id,
  849. area_name
  850. FROM
  851. base_area
  852. WHERE
  853. parent_id = 1
  854. 2016-12-27 09:23:00 select base_supplier:SELECT
  855. id,
  856. supplier_name,
  857. area_id,
  858. manage_type,
  859. company_name,
  860. id_card,
  861. sett_type,
  862. sett_frequency,
  863. account_bank,
  864. account_num,
  865. account_name,
  866. sales_man
  867. FROM
  868. base_supplier
  869. WHERE
  870. cancel_flag = 0
  871. AND id = 508
  872. 2016-12-27 09:23:05 select base_supplier:SELECT
  873. id,
  874. supplier_name,
  875. area_id,
  876. is_disabled,
  877. supplier_type,
  878. manage_type
  879. FROM
  880. base_supplier
  881. WHERE
  882. cancel_flag = 0
  883. AND supplier_type = 301
  884. LIMIT 0,10
  885. 2016-12-27 09:23:05 select base_area:SELECT
  886. id,
  887. area_name
  888. FROM
  889. base_area
  890. WHERE
  891. id in(794,850,4,961,800,797,7,1966)
  892. 2016-12-27 09:23:09 select base_area:SELECT
  893. id,
  894. area_name
  895. FROM
  896. base_area
  897. WHERE
  898. parent_id = 0
  899. 2016-12-27 09:23:09 select base_area:SELECT
  900. id,
  901. area_name
  902. FROM
  903. base_area
  904. WHERE
  905. parent_id = 1
  906. 2016-12-27 09:23:09 select base_supplier:SELECT
  907. id,
  908. supplier_name,
  909. area_id,
  910. manage_type,
  911. company_name,
  912. id_card,
  913. sett_type,
  914. sett_frequency,
  915. account_bank,
  916. account_num,
  917. account_name,
  918. sales_man
  919. FROM
  920. base_supplier
  921. WHERE
  922. cancel_flag = 0
  923. AND id = 128
  924. 2016-12-27 09:23:09 select base_area:SELECT
  925. id,
  926. area_name,
  927. parent_id
  928. FROM
  929. base_area
  930. WHERE
  931. cancel_flag = 0
  932. AND id = 4
  933. 2016-12-27 09:23:09 select base_area:SELECT
  934. id,
  935. area_name
  936. FROM
  937. base_area
  938. WHERE
  939. cancel_flag = 0
  940. AND id = 1
  941. 2016-12-27 09:23:09 select base_supplier_sale:SELECT
  942. id,
  943. prod_supplier_id,
  944. product_type,
  945. parent_type,
  946. sale_type,
  947. commision_flag,
  948. commision_type,
  949. back_commision_type,
  950. back_commision_method,
  951. back_percent,
  952. back_value
  953. FROM
  954. base_supplier_sale
  955. WHERE
  956. cancel_flag = 0
  957. AND supplier_id = 128
  958. 2016-12-27 09:23:09 select base_supplier_link:SELECT
  959. id,
  960. link_name,
  961. contact_name,
  962. contact_mobile,
  963. contact_telphone,
  964. fax,
  965. email,
  966. remark
  967. FROM
  968. base_supplier_link
  969. WHERE
  970. cancel_flag = 0
  971. AND supplier_id = 128
  972. 2016-12-27 09:23:09 select base_area:SELECT
  973. id,
  974. area_name
  975. FROM
  976. base_area
  977. WHERE
  978. parent_id = 1
  979. 2016-12-27 09:23:13 select base_area:SELECT
  980. id,
  981. area_name
  982. FROM
  983. base_area
  984. WHERE
  985. parent_id = 0
  986. 2016-12-27 09:23:13 select base_area:SELECT
  987. id,
  988. area_name
  989. FROM
  990. base_area
  991. WHERE
  992. parent_id = 1
  993. 2016-12-27 09:23:13 select base_supplier:SELECT
  994. id,
  995. supplier_name,
  996. area_id,
  997. manage_type,
  998. company_name,
  999. id_card,
  1000. sett_type,
  1001. sett_frequency,
  1002. account_bank,
  1003. account_num,
  1004. account_name,
  1005. sales_man
  1006. FROM
  1007. base_supplier
  1008. WHERE
  1009. cancel_flag = 0
  1010. AND id = 510
  1011. 2016-12-27 09:23:13 select base_area:SELECT
  1012. id,
  1013. area_name,
  1014. parent_id
  1015. FROM
  1016. base_area
  1017. WHERE
  1018. cancel_flag = 0
  1019. AND id = 7
  1020. 2016-12-27 09:23:13 select base_area:SELECT
  1021. id,
  1022. area_name
  1023. FROM
  1024. base_area
  1025. WHERE
  1026. cancel_flag = 0
  1027. AND id = 1
  1028. 2016-12-27 09:23:13 select base_supplier_sale:SELECT
  1029. id,
  1030. prod_supplier_id,
  1031. product_type,
  1032. parent_type,
  1033. sale_type,
  1034. commision_flag,
  1035. commision_type,
  1036. back_commision_type,
  1037. back_commision_method,
  1038. back_percent,
  1039. back_value
  1040. FROM
  1041. base_supplier_sale
  1042. WHERE
  1043. cancel_flag = 0
  1044. AND supplier_id = 510
  1045. 2016-12-27 09:23:13 select base_supplier_link:SELECT
  1046. id,
  1047. link_name,
  1048. contact_name,
  1049. contact_mobile,
  1050. contact_telphone,
  1051. fax,
  1052. email,
  1053. remark
  1054. FROM
  1055. base_supplier_link
  1056. WHERE
  1057. cancel_flag = 0
  1058. AND supplier_id = 510
  1059. 2016-12-27 09:23:13 select base_area:SELECT
  1060. id,
  1061. area_name
  1062. FROM
  1063. base_area
  1064. WHERE
  1065. parent_id = 1
  1066. 2016-12-27 09:24:02 select base_supplier:SELECT
  1067. id,
  1068. supplier_name,
  1069. area_id,
  1070. is_disabled,
  1071. supplier_type,
  1072. manage_type
  1073. FROM
  1074. base_supplier
  1075. WHERE
  1076. cancel_flag = 0
  1077. AND supplier_type = 301
  1078. LIMIT 0,10
  1079. 2016-12-27 09:24:02 select base_area:SELECT
  1080. id,
  1081. area_name
  1082. FROM
  1083. base_area
  1084. WHERE
  1085. id in(794,7,850,4,961,800,797,1966)
  1086. 2016-12-27 09:24:06 select base_area:SELECT
  1087. id,
  1088. area_name
  1089. FROM
  1090. base_area
  1091. WHERE
  1092. parent_id = 0
  1093. 2016-12-27 09:24:06 select base_area:SELECT
  1094. id,
  1095. area_name
  1096. FROM
  1097. base_area
  1098. WHERE
  1099. parent_id = 1
  1100. 2016-12-27 09:24:06 select base_supplier:SELECT
  1101. id,
  1102. supplier_name,
  1103. area_id,
  1104. manage_type,
  1105. company_name,
  1106. id_card,
  1107. sett_type,
  1108. sett_frequency,
  1109. account_bank,
  1110. account_num,
  1111. account_name,
  1112. sales_man
  1113. FROM
  1114. base_supplier
  1115. WHERE
  1116. cancel_flag = 0
  1117. AND id = 28
  1118. 2016-12-27 09:24:06 select base_area:SELECT
  1119. id,
  1120. area_name,
  1121. parent_id
  1122. FROM
  1123. base_area
  1124. WHERE
  1125. cancel_flag = 0
  1126. AND id = 7
  1127. 2016-12-27 09:24:06 select base_area:SELECT
  1128. id,
  1129. area_name
  1130. FROM
  1131. base_area
  1132. WHERE
  1133. cancel_flag = 0
  1134. AND id = 1
  1135. 2016-12-27 09:24:06 select base_supplier_sale:SELECT
  1136. id,
  1137. prod_supplier_id,
  1138. product_type,
  1139. parent_type,
  1140. sale_type,
  1141. commision_flag,
  1142. commision_type,
  1143. back_commision_type,
  1144. back_commision_method,
  1145. back_percent,
  1146. back_value
  1147. FROM
  1148. base_supplier_sale
  1149. WHERE
  1150. cancel_flag = 0
  1151. AND supplier_id = 28
  1152. 2016-12-27 09:24:06 select base_supplier_link:SELECT
  1153. id,
  1154. link_name,
  1155. contact_name,
  1156. contact_mobile,
  1157. contact_telphone,
  1158. fax,
  1159. email,
  1160. remark
  1161. FROM
  1162. base_supplier_link
  1163. WHERE
  1164. cancel_flag = 0
  1165. AND supplier_id = 28
  1166. 2016-12-27 09:24:06 select base_area:SELECT
  1167. id,
  1168. area_name
  1169. FROM
  1170. base_area
  1171. WHERE
  1172. parent_id = 1
  1173. 2016-12-27 09:24:49 select base_supplier:SELECT
  1174. id,
  1175. supplier_name,
  1176. area_id,
  1177. is_disabled,
  1178. supplier_type,
  1179. manage_type
  1180. FROM
  1181. base_supplier
  1182. WHERE
  1183. cancel_flag = 0
  1184. AND supplier_type = 301
  1185. LIMIT 0,10
  1186. 2016-12-27 09:24:49 select base_area:SELECT
  1187. id,
  1188. area_name
  1189. FROM
  1190. base_area
  1191. WHERE
  1192. id in(797,794,7,850,4,961,800,1966)
  1193. 2016-12-27 09:24:54 select base_area:SELECT
  1194. id,
  1195. area_name
  1196. FROM
  1197. base_area
  1198. WHERE
  1199. parent_id = 0
  1200. 2016-12-27 09:24:54 select base_area:SELECT
  1201. id,
  1202. area_name
  1203. FROM
  1204. base_area
  1205. WHERE
  1206. parent_id = 1
  1207. 2016-12-27 09:24:54 select base_supplier:SELECT
  1208. id,
  1209. supplier_name,
  1210. area_id,
  1211. manage_type,
  1212. company_name,
  1213. id_card,
  1214. sett_type,
  1215. sett_frequency,
  1216. account_bank,
  1217. account_num,
  1218. account_name,
  1219. sales_man
  1220. FROM
  1221. base_supplier
  1222. WHERE
  1223. cancel_flag = 0
  1224. AND id = 12
  1225. 2016-12-27 09:24:54 select base_area:SELECT
  1226. id,
  1227. area_name,
  1228. parent_id
  1229. FROM
  1230. base_area
  1231. WHERE
  1232. cancel_flag = 0
  1233. AND id = 797
  1234. 2016-12-27 09:24:54 select base_area:SELECT
  1235. id,
  1236. area_name
  1237. FROM
  1238. base_area
  1239. WHERE
  1240. cancel_flag = 0
  1241. AND id = 791
  1242. 2016-12-27 09:24:54 select base_supplier_sale:SELECT
  1243. id,
  1244. prod_supplier_id,
  1245. product_type,
  1246. parent_type,
  1247. sale_type,
  1248. commision_flag,
  1249. commision_type,
  1250. back_commision_type,
  1251. back_commision_method,
  1252. back_percent,
  1253. back_value
  1254. FROM
  1255. base_supplier_sale
  1256. WHERE
  1257. cancel_flag = 0
  1258. AND supplier_id = 12
  1259. 2016-12-27 09:24:54 select base_supplier_link:SELECT
  1260. id,
  1261. link_name,
  1262. contact_name,
  1263. contact_mobile,
  1264. contact_telphone,
  1265. fax,
  1266. email,
  1267. remark
  1268. FROM
  1269. base_supplier_link
  1270. WHERE
  1271. cancel_flag = 0
  1272. AND supplier_id = 12
  1273. 2016-12-27 09:24:54 select base_area:SELECT
  1274. id,
  1275. area_name
  1276. FROM
  1277. base_area
  1278. WHERE
  1279. parent_id = 791
  1280. 2016-12-27 09:28:43 select base_supplier:SELECT
  1281. id,
  1282. supplier_name,
  1283. area_id,
  1284. is_disabled,
  1285. supplier_type,
  1286. manage_type
  1287. FROM
  1288. base_supplier
  1289. WHERE
  1290. cancel_flag = 0
  1291. AND supplier_type = 301
  1292. LIMIT 0,10
  1293. 2016-12-27 09:28:43 select base_area:SELECT
  1294. id,
  1295. area_name
  1296. FROM
  1297. base_area
  1298. WHERE
  1299. id in(797,794,7,850,4,961,800,1966)
  1300. 2016-12-27 09:29:02 select base_supplier:SELECT
  1301. id,
  1302. supplier_name,
  1303. area_id,
  1304. is_disabled,
  1305. supplier_type
  1306. FROM
  1307. base_supplier a
  1308. WHERE
  1309. cancel_flag = 0
  1310. AND supplier_type = 187
  1311. LIMIT 0,10
  1312. 2016-12-27 09:29:02 count:SELECT
  1313. a.id
  1314. FROM
  1315. base_supplier AS a,
  1316. base_supplier_purchase AS b
  1317. WHERE
  1318. a.id = b.supplier_id
  1319. AND a.cancel_flag = 0
  1320. AND b.cancel_flag = 0
  1321. GROUP BY
  1322. b.supplier_id
  1323. 2016-12-27 09:29:02 select base_area:SELECT
  1324. id,
  1325. area_name
  1326. FROM
  1327. base_area
  1328. WHERE
  1329. id in(923,803,792,1200,961)
  1330. 2016-12-27 09:33:07 select base_supplier:SELECT
  1331. id,
  1332. supplier_name,
  1333. area_id,
  1334. is_disabled,
  1335. supplier_type
  1336. FROM
  1337. base_supplier a
  1338. WHERE
  1339. cancel_flag = 0
  1340. AND supplier_type = 187
  1341. LIMIT 0,10
  1342. 2016-12-27 09:33:07 count:SELECT
  1343. a.id
  1344. FROM
  1345. base_supplier AS a,
  1346. base_supplier_purchase AS b
  1347. WHERE
  1348. a.id = b.supplier_id
  1349. AND a.cancel_flag = 0
  1350. AND b.cancel_flag = 0
  1351. GROUP BY
  1352. b.supplier_id
  1353. 2016-12-27 09:33:07 select base_area:SELECT
  1354. id,
  1355. area_name
  1356. FROM
  1357. base_area
  1358. WHERE
  1359. id in(923,803,792,1200,961)
  1360. 2016-12-27 09:33:13 select base_supplier:SELECT
  1361. id,
  1362. supplier_name,
  1363. area_id,
  1364. is_disabled,
  1365. supplier_type,
  1366. manage_type
  1367. FROM
  1368. base_supplier
  1369. WHERE
  1370. cancel_flag = 0
  1371. AND supplier_type = 301
  1372. LIMIT 0,10
  1373. 2016-12-27 09:33:13 select base_area:SELECT
  1374. id,
  1375. area_name
  1376. FROM
  1377. base_area
  1378. WHERE
  1379. id in(797,794,1966,7,850,4,961,800)
  1380. 2016-12-27 09:34:07 select base_supplier:SELECT
  1381. id,
  1382. supplier_name,
  1383. area_id,
  1384. is_disabled,
  1385. supplier_type,
  1386. manage_type
  1387. FROM
  1388. base_supplier
  1389. WHERE
  1390. cancel_flag = 0
  1391. AND supplier_type = 301
  1392. LIMIT 0,10
  1393. 2016-12-27 09:34:07 select base_area:SELECT
  1394. id,
  1395. area_name
  1396. FROM
  1397. base_area
  1398. WHERE
  1399. id in(794,797,1966,7,850,4,961,800)
  1400. 2016-12-27 09:34:10 select base_area:SELECT
  1401. id,
  1402. area_name
  1403. FROM
  1404. base_area
  1405. WHERE
  1406. parent_id = 0
  1407. 2016-12-27 09:34:10 select base_area:SELECT
  1408. id,
  1409. area_name
  1410. FROM
  1411. base_area
  1412. WHERE
  1413. parent_id = 1
  1414. 2016-12-27 09:34:10 select base_supplier:SELECT
  1415. id,
  1416. supplier_name,
  1417. area_id,
  1418. manage_type,
  1419. company_name,
  1420. id_card,
  1421. sett_type,
  1422. sett_frequency,
  1423. account_bank,
  1424. account_num,
  1425. account_name,
  1426. sales_man
  1427. FROM
  1428. base_supplier
  1429. WHERE
  1430. cancel_flag = 0
  1431. AND id = 6
  1432. 2016-12-27 09:34:10 select base_area:SELECT
  1433. id,
  1434. area_name,
  1435. parent_id
  1436. FROM
  1437. base_area
  1438. WHERE
  1439. cancel_flag = 0
  1440. AND id = 794
  1441. 2016-12-27 09:34:10 select base_area:SELECT
  1442. id,
  1443. area_name
  1444. FROM
  1445. base_area
  1446. WHERE
  1447. cancel_flag = 0
  1448. AND id = 791
  1449. 2016-12-27 09:34:10 select base_supplier_sale:SELECT
  1450. id,
  1451. prod_supplier_id,
  1452. product_type,
  1453. parent_type,
  1454. sale_type,
  1455. commision_flag,
  1456. commision_type,
  1457. back_commision_type,
  1458. back_commision_method,
  1459. back_percent,
  1460. back_value
  1461. FROM
  1462. base_supplier_sale
  1463. WHERE
  1464. cancel_flag = 0
  1465. AND supplier_id = 6
  1466. 2016-12-27 09:34:10 select base_supplier_link:SELECT
  1467. id,
  1468. link_name,
  1469. contact_name,
  1470. contact_mobile,
  1471. contact_telphone,
  1472. fax,
  1473. email,
  1474. remark
  1475. FROM
  1476. base_supplier_link
  1477. WHERE
  1478. cancel_flag = 0
  1479. AND supplier_id = 6
  1480. 2016-12-27 09:34:10 select base_area:SELECT
  1481. id,
  1482. area_name
  1483. FROM
  1484. base_area
  1485. WHERE
  1486. parent_id = 791
  1487. 2016-12-27 09:34:56 select base_supplier:SELECT
  1488. id,
  1489. supplier_name,
  1490. area_id,
  1491. is_disabled,
  1492. supplier_type,
  1493. manage_type
  1494. FROM
  1495. base_supplier
  1496. WHERE
  1497. cancel_flag = 0
  1498. AND supplier_type = 301
  1499. LIMIT 0,10
  1500. 2016-12-27 09:34:56 select base_area:SELECT
  1501. id,
  1502. area_name
  1503. FROM
  1504. base_area
  1505. WHERE
  1506. id in(794,797,1966,7,850,4,961,800)
  1507. 2016-12-27 09:35:43 select base_supplier:SELECT
  1508. id,
  1509. supplier_name,
  1510. area_id,
  1511. is_disabled,
  1512. supplier_type
  1513. FROM
  1514. base_supplier a
  1515. WHERE
  1516. cancel_flag = 0
  1517. AND supplier_type = 187
  1518. LIMIT 0,10
  1519. 2016-12-27 09:35:43 count:SELECT
  1520. a.id
  1521. FROM
  1522. base_supplier AS a,
  1523. base_supplier_purchase AS b
  1524. WHERE
  1525. a.id = b.supplier_id
  1526. AND a.cancel_flag = 0
  1527. AND b.cancel_flag = 0
  1528. GROUP BY
  1529. b.supplier_id
  1530. 2016-12-27 09:35:43 select base_area:SELECT
  1531. id,
  1532. area_name
  1533. FROM
  1534. base_area
  1535. WHERE
  1536. id in(923,803,792,1200,961)
  1537. 2016-12-27 09:39:07 select base_supplier:SELECT
  1538. id,
  1539. supplier_name,
  1540. area_id,
  1541. is_disabled,
  1542. supplier_type,
  1543. manage_type
  1544. FROM
  1545. base_supplier
  1546. WHERE
  1547. cancel_flag = 0
  1548. AND supplier_type = 301
  1549. LIMIT 0,10
  1550. 2016-12-27 09:39:07 select base_area:SELECT
  1551. id,
  1552. area_name
  1553. FROM
  1554. base_area
  1555. WHERE
  1556. id in(794,797,1966,7,850,810,4)
  1557. 2016-12-27 09:39:09 select base_supplier:SELECT
  1558. id,
  1559. supplier_name,
  1560. area_id,
  1561. is_disabled,
  1562. supplier_type,
  1563. manage_type
  1564. FROM
  1565. base_supplier
  1566. WHERE
  1567. cancel_flag = 0
  1568. AND supplier_type = 301
  1569. LIMIT 0,10
  1570. 2016-12-27 09:39:09 select base_area:SELECT
  1571. id,
  1572. area_name
  1573. FROM
  1574. base_area
  1575. WHERE
  1576. id in(794,797,1966,7,850,810,4)
  1577. 2016-12-27 09:39:10 select base_supplier:SELECT
  1578. id,
  1579. supplier_name,
  1580. area_id,
  1581. is_disabled,
  1582. supplier_type,
  1583. manage_type
  1584. FROM
  1585. base_supplier
  1586. WHERE
  1587. cancel_flag = 0
  1588. AND supplier_type = 301
  1589. LIMIT 0,10
  1590. 2016-12-27 09:39:10 select base_area:SELECT
  1591. id,
  1592. area_name
  1593. FROM
  1594. base_area
  1595. WHERE
  1596. id in(794,797,1966,7,850,810,4)
  1597. 2016-12-27 09:39:11 select base_supplier:SELECT
  1598. id,
  1599. supplier_name,
  1600. area_id,
  1601. is_disabled,
  1602. supplier_type,
  1603. manage_type
  1604. FROM
  1605. base_supplier
  1606. WHERE
  1607. cancel_flag = 0
  1608. AND supplier_type = 301
  1609. LIMIT 0,10
  1610. 2016-12-27 09:39:11 select base_area:SELECT
  1611. id,
  1612. area_name
  1613. FROM
  1614. base_area
  1615. WHERE
  1616. id in(794,797,1966,7,850,810,4)
  1617. 2016-12-27 09:51:32 select base_supplier:SELECT
  1618. id,
  1619. supplier_name,
  1620. area_id,
  1621. is_disabled,
  1622. supplier_type,
  1623. manage_type
  1624. FROM
  1625. base_supplier
  1626. WHERE
  1627. cancel_flag = 0
  1628. AND supplier_type = 301
  1629. LIMIT 0,10
  1630. 2016-12-27 09:51:32 select base_area:SELECT
  1631. id,
  1632. area_name
  1633. FROM
  1634. base_area
  1635. WHERE
  1636. id in(810,794,797,1966,7,850,4)
  1637. 2016-12-27 10:07:10 select base_supplier:SELECT
  1638. id,
  1639. supplier_name,
  1640. area_id,
  1641. is_disabled,
  1642. supplier_type,
  1643. manage_type
  1644. FROM
  1645. base_supplier
  1646. WHERE
  1647. cancel_flag = 0
  1648. AND supplier_type = 301
  1649. LIMIT 0,10
  1650. 2016-12-27 10:07:10 select base_area:SELECT
  1651. id,
  1652. area_name
  1653. FROM
  1654. base_area
  1655. WHERE
  1656. id in(810,794,850,797,1966,2,7)
  1657. 2016-12-27 10:07:22 select base_supplier:SELECT
  1658. id,
  1659. supplier_name,
  1660. area_id,
  1661. is_disabled,
  1662. supplier_type,
  1663. manage_type
  1664. FROM
  1665. base_supplier
  1666. WHERE
  1667. cancel_flag = 0
  1668. AND supplier_type = 301
  1669. LIMIT 0,10
  1670. 2016-12-27 10:07:22 select base_area:SELECT
  1671. id,
  1672. area_name
  1673. FROM
  1674. base_area
  1675. WHERE
  1676. id in(810,794,850,797,1966,2,7)
  1677. 2016-12-27 10:07:23 select base_supplier:SELECT
  1678. id,
  1679. supplier_name,
  1680. area_id,
  1681. is_disabled,
  1682. supplier_type,
  1683. manage_type
  1684. FROM
  1685. base_supplier
  1686. WHERE
  1687. cancel_flag = 0
  1688. AND supplier_type = 301
  1689. LIMIT 0,10
  1690. 2016-12-27 10:07:23 select base_area:SELECT
  1691. id,
  1692. area_name
  1693. FROM
  1694. base_area
  1695. WHERE
  1696. id in(810,794,850,797,1966,2,7)
  1697. 2016-12-27 10:07:34 select base_supplier:SELECT
  1698. id,
  1699. supplier_name,
  1700. area_id,
  1701. is_disabled,
  1702. supplier_type,
  1703. manage_type
  1704. FROM
  1705. base_supplier
  1706. WHERE
  1707. cancel_flag = 0
  1708. AND supplier_type = 301
  1709. LIMIT 0,10
  1710. 2016-12-27 10:07:34 select base_area:SELECT
  1711. id,
  1712. area_name
  1713. FROM
  1714. base_area
  1715. WHERE
  1716. id in(810,794,850,797,1966,2,7)
  1717. 2016-12-27 10:10:15 select base_supplier:SELECT
  1718. id,
  1719. supplier_name,
  1720. area_id,
  1721. is_disabled,
  1722. supplier_type,
  1723. manage_type
  1724. FROM
  1725. base_supplier
  1726. WHERE
  1727. cancel_flag = 0
  1728. AND supplier_type = 301
  1729. LIMIT 0,10
  1730. 2016-12-27 10:10:15 select base_area:SELECT
  1731. id,
  1732. area_name
  1733. FROM
  1734. base_area
  1735. WHERE
  1736. id in(810,794,850,797,1966,7)
  1737. 2016-12-27 10:10:26 select base_supplier:SELECT
  1738. id,
  1739. supplier_name,
  1740. area_id,
  1741. is_disabled,
  1742. supplier_type,
  1743. manage_type
  1744. FROM
  1745. base_supplier
  1746. WHERE
  1747. cancel_flag = 0
  1748. and supplier_name like '%%艺龙%%'
  1749. AND supplier_type = 301
  1750. LIMIT 0,10
  1751. 2016-12-27 10:10:26 select base_area:SELECT
  1752. id,
  1753. area_name
  1754. FROM
  1755. base_area
  1756. WHERE
  1757. id in(2)
  1758. 2016-12-27 10:10:27 select base_area:SELECT
  1759. id,
  1760. area_name
  1761. FROM
  1762. base_area
  1763. WHERE
  1764. parent_id = 0
  1765. 2016-12-27 10:10:27 select base_area:SELECT
  1766. id,
  1767. area_name
  1768. FROM
  1769. base_area
  1770. WHERE
  1771. parent_id = 1
  1772. 2016-12-27 10:10:27 select base_supplier:SELECT
  1773. id,
  1774. supplier_name,
  1775. area_id,
  1776. manage_type,
  1777. company_name,
  1778. id_card,
  1779. sett_type,
  1780. sett_frequency,
  1781. account_bank,
  1782. account_num,
  1783. account_name,
  1784. sales_man
  1785. FROM
  1786. base_supplier
  1787. WHERE
  1788. cancel_flag = 0
  1789. AND id = 670
  1790. 2016-12-27 10:10:27 select base_area:SELECT
  1791. id,
  1792. area_name,
  1793. parent_id
  1794. FROM
  1795. base_area
  1796. WHERE
  1797. cancel_flag = 0
  1798. AND id = 2
  1799. 2016-12-27 10:10:27 select base_area:SELECT
  1800. id,
  1801. area_name
  1802. FROM
  1803. base_area
  1804. WHERE
  1805. cancel_flag = 0
  1806. AND id = 1
  1807. 2016-12-27 10:10:27 select base_supplier_sale:SELECT
  1808. id,
  1809. prod_supplier_id,
  1810. product_type,
  1811. parent_type,
  1812. sale_type,
  1813. commision_flag,
  1814. commision_type,
  1815. back_commision_type,
  1816. back_commision_method,
  1817. back_percent,
  1818. back_value
  1819. FROM
  1820. base_supplier_sale
  1821. WHERE
  1822. cancel_flag = 0
  1823. AND supplier_id = 670
  1824. 2016-12-27 10:10:27 select base_supplier_link:SELECT
  1825. id,
  1826. link_name,
  1827. contact_name,
  1828. contact_mobile,
  1829. contact_telphone,
  1830. fax,
  1831. email,
  1832. remark
  1833. FROM
  1834. base_supplier_link
  1835. WHERE
  1836. cancel_flag = 0
  1837. AND supplier_id = 670
  1838. 2016-12-27 10:10:27 select base_area:SELECT
  1839. id,
  1840. area_name
  1841. FROM
  1842. base_area
  1843. WHERE
  1844. parent_id = 1
  1845. 2016-12-27 10:13:09 select base_supplier:SELECT
  1846. id,
  1847. supplier_name,
  1848. area_id,
  1849. is_disabled,
  1850. supplier_type,
  1851. manage_type
  1852. FROM
  1853. base_supplier
  1854. WHERE
  1855. cancel_flag = 0
  1856. AND supplier_type = 301
  1857. LIMIT 0,10
  1858. 2016-12-27 10:13:09 select base_area:SELECT
  1859. id,
  1860. area_name
  1861. FROM
  1862. base_area
  1863. WHERE
  1864. id in(810,794,850,797,1966,7)
  1865. 2016-12-27 10:13:11 select base_supplier:SELECT
  1866. id,
  1867. supplier_name,
  1868. area_id,
  1869. is_disabled,
  1870. supplier_type,
  1871. manage_type
  1872. FROM
  1873. base_supplier
  1874. WHERE
  1875. cancel_flag = 0
  1876. and supplier_name like '%%美团%%'
  1877. AND supplier_type = 301
  1878. LIMIT 0,10
  1879. 2016-12-27 10:13:11 select base_area:SELECT
  1880. id,
  1881. area_name
  1882. FROM
  1883. base_area
  1884. WHERE
  1885. id in(794)
  1886. 2016-12-27 10:14:54 select base_supplier:SELECT
  1887. id,
  1888. supplier_name,
  1889. area_id,
  1890. is_disabled,
  1891. supplier_type,
  1892. manage_type
  1893. FROM
  1894. base_supplier
  1895. WHERE
  1896. cancel_flag = 0
  1897. AND supplier_type = 301
  1898. LIMIT 0,10
  1899. 2016-12-27 10:14:54 select base_area:SELECT
  1900. id,
  1901. area_name
  1902. FROM
  1903. base_area
  1904. WHERE
  1905. id in(810,794,850,797,1966,7)
  1906. 2016-12-27 10:15:04 select base_supplier:SELECT
  1907. id,
  1908. supplier_name,
  1909. area_id,
  1910. is_disabled,
  1911. supplier_type,
  1912. manage_type
  1913. FROM
  1914. base_supplier
  1915. WHERE
  1916. cancel_flag = 0
  1917. AND supplier_type = 301
  1918. LIMIT 10,10
  1919. 2016-12-27 10:15:04 select base_area:SELECT
  1920. id,
  1921. area_name
  1922. FROM
  1923. base_area
  1924. WHERE
  1925. id in(810,850,4,961,800,794,792)
  1926. 2016-12-27 10:15:07 select base_supplier:SELECT
  1927. id,
  1928. supplier_name,
  1929. area_id,
  1930. is_disabled,
  1931. supplier_type,
  1932. manage_type
  1933. FROM
  1934. base_supplier
  1935. WHERE
  1936. cancel_flag = 0
  1937. AND supplier_type = 301
  1938. LIMIT 20,10
  1939. 2016-12-27 10:15:07 select base_area:SELECT
  1940. id,
  1941. area_name
  1942. FROM
  1943. base_area
  1944. WHERE
  1945. id in(792,797,850,794,2,923,1161)
  1946. 2016-12-27 10:15:09 select base_supplier:SELECT
  1947. id,
  1948. supplier_name,
  1949. area_id,
  1950. is_disabled,
  1951. supplier_type,
  1952. manage_type
  1953. FROM
  1954. base_supplier
  1955. WHERE
  1956. cancel_flag = 0
  1957. AND supplier_type = 301
  1958. LIMIT 40,10
  1959. 2016-12-27 10:15:09 select base_area:SELECT
  1960. id,
  1961. area_name
  1962. FROM
  1963. base_area
  1964. WHERE
  1965. id in(1161)
  1966. 2016-12-27 10:15:11 select base_supplier:SELECT
  1967. id,
  1968. supplier_name,
  1969. area_id,
  1970. is_disabled,
  1971. supplier_type,
  1972. manage_type
  1973. FROM
  1974. base_supplier
  1975. WHERE
  1976. cancel_flag = 0
  1977. AND supplier_type = 301
  1978. LIMIT 60,10
  1979. 2016-12-27 10:15:11 select base_area:SELECT
  1980. id,
  1981. area_name
  1982. FROM
  1983. base_area
  1984. WHERE
  1985. id in(1161)
  1986. 2016-12-27 10:15:13 select base_supplier:SELECT
  1987. id,
  1988. supplier_name,
  1989. area_id,
  1990. is_disabled,
  1991. supplier_type,
  1992. manage_type
  1993. FROM
  1994. base_supplier
  1995. WHERE
  1996. cancel_flag = 0
  1997. AND supplier_type = 301
  1998. LIMIT 0,10
  1999. 2016-12-27 10:15:13 select base_area:SELECT
  2000. id,
  2001. area_name
  2002. FROM
  2003. base_area
  2004. WHERE
  2005. id in(810,794,850,797,1966,7)
  2006. 2016-12-27 10:15:30 select base_supplier:SELECT
  2007. id,
  2008. supplier_name,
  2009. area_id,
  2010. is_disabled,
  2011. supplier_type,
  2012. manage_type
  2013. FROM
  2014. base_supplier
  2015. WHERE
  2016. cancel_flag = 0
  2017. AND supplier_type = 301
  2018. LIMIT 10,10
  2019. 2016-12-27 10:15:30 select base_area:SELECT
  2020. id,
  2021. area_name
  2022. FROM
  2023. base_area
  2024. WHERE
  2025. id in(810,850,4,961,800,794,792)
  2026. 2016-12-27 10:15:34 select base_supplier:SELECT
  2027. id,
  2028. supplier_name,
  2029. area_id,
  2030. is_disabled,
  2031. supplier_type,
  2032. manage_type
  2033. FROM
  2034. base_supplier
  2035. WHERE
  2036. cancel_flag = 0
  2037. AND supplier_type = 301
  2038. LIMIT 20,10
  2039. 2016-12-27 10:15:34 select base_area:SELECT
  2040. id,
  2041. area_name
  2042. FROM
  2043. base_area
  2044. WHERE
  2045. id in(792,797,850,794,2,923,1161)
  2046. 2016-12-27 10:15:42 select base_supplier:SELECT
  2047. id,
  2048. supplier_name,
  2049. area_id,
  2050. is_disabled,
  2051. supplier_type,
  2052. manage_type
  2053. FROM
  2054. base_supplier
  2055. WHERE
  2056. cancel_flag = 0
  2057. AND supplier_type = 301
  2058. LIMIT 30,10
  2059. 2016-12-27 10:15:42 select base_area:SELECT
  2060. id,
  2061. area_name
  2062. FROM
  2063. base_area
  2064. WHERE
  2065. id in(1161,2)
  2066. 2016-12-27 10:15:48 select base_supplier_sale:SELECT
  2067. supplier_id,
  2068. product_type,
  2069. parent_type
  2070. FROM
  2071. base_supplier_sale
  2072. WHERE
  2073. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2074. GROUP BY
  2075. supplier_id
  2076. 2016-12-27 10:15:48 select base_supplier:SELECT
  2077. id,
  2078. supplier_name,
  2079. area_id,
  2080. is_disabled,
  2081. supplier_type,
  2082. manage_type
  2083. FROM
  2084. base_supplier
  2085. WHERE
  2086. cancel_flag = 0
  2087. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2088. AND supplier_type = 301
  2089. LIMIT 0,10
  2090. 2016-12-27 10:15:48 select base_area:SELECT
  2091. id,
  2092. area_name
  2093. FROM
  2094. base_area
  2095. WHERE
  2096. id in(810,794,850,797,1966,7)
  2097. 2016-12-27 10:15:51 select base_supplier_sale:SELECT
  2098. supplier_id,
  2099. product_type,
  2100. parent_type
  2101. FROM
  2102. base_supplier_sale
  2103. WHERE
  2104. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2105. GROUP BY
  2106. supplier_id
  2107. 2016-12-27 10:15:51 select base_supplier:SELECT
  2108. id,
  2109. supplier_name,
  2110. area_id,
  2111. is_disabled,
  2112. supplier_type,
  2113. manage_type
  2114. FROM
  2115. base_supplier
  2116. WHERE
  2117. cancel_flag = 0
  2118. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2119. AND supplier_type = 301
  2120. LIMIT 10,10
  2121. 2016-12-27 10:15:51 select base_area:SELECT
  2122. id,
  2123. area_name
  2124. FROM
  2125. base_area
  2126. WHERE
  2127. id in(850,810,4,961,800,794,792)
  2128. 2016-12-27 10:15:51 select base_supplier_sale:SELECT
  2129. supplier_id,
  2130. product_type,
  2131. parent_type
  2132. FROM
  2133. base_supplier_sale
  2134. WHERE
  2135. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2136. GROUP BY
  2137. supplier_id
  2138. 2016-12-27 10:15:51 select base_supplier:SELECT
  2139. id,
  2140. supplier_name,
  2141. area_id,
  2142. is_disabled,
  2143. supplier_type,
  2144. manage_type
  2145. FROM
  2146. base_supplier
  2147. WHERE
  2148. cancel_flag = 0
  2149. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2150. AND supplier_type = 301
  2151. LIMIT 10,10
  2152. 2016-12-27 10:15:51 select base_area:SELECT
  2153. id,
  2154. area_name
  2155. FROM
  2156. base_area
  2157. WHERE
  2158. id in(850,810,4,961,800,794,792)
  2159. 2016-12-27 10:15:54 select base_supplier_sale:SELECT
  2160. supplier_id,
  2161. product_type,
  2162. parent_type
  2163. FROM
  2164. base_supplier_sale
  2165. WHERE
  2166. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2167. GROUP BY
  2168. supplier_id
  2169. 2016-12-27 10:15:54 select base_supplier:SELECT
  2170. id,
  2171. supplier_name,
  2172. area_id,
  2173. is_disabled,
  2174. supplier_type,
  2175. manage_type
  2176. FROM
  2177. base_supplier
  2178. WHERE
  2179. cancel_flag = 0
  2180. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2181. AND supplier_type = 301
  2182. LIMIT 20,10
  2183. 2016-12-27 10:15:54 select base_area:SELECT
  2184. id,
  2185. area_name
  2186. FROM
  2187. base_area
  2188. WHERE
  2189. id in(797,850,792,1161,2)
  2190. 2016-12-27 10:15:54 select base_supplier_sale:SELECT
  2191. supplier_id,
  2192. product_type,
  2193. parent_type
  2194. FROM
  2195. base_supplier_sale
  2196. WHERE
  2197. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2198. GROUP BY
  2199. supplier_id
  2200. 2016-12-27 10:15:54 select base_supplier:SELECT
  2201. id,
  2202. supplier_name,
  2203. area_id,
  2204. is_disabled,
  2205. supplier_type,
  2206. manage_type
  2207. FROM
  2208. base_supplier
  2209. WHERE
  2210. cancel_flag = 0
  2211. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2212. AND supplier_type = 301
  2213. LIMIT 20,10
  2214. 2016-12-27 10:15:54 select base_area:SELECT
  2215. id,
  2216. area_name
  2217. FROM
  2218. base_area
  2219. WHERE
  2220. id in(797,850,792,1161,2)
  2221. 2016-12-27 10:15:59 select base_supplier_sale:SELECT
  2222. supplier_id,
  2223. product_type,
  2224. parent_type
  2225. FROM
  2226. base_supplier_sale
  2227. WHERE
  2228. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2229. GROUP BY
  2230. supplier_id
  2231. 2016-12-27 10:15:59 select base_supplier:SELECT
  2232. id,
  2233. supplier_name,
  2234. area_id,
  2235. is_disabled,
  2236. supplier_type,
  2237. manage_type
  2238. FROM
  2239. base_supplier
  2240. WHERE
  2241. cancel_flag = 0
  2242. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2243. AND supplier_type = 301
  2244. LIMIT 40,10
  2245. 2016-12-27 10:15:59 select base_area:SELECT
  2246. id,
  2247. area_name
  2248. FROM
  2249. base_area
  2250. WHERE
  2251. id in(1161,850,1200)
  2252. 2016-12-27 10:15:59 select base_supplier_sale:SELECT
  2253. supplier_id,
  2254. product_type,
  2255. parent_type
  2256. FROM
  2257. base_supplier_sale
  2258. WHERE
  2259. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2260. GROUP BY
  2261. supplier_id
  2262. 2016-12-27 10:15:59 select base_supplier:SELECT
  2263. id,
  2264. supplier_name,
  2265. area_id,
  2266. is_disabled,
  2267. supplier_type,
  2268. manage_type
  2269. FROM
  2270. base_supplier
  2271. WHERE
  2272. cancel_flag = 0
  2273. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2274. AND supplier_type = 301
  2275. LIMIT 40,10
  2276. 2016-12-27 10:15:59 select base_area:SELECT
  2277. id,
  2278. area_name
  2279. FROM
  2280. base_area
  2281. WHERE
  2282. id in(1161,850,1200)
  2283. 2016-12-27 10:16:01 select base_supplier_sale:SELECT
  2284. supplier_id,
  2285. product_type,
  2286. parent_type
  2287. FROM
  2288. base_supplier_sale
  2289. WHERE
  2290. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2291. GROUP BY
  2292. supplier_id
  2293. 2016-12-27 10:16:01 select base_supplier:SELECT
  2294. id,
  2295. supplier_name,
  2296. area_id,
  2297. is_disabled,
  2298. supplier_type,
  2299. manage_type
  2300. FROM
  2301. base_supplier
  2302. WHERE
  2303. cancel_flag = 0
  2304. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2305. AND supplier_type = 301
  2306. LIMIT 50,10
  2307. 2016-12-27 10:16:01 select base_area:SELECT
  2308. id,
  2309. area_name
  2310. FROM
  2311. base_area
  2312. WHERE
  2313. id in(1161)
  2314. 2016-12-27 10:16:01 select base_supplier_sale:SELECT
  2315. supplier_id,
  2316. product_type,
  2317. parent_type
  2318. FROM
  2319. base_supplier_sale
  2320. WHERE
  2321. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2322. GROUP BY
  2323. supplier_id
  2324. 2016-12-27 10:16:01 select base_supplier:SELECT
  2325. id,
  2326. supplier_name,
  2327. area_id,
  2328. is_disabled,
  2329. supplier_type,
  2330. manage_type
  2331. FROM
  2332. base_supplier
  2333. WHERE
  2334. cancel_flag = 0
  2335. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2336. AND supplier_type = 301
  2337. LIMIT 50,10
  2338. 2016-12-27 10:16:01 select base_area:SELECT
  2339. id,
  2340. area_name
  2341. FROM
  2342. base_area
  2343. WHERE
  2344. id in(1161)
  2345. 2016-12-27 10:16:03 select base_supplier_sale:SELECT
  2346. supplier_id,
  2347. product_type,
  2348. parent_type
  2349. FROM
  2350. base_supplier_sale
  2351. WHERE
  2352. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2353. GROUP BY
  2354. supplier_id
  2355. 2016-12-27 10:16:03 select base_supplier:SELECT
  2356. id,
  2357. supplier_name,
  2358. area_id,
  2359. is_disabled,
  2360. supplier_type,
  2361. manage_type
  2362. FROM
  2363. base_supplier
  2364. WHERE
  2365. cancel_flag = 0
  2366. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2367. AND supplier_type = 301
  2368. LIMIT 70,10
  2369. 2016-12-27 10:16:03 select base_area:SELECT
  2370. id,
  2371. area_name
  2372. FROM
  2373. base_area
  2374. WHERE
  2375. id in(1161,1200)
  2376. 2016-12-27 10:16:03 select base_supplier_sale:SELECT
  2377. supplier_id,
  2378. product_type,
  2379. parent_type
  2380. FROM
  2381. base_supplier_sale
  2382. WHERE
  2383. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2384. GROUP BY
  2385. supplier_id
  2386. 2016-12-27 10:16:03 select base_supplier:SELECT
  2387. id,
  2388. supplier_name,
  2389. area_id,
  2390. is_disabled,
  2391. supplier_type,
  2392. manage_type
  2393. FROM
  2394. base_supplier
  2395. WHERE
  2396. cancel_flag = 0
  2397. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2398. AND supplier_type = 301
  2399. LIMIT 70,10
  2400. 2016-12-27 10:16:03 select base_area:SELECT
  2401. id,
  2402. area_name
  2403. FROM
  2404. base_area
  2405. WHERE
  2406. id in(1161,1200)
  2407. 2016-12-27 10:16:05 select base_supplier_sale:SELECT
  2408. supplier_id,
  2409. product_type,
  2410. parent_type
  2411. FROM
  2412. base_supplier_sale
  2413. WHERE
  2414. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2415. GROUP BY
  2416. supplier_id
  2417. 2016-12-27 10:16:05 select base_supplier:SELECT
  2418. id,
  2419. supplier_name,
  2420. area_id,
  2421. is_disabled,
  2422. supplier_type,
  2423. manage_type
  2424. FROM
  2425. base_supplier
  2426. WHERE
  2427. cancel_flag = 0
  2428. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2429. AND supplier_type = 301
  2430. LIMIT 80,10
  2431. 2016-12-27 10:16:05 select base_area:SELECT
  2432. id,
  2433. area_name
  2434. FROM
  2435. base_area
  2436. WHERE
  2437. id in(1200,1161,1187,2)
  2438. 2016-12-27 10:16:05 select base_supplier_sale:SELECT
  2439. supplier_id,
  2440. product_type,
  2441. parent_type
  2442. FROM
  2443. base_supplier_sale
  2444. WHERE
  2445. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2446. GROUP BY
  2447. supplier_id
  2448. 2016-12-27 10:16:05 select base_supplier:SELECT
  2449. id,
  2450. supplier_name,
  2451. area_id,
  2452. is_disabled,
  2453. supplier_type,
  2454. manage_type
  2455. FROM
  2456. base_supplier
  2457. WHERE
  2458. cancel_flag = 0
  2459. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2460. AND supplier_type = 301
  2461. LIMIT 80,10
  2462. 2016-12-27 10:16:05 select base_area:SELECT
  2463. id,
  2464. area_name
  2465. FROM
  2466. base_area
  2467. WHERE
  2468. id in(1200,1161,1187,2)
  2469. 2016-12-27 10:16:06 select base_supplier_sale:SELECT
  2470. supplier_id,
  2471. product_type,
  2472. parent_type
  2473. FROM
  2474. base_supplier_sale
  2475. WHERE
  2476. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2477. GROUP BY
  2478. supplier_id
  2479. 2016-12-27 10:16:06 select base_supplier:SELECT
  2480. id,
  2481. supplier_name,
  2482. area_id,
  2483. is_disabled,
  2484. supplier_type,
  2485. manage_type
  2486. FROM
  2487. base_supplier
  2488. WHERE
  2489. cancel_flag = 0
  2490. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2491. AND supplier_type = 301
  2492. LIMIT 90,10
  2493. 2016-12-27 10:16:06 select base_area:SELECT
  2494. id,
  2495. area_name
  2496. FROM
  2497. base_area
  2498. WHERE
  2499. id in(1161,2,803)
  2500. 2016-12-27 10:16:06 select base_supplier_sale:SELECT
  2501. supplier_id,
  2502. product_type,
  2503. parent_type
  2504. FROM
  2505. base_supplier_sale
  2506. WHERE
  2507. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2508. GROUP BY
  2509. supplier_id
  2510. 2016-12-27 10:16:06 select base_supplier:SELECT
  2511. id,
  2512. supplier_name,
  2513. area_id,
  2514. is_disabled,
  2515. supplier_type,
  2516. manage_type
  2517. FROM
  2518. base_supplier
  2519. WHERE
  2520. cancel_flag = 0
  2521. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2522. AND supplier_type = 301
  2523. LIMIT 90,10
  2524. 2016-12-27 10:16:06 select base_area:SELECT
  2525. id,
  2526. area_name
  2527. FROM
  2528. base_area
  2529. WHERE
  2530. id in(1161,2,803)
  2531. 2016-12-27 10:16:07 select base_supplier_sale:SELECT
  2532. supplier_id,
  2533. product_type,
  2534. parent_type
  2535. FROM
  2536. base_supplier_sale
  2537. WHERE
  2538. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2539. GROUP BY
  2540. supplier_id
  2541. 2016-12-27 10:16:07 select base_supplier:SELECT
  2542. id,
  2543. supplier_name,
  2544. area_id,
  2545. is_disabled,
  2546. supplier_type,
  2547. manage_type
  2548. FROM
  2549. base_supplier
  2550. WHERE
  2551. cancel_flag = 0
  2552. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2553. AND supplier_type = 301
  2554. LIMIT 0,10
  2555. 2016-12-27 10:16:07 select base_area:SELECT
  2556. id,
  2557. area_name
  2558. FROM
  2559. base_area
  2560. WHERE
  2561. id in(810,794,850,797,1966,7)
  2562. 2016-12-27 10:16:07 select base_supplier_sale:SELECT
  2563. supplier_id,
  2564. product_type,
  2565. parent_type
  2566. FROM
  2567. base_supplier_sale
  2568. WHERE
  2569. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2570. GROUP BY
  2571. supplier_id
  2572. 2016-12-27 10:16:07 select base_supplier:SELECT
  2573. id,
  2574. supplier_name,
  2575. area_id,
  2576. is_disabled,
  2577. supplier_type,
  2578. manage_type
  2579. FROM
  2580. base_supplier
  2581. WHERE
  2582. cancel_flag = 0
  2583. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2584. AND supplier_type = 301
  2585. LIMIT 0,10
  2586. 2016-12-27 10:16:07 select base_area:SELECT
  2587. id,
  2588. area_name
  2589. FROM
  2590. base_area
  2591. WHERE
  2592. id in(810,794,850,797,1966,7)
  2593. 2016-12-27 10:18:27 select base_area:SELECT
  2594. id,
  2595. area_name
  2596. FROM
  2597. base_area
  2598. WHERE
  2599. parent_id = 0
  2600. 2016-12-27 10:18:27 select base_area:SELECT
  2601. id,
  2602. area_name
  2603. FROM
  2604. base_area
  2605. WHERE
  2606. parent_id = 1
  2607. 2016-12-27 10:18:30 check base_supplier:SELECT
  2608. supplier_name
  2609. FROM
  2610. base_supplier
  2611. WHERE
  2612. cancel_flag = 0
  2613. AND supplier_type = 301
  2614. AND supplier_name = ''
  2615. 2016-12-27 10:21:44 select base_supplier_sale:SELECT
  2616. supplier_id,
  2617. product_type,
  2618. parent_type
  2619. FROM
  2620. base_supplier_sale
  2621. WHERE
  2622. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2623. GROUP BY
  2624. supplier_id
  2625. 2016-12-27 10:21:44 select base_supplier:SELECT
  2626. id,
  2627. supplier_name,
  2628. area_id,
  2629. is_disabled,
  2630. supplier_type,
  2631. manage_type
  2632. FROM
  2633. base_supplier
  2634. WHERE
  2635. cancel_flag = 0
  2636. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2637. AND supplier_type = 301
  2638. LIMIT 0,10
  2639. 2016-12-27 10:21:44 select base_area:SELECT
  2640. id,
  2641. area_name
  2642. FROM
  2643. base_area
  2644. WHERE
  2645. id in(810,794,850,797,1966,7)
  2646. 2016-12-27 10:21:47 select base_supplier_sale:SELECT
  2647. supplier_id,
  2648. product_type,
  2649. parent_type
  2650. FROM
  2651. base_supplier_sale
  2652. WHERE
  2653. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2654. GROUP BY
  2655. supplier_id
  2656. 2016-12-27 10:21:47 select base_supplier:SELECT
  2657. id,
  2658. supplier_name,
  2659. area_id,
  2660. is_disabled,
  2661. supplier_type,
  2662. manage_type
  2663. FROM
  2664. base_supplier
  2665. WHERE
  2666. cancel_flag = 0
  2667. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2668. AND supplier_type = 301
  2669. LIMIT 10,10
  2670. 2016-12-27 10:21:47 select base_area:SELECT
  2671. id,
  2672. area_name
  2673. FROM
  2674. base_area
  2675. WHERE
  2676. id in(850,810,4,961,800,794,792)
  2677. 2016-12-27 10:21:52 select base_supplier_sale:SELECT
  2678. supplier_id,
  2679. product_type,
  2680. parent_type
  2681. FROM
  2682. base_supplier_sale
  2683. WHERE
  2684. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2685. GROUP BY
  2686. supplier_id
  2687. 2016-12-27 10:21:52 select base_supplier:SELECT
  2688. id,
  2689. supplier_name,
  2690. area_id,
  2691. is_disabled,
  2692. supplier_type,
  2693. manage_type
  2694. FROM
  2695. base_supplier
  2696. WHERE
  2697. cancel_flag = 0
  2698. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2699. AND supplier_type = 301
  2700. LIMIT 20,10
  2701. 2016-12-27 10:21:52 select base_area:SELECT
  2702. id,
  2703. area_name
  2704. FROM
  2705. base_area
  2706. WHERE
  2707. id in(797,850,792,1161,2)
  2708. 2016-12-27 10:21:57 select base_supplier_sale:SELECT
  2709. supplier_id,
  2710. product_type,
  2711. parent_type
  2712. FROM
  2713. base_supplier_sale
  2714. WHERE
  2715. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2716. GROUP BY
  2717. supplier_id
  2718. 2016-12-27 10:21:57 select base_supplier:SELECT
  2719. id,
  2720. supplier_name,
  2721. area_id,
  2722. is_disabled,
  2723. supplier_type,
  2724. manage_type
  2725. FROM
  2726. base_supplier
  2727. WHERE
  2728. cancel_flag = 0
  2729. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2730. AND supplier_type = 301
  2731. LIMIT 30,10
  2732. 2016-12-27 10:21:57 select base_area:SELECT
  2733. id,
  2734. area_name
  2735. FROM
  2736. base_area
  2737. WHERE
  2738. id in(1161)
  2739. 2016-12-27 10:22:00 select base_supplier_sale:SELECT
  2740. supplier_id,
  2741. product_type,
  2742. parent_type
  2743. FROM
  2744. base_supplier_sale
  2745. WHERE
  2746. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2747. GROUP BY
  2748. supplier_id
  2749. 2016-12-27 10:22:00 select base_supplier:SELECT
  2750. id,
  2751. supplier_name,
  2752. area_id,
  2753. is_disabled,
  2754. supplier_type,
  2755. manage_type
  2756. FROM
  2757. base_supplier
  2758. WHERE
  2759. cancel_flag = 0
  2760. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2761. AND supplier_type = 301
  2762. LIMIT 40,10
  2763. 2016-12-27 10:22:00 select base_area:SELECT
  2764. id,
  2765. area_name
  2766. FROM
  2767. base_area
  2768. WHERE
  2769. id in(1161,850,1200)
  2770. 2016-12-27 10:22:02 select base_supplier_sale:SELECT
  2771. supplier_id,
  2772. product_type,
  2773. parent_type
  2774. FROM
  2775. base_supplier_sale
  2776. WHERE
  2777. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2778. GROUP BY
  2779. supplier_id
  2780. 2016-12-27 10:22:02 select base_supplier:SELECT
  2781. id,
  2782. supplier_name,
  2783. area_id,
  2784. is_disabled,
  2785. supplier_type,
  2786. manage_type
  2787. FROM
  2788. base_supplier
  2789. WHERE
  2790. cancel_flag = 0
  2791. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2792. AND supplier_type = 301
  2793. LIMIT 60,10
  2794. 2016-12-27 10:22:02 select base_area:SELECT
  2795. id,
  2796. area_name
  2797. FROM
  2798. base_area
  2799. WHERE
  2800. id in(1161)
  2801. 2016-12-27 10:22:03 select base_supplier_sale:SELECT
  2802. supplier_id,
  2803. product_type,
  2804. parent_type
  2805. FROM
  2806. base_supplier_sale
  2807. WHERE
  2808. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2809. GROUP BY
  2810. supplier_id
  2811. 2016-12-27 10:22:03 select base_supplier:SELECT
  2812. id,
  2813. supplier_name,
  2814. area_id,
  2815. is_disabled,
  2816. supplier_type,
  2817. manage_type
  2818. FROM
  2819. base_supplier
  2820. WHERE
  2821. cancel_flag = 0
  2822. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2823. AND supplier_type = 301
  2824. LIMIT 0,10
  2825. 2016-12-27 10:22:03 select base_area:SELECT
  2826. id,
  2827. area_name
  2828. FROM
  2829. base_area
  2830. WHERE
  2831. id in(810,794,850,797,1966,7)
  2832. 2016-12-27 10:22:07 select base_supplier_sale:SELECT
  2833. supplier_id,
  2834. product_type,
  2835. parent_type
  2836. FROM
  2837. base_supplier_sale
  2838. WHERE
  2839. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2840. GROUP BY
  2841. supplier_id
  2842. 2016-12-27 10:22:07 select base_supplier:SELECT
  2843. id,
  2844. supplier_name,
  2845. area_id,
  2846. is_disabled,
  2847. supplier_type,
  2848. manage_type
  2849. FROM
  2850. base_supplier
  2851. WHERE
  2852. cancel_flag = 0
  2853. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2854. AND supplier_type = 301
  2855. LIMIT 10,10
  2856. 2016-12-27 10:22:07 select base_area:SELECT
  2857. id,
  2858. area_name
  2859. FROM
  2860. base_area
  2861. WHERE
  2862. id in(850,810,4,961,800,794,792)
  2863. 2016-12-27 10:22:18 select base_supplier_sale:SELECT
  2864. supplier_id,
  2865. product_type,
  2866. parent_type
  2867. FROM
  2868. base_supplier_sale
  2869. WHERE
  2870. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2871. GROUP BY
  2872. supplier_id
  2873. 2016-12-27 10:22:18 select base_supplier:SELECT
  2874. id,
  2875. supplier_name,
  2876. area_id,
  2877. is_disabled,
  2878. supplier_type,
  2879. manage_type
  2880. FROM
  2881. base_supplier
  2882. WHERE
  2883. cancel_flag = 0
  2884. and supplier_name like '%%千%%' and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086) and supplier_name like '%%千%%'
  2885. AND supplier_type = 301
  2886. LIMIT 0,10
  2887. 2016-12-27 10:22:21 select base_supplier_sale:SELECT
  2888. supplier_id,
  2889. product_type,
  2890. parent_type
  2891. FROM
  2892. base_supplier_sale
  2893. WHERE
  2894. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2895. GROUP BY
  2896. supplier_id
  2897. 2016-12-27 10:22:21 select base_supplier:SELECT
  2898. id,
  2899. supplier_name,
  2900. area_id,
  2901. is_disabled,
  2902. supplier_type,
  2903. manage_type
  2904. FROM
  2905. base_supplier
  2906. WHERE
  2907. cancel_flag = 0
  2908. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2909. AND supplier_type = 301
  2910. LIMIT 0,10
  2911. 2016-12-27 10:22:21 select base_area:SELECT
  2912. id,
  2913. area_name
  2914. FROM
  2915. base_area
  2916. WHERE
  2917. id in(810,794,850,797,1966,7)
  2918. 2016-12-27 10:33:38 select base_area:SELECT
  2919. id,
  2920. area_name
  2921. FROM
  2922. base_area
  2923. WHERE
  2924. parent_id = 0
  2925. 2016-12-27 10:33:38 select base_area:SELECT
  2926. id,
  2927. area_name
  2928. FROM
  2929. base_area
  2930. WHERE
  2931. parent_id = 1
  2932. 2016-12-27 10:33:43 select base_supplier_sale:SELECT
  2933. supplier_id,
  2934. product_type,
  2935. parent_type
  2936. FROM
  2937. base_supplier_sale
  2938. WHERE
  2939. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2940. GROUP BY
  2941. supplier_id
  2942. 2016-12-27 10:33:43 select base_supplier:SELECT
  2943. id,
  2944. supplier_name,
  2945. area_id,
  2946. is_disabled,
  2947. supplier_type,
  2948. manage_type
  2949. FROM
  2950. base_supplier
  2951. WHERE
  2952. cancel_flag = 0
  2953. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2954. AND supplier_type = 301
  2955. LIMIT 0,10
  2956. 2016-12-27 10:33:43 select base_area:SELECT
  2957. id,
  2958. area_name
  2959. FROM
  2960. base_area
  2961. WHERE
  2962. id in(810,794,850,797,1966,7)
  2963. 2016-12-27 10:33:47 select base_supplier_sale:SELECT
  2964. supplier_id,
  2965. product_type,
  2966. parent_type
  2967. FROM
  2968. base_supplier_sale
  2969. WHERE
  2970. product_type = 310 or parent_type = 310 and cancel_flag = 0
  2971. GROUP BY
  2972. supplier_id
  2973. 2016-12-27 10:33:47 select base_supplier:SELECT
  2974. id,
  2975. supplier_name,
  2976. area_id,
  2977. is_disabled,
  2978. supplier_type,
  2979. manage_type
  2980. FROM
  2981. base_supplier
  2982. WHERE
  2983. cancel_flag = 0
  2984. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  2985. AND supplier_type = 301
  2986. LIMIT 10,10
  2987. 2016-12-27 10:33:47 select base_area:SELECT
  2988. id,
  2989. area_name
  2990. FROM
  2991. base_area
  2992. WHERE
  2993. id in(850,810,4,961,800,794,792)
  2994. 2016-12-27 10:33:53 select base_supplier_sale:SELECT
  2995. supplier_id,
  2996. product_type,
  2997. parent_type
  2998. FROM
  2999. base_supplier_sale
  3000. WHERE
  3001. product_type = 310 or parent_type = 310 and cancel_flag = 0
  3002. GROUP BY
  3003. supplier_id
  3004. 2016-12-27 10:33:53 select base_supplier:SELECT
  3005. id,
  3006. supplier_name,
  3007. area_id,
  3008. is_disabled,
  3009. supplier_type,
  3010. manage_type
  3011. FROM
  3012. base_supplier
  3013. WHERE
  3014. cancel_flag = 0
  3015. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  3016. AND supplier_type = 301
  3017. LIMIT 20,10
  3018. 2016-12-27 10:33:53 select base_area:SELECT
  3019. id,
  3020. area_name
  3021. FROM
  3022. base_area
  3023. WHERE
  3024. id in(797,850,792,1161,2)
  3025. 2016-12-27 10:33:59 select base_supplier_sale:SELECT
  3026. supplier_id,
  3027. product_type,
  3028. parent_type
  3029. FROM
  3030. base_supplier_sale
  3031. WHERE
  3032. product_type = 310 or parent_type = 310 and cancel_flag = 0
  3033. GROUP BY
  3034. supplier_id
  3035. 2016-12-27 10:33:59 select base_supplier:SELECT
  3036. id,
  3037. supplier_name,
  3038. area_id,
  3039. is_disabled,
  3040. supplier_type,
  3041. manage_type
  3042. FROM
  3043. base_supplier
  3044. WHERE
  3045. cancel_flag = 0
  3046. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  3047. AND supplier_type = 301
  3048. LIMIT 30,10
  3049. 2016-12-27 10:33:59 select base_area:SELECT
  3050. id,
  3051. area_name
  3052. FROM
  3053. base_area
  3054. WHERE
  3055. id in(1161)
  3056. 2016-12-27 10:34:01 select base_supplier_sale:SELECT
  3057. supplier_id,
  3058. product_type,
  3059. parent_type
  3060. FROM
  3061. base_supplier_sale
  3062. WHERE
  3063. product_type = 310 or parent_type = 310 and cancel_flag = 0
  3064. GROUP BY
  3065. supplier_id
  3066. 2016-12-27 10:34:01 select base_supplier:SELECT
  3067. id,
  3068. supplier_name,
  3069. area_id,
  3070. is_disabled,
  3071. supplier_type,
  3072. manage_type
  3073. FROM
  3074. base_supplier
  3075. WHERE
  3076. cancel_flag = 0
  3077. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  3078. AND supplier_type = 301
  3079. LIMIT 50,10
  3080. 2016-12-27 10:34:01 select base_area:SELECT
  3081. id,
  3082. area_name
  3083. FROM
  3084. base_area
  3085. WHERE
  3086. id in(1161)
  3087. 2016-12-27 10:34:02 select base_supplier_sale:SELECT
  3088. supplier_id,
  3089. product_type,
  3090. parent_type
  3091. FROM
  3092. base_supplier_sale
  3093. WHERE
  3094. product_type = 310 or parent_type = 310 and cancel_flag = 0
  3095. GROUP BY
  3096. supplier_id
  3097. 2016-12-27 10:34:02 select base_supplier:SELECT
  3098. id,
  3099. supplier_name,
  3100. area_id,
  3101. is_disabled,
  3102. supplier_type,
  3103. manage_type
  3104. FROM
  3105. base_supplier
  3106. WHERE
  3107. cancel_flag = 0
  3108. and id in(4,5,6,7,9,12,17,23,28,76,115,122,128,149,153,164,512,517,651,653,654,655,656,657,661,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,728,729,730,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,1031,1086)
  3109. AND supplier_type = 301
  3110. LIMIT 0,10
  3111. 2016-12-27 10:34:02 select base_area:SELECT
  3112. id,
  3113. area_name
  3114. FROM
  3115. base_area
  3116. WHERE
  3117. id in(810,794,850,797,1966,7)
  3118. 2016-12-27 10:35:19 select base_area:SELECT
  3119. id,
  3120. area_name
  3121. FROM
  3122. base_area
  3123. WHERE
  3124. parent_id = 0
  3125. 2016-12-27 10:35:19 select base_area:SELECT
  3126. id,
  3127. area_name
  3128. FROM
  3129. base_area
  3130. WHERE
  3131. parent_id = 1
  3132. 2016-12-27 10:35:22 check base_supplier:SELECT
  3133. supplier_name
  3134. FROM
  3135. base_supplier
  3136. WHERE
  3137. cancel_flag = 0
  3138. AND supplier_type = 301
  3139. AND supplier_name = ''
  3140. 2016-12-27 10:35:45 check base_supplier:SELECT
  3141. supplier_name
  3142. FROM
  3143. base_supplier
  3144. WHERE
  3145. cancel_flag = 0
  3146. AND supplier_type = 301
  3147. AND supplier_name = '天承国旅'
  3148. 2016-12-27 10:35:47 select base_area:SELECT
  3149. id,
  3150. area_name
  3151. FROM
  3152. base_area
  3153. WHERE
  3154. parent_id = 791
  3155. 2016-12-27 10:47:16 select base_supplier:SELECT
  3156. id,
  3157. supplier_name,
  3158. area_id,
  3159. is_disabled,
  3160. supplier_type,
  3161. manage_type
  3162. FROM
  3163. base_supplier
  3164. WHERE
  3165. cancel_flag = 0
  3166. AND supplier_type = 301
  3167. LIMIT 0,10
  3168. 2016-12-27 10:47:16 select base_area:SELECT
  3169. id,
  3170. area_name
  3171. FROM
  3172. base_area
  3173. WHERE
  3174. id in(810,794,850,797,1966,7)
  3175. 2016-12-27 10:47:34 select base_supplier:SELECT
  3176. id,
  3177. supplier_name,
  3178. area_id,
  3179. is_disabled,
  3180. supplier_type,
  3181. manage_type
  3182. FROM
  3183. base_supplier
  3184. WHERE
  3185. cancel_flag = 0
  3186. AND supplier_type = 301
  3187. LIMIT 0,10
  3188. 2016-12-27 10:47:34 select base_area:SELECT
  3189. id,
  3190. area_name
  3191. FROM
  3192. base_area
  3193. WHERE
  3194. id in(810,794,850,797,1966,7)
  3195. 2016-12-27 11:00:40 INSERT INTO base_supplier:INSERT INTO base_supplier (
  3196. create_user_id,
  3197. create_time,
  3198. supplier_type,
  3199. supplier_name,
  3200. area_id,
  3201. manage_type,
  3202. company_name,
  3203. id_card,
  3204. is_disabled,
  3205. sett_type,
  3206. sett_frequency,
  3207. account_bank,
  3208. account_num,
  3209. account_name,
  3210. sales_man
  3211. )
  3212. VALUES
  3213. (26,'2016-12-27 11:00:40',301,'天承国旅',796,1,'上海天承国际旅行社有限公司','',0,275,295,'','','','袁玮')
  3214. 2016-12-27 11:00:40 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  3215. create_user_id,
  3216. create_time,
  3217. supplier_id,
  3218. prod_supplier_id,
  3219. product_type,
  3220. parent_type,
  3221. sale_type,
  3222. commision_flag,
  3223. commision_type,
  3224. back_commision_type,
  3225. back_commision_method,
  3226. back_percent,
  3227. back_value
  3228. )
  3229. VALUES (26,'2016-12-27 11:00:40',1090,0,0,310,177,1,303,306,309,'0','0')
  3230. 2016-12-27 11:00:40 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  3231. create_user_id,
  3232. create_time,
  3233. supplier_id,
  3234. link_name,
  3235. contact_name,
  3236. contact_mobile,
  3237. contact_telphone,
  3238. fax,
  3239. email,
  3240. remark
  3241. )
  3242. VALUES (26,'2016-12-27 11:00:40',1090,'负责人','徐晓虹','13918636094','','','','')
  3243. 2016-12-27 11:00:41 select base_supplier:SELECT
  3244. id,
  3245. supplier_name,
  3246. area_id,
  3247. is_disabled,
  3248. supplier_type,
  3249. manage_type
  3250. FROM
  3251. base_supplier
  3252. WHERE
  3253. cancel_flag = 0
  3254. AND supplier_type = 301
  3255. LIMIT 0,10
  3256. 2016-12-27 11:00:41 select base_area:SELECT
  3257. id,
  3258. area_name
  3259. FROM
  3260. base_area
  3261. WHERE
  3262. id in(810,794,850,797,1966,7)
  3263. 2016-12-27 11:00:46 select base_area:SELECT
  3264. id,
  3265. area_name
  3266. FROM
  3267. base_area
  3268. WHERE
  3269. parent_id = 0
  3270. 2016-12-27 11:00:46 select base_area:SELECT
  3271. id,
  3272. area_name
  3273. FROM
  3274. base_area
  3275. WHERE
  3276. parent_id = 1
  3277. 2016-12-27 11:00:46 select base_supplier:SELECT
  3278. id,
  3279. supplier_name,
  3280. area_id,
  3281. manage_type,
  3282. company_name,
  3283. id_card,
  3284. sett_type,
  3285. sett_frequency,
  3286. account_bank,
  3287. account_num,
  3288. account_name,
  3289. sales_man
  3290. FROM
  3291. base_supplier
  3292. WHERE
  3293. cancel_flag = 0
  3294. AND id = 5
  3295. 2016-12-27 11:00:46 select base_area:SELECT
  3296. id,
  3297. area_name,
  3298. parent_id
  3299. FROM
  3300. base_area
  3301. WHERE
  3302. cancel_flag = 0
  3303. AND id = 810
  3304. 2016-12-27 11:00:46 select base_area:SELECT
  3305. id,
  3306. area_name
  3307. FROM
  3308. base_area
  3309. WHERE
  3310. cancel_flag = 0
  3311. AND id = 809
  3312. 2016-12-27 11:00:46 select base_supplier_sale:SELECT
  3313. id,
  3314. prod_supplier_id,
  3315. product_type,
  3316. parent_type,
  3317. sale_type,
  3318. commision_flag,
  3319. commision_type,
  3320. back_commision_type,
  3321. back_commision_method,
  3322. back_percent,
  3323. back_value
  3324. FROM
  3325. base_supplier_sale
  3326. WHERE
  3327. cancel_flag = 0
  3328. AND supplier_id = 5
  3329. 2016-12-27 11:00:46 select base_supplier_link:SELECT
  3330. id,
  3331. link_name,
  3332. contact_name,
  3333. contact_mobile,
  3334. contact_telphone,
  3335. fax,
  3336. email,
  3337. remark
  3338. FROM
  3339. base_supplier_link
  3340. WHERE
  3341. cancel_flag = 0
  3342. AND supplier_id = 5
  3343. 2016-12-27 11:00:46 select base_area:SELECT
  3344. id,
  3345. area_name
  3346. FROM
  3347. base_area
  3348. WHERE
  3349. parent_id = 809
  3350. 2016-12-27 11:00:56 select base_supplier:SELECT
  3351. id,
  3352. supplier_name,
  3353. area_id,
  3354. is_disabled,
  3355. supplier_type,
  3356. manage_type
  3357. FROM
  3358. base_supplier
  3359. WHERE
  3360. cancel_flag = 0
  3361. AND supplier_type = 301
  3362. LIMIT 0,10
  3363. 2016-12-27 11:00:56 select base_area:SELECT
  3364. id,
  3365. area_name
  3366. FROM
  3367. base_area
  3368. WHERE
  3369. id in(810,794,850,797,1966,7)
  3370. 2016-12-27 11:00:59 select base_supplier:SELECT
  3371. id,
  3372. supplier_name,
  3373. area_id,
  3374. is_disabled,
  3375. supplier_type,
  3376. manage_type
  3377. FROM
  3378. base_supplier
  3379. WHERE
  3380. cancel_flag = 0
  3381. AND supplier_type = 301
  3382. LIMIT 0,10
  3383. 2016-12-27 11:00:59 select base_area:SELECT
  3384. id,
  3385. area_name
  3386. FROM
  3387. base_area
  3388. WHERE
  3389. id in(810,794,850,797,1966,7)
  3390. 2016-12-27 11:01:00 select base_supplier:SELECT
  3391. id,
  3392. supplier_name,
  3393. area_id,
  3394. is_disabled,
  3395. supplier_type,
  3396. manage_type
  3397. FROM
  3398. base_supplier
  3399. WHERE
  3400. cancel_flag = 0
  3401. AND supplier_type = 301
  3402. LIMIT 10,10
  3403. 2016-12-27 11:01:00 select base_area:SELECT
  3404. id,
  3405. area_name
  3406. FROM
  3407. base_area
  3408. WHERE
  3409. id in(850,810,4,961,800,794)
  3410. 2016-12-27 11:01:00 select base_supplier:SELECT
  3411. id,
  3412. supplier_name,
  3413. area_id,
  3414. is_disabled,
  3415. supplier_type,
  3416. manage_type
  3417. FROM
  3418. base_supplier
  3419. WHERE
  3420. cancel_flag = 0
  3421. AND supplier_type = 301
  3422. LIMIT 10,10
  3423. 2016-12-27 11:01:00 select base_area:SELECT
  3424. id,
  3425. area_name
  3426. FROM
  3427. base_area
  3428. WHERE
  3429. id in(850,810,4,961,800,794)
  3430. 2016-12-27 11:01:00 select base_supplier:SELECT
  3431. id,
  3432. supplier_name,
  3433. area_id,
  3434. is_disabled,
  3435. supplier_type,
  3436. manage_type
  3437. FROM
  3438. base_supplier
  3439. WHERE
  3440. cancel_flag = 0
  3441. AND supplier_type = 301
  3442. LIMIT 10,10
  3443. 2016-12-27 11:01:00 select base_area:SELECT
  3444. id,
  3445. area_name
  3446. FROM
  3447. base_area
  3448. WHERE
  3449. id in(850,810,4,961,800,794)
  3450. 2016-12-27 11:01:02 select base_supplier:SELECT
  3451. id,
  3452. supplier_name,
  3453. area_id,
  3454. is_disabled,
  3455. supplier_type,
  3456. manage_type
  3457. FROM
  3458. base_supplier
  3459. WHERE
  3460. cancel_flag = 0
  3461. AND supplier_type = 301
  3462. LIMIT 0,10
  3463. 2016-12-27 11:01:02 select base_area:SELECT
  3464. id,
  3465. area_name
  3466. FROM
  3467. base_area
  3468. WHERE
  3469. id in(810,794,850,797,1966,7)
  3470. 2016-12-27 11:01:02 select base_supplier:SELECT
  3471. id,
  3472. supplier_name,
  3473. area_id,
  3474. is_disabled,
  3475. supplier_type,
  3476. manage_type
  3477. FROM
  3478. base_supplier
  3479. WHERE
  3480. cancel_flag = 0
  3481. AND supplier_type = 301
  3482. LIMIT 0,10
  3483. 2016-12-27 11:01:02 select base_area:SELECT
  3484. id,
  3485. area_name
  3486. FROM
  3487. base_area
  3488. WHERE
  3489. id in(810,794,850,797,1966,7)
  3490. 2016-12-27 11:01:02 select base_supplier:SELECT
  3491. id,
  3492. supplier_name,
  3493. area_id,
  3494. is_disabled,
  3495. supplier_type,
  3496. manage_type
  3497. FROM
  3498. base_supplier
  3499. WHERE
  3500. cancel_flag = 0
  3501. AND supplier_type = 301
  3502. LIMIT 0,10
  3503. 2016-12-27 11:01:02 select base_area:SELECT
  3504. id,
  3505. area_name
  3506. FROM
  3507. base_area
  3508. WHERE
  3509. id in(810,794,850,797,1966,7)
  3510. 2016-12-27 11:01:06 select base_supplier:SELECT
  3511. id,
  3512. supplier_name,
  3513. area_id,
  3514. is_disabled,
  3515. supplier_type,
  3516. manage_type
  3517. FROM
  3518. base_supplier
  3519. WHERE
  3520. cancel_flag = 0
  3521. and supplier_name like '%%天承%%'
  3522. AND supplier_type = 301
  3523. LIMIT 0,10
  3524. 2016-12-27 11:01:06 select base_area:SELECT
  3525. id,
  3526. area_name
  3527. FROM
  3528. base_area
  3529. WHERE
  3530. id in(796)
  3531. 2016-12-27 11:01:09 select base_supplier:SELECT
  3532. id,
  3533. supplier_name,
  3534. area_id,
  3535. is_disabled,
  3536. supplier_type,
  3537. manage_type
  3538. FROM
  3539. base_supplier
  3540. WHERE
  3541. cancel_flag = 0
  3542. AND supplier_type = 301
  3543. LIMIT 0,10
  3544. 2016-12-27 11:01:09 select base_area:SELECT
  3545. id,
  3546. area_name
  3547. FROM
  3548. base_area
  3549. WHERE
  3550. id in(810,794,850,797,1966,7)
  3551. 2016-12-27 11:01:10 select base_area:SELECT
  3552. id,
  3553. area_name
  3554. FROM
  3555. base_area
  3556. WHERE
  3557. parent_id = 0
  3558. 2016-12-27 11:01:10 select base_area:SELECT
  3559. id,
  3560. area_name
  3561. FROM
  3562. base_area
  3563. WHERE
  3564. parent_id = 1
  3565. 2016-12-27 11:01:10 select base_supplier:SELECT
  3566. id,
  3567. supplier_name,
  3568. area_id,
  3569. manage_type,
  3570. company_name,
  3571. id_card,
  3572. sett_type,
  3573. sett_frequency,
  3574. account_bank,
  3575. account_num,
  3576. account_name,
  3577. sales_man
  3578. FROM
  3579. base_supplier
  3580. WHERE
  3581. cancel_flag = 0
  3582. AND id = 1090
  3583. 2016-12-27 11:01:10 select base_area:SELECT
  3584. id,
  3585. area_name,
  3586. parent_id
  3587. FROM
  3588. base_area
  3589. WHERE
  3590. cancel_flag = 0
  3591. AND id = 796
  3592. 2016-12-27 11:01:10 select base_area:SELECT
  3593. id,
  3594. area_name
  3595. FROM
  3596. base_area
  3597. WHERE
  3598. cancel_flag = 0
  3599. AND id = 791
  3600. 2016-12-27 11:01:10 select base_supplier_sale:SELECT
  3601. id,
  3602. prod_supplier_id,
  3603. product_type,
  3604. parent_type,
  3605. sale_type,
  3606. commision_flag,
  3607. commision_type,
  3608. back_commision_type,
  3609. back_commision_method,
  3610. back_percent,
  3611. back_value
  3612. FROM
  3613. base_supplier_sale
  3614. WHERE
  3615. cancel_flag = 0
  3616. AND supplier_id = 1090
  3617. 2016-12-27 11:01:10 select base_supplier_link:SELECT
  3618. id,
  3619. link_name,
  3620. contact_name,
  3621. contact_mobile,
  3622. contact_telphone,
  3623. fax,
  3624. email,
  3625. remark
  3626. FROM
  3627. base_supplier_link
  3628. WHERE
  3629. cancel_flag = 0
  3630. AND supplier_id = 1090
  3631. 2016-12-27 11:01:10 select base_area:SELECT
  3632. id,
  3633. area_name
  3634. FROM
  3635. base_area
  3636. WHERE
  3637. parent_id = 791
  3638. 2016-12-27 11:01:19 getDbSale base_supplier_sale:SELECT
  3639. id AS sale_id,
  3640. prod_supplier_id,
  3641. product_type,
  3642. parent_type,
  3643. sale_type,
  3644. commision_flag,
  3645. commision_type,
  3646. back_commision_type,
  3647. back_commision_method,
  3648. back_percent,
  3649. back_value
  3650. FROM
  3651. base_supplier_sale
  3652. WHERE
  3653. cancel_flag = 0
  3654. AND supplier_id = 1090
  3655. 2016-12-27 11:01:19 getDbLink base_supplier_link:SELECT
  3656. id as link_id,
  3657. link_name,
  3658. contact_name,
  3659. contact_mobile,
  3660. contact_telphone,
  3661. fax,
  3662. email,
  3663. remark
  3664. FROM
  3665. base_supplier_link
  3666. WHERE
  3667. cancel_flag = 0
  3668. AND supplier_id = 1090
  3669. 2016-12-27 11:01:19 getDbChannel base_supplier:SELECT
  3670. supplier_name,
  3671. area_id,
  3672. manage_type,
  3673. company_name,
  3674. id_card,
  3675. sett_type,
  3676. sett_frequency,
  3677. account_bank,
  3678. account_num,
  3679. account_name,
  3680. sales_man
  3681. FROM
  3682. base_supplier
  3683. WHERE
  3684. cancel_flag = 0
  3685. AND id = 1090
  3686. 2016-12-27 11:01:19 UPDATE base_supplier_sale:UPDATE base_supplier_sale
  3687. SET update_user_id = 26,update_time = '2016-12-27 11:01:19',prod_supplier_id = '0',product_type = '0',parent_type = '310',sale_type = '177',commision_flag = '1',commision_type = '304',back_commision_type = '0',back_commision_method = '0',back_percent = '0',back_value = '0'
  3688. WHERE
  3689. id = 135
  3690. 2016-12-27 11:01:21 select base_supplier:SELECT
  3691. id,
  3692. supplier_name,
  3693. area_id,
  3694. is_disabled,
  3695. supplier_type,
  3696. manage_type
  3697. FROM
  3698. base_supplier
  3699. WHERE
  3700. cancel_flag = 0
  3701. AND supplier_type = 301
  3702. LIMIT 0,10
  3703. 2016-12-27 11:01:21 select base_area:SELECT
  3704. id,
  3705. area_name
  3706. FROM
  3707. base_area
  3708. WHERE
  3709. id in(810,794,850,797,1966,7)
  3710. 2016-12-27 11:01:56 select base_supplier:SELECT
  3711. id,
  3712. supplier_name,
  3713. area_id,
  3714. is_disabled,
  3715. supplier_type,
  3716. manage_type
  3717. FROM
  3718. base_supplier
  3719. WHERE
  3720. cancel_flag = 0
  3721. and supplier_name like '%%天承%%'
  3722. AND supplier_type = 301
  3723. LIMIT 0,10
  3724. 2016-12-27 11:01:56 select base_area:SELECT
  3725. id,
  3726. area_name
  3727. FROM
  3728. base_area
  3729. WHERE
  3730. id in(796)
  3731. 2016-12-27 11:01:58 select base_area:SELECT
  3732. id,
  3733. area_name
  3734. FROM
  3735. base_area
  3736. WHERE
  3737. parent_id = 0
  3738. 2016-12-27 11:01:58 select base_area:SELECT
  3739. id,
  3740. area_name
  3741. FROM
  3742. base_area
  3743. WHERE
  3744. parent_id = 1
  3745. 2016-12-27 11:01:58 select base_supplier:SELECT
  3746. id,
  3747. supplier_name,
  3748. area_id,
  3749. manage_type,
  3750. company_name,
  3751. id_card,
  3752. sett_type,
  3753. sett_frequency,
  3754. account_bank,
  3755. account_num,
  3756. account_name,
  3757. sales_man
  3758. FROM
  3759. base_supplier
  3760. WHERE
  3761. cancel_flag = 0
  3762. AND id = 1090
  3763. 2016-12-27 11:01:58 select base_area:SELECT
  3764. id,
  3765. area_name,
  3766. parent_id
  3767. FROM
  3768. base_area
  3769. WHERE
  3770. cancel_flag = 0
  3771. AND id = 796
  3772. 2016-12-27 11:01:58 select base_area:SELECT
  3773. id,
  3774. area_name
  3775. FROM
  3776. base_area
  3777. WHERE
  3778. cancel_flag = 0
  3779. AND id = 791
  3780. 2016-12-27 11:01:58 select base_supplier_sale:SELECT
  3781. id,
  3782. prod_supplier_id,
  3783. product_type,
  3784. parent_type,
  3785. sale_type,
  3786. commision_flag,
  3787. commision_type,
  3788. back_commision_type,
  3789. back_commision_method,
  3790. back_percent,
  3791. back_value
  3792. FROM
  3793. base_supplier_sale
  3794. WHERE
  3795. cancel_flag = 0
  3796. AND supplier_id = 1090
  3797. 2016-12-27 11:01:58 select base_supplier_link:SELECT
  3798. id,
  3799. link_name,
  3800. contact_name,
  3801. contact_mobile,
  3802. contact_telphone,
  3803. fax,
  3804. email,
  3805. remark
  3806. FROM
  3807. base_supplier_link
  3808. WHERE
  3809. cancel_flag = 0
  3810. AND supplier_id = 1090
  3811. 2016-12-27 11:01:58 select base_area:SELECT
  3812. id,
  3813. area_name
  3814. FROM
  3815. base_area
  3816. WHERE
  3817. parent_id = 791
  3818. 2016-12-27 11:02:40 select base_supplier:SELECT
  3819. id,
  3820. supplier_name,
  3821. area_id,
  3822. is_disabled,
  3823. supplier_type,
  3824. manage_type
  3825. FROM
  3826. base_supplier
  3827. WHERE
  3828. cancel_flag = 0
  3829. AND supplier_type = 301
  3830. LIMIT 0,10
  3831. 2016-12-27 11:02:40 select base_area:SELECT
  3832. id,
  3833. area_name
  3834. FROM
  3835. base_area
  3836. WHERE
  3837. id in(810,794,850,797,1966,7)
  3838. 2016-12-27 11:02:46 select base_supplier:SELECT
  3839. id,
  3840. supplier_name,
  3841. area_id,
  3842. is_disabled,
  3843. supplier_type,
  3844. manage_type
  3845. FROM
  3846. base_supplier
  3847. WHERE
  3848. cancel_flag = 0
  3849. and supplier_name like '%%自在%%'
  3850. AND supplier_type = 301
  3851. LIMIT 0,10
  3852. 2016-12-27 11:02:46 select base_area:SELECT
  3853. id,
  3854. area_name
  3855. FROM
  3856. base_area
  3857. WHERE
  3858. id in(792)
  3859. 2016-12-27 11:02:48 select base_area:SELECT
  3860. id,
  3861. area_name
  3862. FROM
  3863. base_area
  3864. WHERE
  3865. parent_id = 0
  3866. 2016-12-27 11:02:48 select base_area:SELECT
  3867. id,
  3868. area_name
  3869. FROM
  3870. base_area
  3871. WHERE
  3872. parent_id = 1
  3873. 2016-12-27 11:02:49 select base_supplier:SELECT
  3874. id,
  3875. supplier_name,
  3876. area_id,
  3877. manage_type,
  3878. company_name,
  3879. id_card,
  3880. sett_type,
  3881. sett_frequency,
  3882. account_bank,
  3883. account_num,
  3884. account_name,
  3885. sales_man
  3886. FROM
  3887. base_supplier
  3888. WHERE
  3889. cancel_flag = 0
  3890. AND id = 654
  3891. 2016-12-27 11:02:49 select base_area:SELECT
  3892. id,
  3893. area_name,
  3894. parent_id
  3895. FROM
  3896. base_area
  3897. WHERE
  3898. cancel_flag = 0
  3899. AND id = 792
  3900. 2016-12-27 11:02:49 select base_area:SELECT
  3901. id,
  3902. area_name
  3903. FROM
  3904. base_area
  3905. WHERE
  3906. cancel_flag = 0
  3907. AND id = 791
  3908. 2016-12-27 11:02:49 select base_supplier_sale:SELECT
  3909. id,
  3910. prod_supplier_id,
  3911. product_type,
  3912. parent_type,
  3913. sale_type,
  3914. commision_flag,
  3915. commision_type,
  3916. back_commision_type,
  3917. back_commision_method,
  3918. back_percent,
  3919. back_value
  3920. FROM
  3921. base_supplier_sale
  3922. WHERE
  3923. cancel_flag = 0
  3924. AND supplier_id = 654
  3925. 2016-12-27 11:02:49 select base_supplier_link:SELECT
  3926. id,
  3927. link_name,
  3928. contact_name,
  3929. contact_mobile,
  3930. contact_telphone,
  3931. fax,
  3932. email,
  3933. remark
  3934. FROM
  3935. base_supplier_link
  3936. WHERE
  3937. cancel_flag = 0
  3938. AND supplier_id = 654
  3939. 2016-12-27 11:02:49 select base_area:SELECT
  3940. id,
  3941. area_name
  3942. FROM
  3943. base_area
  3944. WHERE
  3945. parent_id = 791
  3946. 2016-12-27 11:02:53 select base_area:SELECT
  3947. id,
  3948. area_name
  3949. FROM
  3950. base_area
  3951. WHERE
  3952. parent_id = 0
  3953. 2016-12-27 11:02:53 select base_area:SELECT
  3954. id,
  3955. area_name
  3956. FROM
  3957. base_area
  3958. WHERE
  3959. parent_id = 1
  3960. 2016-12-27 11:02:56 check base_supplier:SELECT
  3961. supplier_name
  3962. FROM
  3963. base_supplier
  3964. WHERE
  3965. cancel_flag = 0
  3966. AND supplier_type = 301
  3967. AND supplier_name = '自在国旅' and id != 654
  3968. 2016-12-27 11:03:00 check base_supplier:SELECT
  3969. supplier_name
  3970. FROM
  3971. base_supplier
  3972. WHERE
  3973. cancel_flag = 0
  3974. AND supplier_type = 301
  3975. AND supplier_name = '吴山集散'
  3976. 2016-12-27 11:03:02 select base_area:SELECT
  3977. id,
  3978. area_name
  3979. FROM
  3980. base_area
  3981. WHERE
  3982. parent_id = 922
  3983. 2016-12-27 11:03:45 INSERT INTO base_supplier:INSERT INTO base_supplier (
  3984. create_user_id,
  3985. create_time,
  3986. supplier_type,
  3987. supplier_name,
  3988. area_id,
  3989. manage_type,
  3990. company_name,
  3991. id_card,
  3992. is_disabled,
  3993. sett_type,
  3994. sett_frequency,
  3995. account_bank,
  3996. account_num,
  3997. account_name,
  3998. sales_man
  3999. )
  4000. VALUES
  4001. (26,'2016-12-27 11:03:45',301,'吴山集散',923,1,'杭州吴山广场旅游集散有限公司','',0,275,295,'','','','袁玮')
  4002. 2016-12-27 11:03:45 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  4003. create_user_id,
  4004. create_time,
  4005. supplier_id,
  4006. prod_supplier_id,
  4007. product_type,
  4008. parent_type,
  4009. sale_type,
  4010. commision_flag,
  4011. commision_type,
  4012. back_commision_type,
  4013. back_commision_method,
  4014. back_percent,
  4015. back_value
  4016. )
  4017. VALUES (26,'2016-12-27 11:03:45',1091,0,0,310,177,1,304,0,0,'0','0')
  4018. 2016-12-27 11:03:45 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  4019. create_user_id,
  4020. create_time,
  4021. supplier_id,
  4022. link_name,
  4023. contact_name,
  4024. contact_mobile,
  4025. contact_telphone,
  4026. fax,
  4027. email,
  4028. remark
  4029. )
  4030. VALUES (26,'2016-12-27 11:03:45',1091,'负责人','王伟','15888866564','','','','')
  4031. 2016-12-27 11:03:46 select base_supplier:SELECT
  4032. id,
  4033. supplier_name,
  4034. area_id,
  4035. is_disabled,
  4036. supplier_type,
  4037. manage_type
  4038. FROM
  4039. base_supplier
  4040. WHERE
  4041. cancel_flag = 0
  4042. AND supplier_type = 301
  4043. LIMIT 0,10
  4044. 2016-12-27 11:03:46 select base_area:SELECT
  4045. id,
  4046. area_name
  4047. FROM
  4048. base_area
  4049. WHERE
  4050. id in(792,810,794,850,797,1966)
  4051. 2016-12-27 11:04:59 select base_area:SELECT
  4052. id,
  4053. area_name
  4054. FROM
  4055. base_area
  4056. WHERE
  4057. parent_id = 0
  4058. 2016-12-27 11:04:59 select base_area:SELECT
  4059. id,
  4060. area_name
  4061. FROM
  4062. base_area
  4063. WHERE
  4064. parent_id = 1
  4065. 2016-12-27 11:05:23 check base_supplier:SELECT
  4066. supplier_name
  4067. FROM
  4068. base_supplier
  4069. WHERE
  4070. cancel_flag = 0
  4071. AND supplier_type = 301
  4072. AND supplier_name = ''
  4073. 2016-12-27 11:05:54 check base_supplier:SELECT
  4074. supplier_name
  4075. FROM
  4076. base_supplier
  4077. WHERE
  4078. cancel_flag = 0
  4079. AND supplier_type = 301
  4080. AND supplier_name = '自在国旅服务中心'
  4081. 2016-12-27 11:05:56 select base_area:SELECT
  4082. id,
  4083. area_name
  4084. FROM
  4085. base_area
  4086. WHERE
  4087. parent_id = 791
  4088. 2016-12-27 11:06:48 INSERT INTO base_supplier:INSERT INTO base_supplier (
  4089. create_user_id,
  4090. create_time,
  4091. supplier_type,
  4092. supplier_name,
  4093. area_id,
  4094. manage_type,
  4095. company_name,
  4096. id_card,
  4097. is_disabled,
  4098. sett_type,
  4099. sett_frequency,
  4100. account_bank,
  4101. account_num,
  4102. account_name,
  4103. sales_man
  4104. )
  4105. VALUES
  4106. (26,'2016-12-27 11:06:48',301,'自在国旅服务中心',792,1,'上海自在国际旅行社有限公司','',0,275,295,'','','','袁玮')
  4107. 2016-12-27 11:06:48 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  4108. create_user_id,
  4109. create_time,
  4110. supplier_id,
  4111. prod_supplier_id,
  4112. product_type,
  4113. parent_type,
  4114. sale_type,
  4115. commision_flag,
  4116. commision_type,
  4117. back_commision_type,
  4118. back_commision_method,
  4119. back_percent,
  4120. back_value
  4121. )
  4122. VALUES (26,'2016-12-27 11:06:48',1092,0,0,310,177,1,304,0,0,'0','0')
  4123. 2016-12-27 11:06:48 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  4124. create_user_id,
  4125. create_time,
  4126. supplier_id,
  4127. link_name,
  4128. contact_name,
  4129. contact_mobile,
  4130. contact_telphone,
  4131. fax,
  4132. email,
  4133. remark
  4134. )
  4135. VALUES (26,'2016-12-27 11:06:48',1092,'负责人','吴蓉','18616708932','','','','')
  4136. 2016-12-27 11:06:50 select base_supplier:SELECT
  4137. id,
  4138. supplier_name,
  4139. area_id,
  4140. is_disabled,
  4141. supplier_type,
  4142. manage_type
  4143. FROM
  4144. base_supplier
  4145. WHERE
  4146. cancel_flag = 0
  4147. AND supplier_type = 301
  4148. LIMIT 0,10
  4149. 2016-12-27 11:06:50 select base_area:SELECT
  4150. id,
  4151. area_name
  4152. FROM
  4153. base_area
  4154. WHERE
  4155. id in(792,810,794,850,797,1966)
  4156. 2016-12-27 11:07:05 select base_area:SELECT
  4157. id,
  4158. area_name
  4159. FROM
  4160. base_area
  4161. WHERE
  4162. parent_id = 0
  4163. 2016-12-27 11:07:05 select base_area:SELECT
  4164. id,
  4165. area_name
  4166. FROM
  4167. base_area
  4168. WHERE
  4169. parent_id = 1
  4170. 2016-12-27 11:07:05 select base_supplier:SELECT
  4171. id,
  4172. supplier_name,
  4173. area_id,
  4174. manage_type,
  4175. company_name,
  4176. id_card,
  4177. sett_type,
  4178. sett_frequency,
  4179. account_bank,
  4180. account_num,
  4181. account_name,
  4182. sales_man
  4183. FROM
  4184. base_supplier
  4185. WHERE
  4186. cancel_flag = 0
  4187. AND id = 3
  4188. 2016-12-27 11:07:05 select base_area:SELECT
  4189. id,
  4190. area_name,
  4191. parent_id
  4192. FROM
  4193. base_area
  4194. WHERE
  4195. cancel_flag = 0
  4196. AND id = 792
  4197. 2016-12-27 11:07:05 select base_area:SELECT
  4198. id,
  4199. area_name
  4200. FROM
  4201. base_area
  4202. WHERE
  4203. cancel_flag = 0
  4204. AND id = 791
  4205. 2016-12-27 11:07:05 select base_supplier_sale:SELECT
  4206. id,
  4207. prod_supplier_id,
  4208. product_type,
  4209. parent_type,
  4210. sale_type,
  4211. commision_flag,
  4212. commision_type,
  4213. back_commision_type,
  4214. back_commision_method,
  4215. back_percent,
  4216. back_value
  4217. FROM
  4218. base_supplier_sale
  4219. WHERE
  4220. cancel_flag = 0
  4221. AND supplier_id = 3
  4222. 2016-12-27 11:07:05 select base_supplier_link:SELECT
  4223. id,
  4224. link_name,
  4225. contact_name,
  4226. contact_mobile,
  4227. contact_telphone,
  4228. fax,
  4229. email,
  4230. remark
  4231. FROM
  4232. base_supplier_link
  4233. WHERE
  4234. cancel_flag = 0
  4235. AND supplier_id = 3
  4236. 2016-12-27 11:07:05 select base_area:SELECT
  4237. id,
  4238. area_name
  4239. FROM
  4240. base_area
  4241. WHERE
  4242. parent_id = 791
  4243. 2016-12-27 11:07:15 check base_supplier:SELECT
  4244. supplier_name
  4245. FROM
  4246. base_supplier
  4247. WHERE
  4248. cancel_flag = 0
  4249. AND supplier_type = 301
  4250. AND supplier_name = '自在国旅' and id != 3
  4251. 2016-12-27 11:07:30 check base_supplier:SELECT
  4252. supplier_name
  4253. FROM
  4254. base_supplier
  4255. WHERE
  4256. cancel_flag = 0
  4257. AND supplier_type = 301
  4258. AND supplier_name = '自在国旅服务中心' and id != 3
  4259. 2016-12-27 11:07:55 select base_supplier:SELECT
  4260. id,
  4261. supplier_name,
  4262. area_id,
  4263. is_disabled,
  4264. supplier_type,
  4265. manage_type
  4266. FROM
  4267. base_supplier
  4268. WHERE
  4269. cancel_flag = 0
  4270. and supplier_name like '%%自在%%'
  4271. AND supplier_type = 301
  4272. LIMIT 0,10
  4273. 2016-12-27 11:07:55 select base_area:SELECT
  4274. id,
  4275. area_name
  4276. FROM
  4277. base_area
  4278. WHERE
  4279. id in(792)
  4280. 2016-12-27 11:07:58 select base_area:SELECT
  4281. id,
  4282. area_name
  4283. FROM
  4284. base_area
  4285. WHERE
  4286. parent_id = 0
  4287. 2016-12-27 11:07:58 select base_area:SELECT
  4288. id,
  4289. area_name
  4290. FROM
  4291. base_area
  4292. WHERE
  4293. parent_id = 1
  4294. 2016-12-27 11:07:58 select base_supplier:SELECT
  4295. id,
  4296. supplier_name,
  4297. area_id,
  4298. manage_type,
  4299. company_name,
  4300. id_card,
  4301. sett_type,
  4302. sett_frequency,
  4303. account_bank,
  4304. account_num,
  4305. account_name,
  4306. sales_man
  4307. FROM
  4308. base_supplier
  4309. WHERE
  4310. cancel_flag = 0
  4311. AND id = 1092
  4312. 2016-12-27 11:07:58 select base_area:SELECT
  4313. id,
  4314. area_name,
  4315. parent_id
  4316. FROM
  4317. base_area
  4318. WHERE
  4319. cancel_flag = 0
  4320. AND id = 792
  4321. 2016-12-27 11:07:58 select base_area:SELECT
  4322. id,
  4323. area_name
  4324. FROM
  4325. base_area
  4326. WHERE
  4327. cancel_flag = 0
  4328. AND id = 791
  4329. 2016-12-27 11:07:58 select base_supplier_sale:SELECT
  4330. id,
  4331. prod_supplier_id,
  4332. product_type,
  4333. parent_type,
  4334. sale_type,
  4335. commision_flag,
  4336. commision_type,
  4337. back_commision_type,
  4338. back_commision_method,
  4339. back_percent,
  4340. back_value
  4341. FROM
  4342. base_supplier_sale
  4343. WHERE
  4344. cancel_flag = 0
  4345. AND supplier_id = 1092
  4346. 2016-12-27 11:07:58 select base_supplier_link:SELECT
  4347. id,
  4348. link_name,
  4349. contact_name,
  4350. contact_mobile,
  4351. contact_telphone,
  4352. fax,
  4353. email,
  4354. remark
  4355. FROM
  4356. base_supplier_link
  4357. WHERE
  4358. cancel_flag = 0
  4359. AND supplier_id = 1092
  4360. 2016-12-27 11:07:58 select base_area:SELECT
  4361. id,
  4362. area_name
  4363. FROM
  4364. base_area
  4365. WHERE
  4366. parent_id = 791
  4367. 2016-12-27 11:09:13 select base_area:SELECT
  4368. id,
  4369. area_name
  4370. FROM
  4371. base_area
  4372. WHERE
  4373. parent_id = 0
  4374. 2016-12-27 11:09:13 select base_area:SELECT
  4375. id,
  4376. area_name
  4377. FROM
  4378. base_area
  4379. WHERE
  4380. parent_id = 1
  4381. 2016-12-27 11:09:27 check base_supplier:SELECT
  4382. supplier_name
  4383. FROM
  4384. base_supplier
  4385. WHERE
  4386. cancel_flag = 0
  4387. AND supplier_type = 301
  4388. AND supplier_name = '优闲国际'
  4389. 2016-12-27 11:09:31 select base_area:SELECT
  4390. id,
  4391. area_name
  4392. FROM
  4393. base_area
  4394. WHERE
  4395. parent_id = 791
  4396. 2016-12-27 11:10:12 INSERT INTO base_supplier:INSERT INTO base_supplier (
  4397. create_user_id,
  4398. create_time,
  4399. supplier_type,
  4400. supplier_name,
  4401. area_id,
  4402. manage_type,
  4403. company_name,
  4404. id_card,
  4405. is_disabled,
  4406. sett_type,
  4407. sett_frequency,
  4408. account_bank,
  4409. account_num,
  4410. account_name,
  4411. sales_man
  4412. )
  4413. VALUES
  4414. (26,'2016-12-27 11:10:12',301,'优闲国际',792,1,'优闲国际旅行社(上海)有限公司','',0,275,295,'','','','袁玮')
  4415. 2016-12-27 11:10:12 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  4416. create_user_id,
  4417. create_time,
  4418. supplier_id,
  4419. prod_supplier_id,
  4420. product_type,
  4421. parent_type,
  4422. sale_type,
  4423. commision_flag,
  4424. commision_type,
  4425. back_commision_type,
  4426. back_commision_method,
  4427. back_percent,
  4428. back_value
  4429. )
  4430. VALUES (26,'2016-12-27 11:10:12',1093,0,0,310,177,1,304,0,0,'0','0')
  4431. 2016-12-27 11:10:12 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  4432. create_user_id,
  4433. create_time,
  4434. supplier_id,
  4435. link_name,
  4436. contact_name,
  4437. contact_mobile,
  4438. contact_telphone,
  4439. fax,
  4440. email,
  4441. remark
  4442. )
  4443. VALUES (26,'2016-12-27 11:10:12',1093,'负责人','章颖','15800597076','','','','')
  4444. 2016-12-27 11:10:14 select base_supplier:SELECT
  4445. id,
  4446. supplier_name,
  4447. area_id,
  4448. is_disabled,
  4449. supplier_type,
  4450. manage_type
  4451. FROM
  4452. base_supplier
  4453. WHERE
  4454. cancel_flag = 0
  4455. AND supplier_type = 301
  4456. LIMIT 0,10
  4457. 2016-12-27 11:10:14 select base_area:SELECT
  4458. id,
  4459. area_name
  4460. FROM
  4461. base_area
  4462. WHERE
  4463. id in(792,810,794,850,797,1966,7)
  4464. 2016-12-27 11:10:57 select base_supplier:SELECT
  4465. id,
  4466. supplier_name,
  4467. area_id,
  4468. is_disabled,
  4469. supplier_type
  4470. FROM
  4471. base_supplier a
  4472. WHERE
  4473. cancel_flag = 0
  4474. AND supplier_type = 187
  4475. LIMIT 0,10
  4476. 2016-12-27 11:10:57 count:SELECT
  4477. a.id
  4478. FROM
  4479. base_supplier AS a,
  4480. base_supplier_purchase AS b
  4481. WHERE
  4482. a.id = b.supplier_id
  4483. AND a.cancel_flag = 0
  4484. AND b.cancel_flag = 0
  4485. GROUP BY
  4486. b.supplier_id
  4487. 2016-12-27 11:10:57 select base_area:SELECT
  4488. id,
  4489. area_name
  4490. FROM
  4491. base_area
  4492. WHERE
  4493. id in(923,803,792,1200,961)
  4494. 2016-12-27 11:12:06 select base_supplier:SELECT
  4495. id,
  4496. supplier_name,
  4497. area_id,
  4498. is_disabled,
  4499. supplier_type,
  4500. manage_type
  4501. FROM
  4502. base_supplier
  4503. WHERE
  4504. cancel_flag = 0
  4505. AND supplier_type = 301
  4506. LIMIT 0,10
  4507. 2016-12-27 11:12:06 select base_area:SELECT
  4508. id,
  4509. area_name
  4510. FROM
  4511. base_area
  4512. WHERE
  4513. id in(792,810,794,850,797,1966,7)
  4514. 2016-12-27 11:12:08 select base_supplier:SELECT
  4515. id,
  4516. supplier_name,
  4517. area_id,
  4518. is_disabled,
  4519. supplier_type,
  4520. manage_type
  4521. FROM
  4522. base_supplier
  4523. WHERE
  4524. cancel_flag = 0
  4525. and supplier_name like '%%美团%%'
  4526. AND supplier_type = 301
  4527. LIMIT 0,10
  4528. 2016-12-27 11:12:08 select base_area:SELECT
  4529. id,
  4530. area_name
  4531. FROM
  4532. base_area
  4533. WHERE
  4534. id in(794)
  4535. 2016-12-27 11:13:10 select base_supplier:SELECT
  4536. id,
  4537. supplier_name,
  4538. area_id,
  4539. is_disabled,
  4540. supplier_type,
  4541. manage_type
  4542. FROM
  4543. base_supplier
  4544. WHERE
  4545. cancel_flag = 0
  4546. and supplier_name like '%%跟我%%'
  4547. AND supplier_type = 301
  4548. LIMIT 0,10
  4549. 2016-12-27 11:13:11 select base_area:SELECT
  4550. id,
  4551. area_name
  4552. FROM
  4553. base_area
  4554. WHERE
  4555. parent_id = 0
  4556. 2016-12-27 11:13:11 select base_area:SELECT
  4557. id,
  4558. area_name
  4559. FROM
  4560. base_area
  4561. WHERE
  4562. parent_id = 1
  4563. 2016-12-27 11:13:30 check base_supplier:SELECT
  4564. supplier_name
  4565. FROM
  4566. base_supplier
  4567. WHERE
  4568. cancel_flag = 0
  4569. AND supplier_type = 301
  4570. AND supplier_name = '跟我游'
  4571. 2016-12-27 11:13:32 select base_area:SELECT
  4572. id,
  4573. area_name
  4574. FROM
  4575. base_area
  4576. WHERE
  4577. parent_id = 791
  4578. 2016-12-27 11:15:11 INSERT INTO base_supplier:INSERT INTO base_supplier (
  4579. create_user_id,
  4580. create_time,
  4581. supplier_type,
  4582. supplier_name,
  4583. area_id,
  4584. manage_type,
  4585. company_name,
  4586. id_card,
  4587. is_disabled,
  4588. sett_type,
  4589. sett_frequency,
  4590. account_bank,
  4591. account_num,
  4592. account_name,
  4593. sales_man
  4594. )
  4595. VALUES
  4596. (26,'2016-12-27 11:15:11',301,'跟我游',795,1,'上海跟我游国际旅行社有限公司','',0,288,293,'','','','王晓冬')
  4597. 2016-12-27 11:15:11 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  4598. create_user_id,
  4599. create_time,
  4600. supplier_id,
  4601. prod_supplier_id,
  4602. product_type,
  4603. parent_type,
  4604. sale_type,
  4605. commision_flag,
  4606. commision_type,
  4607. back_commision_type,
  4608. back_commision_method,
  4609. back_percent,
  4610. back_value
  4611. )
  4612. VALUES (26,'2016-12-27 11:15:11',1094,0,0,310,277,1,304,0,0,'0','0')
  4613. 2016-12-27 11:15:11 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  4614. create_user_id,
  4615. create_time,
  4616. supplier_id,
  4617. link_name,
  4618. contact_name,
  4619. contact_mobile,
  4620. contact_telphone,
  4621. fax,
  4622. email,
  4623. remark
  4624. )
  4625. VALUES (26,'2016-12-27 11:15:11',1094,'负责人','王鹏飞','13813013646','','','','')
  4626. 2016-12-27 11:15:13 select base_supplier:SELECT
  4627. id,
  4628. supplier_name,
  4629. area_id,
  4630. is_disabled,
  4631. supplier_type,
  4632. manage_type
  4633. FROM
  4634. base_supplier
  4635. WHERE
  4636. cancel_flag = 0
  4637. AND supplier_type = 301
  4638. LIMIT 0,10
  4639. 2016-12-27 11:15:13 select base_area:SELECT
  4640. id,
  4641. area_name
  4642. FROM
  4643. base_area
  4644. WHERE
  4645. id in(792,810,794,850,797,1966,7)
  4646. 2016-12-27 11:15:14 select base_area:SELECT
  4647. id,
  4648. area_name
  4649. FROM
  4650. base_area
  4651. WHERE
  4652. parent_id = 0
  4653. 2016-12-27 11:15:14 select base_area:SELECT
  4654. id,
  4655. area_name
  4656. FROM
  4657. base_area
  4658. WHERE
  4659. parent_id = 1
  4660. 2016-12-27 11:15:18 check base_supplier:SELECT
  4661. supplier_name
  4662. FROM
  4663. base_supplier
  4664. WHERE
  4665. cancel_flag = 0
  4666. AND supplier_type = 301
  4667. AND supplier_name = '跟我游国旅'
  4668. 2016-12-27 11:15:20 select base_area:SELECT
  4669. id,
  4670. area_name
  4671. FROM
  4672. base_area
  4673. WHERE
  4674. parent_id = 791
  4675. 2016-12-27 11:15:56 INSERT INTO base_supplier:INSERT INTO base_supplier (
  4676. create_user_id,
  4677. create_time,
  4678. supplier_type,
  4679. supplier_name,
  4680. area_id,
  4681. manage_type,
  4682. company_name,
  4683. id_card,
  4684. is_disabled,
  4685. sett_type,
  4686. sett_frequency,
  4687. account_bank,
  4688. account_num,
  4689. account_name,
  4690. sales_man
  4691. )
  4692. VALUES
  4693. (26,'2016-12-27 11:15:56',301,'跟我游国旅',795,1,'上海跟我游国际旅行社有限公司','',0,275,295,'','','','王晓冬')
  4694. 2016-12-27 11:15:56 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  4695. create_user_id,
  4696. create_time,
  4697. supplier_id,
  4698. prod_supplier_id,
  4699. product_type,
  4700. parent_type,
  4701. sale_type,
  4702. commision_flag,
  4703. commision_type,
  4704. back_commision_type,
  4705. back_commision_method,
  4706. back_percent,
  4707. back_value
  4708. )
  4709. VALUES (26,'2016-12-27 11:15:56',1095,0,0,310,177,1,304,0,0,'0','0')
  4710. 2016-12-27 11:15:56 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  4711. create_user_id,
  4712. create_time,
  4713. supplier_id,
  4714. link_name,
  4715. contact_name,
  4716. contact_mobile,
  4717. contact_telphone,
  4718. fax,
  4719. email,
  4720. remark
  4721. )
  4722. VALUES (26,'2016-12-27 11:15:56',1095,'负责人','王鹏飞','13813013646','','','','')
  4723. 2016-12-27 11:15:58 select base_supplier:SELECT
  4724. id,
  4725. supplier_name,
  4726. area_id,
  4727. is_disabled,
  4728. supplier_type,
  4729. manage_type
  4730. FROM
  4731. base_supplier
  4732. WHERE
  4733. cancel_flag = 0
  4734. AND supplier_type = 301
  4735. LIMIT 0,10
  4736. 2016-12-27 11:15:58 select base_area:SELECT
  4737. id,
  4738. area_name
  4739. FROM
  4740. base_area
  4741. WHERE
  4742. id in(792,810,794,850,797,1966,7)
  4743. 2016-12-27 11:57:35 select base_supplier:SELECT
  4744. id,
  4745. supplier_name,
  4746. area_id,
  4747. is_disabled,
  4748. supplier_type
  4749. FROM
  4750. base_supplier a
  4751. WHERE
  4752. cancel_flag = 0
  4753. AND supplier_type = 187
  4754. LIMIT 0,10
  4755. 2016-12-27 11:57:35 count:SELECT
  4756. a.id
  4757. FROM
  4758. base_supplier AS a,
  4759. base_supplier_purchase AS b
  4760. WHERE
  4761. a.id = b.supplier_id
  4762. AND a.cancel_flag = 0
  4763. AND b.cancel_flag = 0
  4764. GROUP BY
  4765. b.supplier_id
  4766. 2016-12-27 11:57:35 select base_area:SELECT
  4767. id,
  4768. area_name
  4769. FROM
  4770. base_area
  4771. WHERE
  4772. id in(923,803,792,1200,961)
  4773. 2016-12-27 11:59:37 select base_supplier:SELECT
  4774. id,
  4775. supplier_name,
  4776. area_id,
  4777. is_disabled,
  4778. supplier_type
  4779. FROM
  4780. base_supplier a
  4781. WHERE
  4782. cancel_flag = 0
  4783. AND supplier_type = 187
  4784. LIMIT 0,10
  4785. 2016-12-27 11:59:37 count:SELECT
  4786. a.id
  4787. FROM
  4788. base_supplier AS a,
  4789. base_supplier_purchase AS b
  4790. WHERE
  4791. a.id = b.supplier_id
  4792. AND a.cancel_flag = 0
  4793. AND b.cancel_flag = 0
  4794. GROUP BY
  4795. b.supplier_id
  4796. 2016-12-27 11:59:37 select base_area:SELECT
  4797. id,
  4798. area_name
  4799. FROM
  4800. base_area
  4801. WHERE
  4802. id in(923,803,792,1200,961)
  4803. 2016-12-27 11:59:39 select base_area:SELECT
  4804. id,
  4805. area_name
  4806. FROM
  4807. base_area
  4808. WHERE
  4809. parent_id = 0
  4810. 2016-12-27 11:59:39 select base_area:SELECT
  4811. id,
  4812. area_name
  4813. FROM
  4814. base_area
  4815. WHERE
  4816. parent_id = 1
  4817. 2016-12-27 11:59:42 check base_supplier:SELECT
  4818. supplier_name
  4819. FROM
  4820. base_supplier
  4821. WHERE
  4822. cancel_flag = 0
  4823. AND supplier_type = 187
  4824. AND supplier_name = ''
  4825. 2016-12-27 12:06:29 check base_supplier:SELECT
  4826. supplier_name
  4827. FROM
  4828. base_supplier
  4829. WHERE
  4830. cancel_flag = 0
  4831. AND supplier_type = 187
  4832. AND supplier_name = ''
  4833. 2016-12-27 13:13:00 select base_supplier:SELECT
  4834. id,
  4835. supplier_name,
  4836. area_id,
  4837. is_disabled,
  4838. supplier_type
  4839. FROM
  4840. base_supplier a
  4841. WHERE
  4842. cancel_flag = 0
  4843. AND supplier_type = 187
  4844. LIMIT 0,10
  4845. 2016-12-27 13:13:00 count:SELECT
  4846. a.id
  4847. FROM
  4848. base_supplier AS a,
  4849. base_supplier_purchase AS b
  4850. WHERE
  4851. a.id = b.supplier_id
  4852. AND a.cancel_flag = 0
  4853. AND b.cancel_flag = 0
  4854. GROUP BY
  4855. b.supplier_id
  4856. 2016-12-27 13:13:00 select base_area:SELECT
  4857. id,
  4858. area_name
  4859. FROM
  4860. base_area
  4861. WHERE
  4862. id in(923,803,792,1200,961)
  4863. 2016-12-27 13:15:16 select base_supplier:SELECT
  4864. id,
  4865. supplier_name,
  4866. area_id,
  4867. is_disabled,
  4868. supplier_type
  4869. FROM
  4870. base_supplier a
  4871. WHERE
  4872. cancel_flag = 0
  4873. AND supplier_type = 187
  4874. LIMIT 0,10
  4875. 2016-12-27 13:15:16 count:SELECT
  4876. a.id
  4877. FROM
  4878. base_supplier AS a,
  4879. base_supplier_purchase AS b
  4880. WHERE
  4881. a.id = b.supplier_id
  4882. AND a.cancel_flag = 0
  4883. AND b.cancel_flag = 0
  4884. GROUP BY
  4885. b.supplier_id
  4886. 2016-12-27 13:15:16 select base_area:SELECT
  4887. id,
  4888. area_name
  4889. FROM
  4890. base_area
  4891. WHERE
  4892. id in(923,803,792,1200,961)
  4893. 2016-12-27 13:17:59 select base_supplier:SELECT
  4894. id,
  4895. supplier_name,
  4896. area_id,
  4897. is_disabled,
  4898. supplier_type,
  4899. manage_type
  4900. FROM
  4901. base_supplier
  4902. WHERE
  4903. cancel_flag = 0
  4904. AND supplier_type = 301
  4905. LIMIT 0,10
  4906. 2016-12-27 13:17:59 select base_area:SELECT
  4907. id,
  4908. area_name
  4909. FROM
  4910. base_area
  4911. WHERE
  4912. id in(792,810,794,850,797,1966,7)
  4913. 2016-12-27 13:18:00 select base_supplier:SELECT
  4914. id,
  4915. supplier_name,
  4916. area_id,
  4917. is_disabled,
  4918. supplier_type
  4919. FROM
  4920. base_supplier a
  4921. WHERE
  4922. cancel_flag = 0
  4923. AND supplier_type = 187
  4924. LIMIT 0,10
  4925. 2016-12-27 13:18:00 count:SELECT
  4926. a.id
  4927. FROM
  4928. base_supplier AS a,
  4929. base_supplier_purchase AS b
  4930. WHERE
  4931. a.id = b.supplier_id
  4932. AND a.cancel_flag = 0
  4933. AND b.cancel_flag = 0
  4934. GROUP BY
  4935. b.supplier_id
  4936. 2016-12-27 13:18:00 select base_area:SELECT
  4937. id,
  4938. area_name
  4939. FROM
  4940. base_area
  4941. WHERE
  4942. id in(923,803,792,1200,961)
  4943. 2016-12-27 13:20:06 select base_area:SELECT
  4944. id,
  4945. area_name
  4946. FROM
  4947. base_area
  4948. WHERE
  4949. parent_id = 0
  4950. 2016-12-27 13:20:06 select base_area:SELECT
  4951. id,
  4952. area_name
  4953. FROM
  4954. base_area
  4955. WHERE
  4956. parent_id = 1
  4957. 2016-12-27 13:20:11 check base_supplier:SELECT
  4958. supplier_name
  4959. FROM
  4960. base_supplier
  4961. WHERE
  4962. cancel_flag = 0
  4963. AND supplier_type = 187
  4964. AND supplier_name = ''
  4965. 2016-12-27 13:21:54 check base_supplier:SELECT
  4966. supplier_name
  4967. FROM
  4968. base_supplier
  4969. WHERE
  4970. cancel_flag = 0
  4971. AND supplier_type = 187
  4972. AND supplier_name = ''
  4973. 2016-12-27 13:22:03 check base_supplier:SELECT
  4974. supplier_name
  4975. FROM
  4976. base_supplier
  4977. WHERE
  4978. cancel_flag = 0
  4979. AND supplier_type = 187
  4980. AND supplier_name = '上海明天广场JW万豪酒店'
  4981. 2016-12-27 13:22:06 check base_supplier:SELECT
  4982. supplier_name
  4983. FROM
  4984. base_supplier
  4985. WHERE
  4986. cancel_flag = 0
  4987. AND supplier_type = 187
  4988. AND supplier_name = '上海明天广场JW万豪酒店'
  4989. 2016-12-27 13:22:07 select base_area:SELECT
  4990. id,
  4991. area_name
  4992. FROM
  4993. base_area
  4994. WHERE
  4995. parent_id = 791
  4996. 2016-12-27 13:22:19 check base_supplier:SELECT
  4997. supplier_name
  4998. FROM
  4999. base_supplier
  5000. WHERE
  5001. cancel_flag = 0
  5002. AND supplier_type = 187
  5003. AND supplier_name = '上海明天广场JW万豪酒店'
  5004. 2016-12-27 13:24:59 check base_supplier:SELECT
  5005. supplier_name
  5006. FROM
  5007. base_supplier
  5008. WHERE
  5009. cancel_flag = 0
  5010. AND supplier_type = 187
  5011. AND supplier_name = '上海明天广场JW万豪酒店'
  5012. 2016-12-27 13:28:20 INSERT INTO base_supplier:INSERT INTO base_supplier (
  5013. create_user_id,
  5014. create_time,
  5015. supplier_type,
  5016. supplier_name,
  5017. area_id,
  5018. company_name,
  5019. is_disabled,
  5020. sett_type,
  5021. sett_frequency,
  5022. account_bank,
  5023. account_num,
  5024. account_name
  5025. )
  5026. VALUES
  5027. (281,'2016-12-27 13:28:20',187,'上海明天广场JW万豪酒店',792,'上海明天广场JW万豪酒店',0,288,295,'','','')
  5028. 2016-12-27 13:28:20 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  5029. create_user_id,
  5030. create_time,
  5031. supplier_id,
  5032. product_type,
  5033. purchaser_name
  5034. )
  5035. VALUES (281,'2016-12-27 13:28:20',1096,25,'丁鹏')
  5036. 2016-12-27 13:28:20 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  5037. create_user_id,
  5038. create_time,
  5039. supplier_id,
  5040. link_name,
  5041. contact_name,
  5042. contact_mobile,
  5043. contact_telphone,
  5044. fax,
  5045. email,
  5046. remark
  5047. )
  5048. VALUES (281,'2016-12-27 13:28:20',1096,'销售','Ivy','','','','','')
  5049. 2016-12-27 13:28:21 select base_supplier:SELECT
  5050. id,
  5051. supplier_name,
  5052. area_id,
  5053. is_disabled,
  5054. supplier_type
  5055. FROM
  5056. base_supplier a
  5057. WHERE
  5058. cancel_flag = 0
  5059. AND supplier_type = 187
  5060. LIMIT 0,10
  5061. 2016-12-27 13:28:21 count:SELECT
  5062. a.id
  5063. FROM
  5064. base_supplier AS a,
  5065. base_supplier_purchase AS b
  5066. WHERE
  5067. a.id = b.supplier_id
  5068. AND a.cancel_flag = 0
  5069. AND b.cancel_flag = 0
  5070. GROUP BY
  5071. b.supplier_id
  5072. 2016-12-27 13:28:21 select base_area:SELECT
  5073. id,
  5074. area_name
  5075. FROM
  5076. base_area
  5077. WHERE
  5078. id in(923,803,792,1200,961)
  5079. 2016-12-27 13:29:17 select base_supplier:SELECT
  5080. id,
  5081. supplier_name,
  5082. area_id,
  5083. is_disabled,
  5084. supplier_type
  5085. FROM
  5086. base_supplier a
  5087. WHERE
  5088. cancel_flag = 0
  5089. AND supplier_type = 187
  5090. LIMIT 0,10
  5091. 2016-12-27 13:29:17 count:SELECT
  5092. a.id
  5093. FROM
  5094. base_supplier AS a,
  5095. base_supplier_purchase AS b
  5096. WHERE
  5097. a.id = b.supplier_id
  5098. AND a.cancel_flag = 0
  5099. AND b.cancel_flag = 0
  5100. GROUP BY
  5101. b.supplier_id
  5102. 2016-12-27 13:29:17 select base_area:SELECT
  5103. id,
  5104. area_name
  5105. FROM
  5106. base_area
  5107. WHERE
  5108. id in(923,803,792,1200,961)
  5109. 2016-12-27 13:29:30 select base_supplier:SELECT
  5110. id,
  5111. supplier_name,
  5112. area_id,
  5113. is_disabled,
  5114. supplier_type
  5115. FROM
  5116. base_supplier a
  5117. WHERE
  5118. cancel_flag = 0
  5119. and a.supplier_name like '%%上海明天广场JW万豪%%'
  5120. AND supplier_type = 187
  5121. LIMIT 0,10
  5122. 2016-12-27 13:29:30 count:SELECT
  5123. a.id
  5124. FROM
  5125. base_supplier AS a,
  5126. base_supplier_purchase AS b
  5127. WHERE
  5128. a.id = b.supplier_id
  5129. and a.supplier_name like '%%上海明天广场JW万豪%%'
  5130. AND a.cancel_flag = 0
  5131. AND b.cancel_flag = 0
  5132. GROUP BY
  5133. b.supplier_id
  5134. 2016-12-27 13:29:30 select base_area:SELECT
  5135. id,
  5136. area_name
  5137. FROM
  5138. base_area
  5139. WHERE
  5140. id in(792)
  5141. 2016-12-27 13:40:49 select base_supplier:SELECT
  5142. id,
  5143. supplier_name,
  5144. area_id,
  5145. is_disabled,
  5146. supplier_type,
  5147. manage_type
  5148. FROM
  5149. base_supplier
  5150. WHERE
  5151. cancel_flag = 0
  5152. AND supplier_type = 301
  5153. LIMIT 0,10
  5154. 2016-12-27 13:40:49 select base_area:SELECT
  5155. id,
  5156. area_name
  5157. FROM
  5158. base_area
  5159. WHERE
  5160. id in(792,810,794,850,797,1966,7)
  5161. 2016-12-27 13:40:50 select base_supplier:SELECT
  5162. id,
  5163. supplier_name,
  5164. area_id,
  5165. is_disabled,
  5166. supplier_type,
  5167. manage_type
  5168. FROM
  5169. base_supplier
  5170. WHERE
  5171. cancel_flag = 0
  5172. AND supplier_type = 301
  5173. LIMIT 0,10
  5174. 2016-12-27 13:40:50 select base_area:SELECT
  5175. id,
  5176. area_name
  5177. FROM
  5178. base_area
  5179. WHERE
  5180. id in(792,810,794,850,797,1966,7)
  5181. 2016-12-27 13:40:52 select base_supplier:SELECT
  5182. id,
  5183. supplier_name,
  5184. area_id,
  5185. is_disabled,
  5186. supplier_type
  5187. FROM
  5188. base_supplier a
  5189. WHERE
  5190. cancel_flag = 0
  5191. AND supplier_type = 187
  5192. LIMIT 0,10
  5193. 2016-12-27 13:40:52 count:SELECT
  5194. a.id
  5195. FROM
  5196. base_supplier AS a,
  5197. base_supplier_purchase AS b
  5198. WHERE
  5199. a.id = b.supplier_id
  5200. AND a.cancel_flag = 0
  5201. AND b.cancel_flag = 0
  5202. GROUP BY
  5203. b.supplier_id
  5204. 2016-12-27 13:40:52 select base_area:SELECT
  5205. id,
  5206. area_name
  5207. FROM
  5208. base_area
  5209. WHERE
  5210. id in(923,803,792,1200,961)
  5211. 2016-12-27 13:41:09 select base_supplier:SELECT
  5212. id,
  5213. supplier_name,
  5214. area_id,
  5215. is_disabled,
  5216. supplier_type
  5217. FROM
  5218. base_supplier a
  5219. WHERE
  5220. cancel_flag = 0
  5221. AND supplier_type = 187
  5222. LIMIT 0,10
  5223. 2016-12-27 13:41:09 count:SELECT
  5224. a.id
  5225. FROM
  5226. base_supplier AS a,
  5227. base_supplier_purchase AS b
  5228. WHERE
  5229. a.id = b.supplier_id
  5230. AND a.cancel_flag = 0
  5231. AND b.cancel_flag = 0
  5232. GROUP BY
  5233. b.supplier_id
  5234. 2016-12-27 13:41:09 select base_area:SELECT
  5235. id,
  5236. area_name
  5237. FROM
  5238. base_area
  5239. WHERE
  5240. id in(923,803,792,1200,961)
  5241. 2016-12-27 13:41:10 select base_supplier:SELECT
  5242. id,
  5243. supplier_name,
  5244. area_id,
  5245. is_disabled,
  5246. supplier_type,
  5247. manage_type
  5248. FROM
  5249. base_supplier
  5250. WHERE
  5251. cancel_flag = 0
  5252. AND supplier_type = 301
  5253. LIMIT 0,10
  5254. 2016-12-27 13:41:10 select base_area:SELECT
  5255. id,
  5256. area_name
  5257. FROM
  5258. base_area
  5259. WHERE
  5260. id in(792,810,794,850,797,1966,7)
  5261. 2016-12-27 13:42:26 select base_supplier:SELECT
  5262. id,
  5263. supplier_name,
  5264. area_id,
  5265. is_disabled,
  5266. supplier_type
  5267. FROM
  5268. base_supplier a
  5269. WHERE
  5270. cancel_flag = 0
  5271. AND supplier_type = 187
  5272. LIMIT 0,10
  5273. 2016-12-27 13:42:26 count:SELECT
  5274. a.id
  5275. FROM
  5276. base_supplier AS a,
  5277. base_supplier_purchase AS b
  5278. WHERE
  5279. a.id = b.supplier_id
  5280. AND a.cancel_flag = 0
  5281. AND b.cancel_flag = 0
  5282. GROUP BY
  5283. b.supplier_id
  5284. 2016-12-27 13:42:26 select base_area:SELECT
  5285. id,
  5286. area_name
  5287. FROM
  5288. base_area
  5289. WHERE
  5290. id in(923,803,792,1200,961)
  5291. 2016-12-27 13:44:19 select base_supplier:SELECT
  5292. id,
  5293. supplier_name,
  5294. area_id,
  5295. is_disabled,
  5296. supplier_type,
  5297. manage_type
  5298. FROM
  5299. base_supplier
  5300. WHERE
  5301. cancel_flag = 0
  5302. AND supplier_type = 301
  5303. LIMIT 0,10
  5304. 2016-12-27 13:44:19 select base_area:SELECT
  5305. id,
  5306. area_name
  5307. FROM
  5308. base_area
  5309. WHERE
  5310. id in(792,810,794,850,797,1966,7)
  5311. 2016-12-27 13:44:25 select base_supplier:SELECT
  5312. id,
  5313. supplier_name,
  5314. area_id,
  5315. is_disabled,
  5316. supplier_type,
  5317. manage_type
  5318. FROM
  5319. base_supplier
  5320. WHERE
  5321. cancel_flag = 0
  5322. AND supplier_type = 301
  5323. LIMIT 0,10
  5324. 2016-12-27 13:44:25 select base_area:SELECT
  5325. id,
  5326. area_name
  5327. FROM
  5328. base_area
  5329. WHERE
  5330. id in(792,810,794,850,797,1966,7)
  5331. 2016-12-27 13:44:26 select base_supplier:SELECT
  5332. id,
  5333. supplier_name,
  5334. area_id,
  5335. is_disabled,
  5336. supplier_type
  5337. FROM
  5338. base_supplier a
  5339. WHERE
  5340. cancel_flag = 0
  5341. AND supplier_type = 187
  5342. LIMIT 0,10
  5343. 2016-12-27 13:44:26 count:SELECT
  5344. a.id
  5345. FROM
  5346. base_supplier AS a,
  5347. base_supplier_purchase AS b
  5348. WHERE
  5349. a.id = b.supplier_id
  5350. AND a.cancel_flag = 0
  5351. AND b.cancel_flag = 0
  5352. GROUP BY
  5353. b.supplier_id
  5354. 2016-12-27 13:44:26 select base_area:SELECT
  5355. id,
  5356. area_name
  5357. FROM
  5358. base_area
  5359. WHERE
  5360. id in(923,803,792,1200,961)
  5361. 2016-12-27 13:56:09 select base_supplier:SELECT
  5362. id,
  5363. supplier_name,
  5364. area_id,
  5365. is_disabled,
  5366. supplier_type
  5367. FROM
  5368. base_supplier a
  5369. WHERE
  5370. cancel_flag = 0
  5371. AND supplier_type = 187
  5372. LIMIT 0,10
  5373. 2016-12-27 13:56:09 count:SELECT
  5374. a.id
  5375. FROM
  5376. base_supplier AS a,
  5377. base_supplier_purchase AS b
  5378. WHERE
  5379. a.id = b.supplier_id
  5380. AND a.cancel_flag = 0
  5381. AND b.cancel_flag = 0
  5382. GROUP BY
  5383. b.supplier_id
  5384. 2016-12-27 13:56:09 select base_area:SELECT
  5385. id,
  5386. area_name
  5387. FROM
  5388. base_area
  5389. WHERE
  5390. id in(923,803,792,1200,961)
  5391. 2016-12-27 13:56:55 select base_supplier:SELECT
  5392. id,
  5393. supplier_name,
  5394. area_id,
  5395. is_disabled,
  5396. supplier_type
  5397. FROM
  5398. base_supplier a
  5399. WHERE
  5400. cancel_flag = 0
  5401. AND supplier_type = 187
  5402. LIMIT 10,10
  5403. 2016-12-27 13:56:55 count:SELECT
  5404. a.id
  5405. FROM
  5406. base_supplier AS a,
  5407. base_supplier_purchase AS b
  5408. WHERE
  5409. a.id = b.supplier_id
  5410. AND a.cancel_flag = 0
  5411. AND b.cancel_flag = 0
  5412. GROUP BY
  5413. b.supplier_id
  5414. 2016-12-27 13:56:55 select base_area:SELECT
  5415. id,
  5416. area_name
  5417. FROM
  5418. base_area
  5419. WHERE
  5420. id in(792,803,923,799,895)
  5421. 2016-12-27 13:56:57 select base_supplier:SELECT
  5422. id,
  5423. supplier_name,
  5424. area_id,
  5425. is_disabled,
  5426. supplier_type
  5427. FROM
  5428. base_supplier a
  5429. WHERE
  5430. cancel_flag = 0
  5431. AND supplier_type = 187
  5432. LIMIT 20,10
  5433. 2016-12-27 13:56:57 count:SELECT
  5434. a.id
  5435. FROM
  5436. base_supplier AS a,
  5437. base_supplier_purchase AS b
  5438. WHERE
  5439. a.id = b.supplier_id
  5440. AND a.cancel_flag = 0
  5441. AND b.cancel_flag = 0
  5442. GROUP BY
  5443. b.supplier_id
  5444. 2016-12-27 13:56:57 select base_area:SELECT
  5445. id,
  5446. area_name
  5447. FROM
  5448. base_area
  5449. WHERE
  5450. id in(803,850,961,800,792,923)
  5451. 2016-12-27 13:56:57 select base_supplier:SELECT
  5452. id,
  5453. supplier_name,
  5454. area_id,
  5455. is_disabled,
  5456. supplier_type
  5457. FROM
  5458. base_supplier a
  5459. WHERE
  5460. cancel_flag = 0
  5461. AND supplier_type = 187
  5462. LIMIT 40,10
  5463. 2016-12-27 13:56:57 count:SELECT
  5464. a.id
  5465. FROM
  5466. base_supplier AS a,
  5467. base_supplier_purchase AS b
  5468. WHERE
  5469. a.id = b.supplier_id
  5470. AND a.cancel_flag = 0
  5471. AND b.cancel_flag = 0
  5472. GROUP BY
  5473. b.supplier_id
  5474. 2016-12-27 13:56:57 select base_area:SELECT
  5475. id,
  5476. area_name
  5477. FROM
  5478. base_area
  5479. WHERE
  5480. id in(792,803,2693,860,895,850)
  5481. 2016-12-27 13:56:59 select base_supplier:SELECT
  5482. id,
  5483. supplier_name,
  5484. area_id,
  5485. is_disabled,
  5486. supplier_type
  5487. FROM
  5488. base_supplier a
  5489. WHERE
  5490. cancel_flag = 0
  5491. AND supplier_type = 187
  5492. LIMIT 0,10
  5493. 2016-12-27 13:56:59 count:SELECT
  5494. a.id
  5495. FROM
  5496. base_supplier AS a,
  5497. base_supplier_purchase AS b
  5498. WHERE
  5499. a.id = b.supplier_id
  5500. AND a.cancel_flag = 0
  5501. AND b.cancel_flag = 0
  5502. GROUP BY
  5503. b.supplier_id
  5504. 2016-12-27 13:56:59 select base_area:SELECT
  5505. id,
  5506. area_name
  5507. FROM
  5508. base_area
  5509. WHERE
  5510. id in(923,803,792,1200,961)
  5511. 2016-12-27 13:57:01 select base_supplier:SELECT
  5512. id,
  5513. supplier_name,
  5514. area_id,
  5515. is_disabled,
  5516. supplier_type
  5517. FROM
  5518. base_supplier a
  5519. WHERE
  5520. cancel_flag = 0
  5521. AND supplier_type = 187
  5522. LIMIT 10,10
  5523. 2016-12-27 13:57:01 count:SELECT
  5524. a.id
  5525. FROM
  5526. base_supplier AS a,
  5527. base_supplier_purchase AS b
  5528. WHERE
  5529. a.id = b.supplier_id
  5530. AND a.cancel_flag = 0
  5531. AND b.cancel_flag = 0
  5532. GROUP BY
  5533. b.supplier_id
  5534. 2016-12-27 13:57:01 select base_area:SELECT
  5535. id,
  5536. area_name
  5537. FROM
  5538. base_area
  5539. WHERE
  5540. id in(792,803,923,799,895)
  5541. 2016-12-27 13:57:09 select base_supplier:SELECT
  5542. id,
  5543. supplier_name,
  5544. area_id,
  5545. is_disabled,
  5546. supplier_type
  5547. FROM
  5548. base_supplier a
  5549. WHERE
  5550. cancel_flag = 0
  5551. and a.supplier_name like '%%复旦%%'
  5552. AND supplier_type = 187
  5553. LIMIT 0,10
  5554. 2016-12-27 13:57:09 count:SELECT
  5555. a.id
  5556. FROM
  5557. base_supplier AS a,
  5558. base_supplier_purchase AS b
  5559. WHERE
  5560. a.id = b.supplier_id
  5561. and a.supplier_name like '%%复旦%%'
  5562. AND a.cancel_flag = 0
  5563. AND b.cancel_flag = 0
  5564. GROUP BY
  5565. b.supplier_id
  5566. 2016-12-27 13:57:09 select base_area:SELECT
  5567. id,
  5568. area_name
  5569. FROM
  5570. base_area
  5571. WHERE
  5572. id in(799)
  5573. 2016-12-27 14:35:37 select base_supplier:SELECT
  5574. id,
  5575. supplier_name,
  5576. area_id,
  5577. is_disabled,
  5578. supplier_type,
  5579. manage_type
  5580. FROM
  5581. base_supplier
  5582. WHERE
  5583. cancel_flag = 0
  5584. AND supplier_type = 301
  5585. LIMIT 0,10
  5586. 2016-12-27 14:35:37 select base_area:SELECT
  5587. id,
  5588. area_name
  5589. FROM
  5590. base_area
  5591. WHERE
  5592. id in(792,810,794,850,797,1966,7)
  5593. 2016-12-27 15:01:48 select base_supplier:SELECT
  5594. id,
  5595. supplier_name,
  5596. area_id,
  5597. is_disabled,
  5598. supplier_type
  5599. FROM
  5600. base_supplier a
  5601. WHERE
  5602. cancel_flag = 0
  5603. AND supplier_type = 187
  5604. LIMIT 0,10
  5605. 2016-12-27 15:01:48 count:SELECT
  5606. a.id
  5607. FROM
  5608. base_supplier AS a,
  5609. base_supplier_purchase AS b
  5610. WHERE
  5611. a.id = b.supplier_id
  5612. AND a.cancel_flag = 0
  5613. AND b.cancel_flag = 0
  5614. GROUP BY
  5615. b.supplier_id
  5616. 2016-12-27 15:01:48 select base_area:SELECT
  5617. id,
  5618. area_name
  5619. FROM
  5620. base_area
  5621. WHERE
  5622. id in(923,803,792,1200,961)
  5623. 2016-12-27 15:01:50 select base_area:SELECT
  5624. id,
  5625. area_name
  5626. FROM
  5627. base_area
  5628. WHERE
  5629. parent_id = 0
  5630. 2016-12-27 15:01:50 select base_area:SELECT
  5631. id,
  5632. area_name
  5633. FROM
  5634. base_area
  5635. WHERE
  5636. parent_id = 1
  5637. 2016-12-27 15:01:55 check base_supplier:SELECT
  5638. supplier_name
  5639. FROM
  5640. base_supplier
  5641. WHERE
  5642. cancel_flag = 0
  5643. AND supplier_type = 187
  5644. AND supplier_name = ''
  5645. 2016-12-27 15:02:10 check base_supplier:SELECT
  5646. supplier_name
  5647. FROM
  5648. base_supplier
  5649. WHERE
  5650. cancel_flag = 0
  5651. AND supplier_type = 187
  5652. AND supplier_name = ''
  5653. 2016-12-27 15:02:47 select base_supplier:SELECT
  5654. id,
  5655. supplier_name,
  5656. area_id,
  5657. is_disabled,
  5658. supplier_type,
  5659. manage_type
  5660. FROM
  5661. base_supplier
  5662. WHERE
  5663. cancel_flag = 0
  5664. AND supplier_type = 301
  5665. LIMIT 0,10
  5666. 2016-12-27 15:02:47 select base_area:SELECT
  5667. id,
  5668. area_name
  5669. FROM
  5670. base_area
  5671. WHERE
  5672. id in(792,810,794,850,797,1966,7)
  5673. 2016-12-27 15:04:19 select base_supplier:SELECT
  5674. id,
  5675. supplier_name,
  5676. area_id,
  5677. is_disabled,
  5678. supplier_type
  5679. FROM
  5680. base_supplier a
  5681. WHERE
  5682. cancel_flag = 0
  5683. AND supplier_type = 187
  5684. LIMIT 0,10
  5685. 2016-12-27 15:04:19 count:SELECT
  5686. a.id
  5687. FROM
  5688. base_supplier AS a,
  5689. base_supplier_purchase AS b
  5690. WHERE
  5691. a.id = b.supplier_id
  5692. AND a.cancel_flag = 0
  5693. AND b.cancel_flag = 0
  5694. GROUP BY
  5695. b.supplier_id
  5696. 2016-12-27 15:04:19 select base_area:SELECT
  5697. id,
  5698. area_name
  5699. FROM
  5700. base_area
  5701. WHERE
  5702. id in(923,803,792,1200,961)
  5703. 2016-12-27 15:04:26 select base_area:SELECT
  5704. id,
  5705. area_name
  5706. FROM
  5707. base_area
  5708. WHERE
  5709. parent_id = 0
  5710. 2016-12-27 15:04:26 select base_supplier:SELECT
  5711. id,
  5712. supplier_name,
  5713. area_id,
  5714. company_name,
  5715. sett_type,
  5716. sett_frequency,
  5717. account_bank,
  5718. account_num,
  5719. account_name
  5720. FROM
  5721. base_supplier
  5722. WHERE
  5723. cancel_flag = 0
  5724. AND id = 501
  5725. 2016-12-27 15:04:26 select base_area:SELECT
  5726. id,
  5727. area_name,
  5728. parent_id
  5729. FROM
  5730. base_area
  5731. WHERE
  5732. cancel_flag = 0
  5733. AND id = 923
  5734. 2016-12-27 15:04:26 select base_area:SELECT
  5735. id,
  5736. area_name
  5737. FROM
  5738. base_area
  5739. WHERE
  5740. cancel_flag = 0
  5741. AND id = 922
  5742. 2016-12-27 15:04:26 select base_supplier_purchase:SELECT
  5743. id,
  5744. product_type,
  5745. purchaser_name
  5746. FROM
  5747. base_supplier_purchase
  5748. WHERE
  5749. cancel_flag = 0
  5750. AND supplier_id = 501
  5751. 2016-12-27 15:04:26 select base_supplier_link:SELECT
  5752. id,
  5753. link_name,
  5754. contact_name,
  5755. contact_mobile,
  5756. contact_telphone,
  5757. fax,
  5758. email,
  5759. remark
  5760. FROM
  5761. base_supplier_link
  5762. WHERE
  5763. cancel_flag = 0
  5764. AND supplier_id = 501
  5765. 2016-12-27 15:04:26 select base_area:SELECT
  5766. id,
  5767. area_name
  5768. FROM
  5769. base_area
  5770. WHERE
  5771. parent_id = 922
  5772. 2016-12-27 15:04:39 select base_supplier:SELECT
  5773. id,
  5774. supplier_name,
  5775. area_id,
  5776. is_disabled,
  5777. supplier_type
  5778. FROM
  5779. base_supplier a
  5780. WHERE
  5781. cancel_flag = 0
  5782. and a.supplier_name like '%%上海道顺%%'
  5783. AND supplier_type = 187
  5784. LIMIT 0,10
  5785. 2016-12-27 15:04:41 select base_area:SELECT
  5786. id,
  5787. area_name
  5788. FROM
  5789. base_area
  5790. WHERE
  5791. parent_id = 0
  5792. 2016-12-27 15:04:41 select base_area:SELECT
  5793. id,
  5794. area_name
  5795. FROM
  5796. base_area
  5797. WHERE
  5798. parent_id = 1
  5799. 2016-12-27 15:04:43 check base_supplier:SELECT
  5800. supplier_name
  5801. FROM
  5802. base_supplier
  5803. WHERE
  5804. cancel_flag = 0
  5805. AND supplier_type = 187
  5806. AND supplier_name = '上海道顺'
  5807. 2016-12-27 15:04:50 select base_area:SELECT
  5808. id,
  5809. area_name
  5810. FROM
  5811. base_area
  5812. WHERE
  5813. parent_id = 791
  5814. 2016-12-27 15:06:11 select base_supplier:SELECT
  5815. id,
  5816. supplier_name,
  5817. area_id,
  5818. is_disabled,
  5819. supplier_type,
  5820. manage_type
  5821. FROM
  5822. base_supplier
  5823. WHERE
  5824. cancel_flag = 0
  5825. AND supplier_type = 301
  5826. LIMIT 0,10
  5827. 2016-12-27 15:06:11 select base_area:SELECT
  5828. id,
  5829. area_name
  5830. FROM
  5831. base_area
  5832. WHERE
  5833. id in(792,810,794,850,797,1966,7)
  5834. 2016-12-27 15:06:15 select base_supplier:SELECT
  5835. id,
  5836. supplier_name,
  5837. area_id,
  5838. is_disabled,
  5839. supplier_type,
  5840. manage_type
  5841. FROM
  5842. base_supplier
  5843. WHERE
  5844. cancel_flag = 0
  5845. and supplier_name like '%%美团%%'
  5846. AND supplier_type = 301
  5847. LIMIT 0,10
  5848. 2016-12-27 15:06:15 select base_area:SELECT
  5849. id,
  5850. area_name
  5851. FROM
  5852. base_area
  5853. WHERE
  5854. id in(794)
  5855. 2016-12-27 15:07:32 INSERT INTO base_supplier:INSERT INTO base_supplier (
  5856. create_user_id,
  5857. create_time,
  5858. supplier_type,
  5859. supplier_name,
  5860. area_id,
  5861. company_name,
  5862. is_disabled,
  5863. sett_type,
  5864. sett_frequency,
  5865. account_bank,
  5866. account_num,
  5867. account_name
  5868. )
  5869. VALUES
  5870. (1,'2016-12-27 15:07:32',187,'上海道顺',792,'上海道顺',0,275,295,'','','')
  5871. 2016-12-27 15:07:32 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  5872. create_user_id,
  5873. create_time,
  5874. supplier_id,
  5875. product_type,
  5876. purchaser_name
  5877. )
  5878. VALUES (1,'2016-12-27 15:07:32',1097,259,'袁玮')
  5879. 2016-12-27 15:07:32 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  5880. create_user_id,
  5881. create_time,
  5882. supplier_id,
  5883. link_name,
  5884. contact_name,
  5885. contact_mobile,
  5886. contact_telphone,
  5887. fax,
  5888. email,
  5889. remark
  5890. )
  5891. VALUES (1,'2016-12-27 15:07:32',1097,'负责人','袁玮','','','','','')
  5892. 2016-12-27 15:07:34 select base_supplier:SELECT
  5893. id,
  5894. supplier_name,
  5895. area_id,
  5896. is_disabled,
  5897. supplier_type
  5898. FROM
  5899. base_supplier a
  5900. WHERE
  5901. cancel_flag = 0
  5902. AND supplier_type = 187
  5903. LIMIT 0,10
  5904. 2016-12-27 15:07:34 count:SELECT
  5905. a.id
  5906. FROM
  5907. base_supplier AS a,
  5908. base_supplier_purchase AS b
  5909. WHERE
  5910. a.id = b.supplier_id
  5911. AND a.cancel_flag = 0
  5912. AND b.cancel_flag = 0
  5913. GROUP BY
  5914. b.supplier_id
  5915. 2016-12-27 15:07:34 select base_area:SELECT
  5916. id,
  5917. area_name
  5918. FROM
  5919. base_area
  5920. WHERE
  5921. id in(923,803,792,1200,961)
  5922. 2016-12-27 15:07:38 select base_supplier:SELECT
  5923. id,
  5924. supplier_name,
  5925. area_id,
  5926. is_disabled,
  5927. supplier_type
  5928. FROM
  5929. base_supplier a
  5930. WHERE
  5931. cancel_flag = 0
  5932. and a.supplier_name like '%%上海道顺%%'
  5933. AND supplier_type = 187
  5934. LIMIT 0,10
  5935. 2016-12-27 15:07:38 count:SELECT
  5936. a.id
  5937. FROM
  5938. base_supplier AS a,
  5939. base_supplier_purchase AS b
  5940. WHERE
  5941. a.id = b.supplier_id
  5942. and a.supplier_name like '%%上海道顺%%'
  5943. AND a.cancel_flag = 0
  5944. AND b.cancel_flag = 0
  5945. GROUP BY
  5946. b.supplier_id
  5947. 2016-12-27 15:07:38 select base_area:SELECT
  5948. id,
  5949. area_name
  5950. FROM
  5951. base_area
  5952. WHERE
  5953. id in(792)
  5954. 2016-12-27 15:09:26 select base_supplier:SELECT
  5955. id,
  5956. supplier_name,
  5957. area_id,
  5958. is_disabled,
  5959. supplier_type
  5960. FROM
  5961. base_supplier a
  5962. WHERE
  5963. cancel_flag = 0
  5964. and a.supplier_name like '%%上海新华%%'
  5965. AND supplier_type = 187
  5966. LIMIT 0,10
  5967. 2016-12-27 15:09:27 select base_area:SELECT
  5968. id,
  5969. area_name
  5970. FROM
  5971. base_area
  5972. WHERE
  5973. parent_id = 0
  5974. 2016-12-27 15:09:27 select base_area:SELECT
  5975. id,
  5976. area_name
  5977. FROM
  5978. base_area
  5979. WHERE
  5980. parent_id = 1
  5981. 2016-12-27 15:09:29 check base_supplier:SELECT
  5982. supplier_name
  5983. FROM
  5984. base_supplier
  5985. WHERE
  5986. cancel_flag = 0
  5987. AND supplier_type = 187
  5988. AND supplier_name = '上海新华'
  5989. 2016-12-27 15:09:34 select base_area:SELECT
  5990. id,
  5991. area_name
  5992. FROM
  5993. base_area
  5994. WHERE
  5995. parent_id = 791
  5996. 2016-12-27 15:09:52 INSERT INTO base_supplier:INSERT INTO base_supplier (
  5997. create_user_id,
  5998. create_time,
  5999. supplier_type,
  6000. supplier_name,
  6001. area_id,
  6002. company_name,
  6003. is_disabled,
  6004. sett_type,
  6005. sett_frequency,
  6006. account_bank,
  6007. account_num,
  6008. account_name
  6009. )
  6010. VALUES
  6011. (1,'2016-12-27 15:09:52',187,'上海新华',792,'上海新华',0,275,295,'','','')
  6012. 2016-12-27 15:09:52 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  6013. create_user_id,
  6014. create_time,
  6015. supplier_id,
  6016. product_type,
  6017. purchaser_name
  6018. )
  6019. VALUES (1,'2016-12-27 15:09:52',1098,259,'袁玮')
  6020. 2016-12-27 15:09:52 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  6021. create_user_id,
  6022. create_time,
  6023. supplier_id,
  6024. link_name,
  6025. contact_name,
  6026. contact_mobile,
  6027. contact_telphone,
  6028. fax,
  6029. email,
  6030. remark
  6031. )
  6032. VALUES (1,'2016-12-27 15:09:52',1098,'负责人','袁玮','','','','','')
  6033. 2016-12-27 15:09:54 select base_supplier:SELECT
  6034. id,
  6035. supplier_name,
  6036. area_id,
  6037. is_disabled,
  6038. supplier_type
  6039. FROM
  6040. base_supplier a
  6041. WHERE
  6042. cancel_flag = 0
  6043. AND supplier_type = 187
  6044. LIMIT 0,10
  6045. 2016-12-27 15:09:54 count:SELECT
  6046. a.id
  6047. FROM
  6048. base_supplier AS a,
  6049. base_supplier_purchase AS b
  6050. WHERE
  6051. a.id = b.supplier_id
  6052. AND a.cancel_flag = 0
  6053. AND b.cancel_flag = 0
  6054. GROUP BY
  6055. b.supplier_id
  6056. 2016-12-27 15:09:54 select base_area:SELECT
  6057. id,
  6058. area_name
  6059. FROM
  6060. base_area
  6061. WHERE
  6062. id in(923,803,792,1200,961)
  6063. 2016-12-27 15:09:56 select base_supplier:SELECT
  6064. id,
  6065. supplier_name,
  6066. area_id,
  6067. is_disabled,
  6068. supplier_type
  6069. FROM
  6070. base_supplier a
  6071. WHERE
  6072. cancel_flag = 0
  6073. and a.supplier_name like '%%上海新华%%'
  6074. AND supplier_type = 187
  6075. LIMIT 0,10
  6076. 2016-12-27 15:09:56 count:SELECT
  6077. a.id
  6078. FROM
  6079. base_supplier AS a,
  6080. base_supplier_purchase AS b
  6081. WHERE
  6082. a.id = b.supplier_id
  6083. and a.supplier_name like '%%上海新华%%'
  6084. AND a.cancel_flag = 0
  6085. AND b.cancel_flag = 0
  6086. GROUP BY
  6087. b.supplier_id
  6088. 2016-12-27 15:09:56 select base_area:SELECT
  6089. id,
  6090. area_name
  6091. FROM
  6092. base_area
  6093. WHERE
  6094. id in(792)
  6095. 2016-12-27 15:10:24 select base_supplier:SELECT
  6096. id,
  6097. supplier_name,
  6098. area_id,
  6099. is_disabled,
  6100. supplier_type,
  6101. manage_type
  6102. FROM
  6103. base_supplier
  6104. WHERE
  6105. cancel_flag = 0
  6106. AND supplier_type = 301
  6107. LIMIT 0,10
  6108. 2016-12-27 15:10:24 select base_area:SELECT
  6109. id,
  6110. area_name
  6111. FROM
  6112. base_area
  6113. WHERE
  6114. id in(792,810,794,850,797,1966)
  6115. 2016-12-27 15:10:27 select base_supplier:SELECT
  6116. id,
  6117. supplier_name,
  6118. area_id,
  6119. is_disabled,
  6120. supplier_type
  6121. FROM
  6122. base_supplier a
  6123. WHERE
  6124. cancel_flag = 0
  6125. and a.supplier_name like '%%上海恒栋%%'
  6126. AND supplier_type = 187
  6127. LIMIT 0,10
  6128. 2016-12-27 15:10:30 select base_supplier:SELECT
  6129. id,
  6130. supplier_name,
  6131. area_id,
  6132. is_disabled,
  6133. supplier_type
  6134. FROM
  6135. base_supplier a
  6136. WHERE
  6137. cancel_flag = 0
  6138. and a.supplier_name like '%%恒栋%%'
  6139. AND supplier_type = 187
  6140. LIMIT 0,10
  6141. 2016-12-27 15:10:30 count:SELECT
  6142. a.id
  6143. FROM
  6144. base_supplier AS a,
  6145. base_supplier_purchase AS b
  6146. WHERE
  6147. a.id = b.supplier_id
  6148. and a.supplier_name like '%%恒栋%%'
  6149. AND a.cancel_flag = 0
  6150. AND b.cancel_flag = 0
  6151. GROUP BY
  6152. b.supplier_id
  6153. 2016-12-27 15:10:30 select base_area:SELECT
  6154. id,
  6155. area_name
  6156. FROM
  6157. base_area
  6158. WHERE
  6159. id in(792)
  6160. 2016-12-27 15:10:30 select base_area:SELECT
  6161. id,
  6162. area_name
  6163. FROM
  6164. base_area
  6165. WHERE
  6166. parent_id = 0
  6167. 2016-12-27 15:10:30 select base_area:SELECT
  6168. id,
  6169. area_name
  6170. FROM
  6171. base_area
  6172. WHERE
  6173. parent_id = 1
  6174. 2016-12-27 15:10:30 select base_supplier:SELECT
  6175. id,
  6176. supplier_name,
  6177. area_id,
  6178. manage_type,
  6179. company_name,
  6180. id_card,
  6181. sett_type,
  6182. sett_frequency,
  6183. account_bank,
  6184. account_num,
  6185. account_name,
  6186. sales_man
  6187. FROM
  6188. base_supplier
  6189. WHERE
  6190. cancel_flag = 0
  6191. AND id = 11
  6192. 2016-12-27 15:10:30 select base_area:SELECT
  6193. id,
  6194. area_name,
  6195. parent_id
  6196. FROM
  6197. base_area
  6198. WHERE
  6199. cancel_flag = 0
  6200. AND id = 794
  6201. 2016-12-27 15:10:30 select base_area:SELECT
  6202. id,
  6203. area_name
  6204. FROM
  6205. base_area
  6206. WHERE
  6207. cancel_flag = 0
  6208. AND id = 791
  6209. 2016-12-27 15:10:30 select base_supplier_sale:SELECT
  6210. id,
  6211. prod_supplier_id,
  6212. product_type,
  6213. parent_type,
  6214. sale_type,
  6215. commision_flag,
  6216. commision_type,
  6217. back_commision_type,
  6218. back_commision_method,
  6219. back_percent,
  6220. back_value
  6221. FROM
  6222. base_supplier_sale
  6223. WHERE
  6224. cancel_flag = 0
  6225. AND supplier_id = 11
  6226. 2016-12-27 15:10:30 select base_supplier_link:SELECT
  6227. id,
  6228. link_name,
  6229. contact_name,
  6230. contact_mobile,
  6231. contact_telphone,
  6232. fax,
  6233. email,
  6234. remark
  6235. FROM
  6236. base_supplier_link
  6237. WHERE
  6238. cancel_flag = 0
  6239. AND supplier_id = 11
  6240. 2016-12-27 15:10:30 select base_area:SELECT
  6241. id,
  6242. area_name
  6243. FROM
  6244. base_area
  6245. WHERE
  6246. parent_id = 791
  6247. 2016-12-27 15:10:55 select base_supplier:SELECT
  6248. id,
  6249. supplier_name,
  6250. area_id,
  6251. is_disabled,
  6252. supplier_type
  6253. FROM
  6254. base_supplier a
  6255. WHERE
  6256. cancel_flag = 0
  6257. and a.supplier_name like '%%恒栋%%'
  6258. AND supplier_type = 187
  6259. LIMIT 0,10
  6260. 2016-12-27 15:10:55 count:SELECT
  6261. a.id
  6262. FROM
  6263. base_supplier AS a,
  6264. base_supplier_purchase AS b
  6265. WHERE
  6266. a.id = b.supplier_id
  6267. and a.supplier_name like '%%恒栋%%'
  6268. AND a.cancel_flag = 0
  6269. AND b.cancel_flag = 0
  6270. GROUP BY
  6271. b.supplier_id
  6272. 2016-12-27 15:10:55 select base_area:SELECT
  6273. id,
  6274. area_name
  6275. FROM
  6276. base_area
  6277. WHERE
  6278. id in(792)
  6279. 2016-12-27 15:11:43 select base_supplier:SELECT
  6280. id,
  6281. supplier_name,
  6282. area_id,
  6283. is_disabled,
  6284. supplier_type
  6285. FROM
  6286. base_supplier a
  6287. WHERE
  6288. cancel_flag = 0
  6289. and a.supplier_name like '%%千旅%%'
  6290. AND supplier_type = 187
  6291. LIMIT 0,10
  6292. 2016-12-27 15:11:43 count:SELECT
  6293. a.id
  6294. FROM
  6295. base_supplier AS a,
  6296. base_supplier_purchase AS b
  6297. WHERE
  6298. a.id = b.supplier_id
  6299. and a.supplier_name like '%%千旅%%'
  6300. AND a.cancel_flag = 0
  6301. AND b.cancel_flag = 0
  6302. GROUP BY
  6303. b.supplier_id
  6304. 2016-12-27 15:11:43 select base_area:SELECT
  6305. id,
  6306. area_name
  6307. FROM
  6308. base_area
  6309. WHERE
  6310. id in(923)
  6311. 2016-12-27 15:11:52 select base_supplier:SELECT
  6312. id,
  6313. supplier_name,
  6314. area_id,
  6315. is_disabled,
  6316. supplier_type
  6317. FROM
  6318. base_supplier a
  6319. WHERE
  6320. cancel_flag = 0
  6321. and a.supplier_name like '%%道顺%%'
  6322. AND supplier_type = 187
  6323. LIMIT 0,10
  6324. 2016-12-27 15:11:52 count:SELECT
  6325. a.id
  6326. FROM
  6327. base_supplier AS a,
  6328. base_supplier_purchase AS b
  6329. WHERE
  6330. a.id = b.supplier_id
  6331. and a.supplier_name like '%%道顺%%'
  6332. AND a.cancel_flag = 0
  6333. AND b.cancel_flag = 0
  6334. GROUP BY
  6335. b.supplier_id
  6336. 2016-12-27 15:11:52 select base_area:SELECT
  6337. id,
  6338. area_name
  6339. FROM
  6340. base_area
  6341. WHERE
  6342. id in(792)
  6343. 2016-12-27 15:11:59 select base_supplier:SELECT
  6344. id,
  6345. supplier_name,
  6346. area_id,
  6347. is_disabled,
  6348. supplier_type
  6349. FROM
  6350. base_supplier a
  6351. WHERE
  6352. cancel_flag = 0
  6353. and a.supplier_name like '%%新华%%'
  6354. AND supplier_type = 187
  6355. LIMIT 0,10
  6356. 2016-12-27 15:11:59 count:SELECT
  6357. a.id
  6358. FROM
  6359. base_supplier AS a,
  6360. base_supplier_purchase AS b
  6361. WHERE
  6362. a.id = b.supplier_id
  6363. and a.supplier_name like '%%新华%%'
  6364. AND a.cancel_flag = 0
  6365. AND b.cancel_flag = 0
  6366. GROUP BY
  6367. b.supplier_id
  6368. 2016-12-27 15:11:59 select base_area:SELECT
  6369. id,
  6370. area_name
  6371. FROM
  6372. base_area
  6373. WHERE
  6374. id in(792)
  6375. 2016-12-27 15:12:05 select base_supplier:SELECT
  6376. id,
  6377. supplier_name,
  6378. area_id,
  6379. is_disabled,
  6380. supplier_type
  6381. FROM
  6382. base_supplier a
  6383. WHERE
  6384. cancel_flag = 0
  6385. and a.supplier_name like '%%千旅%%'
  6386. AND supplier_type = 187
  6387. LIMIT 0,10
  6388. 2016-12-27 15:12:05 count:SELECT
  6389. a.id
  6390. FROM
  6391. base_supplier AS a,
  6392. base_supplier_purchase AS b
  6393. WHERE
  6394. a.id = b.supplier_id
  6395. and a.supplier_name like '%%千旅%%'
  6396. AND a.cancel_flag = 0
  6397. AND b.cancel_flag = 0
  6398. GROUP BY
  6399. b.supplier_id
  6400. 2016-12-27 15:12:05 select base_area:SELECT
  6401. id,
  6402. area_name
  6403. FROM
  6404. base_area
  6405. WHERE
  6406. id in(923)
  6407. 2016-12-27 15:12:31 select base_area:SELECT
  6408. id,
  6409. area_name
  6410. FROM
  6411. base_area
  6412. WHERE
  6413. parent_id = 0
  6414. 2016-12-27 15:12:31 select base_supplier:SELECT
  6415. id,
  6416. supplier_name,
  6417. area_id,
  6418. company_name,
  6419. sett_type,
  6420. sett_frequency,
  6421. account_bank,
  6422. account_num,
  6423. account_name
  6424. FROM
  6425. base_supplier
  6426. WHERE
  6427. cancel_flag = 0
  6428. AND id = 501
  6429. 2016-12-27 15:12:31 select base_area:SELECT
  6430. id,
  6431. area_name,
  6432. parent_id
  6433. FROM
  6434. base_area
  6435. WHERE
  6436. cancel_flag = 0
  6437. AND id = 923
  6438. 2016-12-27 15:12:31 select base_area:SELECT
  6439. id,
  6440. area_name
  6441. FROM
  6442. base_area
  6443. WHERE
  6444. cancel_flag = 0
  6445. AND id = 922
  6446. 2016-12-27 15:12:31 select base_supplier_purchase:SELECT
  6447. id,
  6448. product_type,
  6449. purchaser_name
  6450. FROM
  6451. base_supplier_purchase
  6452. WHERE
  6453. cancel_flag = 0
  6454. AND supplier_id = 501
  6455. 2016-12-27 15:12:31 select base_supplier_link:SELECT
  6456. id,
  6457. link_name,
  6458. contact_name,
  6459. contact_mobile,
  6460. contact_telphone,
  6461. fax,
  6462. email,
  6463. remark
  6464. FROM
  6465. base_supplier_link
  6466. WHERE
  6467. cancel_flag = 0
  6468. AND supplier_id = 501
  6469. 2016-12-27 15:12:31 select base_area:SELECT
  6470. id,
  6471. area_name
  6472. FROM
  6473. base_area
  6474. WHERE
  6475. parent_id = 922
  6476. 2016-12-27 15:12:55 select base_area:SELECT
  6477. id,
  6478. area_name
  6479. FROM
  6480. base_area
  6481. WHERE
  6482. parent_id = 0
  6483. 2016-12-27 15:12:55 select base_area:SELECT
  6484. id,
  6485. area_name
  6486. FROM
  6487. base_area
  6488. WHERE
  6489. parent_id = 1
  6490. 2016-12-27 15:13:03 check base_supplier:SELECT
  6491. supplier_name
  6492. FROM
  6493. base_supplier
  6494. WHERE
  6495. cancel_flag = 0
  6496. AND supplier_type = 187
  6497. AND supplier_name = '千旅车队'
  6498. 2016-12-27 15:13:16 select base_area:SELECT
  6499. id,
  6500. area_name
  6501. FROM
  6502. base_area
  6503. WHERE
  6504. parent_id = 922
  6505. 2016-12-27 15:13:20 check base_supplier:SELECT
  6506. supplier_name
  6507. FROM
  6508. base_supplier
  6509. WHERE
  6510. cancel_flag = 0
  6511. AND supplier_type = 187
  6512. AND supplier_name = '千旅车队'
  6513. 2016-12-27 15:13:35 INSERT INTO base_supplier:INSERT INTO base_supplier (
  6514. create_user_id,
  6515. create_time,
  6516. supplier_type,
  6517. supplier_name,
  6518. area_id,
  6519. company_name,
  6520. is_disabled,
  6521. sett_type,
  6522. sett_frequency,
  6523. account_bank,
  6524. account_num,
  6525. account_name
  6526. )
  6527. VALUES
  6528. (1,'2016-12-27 15:13:35',187,'千旅车队',923,'千旅车队',0,275,295,'','','')
  6529. 2016-12-27 15:13:35 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  6530. create_user_id,
  6531. create_time,
  6532. supplier_id,
  6533. product_type,
  6534. purchaser_name
  6535. )
  6536. VALUES (1,'2016-12-27 15:13:35',1099,259,'袁玮')
  6537. 2016-12-27 15:13:35 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  6538. create_user_id,
  6539. create_time,
  6540. supplier_id,
  6541. link_name,
  6542. contact_name,
  6543. contact_mobile,
  6544. contact_telphone,
  6545. fax,
  6546. email,
  6547. remark
  6548. )
  6549. VALUES (1,'2016-12-27 15:13:35',1099,'负责人','袁玮','','','','','')
  6550. 2016-12-27 15:13:37 select base_supplier:SELECT
  6551. id,
  6552. supplier_name,
  6553. area_id,
  6554. is_disabled,
  6555. supplier_type
  6556. FROM
  6557. base_supplier a
  6558. WHERE
  6559. cancel_flag = 0
  6560. AND supplier_type = 187
  6561. LIMIT 0,10
  6562. 2016-12-27 15:13:37 count:SELECT
  6563. a.id
  6564. FROM
  6565. base_supplier AS a,
  6566. base_supplier_purchase AS b
  6567. WHERE
  6568. a.id = b.supplier_id
  6569. AND a.cancel_flag = 0
  6570. AND b.cancel_flag = 0
  6571. GROUP BY
  6572. b.supplier_id
  6573. 2016-12-27 15:13:37 select base_area:SELECT
  6574. id,
  6575. area_name
  6576. FROM
  6577. base_area
  6578. WHERE
  6579. id in(923,803,792,1200,961)
  6580. 2016-12-27 15:14:14 select base_supplier:SELECT
  6581. id,
  6582. supplier_name,
  6583. area_id,
  6584. is_disabled,
  6585. supplier_type
  6586. FROM
  6587. base_supplier a
  6588. WHERE
  6589. cancel_flag = 0
  6590. and a.supplier_name like '%%东湖车队%%'
  6591. AND supplier_type = 187
  6592. LIMIT 0,10
  6593. 2016-12-27 15:14:17 select base_supplier:SELECT
  6594. id,
  6595. supplier_name,
  6596. area_id,
  6597. is_disabled,
  6598. supplier_type
  6599. FROM
  6600. base_supplier a
  6601. WHERE
  6602. cancel_flag = 0
  6603. and a.supplier_name like '%%东湖%%'
  6604. AND supplier_type = 187
  6605. LIMIT 0,10
  6606. 2016-12-27 15:14:25 select base_supplier:SELECT
  6607. id,
  6608. supplier_name,
  6609. area_id,
  6610. is_disabled,
  6611. supplier_type
  6612. FROM
  6613. base_supplier a
  6614. WHERE
  6615. cancel_flag = 0
  6616. and a.supplier_name like '%%东湖车队%%'
  6617. AND supplier_type = 187
  6618. LIMIT 0,10
  6619. 2016-12-27 15:14:27 select base_area:SELECT
  6620. id,
  6621. area_name
  6622. FROM
  6623. base_area
  6624. WHERE
  6625. parent_id = 0
  6626. 2016-12-27 15:14:28 select base_area:SELECT
  6627. id,
  6628. area_name
  6629. FROM
  6630. base_area
  6631. WHERE
  6632. parent_id = 1
  6633. 2016-12-27 15:14:29 check base_supplier:SELECT
  6634. supplier_name
  6635. FROM
  6636. base_supplier
  6637. WHERE
  6638. cancel_flag = 0
  6639. AND supplier_type = 187
  6640. AND supplier_name = '东湖车队'
  6641. 2016-12-27 15:14:39 select base_area:SELECT
  6642. id,
  6643. area_name
  6644. FROM
  6645. base_area
  6646. WHERE
  6647. parent_id = 791
  6648. 2016-12-27 15:14:55 INSERT INTO base_supplier:INSERT INTO base_supplier (
  6649. create_user_id,
  6650. create_time,
  6651. supplier_type,
  6652. supplier_name,
  6653. area_id,
  6654. company_name,
  6655. is_disabled,
  6656. sett_type,
  6657. sett_frequency,
  6658. account_bank,
  6659. account_num,
  6660. account_name
  6661. )
  6662. VALUES
  6663. (1,'2016-12-27 15:14:55',187,'东湖车队',792,'东湖车队',0,275,295,'','','')
  6664. 2016-12-27 15:14:55 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  6665. create_user_id,
  6666. create_time,
  6667. supplier_id,
  6668. product_type,
  6669. purchaser_name
  6670. )
  6671. VALUES (1,'2016-12-27 15:14:55',1100,259,'袁玮')
  6672. 2016-12-27 15:14:55 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  6673. create_user_id,
  6674. create_time,
  6675. supplier_id,
  6676. link_name,
  6677. contact_name,
  6678. contact_mobile,
  6679. contact_telphone,
  6680. fax,
  6681. email,
  6682. remark
  6683. )
  6684. VALUES (1,'2016-12-27 15:14:55',1100,'负责人','袁玮','','','','','')
  6685. 2016-12-27 15:14:57 select base_supplier:SELECT
  6686. id,
  6687. supplier_name,
  6688. area_id,
  6689. is_disabled,
  6690. supplier_type
  6691. FROM
  6692. base_supplier a
  6693. WHERE
  6694. cancel_flag = 0
  6695. AND supplier_type = 187
  6696. LIMIT 0,10
  6697. 2016-12-27 15:14:57 count:SELECT
  6698. a.id
  6699. FROM
  6700. base_supplier AS a,
  6701. base_supplier_purchase AS b
  6702. WHERE
  6703. a.id = b.supplier_id
  6704. AND a.cancel_flag = 0
  6705. AND b.cancel_flag = 0
  6706. GROUP BY
  6707. b.supplier_id
  6708. 2016-12-27 15:14:57 select base_area:SELECT
  6709. id,
  6710. area_name
  6711. FROM
  6712. base_area
  6713. WHERE
  6714. id in(923,803,792,1200,961)
  6715. 2016-12-27 15:15:02 select base_supplier:SELECT
  6716. id,
  6717. supplier_name,
  6718. area_id,
  6719. is_disabled,
  6720. supplier_type
  6721. FROM
  6722. base_supplier a
  6723. WHERE
  6724. cancel_flag = 0
  6725. AND supplier_type = 187
  6726. LIMIT 10,10
  6727. 2016-12-27 15:15:02 count:SELECT
  6728. a.id
  6729. FROM
  6730. base_supplier AS a,
  6731. base_supplier_purchase AS b
  6732. WHERE
  6733. a.id = b.supplier_id
  6734. AND a.cancel_flag = 0
  6735. AND b.cancel_flag = 0
  6736. GROUP BY
  6737. b.supplier_id
  6738. 2016-12-27 15:15:02 select base_area:SELECT
  6739. id,
  6740. area_name
  6741. FROM
  6742. base_area
  6743. WHERE
  6744. id in(792,803,923,799,895)
  6745. 2016-12-27 15:15:02 select base_supplier:SELECT
  6746. id,
  6747. supplier_name,
  6748. area_id,
  6749. is_disabled,
  6750. supplier_type
  6751. FROM
  6752. base_supplier a
  6753. WHERE
  6754. cancel_flag = 0
  6755. AND supplier_type = 187
  6756. LIMIT 20,10
  6757. 2016-12-27 15:15:02 count:SELECT
  6758. a.id
  6759. FROM
  6760. base_supplier AS a,
  6761. base_supplier_purchase AS b
  6762. WHERE
  6763. a.id = b.supplier_id
  6764. AND a.cancel_flag = 0
  6765. AND b.cancel_flag = 0
  6766. GROUP BY
  6767. b.supplier_id
  6768. 2016-12-27 15:15:02 select base_area:SELECT
  6769. id,
  6770. area_name
  6771. FROM
  6772. base_area
  6773. WHERE
  6774. id in(803,850,961,800,792,923)
  6775. 2016-12-27 15:15:03 select base_supplier:SELECT
  6776. id,
  6777. supplier_name,
  6778. area_id,
  6779. is_disabled,
  6780. supplier_type
  6781. FROM
  6782. base_supplier a
  6783. WHERE
  6784. cancel_flag = 0
  6785. AND supplier_type = 187
  6786. LIMIT 30,10
  6787. 2016-12-27 15:15:03 count:SELECT
  6788. a.id
  6789. FROM
  6790. base_supplier AS a,
  6791. base_supplier_purchase AS b
  6792. WHERE
  6793. a.id = b.supplier_id
  6794. AND a.cancel_flag = 0
  6795. AND b.cancel_flag = 0
  6796. GROUP BY
  6797. b.supplier_id
  6798. 2016-12-27 15:15:03 select base_area:SELECT
  6799. id,
  6800. area_name
  6801. FROM
  6802. base_area
  6803. WHERE
  6804. id in(803,792,795,793,923)
  6805. 2016-12-27 15:15:05 select base_supplier:SELECT
  6806. id,
  6807. supplier_name,
  6808. area_id,
  6809. is_disabled,
  6810. supplier_type
  6811. FROM
  6812. base_supplier a
  6813. WHERE
  6814. cancel_flag = 0
  6815. AND supplier_type = 187
  6816. LIMIT 90,10
  6817. 2016-12-27 15:15:05 count:SELECT
  6818. a.id
  6819. FROM
  6820. base_supplier AS a,
  6821. base_supplier_purchase AS b
  6822. WHERE
  6823. a.id = b.supplier_id
  6824. AND a.cancel_flag = 0
  6825. AND b.cancel_flag = 0
  6826. GROUP BY
  6827. b.supplier_id
  6828. 2016-12-27 15:15:05 select base_area:SELECT
  6829. id,
  6830. area_name
  6831. FROM
  6832. base_area
  6833. WHERE
  6834. id in(792,923)
  6835. 2016-12-27 15:15:12 select base_supplier:SELECT
  6836. id,
  6837. supplier_name,
  6838. area_id,
  6839. is_disabled,
  6840. supplier_type
  6841. FROM
  6842. base_supplier a
  6843. WHERE
  6844. cancel_flag = 0
  6845. AND supplier_type = 187
  6846. LIMIT 80,10
  6847. 2016-12-27 15:15:12 count:SELECT
  6848. a.id
  6849. FROM
  6850. base_supplier AS a,
  6851. base_supplier_purchase AS b
  6852. WHERE
  6853. a.id = b.supplier_id
  6854. AND a.cancel_flag = 0
  6855. AND b.cancel_flag = 0
  6856. GROUP BY
  6857. b.supplier_id
  6858. 2016-12-27 15:15:12 select base_area:SELECT
  6859. id,
  6860. area_name
  6861. FROM
  6862. base_area
  6863. WHERE
  6864. id in(842,850,792,803,810,999,1161)
  6865. 2016-12-27 15:15:14 select base_supplier:SELECT
  6866. id,
  6867. supplier_name,
  6868. area_id,
  6869. is_disabled,
  6870. supplier_type
  6871. FROM
  6872. base_supplier a
  6873. WHERE
  6874. cancel_flag = 0
  6875. AND supplier_type = 187
  6876. LIMIT 90,10
  6877. 2016-12-27 15:15:14 count:SELECT
  6878. a.id
  6879. FROM
  6880. base_supplier AS a,
  6881. base_supplier_purchase AS b
  6882. WHERE
  6883. a.id = b.supplier_id
  6884. AND a.cancel_flag = 0
  6885. AND b.cancel_flag = 0
  6886. GROUP BY
  6887. b.supplier_id
  6888. 2016-12-27 15:15:14 select base_area:SELECT
  6889. id,
  6890. area_name
  6891. FROM
  6892. base_area
  6893. WHERE
  6894. id in(792,923)
  6895. 2016-12-27 15:15:38 select base_supplier:SELECT
  6896. id,
  6897. supplier_name,
  6898. area_id,
  6899. is_disabled,
  6900. supplier_type,
  6901. manage_type
  6902. FROM
  6903. base_supplier
  6904. WHERE
  6905. cancel_flag = 0
  6906. AND supplier_type = 301
  6907. LIMIT 0,10
  6908. 2016-12-27 15:15:38 select base_area:SELECT
  6909. id,
  6910. area_name
  6911. FROM
  6912. base_area
  6913. WHERE
  6914. id in(792,810,794,850,797,1966)
  6915. 2016-12-27 15:15:39 select base_area:SELECT
  6916. id,
  6917. area_name
  6918. FROM
  6919. base_area
  6920. WHERE
  6921. parent_id = 0
  6922. 2016-12-27 15:15:39 select base_area:SELECT
  6923. id,
  6924. area_name
  6925. FROM
  6926. base_area
  6927. WHERE
  6928. parent_id = 1
  6929. 2016-12-27 15:15:41 check base_supplier:SELECT
  6930. supplier_name
  6931. FROM
  6932. base_supplier
  6933. WHERE
  6934. cancel_flag = 0
  6935. AND supplier_type = 301
  6936. AND supplier_name = '携程门票'
  6937. 2016-12-27 15:15:53 select base_supplier:SELECT
  6938. id,
  6939. supplier_name,
  6940. area_id,
  6941. is_disabled,
  6942. supplier_type
  6943. FROM
  6944. base_supplier a
  6945. WHERE
  6946. cancel_flag = 0
  6947. and a.supplier_name like '%%大众车队%%'
  6948. AND supplier_type = 187
  6949. LIMIT 0,10
  6950. 2016-12-27 15:15:56 select base_supplier:SELECT
  6951. id,
  6952. supplier_name,
  6953. area_id,
  6954. is_disabled,
  6955. supplier_type
  6956. FROM
  6957. base_supplier a
  6958. WHERE
  6959. cancel_flag = 0
  6960. and a.supplier_name like '%%大众%%'
  6961. AND supplier_type = 187
  6962. LIMIT 0,10
  6963. 2016-12-27 15:15:59 select base_supplier:SELECT
  6964. id,
  6965. supplier_name,
  6966. area_id,
  6967. is_disabled,
  6968. supplier_type
  6969. FROM
  6970. base_supplier a
  6971. WHERE
  6972. cancel_flag = 0
  6973. and a.supplier_name like '%%大众车队%%'
  6974. AND supplier_type = 187
  6975. LIMIT 0,10
  6976. 2016-12-27 15:16:02 select base_area:SELECT
  6977. id,
  6978. area_name
  6979. FROM
  6980. base_area
  6981. WHERE
  6982. parent_id = 0
  6983. 2016-12-27 15:16:02 select base_area:SELECT
  6984. id,
  6985. area_name
  6986. FROM
  6987. base_area
  6988. WHERE
  6989. parent_id = 1
  6990. 2016-12-27 15:16:04 check base_supplier:SELECT
  6991. supplier_name
  6992. FROM
  6993. base_supplier
  6994. WHERE
  6995. cancel_flag = 0
  6996. AND supplier_type = 187
  6997. AND supplier_name = '大众车队'
  6998. 2016-12-27 15:16:06 select base_area:SELECT
  6999. id,
  7000. area_name
  7001. FROM
  7002. base_area
  7003. WHERE
  7004. parent_id = 791
  7005. 2016-12-27 15:16:17 INSERT INTO base_supplier:INSERT INTO base_supplier (
  7006. create_user_id,
  7007. create_time,
  7008. supplier_type,
  7009. supplier_name,
  7010. area_id,
  7011. manage_type,
  7012. company_name,
  7013. id_card,
  7014. is_disabled,
  7015. sett_type,
  7016. sett_frequency,
  7017. account_bank,
  7018. account_num,
  7019. account_name,
  7020. sales_man
  7021. )
  7022. VALUES
  7023. (1,'2016-12-27 15:16:17',301,'携程门票',2,1,'携程门票','',0,275,295,'','','','晏雁')
  7024. 2016-12-27 15:16:17 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  7025. create_user_id,
  7026. create_time,
  7027. supplier_id,
  7028. prod_supplier_id,
  7029. product_type,
  7030. parent_type,
  7031. sale_type,
  7032. commision_flag,
  7033. commision_type,
  7034. back_commision_type,
  7035. back_commision_method,
  7036. back_percent,
  7037. back_value
  7038. )
  7039. VALUES (1,'2016-12-27 15:16:17',1101,0,0,310,312,1,303,306,308,'8','0')
  7040. 2016-12-27 15:16:17 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  7041. create_user_id,
  7042. create_time,
  7043. supplier_id,
  7044. link_name,
  7045. contact_name,
  7046. contact_mobile,
  7047. contact_telphone,
  7048. fax,
  7049. email,
  7050. remark
  7051. )
  7052. VALUES (1,'2016-12-27 15:16:17',1101,'联系人','晏雁','','','','','')
  7053. 2016-12-27 15:16:18 select base_supplier:SELECT
  7054. id,
  7055. supplier_name,
  7056. area_id,
  7057. is_disabled,
  7058. supplier_type,
  7059. manage_type
  7060. FROM
  7061. base_supplier
  7062. WHERE
  7063. cancel_flag = 0
  7064. AND supplier_type = 301
  7065. LIMIT 0,10
  7066. 2016-12-27 15:16:18 select base_area:SELECT
  7067. id,
  7068. area_name
  7069. FROM
  7070. base_area
  7071. WHERE
  7072. id in(792,810,794,850,797,1966)
  7073. 2016-12-27 15:16:24 INSERT INTO base_supplier:INSERT INTO base_supplier (
  7074. create_user_id,
  7075. create_time,
  7076. supplier_type,
  7077. supplier_name,
  7078. area_id,
  7079. company_name,
  7080. is_disabled,
  7081. sett_type,
  7082. sett_frequency,
  7083. account_bank,
  7084. account_num,
  7085. account_name
  7086. )
  7087. VALUES
  7088. (1,'2016-12-27 15:16:24',187,'大众车队',792,'大众车队',0,275,295,'','','')
  7089. 2016-12-27 15:16:24 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  7090. create_user_id,
  7091. create_time,
  7092. supplier_id,
  7093. product_type,
  7094. purchaser_name
  7095. )
  7096. VALUES (1,'2016-12-27 15:16:24',1102,259,'袁玮')
  7097. 2016-12-27 15:16:24 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  7098. create_user_id,
  7099. create_time,
  7100. supplier_id,
  7101. link_name,
  7102. contact_name,
  7103. contact_mobile,
  7104. contact_telphone,
  7105. fax,
  7106. email,
  7107. remark
  7108. )
  7109. VALUES (1,'2016-12-27 15:16:24',1102,'负责人','袁玮','','','','','')
  7110. 2016-12-27 15:16:26 select base_supplier:SELECT
  7111. id,
  7112. supplier_name,
  7113. area_id,
  7114. is_disabled,
  7115. supplier_type
  7116. FROM
  7117. base_supplier a
  7118. WHERE
  7119. cancel_flag = 0
  7120. AND supplier_type = 187
  7121. LIMIT 0,10
  7122. 2016-12-27 15:16:26 count:SELECT
  7123. a.id
  7124. FROM
  7125. base_supplier AS a,
  7126. base_supplier_purchase AS b
  7127. WHERE
  7128. a.id = b.supplier_id
  7129. AND a.cancel_flag = 0
  7130. AND b.cancel_flag = 0
  7131. GROUP BY
  7132. b.supplier_id
  7133. 2016-12-27 15:16:26 select base_area:SELECT
  7134. id,
  7135. area_name
  7136. FROM
  7137. base_area
  7138. WHERE
  7139. id in(923,803,792,1200,961)
  7140. 2016-12-27 15:16:39 select base_supplier:SELECT
  7141. id,
  7142. supplier_name,
  7143. area_id,
  7144. is_disabled,
  7145. supplier_type
  7146. FROM
  7147. base_supplier a
  7148. WHERE
  7149. cancel_flag = 0
  7150. AND supplier_type = 187
  7151. LIMIT 90,10
  7152. 2016-12-27 15:16:39 count:SELECT
  7153. a.id
  7154. FROM
  7155. base_supplier AS a,
  7156. base_supplier_purchase AS b
  7157. WHERE
  7158. a.id = b.supplier_id
  7159. AND a.cancel_flag = 0
  7160. AND b.cancel_flag = 0
  7161. GROUP BY
  7162. b.supplier_id
  7163. 2016-12-27 15:16:39 select base_area:SELECT
  7164. id,
  7165. area_name
  7166. FROM
  7167. base_area
  7168. WHERE
  7169. id in(792,923)
  7170. 2016-12-27 15:17:46 select base_supplier:SELECT
  7171. id,
  7172. supplier_name,
  7173. area_id,
  7174. is_disabled,
  7175. supplier_type,
  7176. manage_type
  7177. FROM
  7178. base_supplier
  7179. WHERE
  7180. cancel_flag = 0
  7181. AND supplier_type = 301
  7182. LIMIT 0,10
  7183. 2016-12-27 15:17:46 select base_area:SELECT
  7184. id,
  7185. area_name
  7186. FROM
  7187. base_area
  7188. WHERE
  7189. id in(792,810,794,850,797,1966)
  7190. 2016-12-27 15:17:55 select base_supplier:SELECT
  7191. id,
  7192. supplier_name,
  7193. area_id,
  7194. is_disabled,
  7195. supplier_type
  7196. FROM
  7197. base_supplier a
  7198. WHERE
  7199. cancel_flag = 0
  7200. and a.supplier_name like '%%城际商务车%%'
  7201. AND supplier_type = 187
  7202. LIMIT 0,10
  7203. 2016-12-27 15:17:59 select base_supplier:SELECT
  7204. id,
  7205. supplier_name,
  7206. area_id,
  7207. is_disabled,
  7208. supplier_type
  7209. FROM
  7210. base_supplier a
  7211. WHERE
  7212. cancel_flag = 0
  7213. and a.supplier_name like '%%城际%%'
  7214. AND supplier_type = 187
  7215. LIMIT 0,10
  7216. 2016-12-27 15:18:03 select base_area:SELECT
  7217. id,
  7218. area_name
  7219. FROM
  7220. base_area
  7221. WHERE
  7222. parent_id = 0
  7223. 2016-12-27 15:18:03 select base_area:SELECT
  7224. id,
  7225. area_name
  7226. FROM
  7227. base_area
  7228. WHERE
  7229. parent_id = 1
  7230. 2016-12-27 15:18:04 check base_supplier:SELECT
  7231. supplier_name
  7232. FROM
  7233. base_supplier
  7234. WHERE
  7235. cancel_flag = 0
  7236. AND supplier_type = 187
  7237. AND supplier_name = '城际商务车'
  7238. 2016-12-27 15:18:06 select base_area:SELECT
  7239. id,
  7240. area_name
  7241. FROM
  7242. base_area
  7243. WHERE
  7244. parent_id = 791
  7245. 2016-12-27 15:18:21 INSERT INTO base_supplier:INSERT INTO base_supplier (
  7246. create_user_id,
  7247. create_time,
  7248. supplier_type,
  7249. supplier_name,
  7250. area_id,
  7251. company_name,
  7252. is_disabled,
  7253. sett_type,
  7254. sett_frequency,
  7255. account_bank,
  7256. account_num,
  7257. account_name
  7258. )
  7259. VALUES
  7260. (1,'2016-12-27 15:18:21',187,'城际商务车',792,'城际商务车',0,275,295,'','','')
  7261. 2016-12-27 15:18:21 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  7262. create_user_id,
  7263. create_time,
  7264. supplier_id,
  7265. product_type,
  7266. purchaser_name
  7267. )
  7268. VALUES (1,'2016-12-27 15:18:21',1103,259,'袁玮')
  7269. 2016-12-27 15:18:21 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  7270. create_user_id,
  7271. create_time,
  7272. supplier_id,
  7273. link_name,
  7274. contact_name,
  7275. contact_mobile,
  7276. contact_telphone,
  7277. fax,
  7278. email,
  7279. remark
  7280. )
  7281. VALUES (1,'2016-12-27 15:18:21',1103,'负责人','袁玮','','','','','')
  7282. 2016-12-27 15:18:22 select base_supplier:SELECT
  7283. id,
  7284. supplier_name,
  7285. area_id,
  7286. is_disabled,
  7287. supplier_type
  7288. FROM
  7289. base_supplier a
  7290. WHERE
  7291. cancel_flag = 0
  7292. AND supplier_type = 187
  7293. LIMIT 0,10
  7294. 2016-12-27 15:18:22 count:SELECT
  7295. a.id
  7296. FROM
  7297. base_supplier AS a,
  7298. base_supplier_purchase AS b
  7299. WHERE
  7300. a.id = b.supplier_id
  7301. AND a.cancel_flag = 0
  7302. AND b.cancel_flag = 0
  7303. GROUP BY
  7304. b.supplier_id
  7305. 2016-12-27 15:18:22 select base_area:SELECT
  7306. id,
  7307. area_name
  7308. FROM
  7309. base_area
  7310. WHERE
  7311. id in(923,803,792,1200,961)
  7312. 2016-12-27 15:19:04 select base_supplier:SELECT
  7313. id,
  7314. supplier_name,
  7315. area_id,
  7316. is_disabled,
  7317. supplier_type
  7318. FROM
  7319. base_supplier a
  7320. WHERE
  7321. cancel_flag = 0
  7322. and a.supplier_name like '%%南京定制客运有限公司%%'
  7323. AND supplier_type = 187
  7324. LIMIT 0,10
  7325. 2016-12-27 15:19:11 select base_supplier:SELECT
  7326. id,
  7327. supplier_name,
  7328. area_id,
  7329. is_disabled,
  7330. supplier_type
  7331. FROM
  7332. base_supplier a
  7333. WHERE
  7334. cancel_flag = 0
  7335. and a.supplier_name like '%%南京定制客运%%'
  7336. AND supplier_type = 187
  7337. LIMIT 0,10
  7338. 2016-12-27 15:19:14 select base_supplier:SELECT
  7339. id,
  7340. supplier_name,
  7341. area_id,
  7342. is_disabled,
  7343. supplier_type
  7344. FROM
  7345. base_supplier a
  7346. WHERE
  7347. cancel_flag = 0
  7348. and a.supplier_name like '%%定制客运%%'
  7349. AND supplier_type = 187
  7350. LIMIT 0,10
  7351. 2016-12-27 15:19:15 select base_area:SELECT
  7352. id,
  7353. area_name
  7354. FROM
  7355. base_area
  7356. WHERE
  7357. parent_id = 0
  7358. 2016-12-27 15:19:15 select base_area:SELECT
  7359. id,
  7360. area_name
  7361. FROM
  7362. base_area
  7363. WHERE
  7364. parent_id = 1
  7365. 2016-12-27 15:19:16 check base_supplier:SELECT
  7366. supplier_name
  7367. FROM
  7368. base_supplier
  7369. WHERE
  7370. cancel_flag = 0
  7371. AND supplier_type = 187
  7372. AND supplier_name = '南京定制客运有限公司'
  7373. 2016-12-27 15:19:20 select base_area:SELECT
  7374. id,
  7375. area_name
  7376. FROM
  7377. base_area
  7378. WHERE
  7379. parent_id = 809
  7380. 2016-12-27 15:19:42 INSERT INTO base_supplier:INSERT INTO base_supplier (
  7381. create_user_id,
  7382. create_time,
  7383. supplier_type,
  7384. supplier_name,
  7385. area_id,
  7386. company_name,
  7387. is_disabled,
  7388. sett_type,
  7389. sett_frequency,
  7390. account_bank,
  7391. account_num,
  7392. account_name
  7393. )
  7394. VALUES
  7395. (1,'2016-12-27 15:19:42',187,'南京定制客运有限公司',810,'南京定制客运有限公司',0,275,295,'','','')
  7396. 2016-12-27 15:19:42 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  7397. create_user_id,
  7398. create_time,
  7399. supplier_id,
  7400. product_type,
  7401. purchaser_name
  7402. )
  7403. VALUES (1,'2016-12-27 15:19:42',1104,259,'袁玮')
  7404. 2016-12-27 15:19:42 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  7405. create_user_id,
  7406. create_time,
  7407. supplier_id,
  7408. link_name,
  7409. contact_name,
  7410. contact_mobile,
  7411. contact_telphone,
  7412. fax,
  7413. email,
  7414. remark
  7415. )
  7416. VALUES (1,'2016-12-27 15:19:42',1104,'负责人','袁玮','','','','','')
  7417. 2016-12-27 15:19:44 select base_supplier:SELECT
  7418. id,
  7419. supplier_name,
  7420. area_id,
  7421. is_disabled,
  7422. supplier_type
  7423. FROM
  7424. base_supplier a
  7425. WHERE
  7426. cancel_flag = 0
  7427. AND supplier_type = 187
  7428. LIMIT 0,10
  7429. 2016-12-27 15:19:44 count:SELECT
  7430. a.id
  7431. FROM
  7432. base_supplier AS a,
  7433. base_supplier_purchase AS b
  7434. WHERE
  7435. a.id = b.supplier_id
  7436. AND a.cancel_flag = 0
  7437. AND b.cancel_flag = 0
  7438. GROUP BY
  7439. b.supplier_id
  7440. 2016-12-27 15:19:44 select base_area:SELECT
  7441. id,
  7442. area_name
  7443. FROM
  7444. base_area
  7445. WHERE
  7446. id in(923,803,792,1200,961)
  7447. 2016-12-27 15:19:46 select base_supplier:SELECT
  7448. id,
  7449. supplier_name,
  7450. area_id,
  7451. is_disabled,
  7452. supplier_type
  7453. FROM
  7454. base_supplier a
  7455. WHERE
  7456. cancel_flag = 0
  7457. AND supplier_type = 187
  7458. LIMIT 90,10
  7459. 2016-12-27 15:19:46 count:SELECT
  7460. a.id
  7461. FROM
  7462. base_supplier AS a,
  7463. base_supplier_purchase AS b
  7464. WHERE
  7465. a.id = b.supplier_id
  7466. AND a.cancel_flag = 0
  7467. AND b.cancel_flag = 0
  7468. GROUP BY
  7469. b.supplier_id
  7470. 2016-12-27 15:19:46 select base_area:SELECT
  7471. id,
  7472. area_name
  7473. FROM
  7474. base_area
  7475. WHERE
  7476. id in(792,923,810)
  7477. 2016-12-27 15:20:25 select base_supplier:SELECT
  7478. id,
  7479. supplier_name,
  7480. area_id,
  7481. is_disabled,
  7482. supplier_type
  7483. FROM
  7484. base_supplier a
  7485. WHERE
  7486. cancel_flag = 0
  7487. and a.supplier_name like '%%道恒%%'
  7488. AND supplier_type = 187
  7489. LIMIT 0,10
  7490. 2016-12-27 15:20:27 select base_area:SELECT
  7491. id,
  7492. area_name
  7493. FROM
  7494. base_area
  7495. WHERE
  7496. parent_id = 0
  7497. 2016-12-27 15:20:27 select base_area:SELECT
  7498. id,
  7499. area_name
  7500. FROM
  7501. base_area
  7502. WHERE
  7503. parent_id = 1
  7504. 2016-12-27 15:20:29 check base_supplier:SELECT
  7505. supplier_name
  7506. FROM
  7507. base_supplier
  7508. WHERE
  7509. cancel_flag = 0
  7510. AND supplier_type = 187
  7511. AND supplier_name = '道恒'
  7512. 2016-12-27 15:20:34 select base_area:SELECT
  7513. id,
  7514. area_name
  7515. FROM
  7516. base_area
  7517. WHERE
  7518. parent_id = 791
  7519. 2016-12-27 15:20:51 INSERT INTO base_supplier:INSERT INTO base_supplier (
  7520. create_user_id,
  7521. create_time,
  7522. supplier_type,
  7523. supplier_name,
  7524. area_id,
  7525. company_name,
  7526. is_disabled,
  7527. sett_type,
  7528. sett_frequency,
  7529. account_bank,
  7530. account_num,
  7531. account_name
  7532. )
  7533. VALUES
  7534. (1,'2016-12-27 15:20:51',187,'道恒',792,'道恒',0,275,295,'','','')
  7535. 2016-12-27 15:20:51 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  7536. create_user_id,
  7537. create_time,
  7538. supplier_id,
  7539. product_type,
  7540. purchaser_name
  7541. )
  7542. VALUES (1,'2016-12-27 15:20:51',1105,259,'袁玮')
  7543. 2016-12-27 15:20:51 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  7544. create_user_id,
  7545. create_time,
  7546. supplier_id,
  7547. link_name,
  7548. contact_name,
  7549. contact_mobile,
  7550. contact_telphone,
  7551. fax,
  7552. email,
  7553. remark
  7554. )
  7555. VALUES (1,'2016-12-27 15:20:51',1105,'负责人','袁玮','','','','','')
  7556. 2016-12-27 15:20:53 select base_supplier:SELECT
  7557. id,
  7558. supplier_name,
  7559. area_id,
  7560. is_disabled,
  7561. supplier_type
  7562. FROM
  7563. base_supplier a
  7564. WHERE
  7565. cancel_flag = 0
  7566. AND supplier_type = 187
  7567. LIMIT 0,10
  7568. 2016-12-27 15:20:53 count:SELECT
  7569. a.id
  7570. FROM
  7571. base_supplier AS a,
  7572. base_supplier_purchase AS b
  7573. WHERE
  7574. a.id = b.supplier_id
  7575. AND a.cancel_flag = 0
  7576. AND b.cancel_flag = 0
  7577. GROUP BY
  7578. b.supplier_id
  7579. 2016-12-27 15:20:53 select base_area:SELECT
  7580. id,
  7581. area_name
  7582. FROM
  7583. base_area
  7584. WHERE
  7585. id in(923,803,792,1200,961)
  7586. 2016-12-27 15:21:19 select base_supplier:SELECT
  7587. id,
  7588. supplier_name,
  7589. area_id,
  7590. is_disabled,
  7591. supplier_type
  7592. FROM
  7593. base_supplier a
  7594. WHERE
  7595. cancel_flag = 0
  7596. and a.supplier_name like '%%汇龙%%'
  7597. AND supplier_type = 187
  7598. LIMIT 0,10
  7599. 2016-12-27 15:21:20 select base_area:SELECT
  7600. id,
  7601. area_name
  7602. FROM
  7603. base_area
  7604. WHERE
  7605. parent_id = 0
  7606. 2016-12-27 15:21:20 select base_area:SELECT
  7607. id,
  7608. area_name
  7609. FROM
  7610. base_area
  7611. WHERE
  7612. parent_id = 1
  7613. 2016-12-27 15:21:22 check base_supplier:SELECT
  7614. supplier_name
  7615. FROM
  7616. base_supplier
  7617. WHERE
  7618. cancel_flag = 0
  7619. AND supplier_type = 187
  7620. AND supplier_name = '汇龙'
  7621. 2016-12-27 15:21:28 select base_area:SELECT
  7622. id,
  7623. area_name
  7624. FROM
  7625. base_area
  7626. WHERE
  7627. parent_id = 791
  7628. 2016-12-27 15:21:44 INSERT INTO base_supplier:INSERT INTO base_supplier (
  7629. create_user_id,
  7630. create_time,
  7631. supplier_type,
  7632. supplier_name,
  7633. area_id,
  7634. company_name,
  7635. is_disabled,
  7636. sett_type,
  7637. sett_frequency,
  7638. account_bank,
  7639. account_num,
  7640. account_name
  7641. )
  7642. VALUES
  7643. (1,'2016-12-27 15:21:44',187,'汇龙',792,'汇龙',0,275,295,'','','')
  7644. 2016-12-27 15:21:44 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  7645. create_user_id,
  7646. create_time,
  7647. supplier_id,
  7648. product_type,
  7649. purchaser_name
  7650. )
  7651. VALUES (1,'2016-12-27 15:21:44',1106,259,'袁玮')
  7652. 2016-12-27 15:21:44 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  7653. create_user_id,
  7654. create_time,
  7655. supplier_id,
  7656. link_name,
  7657. contact_name,
  7658. contact_mobile,
  7659. contact_telphone,
  7660. fax,
  7661. email,
  7662. remark
  7663. )
  7664. VALUES (1,'2016-12-27 15:21:44',1106,'负责人','袁玮','','','','','')
  7665. 2016-12-27 15:21:45 select base_supplier:SELECT
  7666. id,
  7667. supplier_name,
  7668. area_id,
  7669. is_disabled,
  7670. supplier_type
  7671. FROM
  7672. base_supplier a
  7673. WHERE
  7674. cancel_flag = 0
  7675. AND supplier_type = 187
  7676. LIMIT 0,10
  7677. 2016-12-27 15:21:45 count:SELECT
  7678. a.id
  7679. FROM
  7680. base_supplier AS a,
  7681. base_supplier_purchase AS b
  7682. WHERE
  7683. a.id = b.supplier_id
  7684. AND a.cancel_flag = 0
  7685. AND b.cancel_flag = 0
  7686. GROUP BY
  7687. b.supplier_id
  7688. 2016-12-27 15:21:45 select base_area:SELECT
  7689. id,
  7690. area_name
  7691. FROM
  7692. base_area
  7693. WHERE
  7694. id in(923,803,792,1200,961)
  7695. 2016-12-27 15:22:14 select base_supplier:SELECT
  7696. id,
  7697. supplier_name,
  7698. area_id,
  7699. is_disabled,
  7700. supplier_type
  7701. FROM
  7702. base_supplier a
  7703. WHERE
  7704. cancel_flag = 0
  7705. and a.supplier_name like '%%龙狄%%'
  7706. AND supplier_type = 187
  7707. LIMIT 0,10
  7708. 2016-12-27 15:22:15 select base_area:SELECT
  7709. id,
  7710. area_name
  7711. FROM
  7712. base_area
  7713. WHERE
  7714. parent_id = 0
  7715. 2016-12-27 15:22:15 select base_area:SELECT
  7716. id,
  7717. area_name
  7718. FROM
  7719. base_area
  7720. WHERE
  7721. parent_id = 1
  7722. 2016-12-27 15:22:17 check base_supplier:SELECT
  7723. supplier_name
  7724. FROM
  7725. base_supplier
  7726. WHERE
  7727. cancel_flag = 0
  7728. AND supplier_type = 187
  7729. AND supplier_name = '龙狄'
  7730. 2016-12-27 15:22:18 select base_area:SELECT
  7731. id,
  7732. area_name
  7733. FROM
  7734. base_area
  7735. WHERE
  7736. parent_id = 791
  7737. 2016-12-27 15:22:35 INSERT INTO base_supplier:INSERT INTO base_supplier (
  7738. create_user_id,
  7739. create_time,
  7740. supplier_type,
  7741. supplier_name,
  7742. area_id,
  7743. company_name,
  7744. is_disabled,
  7745. sett_type,
  7746. sett_frequency,
  7747. account_bank,
  7748. account_num,
  7749. account_name
  7750. )
  7751. VALUES
  7752. (1,'2016-12-27 15:22:35',187,'龙狄',792,'龙狄',0,275,295,'','','')
  7753. 2016-12-27 15:22:35 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  7754. create_user_id,
  7755. create_time,
  7756. supplier_id,
  7757. product_type,
  7758. purchaser_name
  7759. )
  7760. VALUES (1,'2016-12-27 15:22:35',1107,259,'袁玮')
  7761. 2016-12-27 15:22:35 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  7762. create_user_id,
  7763. create_time,
  7764. supplier_id,
  7765. link_name,
  7766. contact_name,
  7767. contact_mobile,
  7768. contact_telphone,
  7769. fax,
  7770. email,
  7771. remark
  7772. )
  7773. VALUES (1,'2016-12-27 15:22:35',1107,'负责人','袁玮','','','','','')
  7774. 2016-12-27 15:22:37 select base_supplier:SELECT
  7775. id,
  7776. supplier_name,
  7777. area_id,
  7778. is_disabled,
  7779. supplier_type
  7780. FROM
  7781. base_supplier a
  7782. WHERE
  7783. cancel_flag = 0
  7784. AND supplier_type = 187
  7785. LIMIT 0,10
  7786. 2016-12-27 15:22:37 count:SELECT
  7787. a.id
  7788. FROM
  7789. base_supplier AS a,
  7790. base_supplier_purchase AS b
  7791. WHERE
  7792. a.id = b.supplier_id
  7793. AND a.cancel_flag = 0
  7794. AND b.cancel_flag = 0
  7795. GROUP BY
  7796. b.supplier_id
  7797. 2016-12-27 15:22:37 select base_area:SELECT
  7798. id,
  7799. area_name
  7800. FROM
  7801. base_area
  7802. WHERE
  7803. id in(923,803,792,1200,961)
  7804. 2016-12-27 15:23:06 select base_supplier:SELECT
  7805. id,
  7806. supplier_name,
  7807. area_id,
  7808. is_disabled,
  7809. supplier_type
  7810. FROM
  7811. base_supplier a
  7812. WHERE
  7813. cancel_flag = 0
  7814. and a.supplier_name like '%%蓝鲸%%'
  7815. AND supplier_type = 187
  7816. LIMIT 0,10
  7817. 2016-12-27 15:23:08 select base_area:SELECT
  7818. id,
  7819. area_name
  7820. FROM
  7821. base_area
  7822. WHERE
  7823. parent_id = 0
  7824. 2016-12-27 15:23:08 select base_area:SELECT
  7825. id,
  7826. area_name
  7827. FROM
  7828. base_area
  7829. WHERE
  7830. parent_id = 1
  7831. 2016-12-27 15:23:09 check base_supplier:SELECT
  7832. supplier_name
  7833. FROM
  7834. base_supplier
  7835. WHERE
  7836. cancel_flag = 0
  7837. AND supplier_type = 187
  7838. AND supplier_name = '蓝鲸'
  7839. 2016-12-27 15:23:12 select base_area:SELECT
  7840. id,
  7841. area_name
  7842. FROM
  7843. base_area
  7844. WHERE
  7845. parent_id = 791
  7846. 2016-12-27 15:23:26 INSERT INTO base_supplier:INSERT INTO base_supplier (
  7847. create_user_id,
  7848. create_time,
  7849. supplier_type,
  7850. supplier_name,
  7851. area_id,
  7852. company_name,
  7853. is_disabled,
  7854. sett_type,
  7855. sett_frequency,
  7856. account_bank,
  7857. account_num,
  7858. account_name
  7859. )
  7860. VALUES
  7861. (1,'2016-12-27 15:23:26',187,'蓝鲸',792,'蓝鲸',0,275,295,'','','')
  7862. 2016-12-27 15:23:26 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  7863. create_user_id,
  7864. create_time,
  7865. supplier_id,
  7866. product_type,
  7867. purchaser_name
  7868. )
  7869. VALUES (1,'2016-12-27 15:23:26',1108,259,'袁玮')
  7870. 2016-12-27 15:23:26 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  7871. create_user_id,
  7872. create_time,
  7873. supplier_id,
  7874. link_name,
  7875. contact_name,
  7876. contact_mobile,
  7877. contact_telphone,
  7878. fax,
  7879. email,
  7880. remark
  7881. )
  7882. VALUES (1,'2016-12-27 15:23:26',1108,'负责人','袁玮','','','','','')
  7883. 2016-12-27 15:23:28 select base_supplier:SELECT
  7884. id,
  7885. supplier_name,
  7886. area_id,
  7887. is_disabled,
  7888. supplier_type
  7889. FROM
  7890. base_supplier a
  7891. WHERE
  7892. cancel_flag = 0
  7893. AND supplier_type = 187
  7894. LIMIT 0,10
  7895. 2016-12-27 15:23:28 count:SELECT
  7896. a.id
  7897. FROM
  7898. base_supplier AS a,
  7899. base_supplier_purchase AS b
  7900. WHERE
  7901. a.id = b.supplier_id
  7902. AND a.cancel_flag = 0
  7903. AND b.cancel_flag = 0
  7904. GROUP BY
  7905. b.supplier_id
  7906. 2016-12-27 15:23:28 select base_area:SELECT
  7907. id,
  7908. area_name
  7909. FROM
  7910. base_area
  7911. WHERE
  7912. id in(923,803,792,1200,961)
  7913. 2016-12-27 15:23:56 select base_supplier:SELECT
  7914. id,
  7915. supplier_name,
  7916. area_id,
  7917. is_disabled,
  7918. supplier_type
  7919. FROM
  7920. base_supplier a
  7921. WHERE
  7922. cancel_flag = 0
  7923. and a.supplier_name like '%%龙泓%%'
  7924. AND supplier_type = 187
  7925. LIMIT 0,10
  7926. 2016-12-27 15:23:57 select base_area:SELECT
  7927. id,
  7928. area_name
  7929. FROM
  7930. base_area
  7931. WHERE
  7932. parent_id = 0
  7933. 2016-12-27 15:23:58 select base_area:SELECT
  7934. id,
  7935. area_name
  7936. FROM
  7937. base_area
  7938. WHERE
  7939. parent_id = 1
  7940. 2016-12-27 15:23:59 check base_supplier:SELECT
  7941. supplier_name
  7942. FROM
  7943. base_supplier
  7944. WHERE
  7945. cancel_flag = 0
  7946. AND supplier_type = 187
  7947. AND supplier_name = '龙泓'
  7948. 2016-12-27 15:24:02 select base_area:SELECT
  7949. id,
  7950. area_name
  7951. FROM
  7952. base_area
  7953. WHERE
  7954. parent_id = 791
  7955. 2016-12-27 15:24:21 INSERT INTO base_supplier:INSERT INTO base_supplier (
  7956. create_user_id,
  7957. create_time,
  7958. supplier_type,
  7959. supplier_name,
  7960. area_id,
  7961. company_name,
  7962. is_disabled,
  7963. sett_type,
  7964. sett_frequency,
  7965. account_bank,
  7966. account_num,
  7967. account_name
  7968. )
  7969. VALUES
  7970. (1,'2016-12-27 15:24:21',187,'龙泓',792,'龙泓',0,275,295,'','','')
  7971. 2016-12-27 15:24:21 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  7972. create_user_id,
  7973. create_time,
  7974. supplier_id,
  7975. product_type,
  7976. purchaser_name
  7977. )
  7978. VALUES (1,'2016-12-27 15:24:21',1109,259,'袁玮')
  7979. 2016-12-27 15:24:21 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  7980. create_user_id,
  7981. create_time,
  7982. supplier_id,
  7983. link_name,
  7984. contact_name,
  7985. contact_mobile,
  7986. contact_telphone,
  7987. fax,
  7988. email,
  7989. remark
  7990. )
  7991. VALUES (1,'2016-12-27 15:24:21',1109,'负责人','袁玮','','','','','')
  7992. 2016-12-27 15:24:22 select base_supplier:SELECT
  7993. id,
  7994. supplier_name,
  7995. area_id,
  7996. is_disabled,
  7997. supplier_type
  7998. FROM
  7999. base_supplier a
  8000. WHERE
  8001. cancel_flag = 0
  8002. AND supplier_type = 187
  8003. LIMIT 0,10
  8004. 2016-12-27 15:24:22 count:SELECT
  8005. a.id
  8006. FROM
  8007. base_supplier AS a,
  8008. base_supplier_purchase AS b
  8009. WHERE
  8010. a.id = b.supplier_id
  8011. AND a.cancel_flag = 0
  8012. AND b.cancel_flag = 0
  8013. GROUP BY
  8014. b.supplier_id
  8015. 2016-12-27 15:24:22 select base_area:SELECT
  8016. id,
  8017. area_name
  8018. FROM
  8019. base_area
  8020. WHERE
  8021. id in(923,803,792,1200,961)
  8022. 2016-12-27 15:24:53 select base_supplier:SELECT
  8023. id,
  8024. supplier_name,
  8025. area_id,
  8026. is_disabled,
  8027. supplier_type
  8028. FROM
  8029. base_supplier a
  8030. WHERE
  8031. cancel_flag = 0
  8032. and a.supplier_name like '%%锦友车队%%'
  8033. AND supplier_type = 187
  8034. LIMIT 0,10
  8035. 2016-12-27 15:24:55 select base_supplier:SELECT
  8036. id,
  8037. supplier_name,
  8038. area_id,
  8039. is_disabled,
  8040. supplier_type
  8041. FROM
  8042. base_supplier a
  8043. WHERE
  8044. cancel_flag = 0
  8045. and a.supplier_name like '%%锦友%%'
  8046. AND supplier_type = 187
  8047. LIMIT 0,10
  8048. 2016-12-27 15:24:57 select base_area:SELECT
  8049. id,
  8050. area_name
  8051. FROM
  8052. base_area
  8053. WHERE
  8054. parent_id = 0
  8055. 2016-12-27 15:24:57 select base_area:SELECT
  8056. id,
  8057. area_name
  8058. FROM
  8059. base_area
  8060. WHERE
  8061. parent_id = 1
  8062. 2016-12-27 15:24:58 check base_supplier:SELECT
  8063. supplier_name
  8064. FROM
  8065. base_supplier
  8066. WHERE
  8067. cancel_flag = 0
  8068. AND supplier_type = 187
  8069. AND supplier_name = '锦友车队'
  8070. 2016-12-27 15:25:00 select base_area:SELECT
  8071. id,
  8072. area_name
  8073. FROM
  8074. base_area
  8075. WHERE
  8076. parent_id = 791
  8077. 2016-12-27 15:25:37 INSERT INTO base_supplier:INSERT INTO base_supplier (
  8078. create_user_id,
  8079. create_time,
  8080. supplier_type,
  8081. supplier_name,
  8082. area_id,
  8083. company_name,
  8084. is_disabled,
  8085. sett_type,
  8086. sett_frequency,
  8087. account_bank,
  8088. account_num,
  8089. account_name
  8090. )
  8091. VALUES
  8092. (1,'2016-12-27 15:25:37',187,'锦友车队',792,'锦友车队',0,275,295,'','','')
  8093. 2016-12-27 15:25:37 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  8094. create_user_id,
  8095. create_time,
  8096. supplier_id,
  8097. product_type,
  8098. purchaser_name
  8099. )
  8100. VALUES (1,'2016-12-27 15:25:37',1110,259,'袁玮')
  8101. 2016-12-27 15:25:37 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  8102. create_user_id,
  8103. create_time,
  8104. supplier_id,
  8105. link_name,
  8106. contact_name,
  8107. contact_mobile,
  8108. contact_telphone,
  8109. fax,
  8110. email,
  8111. remark
  8112. )
  8113. VALUES (1,'2016-12-27 15:25:37',1110,'负责人','袁玮','','','','','')
  8114. 2016-12-27 15:25:38 select base_supplier:SELECT
  8115. id,
  8116. supplier_name,
  8117. area_id,
  8118. is_disabled,
  8119. supplier_type
  8120. FROM
  8121. base_supplier a
  8122. WHERE
  8123. cancel_flag = 0
  8124. AND supplier_type = 187
  8125. LIMIT 0,10
  8126. 2016-12-27 15:25:38 count:SELECT
  8127. a.id
  8128. FROM
  8129. base_supplier AS a,
  8130. base_supplier_purchase AS b
  8131. WHERE
  8132. a.id = b.supplier_id
  8133. AND a.cancel_flag = 0
  8134. AND b.cancel_flag = 0
  8135. GROUP BY
  8136. b.supplier_id
  8137. 2016-12-27 15:25:38 select base_area:SELECT
  8138. id,
  8139. area_name
  8140. FROM
  8141. base_area
  8142. WHERE
  8143. id in(923,803,792,1200,961)
  8144. 2016-12-27 15:25:42 select base_supplier:SELECT
  8145. id,
  8146. supplier_name,
  8147. area_id,
  8148. is_disabled,
  8149. supplier_type
  8150. FROM
  8151. base_supplier a
  8152. WHERE
  8153. cancel_flag = 0
  8154. AND supplier_type = 187
  8155. LIMIT 100,10
  8156. 2016-12-27 15:25:42 count:SELECT
  8157. a.id
  8158. FROM
  8159. base_supplier AS a,
  8160. base_supplier_purchase AS b
  8161. WHERE
  8162. a.id = b.supplier_id
  8163. AND a.cancel_flag = 0
  8164. AND b.cancel_flag = 0
  8165. GROUP BY
  8166. b.supplier_id
  8167. 2016-12-27 15:25:42 select base_area:SELECT
  8168. id,
  8169. area_name
  8170. FROM
  8171. base_area
  8172. WHERE
  8173. id in(792)
  8174. 2016-12-27 15:26:41 select base_supplier:SELECT
  8175. id,
  8176. supplier_name,
  8177. area_id,
  8178. is_disabled,
  8179. supplier_type
  8180. FROM
  8181. base_supplier a
  8182. WHERE
  8183. cancel_flag = 0
  8184. and a.supplier_name like '%%淮安定制客运有限公司%%'
  8185. AND supplier_type = 187
  8186. LIMIT 0,10
  8187. 2016-12-27 15:26:43 select base_area:SELECT
  8188. id,
  8189. area_name
  8190. FROM
  8191. base_area
  8192. WHERE
  8193. parent_id = 0
  8194. 2016-12-27 15:26:43 select base_area:SELECT
  8195. id,
  8196. area_name
  8197. FROM
  8198. base_area
  8199. WHERE
  8200. parent_id = 1
  8201. 2016-12-27 15:26:44 check base_supplier:SELECT
  8202. supplier_name
  8203. FROM
  8204. base_supplier
  8205. WHERE
  8206. cancel_flag = 0
  8207. AND supplier_type = 187
  8208. AND supplier_name = '淮安定制客运有限公司'
  8209. 2016-12-27 15:26:45 select base_area:SELECT
  8210. id,
  8211. area_name
  8212. FROM
  8213. base_area
  8214. WHERE
  8215. parent_id = 809
  8216. 2016-12-27 15:27:42 check base_supplier:SELECT
  8217. supplier_name
  8218. FROM
  8219. base_supplier
  8220. WHERE
  8221. cancel_flag = 0
  8222. AND supplier_type = 187
  8223. AND supplier_name = '淮安定制客运有限公司'
  8224. 2016-12-27 15:27:55 INSERT INTO base_supplier:INSERT INTO base_supplier (
  8225. create_user_id,
  8226. create_time,
  8227. supplier_type,
  8228. supplier_name,
  8229. area_id,
  8230. company_name,
  8231. is_disabled,
  8232. sett_type,
  8233. sett_frequency,
  8234. account_bank,
  8235. account_num,
  8236. account_name
  8237. )
  8238. VALUES
  8239. (1,'2016-12-27 15:27:55',187,'淮安定制客运有限公司',876,'淮安定制客运有限公司',0,275,295,'','','')
  8240. 2016-12-27 15:27:55 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  8241. create_user_id,
  8242. create_time,
  8243. supplier_id,
  8244. product_type,
  8245. purchaser_name
  8246. )
  8247. VALUES (1,'2016-12-27 15:27:55',1111,259,'袁玮')
  8248. 2016-12-27 15:27:55 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  8249. create_user_id,
  8250. create_time,
  8251. supplier_id,
  8252. link_name,
  8253. contact_name,
  8254. contact_mobile,
  8255. contact_telphone,
  8256. fax,
  8257. email,
  8258. remark
  8259. )
  8260. VALUES (1,'2016-12-27 15:27:55',1111,'负责人','袁玮','','','','','')
  8261. 2016-12-27 15:27:56 select base_supplier:SELECT
  8262. id,
  8263. supplier_name,
  8264. area_id,
  8265. is_disabled,
  8266. supplier_type
  8267. FROM
  8268. base_supplier a
  8269. WHERE
  8270. cancel_flag = 0
  8271. AND supplier_type = 187
  8272. LIMIT 0,10
  8273. 2016-12-27 15:27:56 count:SELECT
  8274. a.id
  8275. FROM
  8276. base_supplier AS a,
  8277. base_supplier_purchase AS b
  8278. WHERE
  8279. a.id = b.supplier_id
  8280. AND a.cancel_flag = 0
  8281. AND b.cancel_flag = 0
  8282. GROUP BY
  8283. b.supplier_id
  8284. 2016-12-27 15:27:56 select base_area:SELECT
  8285. id,
  8286. area_name
  8287. FROM
  8288. base_area
  8289. WHERE
  8290. id in(923,803,792,1200,961)
  8291. 2016-12-27 15:28:24 select base_supplier:SELECT
  8292. id,
  8293. supplier_name,
  8294. area_id,
  8295. is_disabled,
  8296. supplier_type
  8297. FROM
  8298. base_supplier a
  8299. WHERE
  8300. cancel_flag = 0
  8301. and a.supplier_name like '%%南京太平洋%%'
  8302. AND supplier_type = 187
  8303. LIMIT 0,10
  8304. 2016-12-27 15:28:26 select base_area:SELECT
  8305. id,
  8306. area_name
  8307. FROM
  8308. base_area
  8309. WHERE
  8310. parent_id = 0
  8311. 2016-12-27 15:28:26 select base_area:SELECT
  8312. id,
  8313. area_name
  8314. FROM
  8315. base_area
  8316. WHERE
  8317. parent_id = 1
  8318. 2016-12-27 15:28:28 check base_supplier:SELECT
  8319. supplier_name
  8320. FROM
  8321. base_supplier
  8322. WHERE
  8323. cancel_flag = 0
  8324. AND supplier_type = 187
  8325. AND supplier_name = '南京太平洋'
  8326. 2016-12-27 15:28:34 select base_area:SELECT
  8327. id,
  8328. area_name
  8329. FROM
  8330. base_area
  8331. WHERE
  8332. parent_id = 809
  8333. 2016-12-27 15:28:50 INSERT INTO base_supplier:INSERT INTO base_supplier (
  8334. create_user_id,
  8335. create_time,
  8336. supplier_type,
  8337. supplier_name,
  8338. area_id,
  8339. company_name,
  8340. is_disabled,
  8341. sett_type,
  8342. sett_frequency,
  8343. account_bank,
  8344. account_num,
  8345. account_name
  8346. )
  8347. VALUES
  8348. (1,'2016-12-27 15:28:50',187,'南京太平洋',810,'南京太平洋',0,275,295,'','','')
  8349. 2016-12-27 15:28:50 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  8350. create_user_id,
  8351. create_time,
  8352. supplier_id,
  8353. product_type,
  8354. purchaser_name
  8355. )
  8356. VALUES (1,'2016-12-27 15:28:50',1112,259,'袁玮')
  8357. 2016-12-27 15:28:50 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  8358. create_user_id,
  8359. create_time,
  8360. supplier_id,
  8361. link_name,
  8362. contact_name,
  8363. contact_mobile,
  8364. contact_telphone,
  8365. fax,
  8366. email,
  8367. remark
  8368. )
  8369. VALUES (1,'2016-12-27 15:28:50',1112,'负责人','袁玮','','','','','')
  8370. 2016-12-27 15:28:51 select base_supplier:SELECT
  8371. id,
  8372. supplier_name,
  8373. area_id,
  8374. is_disabled,
  8375. supplier_type
  8376. FROM
  8377. base_supplier a
  8378. WHERE
  8379. cancel_flag = 0
  8380. AND supplier_type = 187
  8381. LIMIT 0,10
  8382. 2016-12-27 15:28:51 count:SELECT
  8383. a.id
  8384. FROM
  8385. base_supplier AS a,
  8386. base_supplier_purchase AS b
  8387. WHERE
  8388. a.id = b.supplier_id
  8389. AND a.cancel_flag = 0
  8390. AND b.cancel_flag = 0
  8391. GROUP BY
  8392. b.supplier_id
  8393. 2016-12-27 15:28:51 select base_area:SELECT
  8394. id,
  8395. area_name
  8396. FROM
  8397. base_area
  8398. WHERE
  8399. id in(923,803,792,1200,961)
  8400. 2016-12-27 15:28:56 select base_supplier:SELECT
  8401. id,
  8402. supplier_name,
  8403. area_id,
  8404. is_disabled,
  8405. supplier_type
  8406. FROM
  8407. base_supplier a
  8408. WHERE
  8409. cancel_flag = 0
  8410. AND supplier_type = 187
  8411. LIMIT 100,10
  8412. 2016-12-27 15:28:56 count:SELECT
  8413. a.id
  8414. FROM
  8415. base_supplier AS a,
  8416. base_supplier_purchase AS b
  8417. WHERE
  8418. a.id = b.supplier_id
  8419. AND a.cancel_flag = 0
  8420. AND b.cancel_flag = 0
  8421. GROUP BY
  8422. b.supplier_id
  8423. 2016-12-27 15:28:56 select base_area:SELECT
  8424. id,
  8425. area_name
  8426. FROM
  8427. base_area
  8428. WHERE
  8429. id in(792,876,810)
  8430. 2016-12-27 15:29:47 select base_supplier:SELECT
  8431. id,
  8432. supplier_name,
  8433. area_id,
  8434. is_disabled,
  8435. supplier_type
  8436. FROM
  8437. base_supplier a
  8438. WHERE
  8439. cancel_flag = 0
  8440. and a.supplier_name like '%%佰廉车队%%'
  8441. AND supplier_type = 187
  8442. LIMIT 0,10
  8443. 2016-12-27 15:29:47 count:SELECT
  8444. a.id
  8445. FROM
  8446. base_supplier AS a,
  8447. base_supplier_purchase AS b
  8448. WHERE
  8449. a.id = b.supplier_id
  8450. and a.supplier_name like '%%佰廉车队%%'
  8451. AND a.cancel_flag = 0
  8452. AND b.cancel_flag = 0
  8453. GROUP BY
  8454. b.supplier_id
  8455. 2016-12-27 15:29:47 select base_area:SELECT
  8456. id,
  8457. area_name
  8458. FROM
  8459. base_area
  8460. WHERE
  8461. id in(1161)
  8462. 2016-12-27 15:38:23 select base_supplier:SELECT
  8463. id,
  8464. supplier_name,
  8465. area_id,
  8466. is_disabled,
  8467. supplier_type,
  8468. manage_type
  8469. FROM
  8470. base_supplier
  8471. WHERE
  8472. cancel_flag = 0
  8473. AND supplier_type = 301
  8474. LIMIT 0,10
  8475. 2016-12-27 15:38:23 select base_area:SELECT
  8476. id,
  8477. area_name
  8478. FROM
  8479. base_area
  8480. WHERE
  8481. id in(792,810,794,850,797,1966)
  8482. 2016-12-27 15:38:25 select base_supplier:SELECT
  8483. id,
  8484. supplier_name,
  8485. area_id,
  8486. is_disabled,
  8487. supplier_type,
  8488. manage_type
  8489. FROM
  8490. base_supplier
  8491. WHERE
  8492. cancel_flag = 0
  8493. and supplier_name like '%%苏州汇融广场假日酒店%%'
  8494. AND supplier_type = 301
  8495. LIMIT 0,10
  8496. 2016-12-27 15:38:26 select base_area:SELECT
  8497. id,
  8498. area_name
  8499. FROM
  8500. base_area
  8501. WHERE
  8502. parent_id = 0
  8503. 2016-12-27 15:38:26 select base_area:SELECT
  8504. id,
  8505. area_name
  8506. FROM
  8507. base_area
  8508. WHERE
  8509. parent_id = 1
  8510. 2016-12-27 15:38:28 check base_supplier:SELECT
  8511. supplier_name
  8512. FROM
  8513. base_supplier
  8514. WHERE
  8515. cancel_flag = 0
  8516. AND supplier_type = 301
  8517. AND supplier_name = '苏州汇融广场假日酒店'
  8518. 2016-12-27 15:38:33 check base_supplier:SELECT
  8519. supplier_name
  8520. FROM
  8521. base_supplier
  8522. WHERE
  8523. cancel_flag = 0
  8524. AND supplier_type = 301
  8525. AND supplier_name = '苏州汇融广场假日酒店'
  8526. 2016-12-27 15:38:35 check base_supplier:SELECT
  8527. supplier_name
  8528. FROM
  8529. base_supplier
  8530. WHERE
  8531. cancel_flag = 0
  8532. AND supplier_type = 301
  8533. AND supplier_name = '苏州汇融广场假日酒店'
  8534. 2016-12-27 15:38:39 select base_area:SELECT
  8535. id,
  8536. area_name
  8537. FROM
  8538. base_area
  8539. WHERE
  8540. parent_id = 809
  8541. 2016-12-27 15:39:32 INSERT INTO base_supplier:INSERT INTO base_supplier (
  8542. create_user_id,
  8543. create_time,
  8544. supplier_type,
  8545. supplier_name,
  8546. area_id,
  8547. manage_type,
  8548. company_name,
  8549. id_card,
  8550. is_disabled,
  8551. sett_type,
  8552. sett_frequency,
  8553. account_bank,
  8554. account_num,
  8555. account_name,
  8556. sales_man
  8557. )
  8558. VALUES
  8559. (1,'2016-12-27 15:39:32',301,'苏州汇融广场假日酒店',850,1,'苏州汇融广场假日酒店','',0,275,295,'','','','周卿')
  8560. 2016-12-27 15:39:32 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  8561. create_user_id,
  8562. create_time,
  8563. supplier_id,
  8564. prod_supplier_id,
  8565. product_type,
  8566. parent_type,
  8567. sale_type,
  8568. commision_flag,
  8569. commision_type,
  8570. back_commision_type,
  8571. back_commision_method,
  8572. back_percent,
  8573. back_value
  8574. )
  8575. VALUES (1,'2016-12-27 15:39:32',1113,0,0,25,312,1,303,306,308,'10','0')
  8576. 2016-12-27 15:39:32 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  8577. create_user_id,
  8578. create_time,
  8579. supplier_id,
  8580. link_name,
  8581. contact_name,
  8582. contact_mobile,
  8583. contact_telphone,
  8584. fax,
  8585. email,
  8586. remark
  8587. )
  8588. VALUES (1,'2016-12-27 15:39:32',1113,'管理员','徐超','','','','','')
  8589. 2016-12-27 15:39:33 select base_supplier:SELECT
  8590. id,
  8591. supplier_name,
  8592. area_id,
  8593. is_disabled,
  8594. supplier_type,
  8595. manage_type
  8596. FROM
  8597. base_supplier
  8598. WHERE
  8599. cancel_flag = 0
  8600. AND supplier_type = 301
  8601. LIMIT 0,10
  8602. 2016-12-27 15:39:33 select base_area:SELECT
  8603. id,
  8604. area_name
  8605. FROM
  8606. base_area
  8607. WHERE
  8608. id in(792,810,794,850,797,1966)
  8609. 2016-12-27 15:39:40 select base_area:SELECT
  8610. id,
  8611. area_name
  8612. FROM
  8613. base_area
  8614. WHERE
  8615. parent_id = 0
  8616. 2016-12-27 15:39:40 select base_area:SELECT
  8617. id,
  8618. area_name
  8619. FROM
  8620. base_area
  8621. WHERE
  8622. parent_id = 1
  8623. 2016-12-27 15:39:42 check base_supplier:SELECT
  8624. supplier_name
  8625. FROM
  8626. base_supplier
  8627. WHERE
  8628. cancel_flag = 0
  8629. AND supplier_type = 301
  8630. AND supplier_name = '苏州吴宫泛太平洋酒店'
  8631. 2016-12-27 15:39:46 select base_area:SELECT
  8632. id,
  8633. area_name
  8634. FROM
  8635. base_area
  8636. WHERE
  8637. parent_id = 809
  8638. 2016-12-27 15:40:12 INSERT INTO base_supplier:INSERT INTO base_supplier (
  8639. create_user_id,
  8640. create_time,
  8641. supplier_type,
  8642. supplier_name,
  8643. area_id,
  8644. manage_type,
  8645. company_name,
  8646. id_card,
  8647. is_disabled,
  8648. sett_type,
  8649. sett_frequency,
  8650. account_bank,
  8651. account_num,
  8652. account_name,
  8653. sales_man
  8654. )
  8655. VALUES
  8656. (1,'2016-12-27 15:40:12',301,'苏州吴宫泛太平洋酒店',850,1,'苏州吴宫泛太平洋酒店','',0,275,295,'','','','张寅')
  8657. 2016-12-27 15:40:12 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  8658. create_user_id,
  8659. create_time,
  8660. supplier_id,
  8661. prod_supplier_id,
  8662. product_type,
  8663. parent_type,
  8664. sale_type,
  8665. commision_flag,
  8666. commision_type,
  8667. back_commision_type,
  8668. back_commision_method,
  8669. back_percent,
  8670. back_value
  8671. )
  8672. VALUES (1,'2016-12-27 15:40:12',1114,0,0,25,277,1,303,306,308,'10','0')
  8673. 2016-12-27 15:40:12 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  8674. create_user_id,
  8675. create_time,
  8676. supplier_id,
  8677. link_name,
  8678. contact_name,
  8679. contact_mobile,
  8680. contact_telphone,
  8681. fax,
  8682. email,
  8683. remark
  8684. )
  8685. VALUES (1,'2016-12-27 15:40:12',1114,'管理员','徐超','','','','','')
  8686. 2016-12-27 15:40:14 select base_supplier:SELECT
  8687. id,
  8688. supplier_name,
  8689. area_id,
  8690. is_disabled,
  8691. supplier_type,
  8692. manage_type
  8693. FROM
  8694. base_supplier
  8695. WHERE
  8696. cancel_flag = 0
  8697. AND supplier_type = 301
  8698. LIMIT 0,10
  8699. 2016-12-27 15:40:14 select base_area:SELECT
  8700. id,
  8701. area_name
  8702. FROM
  8703. base_area
  8704. WHERE
  8705. id in(792,810,794,850,797,1966)
  8706. 2016-12-27 15:40:16 select base_supplier:SELECT
  8707. id,
  8708. supplier_name,
  8709. area_id,
  8710. is_disabled,
  8711. supplier_type,
  8712. manage_type
  8713. FROM
  8714. base_supplier
  8715. WHERE
  8716. cancel_flag = 0
  8717. AND supplier_type = 301
  8718. LIMIT 110,10
  8719. 2016-12-27 15:40:16 select base_area:SELECT
  8720. id,
  8721. area_name
  8722. FROM
  8723. base_area
  8724. WHERE
  8725. id in(803,802,796,923,792,795,850)
  8726. 2016-12-27 15:40:19 getListUser base_user:SELECT
  8727. id,
  8728. true_name,
  8729. `status`
  8730. FROM
  8731. base_user
  8732. WHERE
  8733. cancel_flag = 0
  8734. AND org_id = 1113
  8735. 2016-12-27 15:40:35 getListUser base_user:SELECT
  8736. id,
  8737. true_name,
  8738. `status`
  8739. FROM
  8740. base_user
  8741. WHERE
  8742. cancel_flag = 0
  8743. AND org_id = 1113
  8744. 2016-12-27 15:40:42 select base_supplier:SELECT
  8745. id,
  8746. supplier_name,
  8747. area_id,
  8748. is_disabled,
  8749. supplier_type,
  8750. manage_type
  8751. FROM
  8752. base_supplier
  8753. WHERE
  8754. cancel_flag = 0
  8755. AND supplier_type = 301
  8756. LIMIT 0,10
  8757. 2016-12-27 15:40:42 select base_area:SELECT
  8758. id,
  8759. area_name
  8760. FROM
  8761. base_area
  8762. WHERE
  8763. id in(792,810,794,850,797,1966)
  8764. 2016-12-27 15:40:43 select base_supplier:SELECT
  8765. id,
  8766. supplier_name,
  8767. area_id,
  8768. is_disabled,
  8769. supplier_type,
  8770. manage_type
  8771. FROM
  8772. base_supplier
  8773. WHERE
  8774. cancel_flag = 0
  8775. AND supplier_type = 301
  8776. LIMIT 110,10
  8777. 2016-12-27 15:40:43 select base_area:SELECT
  8778. id,
  8779. area_name
  8780. FROM
  8781. base_area
  8782. WHERE
  8783. id in(803,802,796,923,792,795,850)
  8784. 2016-12-27 15:40:46 getListUser base_user:SELECT
  8785. id,
  8786. true_name,
  8787. `status`
  8788. FROM
  8789. base_user
  8790. WHERE
  8791. cancel_flag = 0
  8792. AND org_id = 1114
  8793. 2016-12-27 15:40:58 select base_supplier:SELECT
  8794. id,
  8795. supplier_name,
  8796. area_id,
  8797. is_disabled,
  8798. supplier_type
  8799. FROM
  8800. base_supplier a
  8801. WHERE
  8802. cancel_flag = 0
  8803. and a.supplier_name like '%%晨乐车队%%'
  8804. AND supplier_type = 187
  8805. LIMIT 0,10
  8806. 2016-12-27 15:40:58 checkUserName base_user:SELECT
  8807. user_name
  8808. FROM
  8809. base_user
  8810. WHERE
  8811. cancel_flag = 0
  8812. AND user_name = '苏州吴宫泛太平洋酒店'
  8813. 2016-12-27 15:40:58 insertUser base_user:INSERT INTO base_user (
  8814. create_user_id,
  8815. create_time,
  8816. user_name,
  8817. org_id,
  8818. opera_org_id,
  8819. top_org_id,
  8820. user_password,
  8821. true_name,
  8822. phone_no,
  8823. `status`
  8824. )
  8825. VALUE
  8826. (1, '2016-12-27 15:40:58', '苏州吴宫泛太平洋酒店', 1114, 1114, 1114, '8c052db23a2220d3856c7f0039195362', '张寅', '13732627231',0)
  8827. 2016-12-27 15:40:59 select base_area:SELECT
  8828. id,
  8829. area_name
  8830. FROM
  8831. base_area
  8832. WHERE
  8833. parent_id = 0
  8834. 2016-12-27 15:40:59 select base_area:SELECT
  8835. id,
  8836. area_name
  8837. FROM
  8838. base_area
  8839. WHERE
  8840. parent_id = 1
  8841. 2016-12-27 15:41:00 getListUser base_user:SELECT
  8842. id,
  8843. true_name,
  8844. `status`
  8845. FROM
  8846. base_user
  8847. WHERE
  8848. cancel_flag = 0
  8849. AND org_id = 1114
  8850. 2016-12-27 15:41:01 check base_supplier:SELECT
  8851. supplier_name
  8852. FROM
  8853. base_supplier
  8854. WHERE
  8855. cancel_flag = 0
  8856. AND supplier_type = 187
  8857. AND supplier_name = '晨乐车队'
  8858. 2016-12-27 15:41:02 select base_area:SELECT
  8859. id,
  8860. area_name
  8861. FROM
  8862. base_area
  8863. WHERE
  8864. parent_id = 791
  8865. 2016-12-27 15:41:05 select base_supplier:SELECT
  8866. id,
  8867. supplier_name,
  8868. area_id,
  8869. is_disabled,
  8870. supplier_type,
  8871. manage_type
  8872. FROM
  8873. base_supplier
  8874. WHERE
  8875. cancel_flag = 0
  8876. AND supplier_type = 301
  8877. LIMIT 0,10
  8878. 2016-12-27 15:41:05 select base_area:SELECT
  8879. id,
  8880. area_name
  8881. FROM
  8882. base_area
  8883. WHERE
  8884. id in(792,810,794,850,797,1966)
  8885. 2016-12-27 15:41:07 select base_supplier:SELECT
  8886. id,
  8887. supplier_name,
  8888. area_id,
  8889. is_disabled,
  8890. supplier_type,
  8891. manage_type
  8892. FROM
  8893. base_supplier
  8894. WHERE
  8895. cancel_flag = 0
  8896. AND supplier_type = 301
  8897. LIMIT 110,10
  8898. 2016-12-27 15:41:07 select base_area:SELECT
  8899. id,
  8900. area_name
  8901. FROM
  8902. base_area
  8903. WHERE
  8904. id in(803,802,796,923,792,795,850)
  8905. 2016-12-27 15:41:10 getListUser base_user:SELECT
  8906. id,
  8907. true_name,
  8908. `status`
  8909. FROM
  8910. base_user
  8911. WHERE
  8912. cancel_flag = 0
  8913. AND org_id = 1113
  8914. 2016-12-27 15:41:17 INSERT INTO base_supplier:INSERT INTO base_supplier (
  8915. create_user_id,
  8916. create_time,
  8917. supplier_type,
  8918. supplier_name,
  8919. area_id,
  8920. company_name,
  8921. is_disabled,
  8922. sett_type,
  8923. sett_frequency,
  8924. account_bank,
  8925. account_num,
  8926. account_name
  8927. )
  8928. VALUES
  8929. (1,'2016-12-27 15:41:17',187,'晨乐车队',792,'晨乐车队',0,275,295,'','','')
  8930. 2016-12-27 15:41:17 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  8931. create_user_id,
  8932. create_time,
  8933. supplier_id,
  8934. product_type,
  8935. purchaser_name
  8936. )
  8937. VALUES (1,'2016-12-27 15:41:17',1115,259,'袁玮')
  8938. 2016-12-27 15:41:17 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  8939. create_user_id,
  8940. create_time,
  8941. supplier_id,
  8942. link_name,
  8943. contact_name,
  8944. contact_mobile,
  8945. contact_telphone,
  8946. fax,
  8947. email,
  8948. remark
  8949. )
  8950. VALUES (1,'2016-12-27 15:41:17',1115,'负责人','袁玮','','','','','')
  8951. 2016-12-27 15:41:19 select base_supplier:SELECT
  8952. id,
  8953. supplier_name,
  8954. area_id,
  8955. is_disabled,
  8956. supplier_type
  8957. FROM
  8958. base_supplier a
  8959. WHERE
  8960. cancel_flag = 0
  8961. AND supplier_type = 187
  8962. LIMIT 0,10
  8963. 2016-12-27 15:41:19 count:SELECT
  8964. a.id
  8965. FROM
  8966. base_supplier AS a,
  8967. base_supplier_purchase AS b
  8968. WHERE
  8969. a.id = b.supplier_id
  8970. AND a.cancel_flag = 0
  8971. AND b.cancel_flag = 0
  8972. GROUP BY
  8973. b.supplier_id
  8974. 2016-12-27 15:41:19 select base_area:SELECT
  8975. id,
  8976. area_name
  8977. FROM
  8978. base_area
  8979. WHERE
  8980. id in(923,803,792,1200,961)
  8981. 2016-12-27 15:41:21 checkUserName base_user:SELECT
  8982. user_name
  8983. FROM
  8984. base_user
  8985. WHERE
  8986. cancel_flag = 0
  8987. AND user_name = '苏州汇融广场假日酒店'
  8988. 2016-12-27 15:41:21 insertUser base_user:INSERT INTO base_user (
  8989. create_user_id,
  8990. create_time,
  8991. user_name,
  8992. org_id,
  8993. opera_org_id,
  8994. top_org_id,
  8995. user_password,
  8996. true_name,
  8997. phone_no,
  8998. `status`
  8999. )
  9000. VALUE
  9001. (1, '2016-12-27 15:41:21', '苏州汇融广场假日酒店', 1113, 1113, 1113, '8c052db23a2220d3856c7f0039195362', '周卿', '13656224043',0)
  9002. 2016-12-27 15:41:22 getListUser base_user:SELECT
  9003. id,
  9004. true_name,
  9005. `status`
  9006. FROM
  9007. base_user
  9008. WHERE
  9009. cancel_flag = 0
  9010. AND org_id = 1113
  9011. 2016-12-27 15:42:24 select base_supplier:SELECT
  9012. id,
  9013. supplier_name,
  9014. area_id,
  9015. is_disabled,
  9016. supplier_type
  9017. FROM
  9018. base_supplier a
  9019. WHERE
  9020. cancel_flag = 0
  9021. and a.supplier_name like '%%新大都%%'
  9022. AND supplier_type = 187
  9023. LIMIT 0,10
  9024. 2016-12-27 15:42:25 select base_area:SELECT
  9025. id,
  9026. area_name
  9027. FROM
  9028. base_area
  9029. WHERE
  9030. parent_id = 0
  9031. 2016-12-27 15:42:26 select base_area:SELECT
  9032. id,
  9033. area_name
  9034. FROM
  9035. base_area
  9036. WHERE
  9037. parent_id = 1
  9038. 2016-12-27 15:42:27 check base_supplier:SELECT
  9039. supplier_name
  9040. FROM
  9041. base_supplier
  9042. WHERE
  9043. cancel_flag = 0
  9044. AND supplier_type = 187
  9045. AND supplier_name = '新大都'
  9046. 2016-12-27 15:42:29 select base_area:SELECT
  9047. id,
  9048. area_name
  9049. FROM
  9050. base_area
  9051. WHERE
  9052. parent_id = 791
  9053. 2016-12-27 15:42:45 INSERT INTO base_supplier:INSERT INTO base_supplier (
  9054. create_user_id,
  9055. create_time,
  9056. supplier_type,
  9057. supplier_name,
  9058. area_id,
  9059. company_name,
  9060. is_disabled,
  9061. sett_type,
  9062. sett_frequency,
  9063. account_bank,
  9064. account_num,
  9065. account_name
  9066. )
  9067. VALUES
  9068. (1,'2016-12-27 15:42:45',187,'新大都',792,'新大都',0,275,295,'','','')
  9069. 2016-12-27 15:42:45 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  9070. create_user_id,
  9071. create_time,
  9072. supplier_id,
  9073. product_type,
  9074. purchaser_name
  9075. )
  9076. VALUES (1,'2016-12-27 15:42:45',1116,259,'袁玮')
  9077. 2016-12-27 15:42:45 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  9078. create_user_id,
  9079. create_time,
  9080. supplier_id,
  9081. link_name,
  9082. contact_name,
  9083. contact_mobile,
  9084. contact_telphone,
  9085. fax,
  9086. email,
  9087. remark
  9088. )
  9089. VALUES (1,'2016-12-27 15:42:45',1116,'负责人','袁玮','','','','','')
  9090. 2016-12-27 15:42:46 select base_supplier:SELECT
  9091. id,
  9092. supplier_name,
  9093. area_id,
  9094. is_disabled,
  9095. supplier_type
  9096. FROM
  9097. base_supplier a
  9098. WHERE
  9099. cancel_flag = 0
  9100. AND supplier_type = 187
  9101. LIMIT 0,10
  9102. 2016-12-27 15:42:46 count:SELECT
  9103. a.id
  9104. FROM
  9105. base_supplier AS a,
  9106. base_supplier_purchase AS b
  9107. WHERE
  9108. a.id = b.supplier_id
  9109. AND a.cancel_flag = 0
  9110. AND b.cancel_flag = 0
  9111. GROUP BY
  9112. b.supplier_id
  9113. 2016-12-27 15:42:46 select base_area:SELECT
  9114. id,
  9115. area_name
  9116. FROM
  9117. base_area
  9118. WHERE
  9119. id in(923,803,792,1200,961)
  9120. 2016-12-27 15:43:30 select base_area:SELECT
  9121. id,
  9122. area_name
  9123. FROM
  9124. base_area
  9125. WHERE
  9126. parent_id = 0
  9127. 2016-12-27 15:43:30 select base_area:SELECT
  9128. id,
  9129. area_name
  9130. FROM
  9131. base_area
  9132. WHERE
  9133. parent_id = 1
  9134. 2016-12-27 15:43:31 check base_supplier:SELECT
  9135. supplier_name
  9136. FROM
  9137. base_supplier
  9138. WHERE
  9139. cancel_flag = 0
  9140. AND supplier_type = 301
  9141. AND supplier_name = '迪诗曼精品酒店'
  9142. 2016-12-27 15:43:33 select base_area:SELECT
  9143. id,
  9144. area_name
  9145. FROM
  9146. base_area
  9147. WHERE
  9148. parent_id = 791
  9149. 2016-12-27 15:44:13 INSERT INTO base_supplier:INSERT INTO base_supplier (
  9150. create_user_id,
  9151. create_time,
  9152. supplier_type,
  9153. supplier_name,
  9154. area_id,
  9155. manage_type,
  9156. company_name,
  9157. id_card,
  9158. is_disabled,
  9159. sett_type,
  9160. sett_frequency,
  9161. account_bank,
  9162. account_num,
  9163. account_name,
  9164. sales_man
  9165. )
  9166. VALUES
  9167. (1,'2016-12-27 15:44:13',301,'迪诗曼精品酒店',803,1,'迪诗曼精品酒店','',0,275,295,'','','','韦')
  9168. 2016-12-27 15:44:13 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  9169. create_user_id,
  9170. create_time,
  9171. supplier_id,
  9172. prod_supplier_id,
  9173. product_type,
  9174. parent_type,
  9175. sale_type,
  9176. commision_flag,
  9177. commision_type,
  9178. back_commision_type,
  9179. back_commision_method,
  9180. back_percent,
  9181. back_value
  9182. )
  9183. VALUES (1,'2016-12-27 15:44:13',1117,0,0,25,277,1,303,306,308,'10','0')
  9184. 2016-12-27 15:44:13 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  9185. create_user_id,
  9186. create_time,
  9187. supplier_id,
  9188. link_name,
  9189. contact_name,
  9190. contact_mobile,
  9191. contact_telphone,
  9192. fax,
  9193. email,
  9194. remark
  9195. )
  9196. VALUES (1,'2016-12-27 15:44:13',1117,'管理员','徐超','','','','','')
  9197. 2016-12-27 15:44:15 select base_supplier:SELECT
  9198. id,
  9199. supplier_name,
  9200. area_id,
  9201. is_disabled,
  9202. supplier_type,
  9203. manage_type
  9204. FROM
  9205. base_supplier
  9206. WHERE
  9207. cancel_flag = 0
  9208. AND supplier_type = 301
  9209. LIMIT 0,10
  9210. 2016-12-27 15:44:15 select base_area:SELECT
  9211. id,
  9212. area_name
  9213. FROM
  9214. base_area
  9215. WHERE
  9216. id in(792,810,794,850,797,1966)
  9217. 2016-12-27 15:44:19 select base_supplier:SELECT
  9218. id,
  9219. supplier_name,
  9220. area_id,
  9221. is_disabled,
  9222. supplier_type,
  9223. manage_type
  9224. FROM
  9225. base_supplier
  9226. WHERE
  9227. cancel_flag = 0
  9228. AND supplier_type = 301
  9229. LIMIT 120,10
  9230. 2016-12-27 15:44:19 select base_area:SELECT
  9231. id,
  9232. area_name
  9233. FROM
  9234. base_area
  9235. WHERE
  9236. id in(803)
  9237. 2016-12-27 15:44:20 getListUser base_user:SELECT
  9238. id,
  9239. true_name,
  9240. `status`
  9241. FROM
  9242. base_user
  9243. WHERE
  9244. cancel_flag = 0
  9245. AND org_id = 1117
  9246. 2016-12-27 15:44:29 checkUserName base_user:SELECT
  9247. user_name
  9248. FROM
  9249. base_user
  9250. WHERE
  9251. cancel_flag = 0
  9252. AND user_name = '迪诗曼精品酒店'
  9253. 2016-12-27 15:44:29 insertUser base_user:INSERT INTO base_user (
  9254. create_user_id,
  9255. create_time,
  9256. user_name,
  9257. org_id,
  9258. opera_org_id,
  9259. top_org_id,
  9260. user_password,
  9261. true_name,
  9262. phone_no,
  9263. `status`
  9264. )
  9265. VALUE
  9266. (1, '2016-12-27 15:44:29', '迪诗曼精品酒店', 1117, 1117, 1117, '8c052db23a2220d3856c7f0039195362', '韦', '13656224043',0)
  9267. 2016-12-27 15:44:30 getListUser base_user:SELECT
  9268. id,
  9269. true_name,
  9270. `status`
  9271. FROM
  9272. base_user
  9273. WHERE
  9274. cancel_flag = 0
  9275. AND org_id = 1117
  9276. 2016-12-27 17:16:37 select base_supplier:SELECT
  9277. id,
  9278. supplier_name,
  9279. area_id,
  9280. is_disabled,
  9281. supplier_type,
  9282. manage_type
  9283. FROM
  9284. base_supplier
  9285. WHERE
  9286. cancel_flag = 0
  9287. AND supplier_type = 301
  9288. LIMIT 0,10
  9289. 2016-12-27 17:16:37 select base_area:SELECT
  9290. id,
  9291. area_name
  9292. FROM
  9293. base_area
  9294. WHERE
  9295. id in(792,810,794,850,797,1966)
  9296. 2016-12-27 17:16:58 select base_supplier:SELECT
  9297. id,
  9298. supplier_name,
  9299. area_id,
  9300. is_disabled,
  9301. supplier_type,
  9302. manage_type
  9303. FROM
  9304. base_supplier
  9305. WHERE
  9306. cancel_flag = 0
  9307. AND supplier_type = 301
  9308. LIMIT 10,10
  9309. 2016-12-27 17:16:58 select base_area:SELECT
  9310. id,
  9311. area_name
  9312. FROM
  9313. base_area
  9314. WHERE
  9315. id in(7,850,810,4,961,2,800)
  9316. 2016-12-27 17:17:08 select base_supplier:SELECT
  9317. id,
  9318. supplier_name,
  9319. area_id,
  9320. is_disabled,
  9321. supplier_type,
  9322. manage_type
  9323. FROM
  9324. base_supplier
  9325. WHERE
  9326. cancel_flag = 0
  9327. AND supplier_type = 301
  9328. LIMIT 20,10
  9329. 2016-12-27 17:17:08 select base_area:SELECT
  9330. id,
  9331. area_name
  9332. FROM
  9333. base_area
  9334. WHERE
  9335. id in(794,850,792,2,923,1161)
  9336. 2016-12-27 17:17:10 select base_supplier:SELECT
  9337. id,
  9338. supplier_name,
  9339. area_id,
  9340. is_disabled,
  9341. supplier_type,
  9342. manage_type
  9343. FROM
  9344. base_supplier
  9345. WHERE
  9346. cancel_flag = 0
  9347. AND supplier_type = 301
  9348. LIMIT 30,10
  9349. 2016-12-27 17:17:10 select base_area:SELECT
  9350. id,
  9351. area_name
  9352. FROM
  9353. base_area
  9354. WHERE
  9355. id in(2,1161)
  9356. 2016-12-27 17:17:12 select base_supplier:SELECT
  9357. id,
  9358. supplier_name,
  9359. area_id,
  9360. is_disabled,
  9361. supplier_type,
  9362. manage_type
  9363. FROM
  9364. base_supplier
  9365. WHERE
  9366. cancel_flag = 0
  9367. AND supplier_type = 301
  9368. LIMIT 40,10
  9369. 2016-12-27 17:17:12 select base_area:SELECT
  9370. id,
  9371. area_name
  9372. FROM
  9373. base_area
  9374. WHERE
  9375. id in(1161)
  9376. 2016-12-27 17:17:15 select base_supplier:SELECT
  9377. id,
  9378. supplier_name,
  9379. area_id,
  9380. is_disabled,
  9381. supplier_type,
  9382. manage_type
  9383. FROM
  9384. base_supplier
  9385. WHERE
  9386. cancel_flag = 0
  9387. AND supplier_type = 301
  9388. LIMIT 0,10
  9389. 2016-12-27 17:17:15 select base_area:SELECT
  9390. id,
  9391. area_name
  9392. FROM
  9393. base_area
  9394. WHERE
  9395. id in(792,810,794,850,797,1966)
  9396. 2016-12-27 17:17:18 select base_supplier:SELECT
  9397. id,
  9398. supplier_name,
  9399. area_id,
  9400. is_disabled,
  9401. supplier_type,
  9402. manage_type
  9403. FROM
  9404. base_supplier
  9405. WHERE
  9406. cancel_flag = 0
  9407. AND supplier_type = 301
  9408. LIMIT 10,10
  9409. 2016-12-27 17:17:18 select base_area:SELECT
  9410. id,
  9411. area_name
  9412. FROM
  9413. base_area
  9414. WHERE
  9415. id in(7,850,810,4,961,2,800)
  9416. 2016-12-27 17:22:01 select base_supplier:SELECT
  9417. id,
  9418. supplier_name,
  9419. area_id,
  9420. is_disabled,
  9421. supplier_type
  9422. FROM
  9423. base_supplier a
  9424. WHERE
  9425. cancel_flag = 0
  9426. AND supplier_type = 187
  9427. LIMIT 0,10
  9428. 2016-12-27 17:22:01 count:SELECT
  9429. a.id
  9430. FROM
  9431. base_supplier AS a,
  9432. base_supplier_purchase AS b
  9433. WHERE
  9434. a.id = b.supplier_id
  9435. AND a.cancel_flag = 0
  9436. AND b.cancel_flag = 0
  9437. GROUP BY
  9438. b.supplier_id
  9439. 2016-12-27 17:22:01 select base_area:SELECT
  9440. id,
  9441. area_name
  9442. FROM
  9443. base_area
  9444. WHERE
  9445. id in(792,923,810)
  9446. 2016-12-27 17:22:07 getListUser base_user:SELECT
  9447. id,
  9448. true_name,
  9449. `status`
  9450. FROM
  9451. base_user
  9452. WHERE
  9453. cancel_flag = 0
  9454. AND org_id = 409
  9455. 2016-12-27 17:22:12 getListUser base_user:SELECT
  9456. id,
  9457. true_name,
  9458. `status`
  9459. FROM
  9460. base_user
  9461. WHERE
  9462. cancel_flag = 0
  9463. AND org_id = 408
  9464. 2016-12-27 17:22:15 select base_supplier:SELECT
  9465. id,
  9466. supplier_name,
  9467. area_id,
  9468. is_disabled,
  9469. supplier_type
  9470. FROM
  9471. base_supplier a
  9472. WHERE
  9473. cancel_flag = 0
  9474. AND supplier_type = 187
  9475. LIMIT 10,10
  9476. 2016-12-27 17:22:15 count:SELECT
  9477. a.id
  9478. FROM
  9479. base_supplier AS a,
  9480. base_supplier_purchase AS b
  9481. WHERE
  9482. a.id = b.supplier_id
  9483. AND a.cancel_flag = 0
  9484. AND b.cancel_flag = 0
  9485. GROUP BY
  9486. b.supplier_id
  9487. 2016-12-27 17:22:15 select base_area:SELECT
  9488. id,
  9489. area_name
  9490. FROM
  9491. base_area
  9492. WHERE
  9493. id in(792,876,810,1161,923)
  9494. 2016-12-27 17:22:16 select base_supplier:SELECT
  9495. id,
  9496. supplier_name,
  9497. area_id,
  9498. is_disabled,
  9499. supplier_type
  9500. FROM
  9501. base_supplier a
  9502. WHERE
  9503. cancel_flag = 0
  9504. AND supplier_type = 187
  9505. LIMIT 20,10
  9506. 2016-12-27 17:22:16 count:SELECT
  9507. a.id
  9508. FROM
  9509. base_supplier AS a,
  9510. base_supplier_purchase AS b
  9511. WHERE
  9512. a.id = b.supplier_id
  9513. AND a.cancel_flag = 0
  9514. AND b.cancel_flag = 0
  9515. GROUP BY
  9516. b.supplier_id
  9517. 2016-12-27 17:22:16 select base_area:SELECT
  9518. id,
  9519. area_name
  9520. FROM
  9521. base_area
  9522. WHERE
  9523. id in(803,792,1200,961)
  9524. 2016-12-27 17:22:17 select base_supplier:SELECT
  9525. id,
  9526. supplier_name,
  9527. area_id,
  9528. is_disabled,
  9529. supplier_type
  9530. FROM
  9531. base_supplier a
  9532. WHERE
  9533. cancel_flag = 0
  9534. AND supplier_type = 187
  9535. LIMIT 30,10
  9536. 2016-12-27 17:22:17 count:SELECT
  9537. a.id
  9538. FROM
  9539. base_supplier AS a,
  9540. base_supplier_purchase AS b
  9541. WHERE
  9542. a.id = b.supplier_id
  9543. AND a.cancel_flag = 0
  9544. AND b.cancel_flag = 0
  9545. GROUP BY
  9546. b.supplier_id
  9547. 2016-12-27 17:22:17 select base_area:SELECT
  9548. id,
  9549. area_name
  9550. FROM
  9551. base_area
  9552. WHERE
  9553. id in(923,799,803,895)
  9554. 2016-12-27 17:22:17 select base_supplier:SELECT
  9555. id,
  9556. supplier_name,
  9557. area_id,
  9558. is_disabled,
  9559. supplier_type
  9560. FROM
  9561. base_supplier a
  9562. WHERE
  9563. cancel_flag = 0
  9564. AND supplier_type = 187
  9565. LIMIT 40,10
  9566. 2016-12-27 17:22:17 count:SELECT
  9567. a.id
  9568. FROM
  9569. base_supplier AS a,
  9570. base_supplier_purchase AS b
  9571. WHERE
  9572. a.id = b.supplier_id
  9573. AND a.cancel_flag = 0
  9574. AND b.cancel_flag = 0
  9575. GROUP BY
  9576. b.supplier_id
  9577. 2016-12-27 17:22:17 select base_area:SELECT
  9578. id,
  9579. area_name
  9580. FROM
  9581. base_area
  9582. WHERE
  9583. id in(850,803,961,800,792,923)
  9584. 2016-12-27 17:57:34 select base_supplier:SELECT
  9585. id,
  9586. supplier_name,
  9587. area_id,
  9588. is_disabled,
  9589. supplier_type,
  9590. manage_type
  9591. FROM
  9592. base_supplier
  9593. WHERE
  9594. cancel_flag = 0
  9595. AND supplier_type = 301
  9596. LIMIT 0,10
  9597. 2016-12-27 17:57:34 select base_area:SELECT
  9598. id,
  9599. area_name
  9600. FROM
  9601. base_area
  9602. WHERE
  9603. id in(792,810,794,850,797,1966)
  9604. 2016-12-27 17:57:41 select base_supplier:SELECT
  9605. id,
  9606. supplier_name,
  9607. area_id,
  9608. is_disabled,
  9609. supplier_type
  9610. FROM
  9611. base_supplier a
  9612. WHERE
  9613. cancel_flag = 0
  9614. AND supplier_type = 187
  9615. LIMIT 0,10
  9616. 2016-12-27 17:57:41 count:SELECT
  9617. a.id
  9618. FROM
  9619. base_supplier AS a,
  9620. base_supplier_purchase AS b
  9621. WHERE
  9622. a.id = b.supplier_id
  9623. AND a.cancel_flag = 0
  9624. AND b.cancel_flag = 0
  9625. GROUP BY
  9626. b.supplier_id
  9627. 2016-12-27 17:57:41 select base_area:SELECT
  9628. id,
  9629. area_name
  9630. FROM
  9631. base_area
  9632. WHERE
  9633. id in(792,923,810)
  9634. 2016-12-27 17:57:45 select base_area:SELECT
  9635. id,
  9636. area_name
  9637. FROM
  9638. base_area
  9639. WHERE
  9640. parent_id = 0
  9641. 2016-12-27 17:57:45 select base_area:SELECT
  9642. id,
  9643. area_name
  9644. FROM
  9645. base_area
  9646. WHERE
  9647. parent_id = 1
  9648. 2016-12-27 17:57:59 check base_supplier:SELECT
  9649. supplier_name
  9650. FROM
  9651. base_supplier
  9652. WHERE
  9653. cancel_flag = 0
  9654. AND supplier_type = 187
  9655. AND supplier_name = '上海外高桥皇冠假日酒店'
  9656. 2016-12-27 17:58:08 check base_supplier:SELECT
  9657. supplier_name
  9658. FROM
  9659. base_supplier
  9660. WHERE
  9661. cancel_flag = 0
  9662. AND supplier_type = 187
  9663. AND supplier_name = '上海外高桥皇冠假日酒店'
  9664. 2016-12-27 17:58:35 select base_area:SELECT
  9665. id,
  9666. area_name
  9667. FROM
  9668. base_area
  9669. WHERE
  9670. parent_id = 791
  9671. 2016-12-27 17:58:41 check base_supplier:SELECT
  9672. supplier_name
  9673. FROM
  9674. base_supplier
  9675. WHERE
  9676. cancel_flag = 0
  9677. AND supplier_type = 187
  9678. AND supplier_name = '上海外高桥皇冠假日酒店'
  9679. 2016-12-27 17:59:19 INSERT INTO base_supplier:INSERT INTO base_supplier (
  9680. create_user_id,
  9681. create_time,
  9682. supplier_type,
  9683. supplier_name,
  9684. area_id,
  9685. company_name,
  9686. is_disabled,
  9687. sett_type,
  9688. sett_frequency,
  9689. account_bank,
  9690. account_num,
  9691. account_name
  9692. )
  9693. VALUES
  9694. (283,'2016-12-27 17:59:19',187,'上海外高桥皇冠假日酒店',803,'上海外高桥皇冠假日酒店',0,275,295,'','','')
  9695. 2016-12-27 17:59:19 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  9696. create_user_id,
  9697. create_time,
  9698. supplier_id,
  9699. product_type,
  9700. purchaser_name
  9701. )
  9702. VALUES (283,'2016-12-27 17:59:19',1118,25,'丁鹏')
  9703. 2016-12-27 17:59:19 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  9704. create_user_id,
  9705. create_time,
  9706. supplier_id,
  9707. link_name,
  9708. contact_name,
  9709. contact_mobile,
  9710. contact_telphone,
  9711. fax,
  9712. email,
  9713. remark
  9714. )
  9715. VALUES (283,'2016-12-27 17:59:19',1118,'销售','Sammi黄三','','','','','')
  9716. 2016-12-27 17:59:20 select base_supplier:SELECT
  9717. id,
  9718. supplier_name,
  9719. area_id,
  9720. is_disabled,
  9721. supplier_type
  9722. FROM
  9723. base_supplier a
  9724. WHERE
  9725. cancel_flag = 0
  9726. AND supplier_type = 187
  9727. LIMIT 0,10
  9728. 2016-12-27 17:59:20 count:SELECT
  9729. a.id
  9730. FROM
  9731. base_supplier AS a,
  9732. base_supplier_purchase AS b
  9733. WHERE
  9734. a.id = b.supplier_id
  9735. AND a.cancel_flag = 0
  9736. AND b.cancel_flag = 0
  9737. GROUP BY
  9738. b.supplier_id
  9739. 2016-12-27 17:59:20 select base_area:SELECT
  9740. id,
  9741. area_name
  9742. FROM
  9743. base_area
  9744. WHERE
  9745. id in(792,923,810)
  9746. 2016-12-27 18:06:23 select base_supplier:SELECT
  9747. id,
  9748. supplier_name,
  9749. area_id,
  9750. is_disabled,
  9751. supplier_type,
  9752. manage_type
  9753. FROM
  9754. base_supplier
  9755. WHERE
  9756. cancel_flag = 0
  9757. AND supplier_type = 301
  9758. LIMIT 0,10
  9759. 2016-12-27 18:06:23 select base_area:SELECT
  9760. id,
  9761. area_name
  9762. FROM
  9763. base_area
  9764. WHERE
  9765. id in(792,810,794,850,797,1966)
  9766. 2016-12-27 18:50:59 select base_supplier:SELECT
  9767. id,
  9768. supplier_name,
  9769. area_id,
  9770. is_disabled,
  9771. supplier_type
  9772. FROM
  9773. base_supplier a
  9774. WHERE
  9775. cancel_flag = 0
  9776. AND supplier_type = 187
  9777. LIMIT 0,10
  9778. 2016-12-27 18:50:59 count:SELECT
  9779. a.id
  9780. FROM
  9781. base_supplier AS a,
  9782. base_supplier_purchase AS b
  9783. WHERE
  9784. a.id = b.supplier_id
  9785. AND a.cancel_flag = 0
  9786. AND b.cancel_flag = 0
  9787. GROUP BY
  9788. b.supplier_id
  9789. 2016-12-27 18:50:59 select base_area:SELECT
  9790. id,
  9791. area_name
  9792. FROM
  9793. base_area
  9794. WHERE
  9795. id in(792,923,810)