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

3319 line
129 KiB

  1. 2016-12-26 10:53:11 select base_supplier:SELECT
  2. id,
  3. supplier_name,
  4. area_id,
  5. is_disabled,
  6. supplier_type,
  7. manage_type
  8. FROM
  9. base_supplier
  10. WHERE
  11. cancel_flag = 0
  12. AND supplier_type = 301
  13. LIMIT 0,10
  14. 2016-12-26 10:53:11 select base_area:SELECT
  15. id,
  16. area_name
  17. FROM
  18. base_area
  19. WHERE
  20. id in(850,961,800,4,797,7,1966,794)
  21. 2016-12-26 10:53:13 select base_supplier:SELECT
  22. id,
  23. supplier_name,
  24. area_id,
  25. is_disabled,
  26. supplier_type
  27. FROM
  28. base_supplier a
  29. WHERE
  30. cancel_flag = 0
  31. AND supplier_type = 187
  32. LIMIT 0,10
  33. 2016-12-26 10:53:13 count:SELECT
  34. a.id
  35. FROM
  36. base_supplier AS a,
  37. base_supplier_purchase AS b
  38. WHERE
  39. a.id = b.supplier_id
  40. AND a.cancel_flag = 0
  41. AND b.cancel_flag = 0
  42. GROUP BY
  43. b.supplier_id
  44. 2016-12-26 10:53:13 select base_area:SELECT
  45. id,
  46. area_name
  47. FROM
  48. base_area
  49. WHERE
  50. id in(923,803,792,1200,961)
  51. 2016-12-26 10:53:20 select base_supplier:SELECT
  52. id,
  53. supplier_name,
  54. area_id,
  55. is_disabled,
  56. supplier_type
  57. FROM
  58. base_supplier a
  59. WHERE
  60. cancel_flag = 0
  61. and a.supplier_name like '%%舟山希尔顿%%'
  62. AND supplier_type = 187
  63. LIMIT 0,10
  64. 2016-12-26 10:53:21 select base_area:SELECT
  65. id,
  66. area_name
  67. FROM
  68. base_area
  69. WHERE
  70. parent_id = 0
  71. 2016-12-26 10:53:21 select base_area:SELECT
  72. id,
  73. area_name
  74. FROM
  75. base_area
  76. WHERE
  77. parent_id = 1
  78. 2016-12-26 10:53:32 check base_supplier:SELECT
  79. supplier_name
  80. FROM
  81. base_supplier
  82. WHERE
  83. cancel_flag = 0
  84. AND supplier_type = 187
  85. AND supplier_name = '舟山希尔顿酒店'
  86. 2016-12-26 10:53:38 check base_supplier:SELECT
  87. supplier_name
  88. FROM
  89. base_supplier
  90. WHERE
  91. cancel_flag = 0
  92. AND supplier_type = 187
  93. AND supplier_name = '舟山希尔顿酒店'
  94. 2016-12-26 10:53:44 select base_area:SELECT
  95. id,
  96. area_name
  97. FROM
  98. base_area
  99. WHERE
  100. parent_id = 922
  101. 2016-12-26 10:53:51 check base_supplier:SELECT
  102. supplier_name
  103. FROM
  104. base_supplier
  105. WHERE
  106. cancel_flag = 0
  107. AND supplier_type = 187
  108. AND supplier_name = '舟山希尔顿酒店'
  109. 2016-12-26 10:55:22 INSERT INTO base_supplier:INSERT INTO base_supplier (
  110. create_user_id,
  111. create_time,
  112. supplier_type,
  113. supplier_name,
  114. area_id,
  115. company_name,
  116. is_disabled,
  117. sett_type,
  118. sett_frequency,
  119. account_bank,
  120. account_num,
  121. account_name
  122. )
  123. VALUES
  124. (282,'2016-12-26 10:55:22',187,'舟山希尔顿酒店',999,'舟山希尔顿酒店',0,288,295,'','','')
  125. 2016-12-26 10:55:22 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  126. create_user_id,
  127. create_time,
  128. supplier_id,
  129. product_type,
  130. purchaser_name
  131. )
  132. VALUES (282,'2016-12-26 10:55:22',1085,25,'邵佳楠')
  133. 2016-12-26 10:55:22 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  134. create_user_id,
  135. create_time,
  136. supplier_id,
  137. link_name,
  138. contact_name,
  139. contact_mobile,
  140. contact_telphone,
  141. fax,
  142. email,
  143. remark
  144. )
  145. VALUES (282,'2016-12-26 10:55:22',1085,'销售','贺莹洁','','','','','')
  146. 2016-12-26 10:55:23 select base_supplier:SELECT
  147. id,
  148. supplier_name,
  149. area_id,
  150. is_disabled,
  151. supplier_type
  152. FROM
  153. base_supplier a
  154. WHERE
  155. cancel_flag = 0
  156. AND supplier_type = 187
  157. LIMIT 0,10
  158. 2016-12-26 10:55:23 count:SELECT
  159. a.id
  160. FROM
  161. base_supplier AS a,
  162. base_supplier_purchase AS b
  163. WHERE
  164. a.id = b.supplier_id
  165. AND a.cancel_flag = 0
  166. AND b.cancel_flag = 0
  167. GROUP BY
  168. b.supplier_id
  169. 2016-12-26 10:55:23 select base_area:SELECT
  170. id,
  171. area_name
  172. FROM
  173. base_area
  174. WHERE
  175. id in(923,803,792,1200,961)
  176. 2016-12-26 10:58:39 select base_supplier:SELECT
  177. id,
  178. supplier_name,
  179. area_id,
  180. is_disabled,
  181. supplier_type,
  182. manage_type
  183. FROM
  184. base_supplier
  185. WHERE
  186. cancel_flag = 0
  187. AND supplier_type = 301
  188. LIMIT 0,10
  189. 2016-12-26 10:58:39 select base_area:SELECT
  190. id,
  191. area_name
  192. FROM
  193. base_area
  194. WHERE
  195. id in(850,961,800,4,797,7,1966,794)
  196. 2016-12-26 11:18:16 select base_supplier:SELECT
  197. id,
  198. supplier_name,
  199. area_id,
  200. is_disabled,
  201. supplier_type
  202. FROM
  203. base_supplier a
  204. WHERE
  205. cancel_flag = 0
  206. AND supplier_type = 187
  207. LIMIT 0,10
  208. 2016-12-26 11:18:16 count:SELECT
  209. a.id
  210. FROM
  211. base_supplier AS a,
  212. base_supplier_purchase AS b
  213. WHERE
  214. a.id = b.supplier_id
  215. AND a.cancel_flag = 0
  216. AND b.cancel_flag = 0
  217. GROUP BY
  218. b.supplier_id
  219. 2016-12-26 11:18:16 select base_area:SELECT
  220. id,
  221. area_name
  222. FROM
  223. base_area
  224. WHERE
  225. id in(923,803,792,1200,961)
  226. 2016-12-26 11:18:51 select base_supplier:SELECT
  227. id,
  228. supplier_name,
  229. area_id,
  230. is_disabled,
  231. supplier_type
  232. FROM
  233. base_supplier a
  234. WHERE
  235. cancel_flag = 0
  236. AND supplier_type = 187
  237. LIMIT 0,10
  238. 2016-12-26 11:18:51 count:SELECT
  239. a.id
  240. FROM
  241. base_supplier AS a,
  242. base_supplier_purchase AS b
  243. WHERE
  244. a.id = b.supplier_id
  245. AND a.cancel_flag = 0
  246. AND b.cancel_flag = 0
  247. GROUP BY
  248. b.supplier_id
  249. 2016-12-26 11:18:51 select base_area:SELECT
  250. id,
  251. area_name
  252. FROM
  253. base_area
  254. WHERE
  255. id in(923,803,792,1200,961)
  256. 2016-12-26 11:19:26 select base_supplier:SELECT
  257. id,
  258. supplier_name,
  259. area_id,
  260. is_disabled,
  261. supplier_type,
  262. manage_type
  263. FROM
  264. base_supplier
  265. WHERE
  266. cancel_flag = 0
  267. AND supplier_type = 301
  268. LIMIT 0,10
  269. 2016-12-26 11:19:26 select base_area:SELECT
  270. id,
  271. area_name
  272. FROM
  273. base_area
  274. WHERE
  275. id in(850,961,800,4,797,7,1966,794)
  276. 2016-12-26 13:46:43 select base_supplier:SELECT
  277. id,
  278. supplier_name,
  279. area_id,
  280. is_disabled,
  281. supplier_type
  282. FROM
  283. base_supplier a
  284. WHERE
  285. cancel_flag = 0
  286. AND supplier_type = 187
  287. LIMIT 0,10
  288. 2016-12-26 13:46:43 count:SELECT
  289. a.id
  290. FROM
  291. base_supplier AS a,
  292. base_supplier_purchase AS b
  293. WHERE
  294. a.id = b.supplier_id
  295. AND a.cancel_flag = 0
  296. AND b.cancel_flag = 0
  297. GROUP BY
  298. b.supplier_id
  299. 2016-12-26 13:46:43 select base_area:SELECT
  300. id,
  301. area_name
  302. FROM
  303. base_area
  304. WHERE
  305. id in(923,803,792,1200,961)
  306. 2016-12-26 14:43:11 select base_supplier:SELECT
  307. id,
  308. supplier_name,
  309. area_id,
  310. is_disabled,
  311. supplier_type
  312. FROM
  313. base_supplier a
  314. WHERE
  315. cancel_flag = 0
  316. AND supplier_type = 187
  317. LIMIT 0,10
  318. 2016-12-26 14:43:11 count:SELECT
  319. a.id
  320. FROM
  321. base_supplier AS a,
  322. base_supplier_purchase AS b
  323. WHERE
  324. a.id = b.supplier_id
  325. AND a.cancel_flag = 0
  326. AND b.cancel_flag = 0
  327. GROUP BY
  328. b.supplier_id
  329. 2016-12-26 14:43:11 select base_area:SELECT
  330. id,
  331. area_name
  332. FROM
  333. base_area
  334. WHERE
  335. id in(923,803,792,1200,961)
  336. 2016-12-26 14:43:16 select base_area:SELECT
  337. id,
  338. area_name
  339. FROM
  340. base_area
  341. WHERE
  342. parent_id = 0
  343. 2016-12-26 14:43:16 select base_area:SELECT
  344. id,
  345. area_name
  346. FROM
  347. base_area
  348. WHERE
  349. parent_id = 1
  350. 2016-12-26 14:48:57 check base_supplier:SELECT
  351. supplier_name
  352. FROM
  353. base_supplier
  354. WHERE
  355. cancel_flag = 0
  356. AND supplier_type = 187
  357. AND supplier_name = ''
  358. 2016-12-26 16:55:00 select base_supplier:SELECT
  359. id,
  360. supplier_name,
  361. area_id,
  362. is_disabled,
  363. supplier_type
  364. FROM
  365. base_supplier a
  366. WHERE
  367. cancel_flag = 0
  368. AND supplier_type = 187
  369. LIMIT 0,10
  370. 2016-12-26 16:55:00 count:SELECT
  371. a.id
  372. FROM
  373. base_supplier AS a,
  374. base_supplier_purchase AS b
  375. WHERE
  376. a.id = b.supplier_id
  377. AND a.cancel_flag = 0
  378. AND b.cancel_flag = 0
  379. GROUP BY
  380. b.supplier_id
  381. 2016-12-26 16:55:00 select base_area:SELECT
  382. id,
  383. area_name
  384. FROM
  385. base_area
  386. WHERE
  387. id in(923,803,792,1200,961)
  388. 2016-12-26 17:51:24 select base_supplier:SELECT
  389. id,
  390. supplier_name,
  391. area_id,
  392. is_disabled,
  393. supplier_type,
  394. manage_type
  395. FROM
  396. base_supplier
  397. WHERE
  398. cancel_flag = 0
  399. AND supplier_type = 301
  400. LIMIT 0,10
  401. 2016-12-26 17:51:24 select base_area:SELECT
  402. id,
  403. area_name
  404. FROM
  405. base_area
  406. WHERE
  407. id in(850,961,800,4,797,7,1966,794)
  408. 2016-12-26 17:51:25 select base_area:SELECT
  409. id,
  410. area_name
  411. FROM
  412. base_area
  413. WHERE
  414. parent_id = 0
  415. 2016-12-26 17:51:25 select base_area:SELECT
  416. id,
  417. area_name
  418. FROM
  419. base_area
  420. WHERE
  421. parent_id = 1
  422. 2016-12-26 17:51:39 check base_supplier:SELECT
  423. supplier_name
  424. FROM
  425. base_supplier
  426. WHERE
  427. cancel_flag = 0
  428. AND supplier_type = 301
  429. AND supplier_name = '向右转民宿'
  430. 2016-12-26 17:51:43 select base_area:SELECT
  431. id,
  432. area_name
  433. FROM
  434. base_area
  435. WHERE
  436. parent_id = 791
  437. 2016-12-26 17:53:45 INSERT INTO base_supplier:INSERT INTO base_supplier (
  438. create_user_id,
  439. create_time,
  440. supplier_type,
  441. supplier_name,
  442. area_id,
  443. manage_type,
  444. company_name,
  445. id_card,
  446. is_disabled,
  447. sett_type,
  448. sett_frequency,
  449. account_bank,
  450. account_num,
  451. account_name,
  452. sales_man
  453. )
  454. VALUES
  455. (1,'2016-12-26 17:53:45',301,'向右转民宿',803,1,'向右转民宿','',0,275,293,'','','','程友德')
  456. 2016-12-26 17:53:45 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  457. create_user_id,
  458. create_time,
  459. supplier_id,
  460. prod_supplier_id,
  461. product_type,
  462. parent_type,
  463. sale_type,
  464. commision_flag,
  465. commision_type,
  466. back_commision_type,
  467. back_commision_method,
  468. back_percent,
  469. back_value
  470. )
  471. VALUES (1,'2016-12-26 17:53:45',1086,0,0,310,177,1,303,306,309,'0','10')
  472. 2016-12-26 17:53:45 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  473. create_user_id,
  474. create_time,
  475. supplier_id,
  476. link_name,
  477. contact_name,
  478. contact_mobile,
  479. contact_telphone,
  480. fax,
  481. email,
  482. remark
  483. )
  484. VALUES (1,'2016-12-26 17:53:45',1086,'负责人','程友德','13776621661','','','','')
  485. 2016-12-26 17:53:47 select base_supplier:SELECT
  486. id,
  487. supplier_name,
  488. area_id,
  489. is_disabled,
  490. supplier_type,
  491. manage_type
  492. FROM
  493. base_supplier
  494. WHERE
  495. cancel_flag = 0
  496. AND supplier_type = 301
  497. LIMIT 0,10
  498. 2016-12-26 17:53:47 select base_area:SELECT
  499. id,
  500. area_name
  501. FROM
  502. base_area
  503. WHERE
  504. id in(850,961,800,4,797,7,1966,794)
  505. 2016-12-26 17:53:49 select base_supplier:SELECT
  506. id,
  507. supplier_name,
  508. area_id,
  509. is_disabled,
  510. supplier_type,
  511. manage_type
  512. FROM
  513. base_supplier
  514. WHERE
  515. cancel_flag = 0
  516. AND supplier_type = 301
  517. LIMIT 100,10
  518. 2016-12-26 17:53:49 select base_area:SELECT
  519. id,
  520. area_name
  521. FROM
  522. base_area
  523. WHERE
  524. id in(1161,923,2,982,810,803)
  525. 2016-12-26 17:54:27 select base_area:SELECT
  526. id,
  527. area_name
  528. FROM
  529. base_area
  530. WHERE
  531. parent_id = 0
  532. 2016-12-26 17:54:27 select base_area:SELECT
  533. id,
  534. area_name
  535. FROM
  536. base_area
  537. WHERE
  538. parent_id = 1
  539. 2016-12-26 17:54:27 select base_supplier:SELECT
  540. id,
  541. supplier_name,
  542. area_id,
  543. manage_type,
  544. company_name,
  545. id_card,
  546. sett_type,
  547. sett_frequency,
  548. account_bank,
  549. account_num,
  550. account_name,
  551. sales_man
  552. FROM
  553. base_supplier
  554. WHERE
  555. cancel_flag = 0
  556. AND id = 1086
  557. 2016-12-26 17:54:27 select base_area:SELECT
  558. id,
  559. area_name,
  560. parent_id
  561. FROM
  562. base_area
  563. WHERE
  564. cancel_flag = 0
  565. AND id = 803
  566. 2016-12-26 17:54:27 select base_area:SELECT
  567. id,
  568. area_name
  569. FROM
  570. base_area
  571. WHERE
  572. cancel_flag = 0
  573. AND id = 791
  574. 2016-12-26 17:54:27 select base_supplier_sale:SELECT
  575. id,
  576. prod_supplier_id,
  577. product_type,
  578. parent_type,
  579. sale_type,
  580. commision_flag,
  581. commision_type,
  582. back_commision_type,
  583. back_commision_method,
  584. back_percent,
  585. back_value
  586. FROM
  587. base_supplier_sale
  588. WHERE
  589. cancel_flag = 0
  590. AND supplier_id = 1086
  591. 2016-12-26 17:54:27 select base_supplier_link:SELECT
  592. id,
  593. link_name,
  594. contact_name,
  595. contact_mobile,
  596. contact_telphone,
  597. fax,
  598. email,
  599. remark
  600. FROM
  601. base_supplier_link
  602. WHERE
  603. cancel_flag = 0
  604. AND supplier_id = 1086
  605. 2016-12-26 17:54:27 select base_area:SELECT
  606. id,
  607. area_name
  608. FROM
  609. base_area
  610. WHERE
  611. parent_id = 791
  612. 2016-12-26 17:54:50 getListUser base_user:SELECT
  613. id,
  614. true_name,
  615. `status`
  616. FROM
  617. base_user
  618. WHERE
  619. cancel_flag = 0
  620. AND org_id = 1086
  621. 2016-12-26 17:56:24 checkUserName base_user:SELECT
  622. user_name
  623. FROM
  624. base_user
  625. WHERE
  626. cancel_flag = 0
  627. AND user_name = '向右转民宿'
  628. 2016-12-26 17:56:24 insertUser base_user:INSERT INTO base_user (
  629. create_user_id,
  630. create_time,
  631. user_name,
  632. org_id,
  633. opera_org_id,
  634. top_org_id,
  635. user_password,
  636. true_name,
  637. phone_no,
  638. `status`
  639. )
  640. VALUE
  641. (1, '2016-12-26 17:56:24', '向右转民宿', 1086, 1086, 1086, '8c052db23a2220d3856c7f0039195362', '程友德', '13776621661',0)
  642. 2016-12-26 17:56:25 getListUser base_user:SELECT
  643. id,
  644. true_name,
  645. `status`
  646. FROM
  647. base_user
  648. WHERE
  649. cancel_flag = 0
  650. AND org_id = 1086
  651. 2016-12-26 17:57:17 select base_supplier:SELECT
  652. id,
  653. supplier_name,
  654. area_id,
  655. is_disabled,
  656. supplier_type,
  657. manage_type
  658. FROM
  659. base_supplier
  660. WHERE
  661. cancel_flag = 0
  662. AND supplier_type = 301
  663. LIMIT 0,10
  664. 2016-12-26 17:57:17 select base_area:SELECT
  665. id,
  666. area_name
  667. FROM
  668. base_area
  669. WHERE
  670. id in(850,961,800,4,797,7,1966,794)
  671. 2016-12-26 17:57:18 select base_supplier:SELECT
  672. id,
  673. supplier_name,
  674. area_id,
  675. is_disabled,
  676. supplier_type
  677. FROM
  678. base_supplier a
  679. WHERE
  680. cancel_flag = 0
  681. AND supplier_type = 187
  682. LIMIT 0,10
  683. 2016-12-26 17:57:18 count:SELECT
  684. a.id
  685. FROM
  686. base_supplier AS a,
  687. base_supplier_purchase AS b
  688. WHERE
  689. a.id = b.supplier_id
  690. AND a.cancel_flag = 0
  691. AND b.cancel_flag = 0
  692. GROUP BY
  693. b.supplier_id
  694. 2016-12-26 17:57:18 select base_area:SELECT
  695. id,
  696. area_name
  697. FROM
  698. base_area
  699. WHERE
  700. id in(923,803,792,1200,961)
  701. 2016-12-26 17:57:19 select base_supplier:SELECT
  702. id,
  703. supplier_name,
  704. area_id,
  705. is_disabled,
  706. supplier_type,
  707. manage_type
  708. FROM
  709. base_supplier
  710. WHERE
  711. cancel_flag = 0
  712. AND supplier_type = 301
  713. LIMIT 0,10
  714. 2016-12-26 17:57:19 select base_area:SELECT
  715. id,
  716. area_name
  717. FROM
  718. base_area
  719. WHERE
  720. id in(850,961,800,4,797,7,1966,794)
  721. 2016-12-26 17:57:22 select base_area:SELECT
  722. id,
  723. area_name
  724. FROM
  725. base_area
  726. WHERE
  727. parent_id = 0
  728. 2016-12-26 17:57:22 select base_area:SELECT
  729. id,
  730. area_name
  731. FROM
  732. base_area
  733. WHERE
  734. parent_id = 1
  735. 2016-12-26 17:57:51 select base_area:SELECT
  736. id,
  737. area_name
  738. FROM
  739. base_area
  740. WHERE
  741. parent_id = 0
  742. 2016-12-26 17:57:51 select base_area:SELECT
  743. id,
  744. area_name
  745. FROM
  746. base_area
  747. WHERE
  748. parent_id = 1
  749. 2016-12-26 18:00:07 select base_area:SELECT
  750. id,
  751. area_name
  752. FROM
  753. base_area
  754. WHERE
  755. parent_id = 0
  756. 2016-12-26 18:00:07 select base_area:SELECT
  757. id,
  758. area_name
  759. FROM
  760. base_area
  761. WHERE
  762. parent_id = 1
  763. 2016-12-26 18:00:44 select base_area:SELECT
  764. id,
  765. area_name
  766. FROM
  767. base_area
  768. WHERE
  769. parent_id = 0
  770. 2016-12-26 18:00:44 select base_area:SELECT
  771. id,
  772. area_name
  773. FROM
  774. base_area
  775. WHERE
  776. parent_id = 1
  777. 2016-12-26 18:01:08 select base_area:SELECT
  778. id,
  779. area_name
  780. FROM
  781. base_area
  782. WHERE
  783. parent_id = 0
  784. 2016-12-26 18:01:08 select base_area:SELECT
  785. id,
  786. area_name
  787. FROM
  788. base_area
  789. WHERE
  790. parent_id = 1
  791. 2016-12-26 18:13:00 select base_supplier:SELECT
  792. id,
  793. supplier_name,
  794. area_id,
  795. is_disabled,
  796. supplier_type,
  797. manage_type
  798. FROM
  799. base_supplier
  800. WHERE
  801. cancel_flag = 0
  802. AND supplier_type = 301
  803. LIMIT 0,10
  804. 2016-12-26 18:13:00 select base_area:SELECT
  805. id,
  806. area_name
  807. FROM
  808. base_area
  809. WHERE
  810. id in(850,961,800,4,797,7,1966,794)
  811. 2016-12-26 18:13:02 select base_area:SELECT
  812. id,
  813. area_name
  814. FROM
  815. base_area
  816. WHERE
  817. parent_id = 0
  818. 2016-12-26 18:13:02 select base_area:SELECT
  819. id,
  820. area_name
  821. FROM
  822. base_area
  823. WHERE
  824. parent_id = 1
  825. 2016-12-26 18:14:25 select base_supplier:SELECT
  826. id,
  827. supplier_name,
  828. area_id,
  829. is_disabled,
  830. supplier_type
  831. FROM
  832. base_supplier a
  833. WHERE
  834. cancel_flag = 0
  835. AND supplier_type = 187
  836. LIMIT 0,10
  837. 2016-12-26 18:14:25 count:SELECT
  838. a.id
  839. FROM
  840. base_supplier AS a,
  841. base_supplier_purchase AS b
  842. WHERE
  843. a.id = b.supplier_id
  844. AND a.cancel_flag = 0
  845. AND b.cancel_flag = 0
  846. GROUP BY
  847. b.supplier_id
  848. 2016-12-26 18:14:25 select base_area:SELECT
  849. id,
  850. area_name
  851. FROM
  852. base_area
  853. WHERE
  854. id in(923,803,792,1200,961)
  855. 2016-12-26 18:14:41 select base_supplier:SELECT
  856. id,
  857. supplier_name,
  858. area_id,
  859. is_disabled,
  860. supplier_type
  861. FROM
  862. base_supplier a
  863. WHERE
  864. cancel_flag = 0
  865. AND supplier_type = 187
  866. LIMIT 0,10
  867. 2016-12-26 18:14:41 count:SELECT
  868. a.id
  869. FROM
  870. base_supplier AS a,
  871. base_supplier_purchase AS b
  872. WHERE
  873. a.id = b.supplier_id
  874. AND a.cancel_flag = 0
  875. AND b.cancel_flag = 0
  876. GROUP BY
  877. b.supplier_id
  878. 2016-12-26 18:14:41 select base_area:SELECT
  879. id,
  880. area_name
  881. FROM
  882. base_area
  883. WHERE
  884. id in(923,803,792,1200,961)
  885. 2016-12-26 18:14:42 select base_supplier:SELECT
  886. id,
  887. supplier_name,
  888. area_id,
  889. is_disabled,
  890. supplier_type,
  891. manage_type
  892. FROM
  893. base_supplier
  894. WHERE
  895. cancel_flag = 0
  896. AND supplier_type = 301
  897. LIMIT 0,10
  898. 2016-12-26 18:14:42 select base_area:SELECT
  899. id,
  900. area_name
  901. FROM
  902. base_area
  903. WHERE
  904. id in(850,961,800,4,797,7,1966,794)
  905. 2016-12-26 18:14:44 select base_supplier:SELECT
  906. id,
  907. supplier_name,
  908. area_id,
  909. is_disabled,
  910. supplier_type,
  911. manage_type
  912. FROM
  913. base_supplier
  914. WHERE
  915. cancel_flag = 0
  916. AND supplier_type = 301
  917. LIMIT 0,10
  918. 2016-12-26 18:14:44 select base_area:SELECT
  919. id,
  920. area_name
  921. FROM
  922. base_area
  923. WHERE
  924. id in(850,961,800,4,797,7,1966,794)
  925. 2016-12-26 18:14:46 select base_supplier:SELECT
  926. id,
  927. supplier_name,
  928. area_id,
  929. is_disabled,
  930. supplier_type,
  931. manage_type
  932. FROM
  933. base_supplier
  934. WHERE
  935. cancel_flag = 0
  936. AND supplier_type = 301
  937. LIMIT 0,10
  938. 2016-12-26 18:14:46 select base_area:SELECT
  939. id,
  940. area_name
  941. FROM
  942. base_area
  943. WHERE
  944. id in(850,961,800,4,797,7,1966,794)
  945. 2016-12-26 18:14:48 select base_supplier_sale:SELECT
  946. supplier_id,
  947. product_type,
  948. parent_type
  949. FROM
  950. base_supplier_sale
  951. WHERE
  952. product_type = 25 or parent_type = 25 and cancel_flag = 0
  953. GROUP BY
  954. supplier_id
  955. 2016-12-26 18:14:48 select base_supplier:SELECT
  956. id,
  957. supplier_name,
  958. area_id,
  959. is_disabled,
  960. supplier_type,
  961. manage_type
  962. FROM
  963. base_supplier
  964. WHERE
  965. cancel_flag = 0
  966. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  967. AND supplier_type = 301
  968. LIMIT 0,10
  969. 2016-12-26 18:14:48 select base_area:SELECT
  970. id,
  971. area_name
  972. FROM
  973. base_area
  974. WHERE
  975. id in(800,794,2,850,923,982,810)
  976. 2016-12-26 18:14:50 select base_supplier_sale:SELECT
  977. supplier_id,
  978. product_type,
  979. parent_type
  980. FROM
  981. base_supplier_sale
  982. WHERE
  983. product_type = 25 or parent_type = 25 and cancel_flag = 0
  984. GROUP BY
  985. supplier_id
  986. 2016-12-26 18:14:50 select base_supplier:SELECT
  987. id,
  988. supplier_name,
  989. area_id,
  990. is_disabled,
  991. supplier_type,
  992. manage_type
  993. FROM
  994. base_supplier
  995. WHERE
  996. cancel_flag = 0
  997. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  998. AND supplier_type = 301
  999. LIMIT 0,10
  1000. 2016-12-26 18:14:50 select base_area:SELECT
  1001. id,
  1002. area_name
  1003. FROM
  1004. base_area
  1005. WHERE
  1006. id in(800,794,2,850,923,982,810)
  1007. 2016-12-26 18:14:55 select base_supplier_sale:SELECT
  1008. supplier_id,
  1009. product_type,
  1010. parent_type
  1011. FROM
  1012. base_supplier_sale
  1013. WHERE
  1014. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1015. GROUP BY
  1016. supplier_id
  1017. 2016-12-26 18:14:55 select base_supplier:SELECT
  1018. id,
  1019. supplier_name,
  1020. area_id,
  1021. is_disabled,
  1022. supplier_type,
  1023. manage_type
  1024. FROM
  1025. base_supplier
  1026. WHERE
  1027. cancel_flag = 0
  1028. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  1029. AND supplier_type = 301
  1030. LIMIT 10,10
  1031. 2016-12-26 18:14:55 select base_area:SELECT
  1032. id,
  1033. area_name
  1034. FROM
  1035. base_area
  1036. WHERE
  1037. id in(810)
  1038. 2016-12-26 18:14:55 select base_supplier_sale:SELECT
  1039. supplier_id,
  1040. product_type,
  1041. parent_type
  1042. FROM
  1043. base_supplier_sale
  1044. WHERE
  1045. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1046. GROUP BY
  1047. supplier_id
  1048. 2016-12-26 18:14:55 select base_supplier:SELECT
  1049. id,
  1050. supplier_name,
  1051. area_id,
  1052. is_disabled,
  1053. supplier_type,
  1054. manage_type
  1055. FROM
  1056. base_supplier
  1057. WHERE
  1058. cancel_flag = 0
  1059. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  1060. AND supplier_type = 301
  1061. LIMIT 20,10
  1062. 2016-12-26 18:14:55 select base_supplier_sale:SELECT
  1063. supplier_id,
  1064. product_type,
  1065. parent_type
  1066. FROM
  1067. base_supplier_sale
  1068. WHERE
  1069. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1070. GROUP BY
  1071. supplier_id
  1072. 2016-12-26 18:14:55 select base_supplier:SELECT
  1073. id,
  1074. supplier_name,
  1075. area_id,
  1076. is_disabled,
  1077. supplier_type,
  1078. manage_type
  1079. FROM
  1080. base_supplier
  1081. WHERE
  1082. cancel_flag = 0
  1083. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  1084. AND supplier_type = 301
  1085. LIMIT 30,10
  1086. 2016-12-26 18:14:55 select base_supplier_sale:SELECT
  1087. supplier_id,
  1088. product_type,
  1089. parent_type
  1090. FROM
  1091. base_supplier_sale
  1092. WHERE
  1093. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1094. GROUP BY
  1095. supplier_id
  1096. 2016-12-26 18:14:55 select base_supplier:SELECT
  1097. id,
  1098. supplier_name,
  1099. area_id,
  1100. is_disabled,
  1101. supplier_type,
  1102. manage_type
  1103. FROM
  1104. base_supplier
  1105. WHERE
  1106. cancel_flag = 0
  1107. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  1108. AND supplier_type = 301
  1109. LIMIT -10,10
  1110. 2016-12-26 18:14:58 select base_supplier_sale:SELECT
  1111. supplier_id,
  1112. product_type,
  1113. parent_type
  1114. FROM
  1115. base_supplier_sale
  1116. WHERE
  1117. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1118. GROUP BY
  1119. supplier_id
  1120. 2016-12-26 18:14:58 select base_supplier:SELECT
  1121. id,
  1122. supplier_name,
  1123. area_id,
  1124. is_disabled,
  1125. supplier_type,
  1126. manage_type
  1127. FROM
  1128. base_supplier
  1129. WHERE
  1130. cancel_flag = 0
  1131. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  1132. AND supplier_type = 301
  1133. LIMIT 0,10
  1134. 2016-12-26 18:14:58 select base_area:SELECT
  1135. id,
  1136. area_name
  1137. FROM
  1138. base_area
  1139. WHERE
  1140. id in(800,794,2,850,923,982,810)
  1141. 2016-12-26 18:15:00 select base_supplier_sale:SELECT
  1142. supplier_id,
  1143. product_type,
  1144. parent_type
  1145. FROM
  1146. base_supplier_sale
  1147. WHERE
  1148. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1149. GROUP BY
  1150. supplier_id
  1151. 2016-12-26 18:15:00 select base_supplier:SELECT
  1152. id,
  1153. supplier_name,
  1154. area_id,
  1155. is_disabled,
  1156. supplier_type,
  1157. manage_type
  1158. FROM
  1159. base_supplier
  1160. WHERE
  1161. cancel_flag = 0
  1162. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  1163. AND supplier_type = 301
  1164. LIMIT 10,10
  1165. 2016-12-26 18:15:00 select base_area:SELECT
  1166. id,
  1167. area_name
  1168. FROM
  1169. base_area
  1170. WHERE
  1171. id in(810)
  1172. 2016-12-26 18:15:00 select base_supplier_sale:SELECT
  1173. supplier_id,
  1174. product_type,
  1175. parent_type
  1176. FROM
  1177. base_supplier_sale
  1178. WHERE
  1179. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1180. GROUP BY
  1181. supplier_id
  1182. 2016-12-26 18:15:00 select base_supplier:SELECT
  1183. id,
  1184. supplier_name,
  1185. area_id,
  1186. is_disabled,
  1187. supplier_type,
  1188. manage_type
  1189. FROM
  1190. base_supplier
  1191. WHERE
  1192. cancel_flag = 0
  1193. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  1194. AND supplier_type = 301
  1195. LIMIT 10,10
  1196. 2016-12-26 18:15:00 select base_area:SELECT
  1197. id,
  1198. area_name
  1199. FROM
  1200. base_area
  1201. WHERE
  1202. id in(810)
  1203. 2016-12-26 18:15:00 select base_supplier_sale:SELECT
  1204. supplier_id,
  1205. product_type,
  1206. parent_type
  1207. FROM
  1208. base_supplier_sale
  1209. WHERE
  1210. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1211. GROUP BY
  1212. supplier_id
  1213. 2016-12-26 18:15:00 select base_supplier:SELECT
  1214. id,
  1215. supplier_name,
  1216. area_id,
  1217. is_disabled,
  1218. supplier_type,
  1219. manage_type
  1220. FROM
  1221. base_supplier
  1222. WHERE
  1223. cancel_flag = 0
  1224. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  1225. AND supplier_type = 301
  1226. LIMIT 10,10
  1227. 2016-12-26 18:15:00 select base_area:SELECT
  1228. id,
  1229. area_name
  1230. FROM
  1231. base_area
  1232. WHERE
  1233. id in(810)
  1234. 2016-12-26 18:15:00 select base_supplier_sale:SELECT
  1235. supplier_id,
  1236. product_type,
  1237. parent_type
  1238. FROM
  1239. base_supplier_sale
  1240. WHERE
  1241. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1242. GROUP BY
  1243. supplier_id
  1244. 2016-12-26 18:15:00 select base_supplier:SELECT
  1245. id,
  1246. supplier_name,
  1247. area_id,
  1248. is_disabled,
  1249. supplier_type,
  1250. manage_type
  1251. FROM
  1252. base_supplier
  1253. WHERE
  1254. cancel_flag = 0
  1255. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  1256. AND supplier_type = 301
  1257. LIMIT 10,10
  1258. 2016-12-26 18:15:00 select base_area:SELECT
  1259. id,
  1260. area_name
  1261. FROM
  1262. base_area
  1263. WHERE
  1264. id in(810)
  1265. 2016-12-26 18:15:00 select base_supplier_sale:SELECT
  1266. supplier_id,
  1267. product_type,
  1268. parent_type
  1269. FROM
  1270. base_supplier_sale
  1271. WHERE
  1272. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1273. GROUP BY
  1274. supplier_id
  1275. 2016-12-26 18:15:00 select base_supplier:SELECT
  1276. id,
  1277. supplier_name,
  1278. area_id,
  1279. is_disabled,
  1280. supplier_type,
  1281. manage_type
  1282. FROM
  1283. base_supplier
  1284. WHERE
  1285. cancel_flag = 0
  1286. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  1287. AND supplier_type = 301
  1288. LIMIT 10,10
  1289. 2016-12-26 18:15:01 select base_area:SELECT
  1290. id,
  1291. area_name
  1292. FROM
  1293. base_area
  1294. WHERE
  1295. id in(810)
  1296. 2016-12-26 18:15:06 select base_supplier_sale:SELECT
  1297. supplier_id,
  1298. product_type,
  1299. parent_type
  1300. FROM
  1301. base_supplier_sale
  1302. WHERE
  1303. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1304. GROUP BY
  1305. supplier_id
  1306. 2016-12-26 18:15:06 select base_supplier:SELECT
  1307. id,
  1308. supplier_name,
  1309. area_id,
  1310. is_disabled,
  1311. supplier_type,
  1312. manage_type
  1313. FROM
  1314. base_supplier
  1315. WHERE
  1316. cancel_flag = 0
  1317. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  1318. AND supplier_type = 301
  1319. LIMIT 0,10
  1320. 2016-12-26 18:15:06 select base_area:SELECT
  1321. id,
  1322. area_name
  1323. FROM
  1324. base_area
  1325. WHERE
  1326. id in(800,794,2,850,923,982,810)
  1327. 2016-12-26 18:15:06 select base_supplier_sale:SELECT
  1328. supplier_id,
  1329. product_type,
  1330. parent_type
  1331. FROM
  1332. base_supplier_sale
  1333. WHERE
  1334. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1335. GROUP BY
  1336. supplier_id
  1337. 2016-12-26 18:15:06 select base_supplier:SELECT
  1338. id,
  1339. supplier_name,
  1340. area_id,
  1341. is_disabled,
  1342. supplier_type,
  1343. manage_type
  1344. FROM
  1345. base_supplier
  1346. WHERE
  1347. cancel_flag = 0
  1348. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  1349. AND supplier_type = 301
  1350. LIMIT 0,10
  1351. 2016-12-26 18:15:06 select base_area:SELECT
  1352. id,
  1353. area_name
  1354. FROM
  1355. base_area
  1356. WHERE
  1357. id in(800,794,2,850,923,982,810)
  1358. 2016-12-26 18:15:06 select base_supplier_sale:SELECT
  1359. supplier_id,
  1360. product_type,
  1361. parent_type
  1362. FROM
  1363. base_supplier_sale
  1364. WHERE
  1365. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1366. GROUP BY
  1367. supplier_id
  1368. 2016-12-26 18:15:06 select base_supplier:SELECT
  1369. id,
  1370. supplier_name,
  1371. area_id,
  1372. is_disabled,
  1373. supplier_type,
  1374. manage_type
  1375. FROM
  1376. base_supplier
  1377. WHERE
  1378. cancel_flag = 0
  1379. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  1380. AND supplier_type = 301
  1381. LIMIT 0,10
  1382. 2016-12-26 18:15:06 select base_area:SELECT
  1383. id,
  1384. area_name
  1385. FROM
  1386. base_area
  1387. WHERE
  1388. id in(800,794,2,850,923,982,810)
  1389. 2016-12-26 18:15:06 select base_supplier_sale:SELECT
  1390. supplier_id,
  1391. product_type,
  1392. parent_type
  1393. FROM
  1394. base_supplier_sale
  1395. WHERE
  1396. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1397. GROUP BY
  1398. supplier_id
  1399. 2016-12-26 18:15:06 select base_supplier:SELECT
  1400. id,
  1401. supplier_name,
  1402. area_id,
  1403. is_disabled,
  1404. supplier_type,
  1405. manage_type
  1406. FROM
  1407. base_supplier
  1408. WHERE
  1409. cancel_flag = 0
  1410. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  1411. AND supplier_type = 301
  1412. LIMIT 0,10
  1413. 2016-12-26 18:15:06 select base_area:SELECT
  1414. id,
  1415. area_name
  1416. FROM
  1417. base_area
  1418. WHERE
  1419. id in(800,794,2,850,923,982,810)
  1420. 2016-12-26 18:15:06 select base_supplier_sale:SELECT
  1421. supplier_id,
  1422. product_type,
  1423. parent_type
  1424. FROM
  1425. base_supplier_sale
  1426. WHERE
  1427. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1428. GROUP BY
  1429. supplier_id
  1430. 2016-12-26 18:15:06 select base_supplier:SELECT
  1431. id,
  1432. supplier_name,
  1433. area_id,
  1434. is_disabled,
  1435. supplier_type,
  1436. manage_type
  1437. FROM
  1438. base_supplier
  1439. WHERE
  1440. cancel_flag = 0
  1441. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022)
  1442. AND supplier_type = 301
  1443. LIMIT 0,10
  1444. 2016-12-26 18:15:06 select base_area:SELECT
  1445. id,
  1446. area_name
  1447. FROM
  1448. base_area
  1449. WHERE
  1450. id in(800,794,2,850,923,982,810)
  1451. 2016-12-26 18:15:07 select base_area:SELECT
  1452. id,
  1453. area_name
  1454. FROM
  1455. base_area
  1456. WHERE
  1457. parent_id = 0
  1458. 2016-12-26 18:15:07 select base_area:SELECT
  1459. id,
  1460. area_name
  1461. FROM
  1462. base_area
  1463. WHERE
  1464. parent_id = 1
  1465. 2016-12-26 18:15:13 check base_supplier:SELECT
  1466. supplier_name
  1467. FROM
  1468. base_supplier
  1469. WHERE
  1470. cancel_flag = 0
  1471. AND supplier_type = 301
  1472. AND supplier_name = '上海驴妈妈'
  1473. 2016-12-26 18:15:20 check base_supplier:SELECT
  1474. supplier_name
  1475. FROM
  1476. base_supplier
  1477. WHERE
  1478. cancel_flag = 0
  1479. AND supplier_type = 301
  1480. AND supplier_name = '上海驴妈妈(酒店)'
  1481. 2016-12-26 18:15:22 select base_area:SELECT
  1482. id,
  1483. area_name
  1484. FROM
  1485. base_area
  1486. WHERE
  1487. parent_id = 791
  1488. 2016-12-26 18:17:00 select base_supplier:SELECT
  1489. id,
  1490. supplier_name,
  1491. area_id,
  1492. is_disabled,
  1493. supplier_type,
  1494. manage_type
  1495. FROM
  1496. base_supplier
  1497. WHERE
  1498. cancel_flag = 0
  1499. AND supplier_type = 301
  1500. LIMIT 0,10
  1501. 2016-12-26 18:17:00 select base_area:SELECT
  1502. id,
  1503. area_name
  1504. FROM
  1505. base_area
  1506. WHERE
  1507. id in(850,961,800,4,797,7,1966,794)
  1508. 2016-12-26 18:17:02 select base_area:SELECT
  1509. id,
  1510. area_name
  1511. FROM
  1512. base_area
  1513. WHERE
  1514. parent_id = 0
  1515. 2016-12-26 18:17:02 select base_area:SELECT
  1516. id,
  1517. area_name
  1518. FROM
  1519. base_area
  1520. WHERE
  1521. parent_id = 1
  1522. 2016-12-26 18:17:10 select base_area:SELECT
  1523. id,
  1524. area_name
  1525. FROM
  1526. base_area
  1527. WHERE
  1528. parent_id = 791
  1529. 2016-12-26 18:17:26 check base_supplier:SELECT
  1530. supplier_name
  1531. FROM
  1532. base_supplier
  1533. WHERE
  1534. cancel_flag = 0
  1535. AND supplier_type = 301
  1536. AND supplier_name = '上海驴妈妈(酒店)'
  1537. 2016-12-26 18:18:21 INSERT INTO base_supplier:INSERT INTO base_supplier (
  1538. create_user_id,
  1539. create_time,
  1540. supplier_type,
  1541. supplier_name,
  1542. area_id,
  1543. manage_type,
  1544. company_name,
  1545. id_card,
  1546. is_disabled,
  1547. sett_type,
  1548. sett_frequency,
  1549. account_bank,
  1550. account_num,
  1551. account_name,
  1552. sales_man
  1553. )
  1554. VALUES
  1555. (33,'2016-12-26 18:18:21',301,'上海驴妈妈(酒店)',802,1,'上海景域文化传播股份有限公司','',0,288,295,'','','','蔡思华')
  1556. 2016-12-26 18:18:21 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  1557. create_user_id,
  1558. create_time,
  1559. supplier_id,
  1560. prod_supplier_id,
  1561. product_type,
  1562. parent_type,
  1563. sale_type,
  1564. commision_flag,
  1565. commision_type,
  1566. back_commision_type,
  1567. back_commision_method,
  1568. back_percent,
  1569. back_value
  1570. )
  1571. VALUES (33,'2016-12-26 18:18:21',1087,0,0,25,177,0,0,0,0,'0','0')
  1572. 2016-12-26 18:18:22 select base_supplier:SELECT
  1573. id,
  1574. supplier_name,
  1575. area_id,
  1576. is_disabled,
  1577. supplier_type,
  1578. manage_type
  1579. FROM
  1580. base_supplier
  1581. WHERE
  1582. cancel_flag = 0
  1583. AND supplier_type = 301
  1584. LIMIT 0,10
  1585. 2016-12-26 18:18:22 select base_area:SELECT
  1586. id,
  1587. area_name
  1588. FROM
  1589. base_area
  1590. WHERE
  1591. id in(850,961,800,4,797,7,1966,794)
  1592. 2016-12-26 18:18:28 select base_supplier_sale:SELECT
  1593. supplier_id,
  1594. product_type,
  1595. parent_type
  1596. FROM
  1597. base_supplier_sale
  1598. WHERE
  1599. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1600. GROUP BY
  1601. supplier_id
  1602. 2016-12-26 18:18:28 select base_supplier:SELECT
  1603. id,
  1604. supplier_name,
  1605. area_id,
  1606. is_disabled,
  1607. supplier_type,
  1608. manage_type
  1609. FROM
  1610. base_supplier
  1611. WHERE
  1612. cancel_flag = 0
  1613. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  1614. AND supplier_type = 301
  1615. LIMIT 0,10
  1616. 2016-12-26 18:18:28 select base_area:SELECT
  1617. id,
  1618. area_name
  1619. FROM
  1620. base_area
  1621. WHERE
  1622. id in(800,794,2,850,923,982,810)
  1623. 2016-12-26 18:18:30 select base_supplier_sale:SELECT
  1624. supplier_id,
  1625. product_type,
  1626. parent_type
  1627. FROM
  1628. base_supplier_sale
  1629. WHERE
  1630. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1631. GROUP BY
  1632. supplier_id
  1633. 2016-12-26 18:18:30 select base_supplier:SELECT
  1634. id,
  1635. supplier_name,
  1636. area_id,
  1637. is_disabled,
  1638. supplier_type,
  1639. manage_type
  1640. FROM
  1641. base_supplier
  1642. WHERE
  1643. cancel_flag = 0
  1644. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  1645. AND supplier_type = 301
  1646. LIMIT 10,10
  1647. 2016-12-26 18:18:30 select base_area:SELECT
  1648. id,
  1649. area_name
  1650. FROM
  1651. base_area
  1652. WHERE
  1653. id in(810,802)
  1654. 2016-12-26 18:18:30 select base_supplier_sale:SELECT
  1655. supplier_id,
  1656. product_type,
  1657. parent_type
  1658. FROM
  1659. base_supplier_sale
  1660. WHERE
  1661. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1662. GROUP BY
  1663. supplier_id
  1664. 2016-12-26 18:18:30 select base_supplier:SELECT
  1665. id,
  1666. supplier_name,
  1667. area_id,
  1668. is_disabled,
  1669. supplier_type,
  1670. manage_type
  1671. FROM
  1672. base_supplier
  1673. WHERE
  1674. cancel_flag = 0
  1675. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  1676. AND supplier_type = 301
  1677. LIMIT 20,10
  1678. 2016-12-26 18:18:33 select base_supplier_sale:SELECT
  1679. supplier_id,
  1680. product_type,
  1681. parent_type
  1682. FROM
  1683. base_supplier_sale
  1684. WHERE
  1685. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1686. GROUP BY
  1687. supplier_id
  1688. 2016-12-26 18:18:33 select base_supplier:SELECT
  1689. id,
  1690. supplier_name,
  1691. area_id,
  1692. is_disabled,
  1693. supplier_type,
  1694. manage_type
  1695. FROM
  1696. base_supplier
  1697. WHERE
  1698. cancel_flag = 0
  1699. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  1700. AND supplier_type = 301
  1701. LIMIT 10,10
  1702. 2016-12-26 18:18:33 select base_area:SELECT
  1703. id,
  1704. area_name
  1705. FROM
  1706. base_area
  1707. WHERE
  1708. id in(810,802)
  1709. 2016-12-26 18:18:33 select base_supplier_sale:SELECT
  1710. supplier_id,
  1711. product_type,
  1712. parent_type
  1713. FROM
  1714. base_supplier_sale
  1715. WHERE
  1716. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1717. GROUP BY
  1718. supplier_id
  1719. 2016-12-26 18:18:33 select base_supplier:SELECT
  1720. id,
  1721. supplier_name,
  1722. area_id,
  1723. is_disabled,
  1724. supplier_type,
  1725. manage_type
  1726. FROM
  1727. base_supplier
  1728. WHERE
  1729. cancel_flag = 0
  1730. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  1731. AND supplier_type = 301
  1732. LIMIT 10,10
  1733. 2016-12-26 18:18:33 select base_area:SELECT
  1734. id,
  1735. area_name
  1736. FROM
  1737. base_area
  1738. WHERE
  1739. id in(810,802)
  1740. 2016-12-26 18:24:14 select base_area:SELECT
  1741. id,
  1742. area_name
  1743. FROM
  1744. base_area
  1745. WHERE
  1746. parent_id = 0
  1747. 2016-12-26 18:24:14 select base_area:SELECT
  1748. id,
  1749. area_name
  1750. FROM
  1751. base_area
  1752. WHERE
  1753. parent_id = 1
  1754. 2016-12-26 18:30:05 select base_supplier_sale:SELECT
  1755. supplier_id,
  1756. product_type,
  1757. parent_type
  1758. FROM
  1759. base_supplier_sale
  1760. WHERE
  1761. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1762. GROUP BY
  1763. supplier_id
  1764. 2016-12-26 18:30:05 select base_supplier:SELECT
  1765. id,
  1766. supplier_name,
  1767. area_id,
  1768. is_disabled,
  1769. supplier_type,
  1770. manage_type
  1771. FROM
  1772. base_supplier
  1773. WHERE
  1774. cancel_flag = 0
  1775. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  1776. AND supplier_type = 301
  1777. LIMIT 0,10
  1778. 2016-12-26 18:30:05 select base_area:SELECT
  1779. id,
  1780. area_name
  1781. FROM
  1782. base_area
  1783. WHERE
  1784. id in(800,794,2,850,923,982,810)
  1785. 2016-12-26 18:30:05 select base_supplier_sale:SELECT
  1786. supplier_id,
  1787. product_type,
  1788. parent_type
  1789. FROM
  1790. base_supplier_sale
  1791. WHERE
  1792. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1793. GROUP BY
  1794. supplier_id
  1795. 2016-12-26 18:30:05 select base_supplier:SELECT
  1796. id,
  1797. supplier_name,
  1798. area_id,
  1799. is_disabled,
  1800. supplier_type,
  1801. manage_type
  1802. FROM
  1803. base_supplier
  1804. WHERE
  1805. cancel_flag = 0
  1806. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  1807. AND supplier_type = 301
  1808. LIMIT 0,10
  1809. 2016-12-26 18:30:05 select base_area:SELECT
  1810. id,
  1811. area_name
  1812. FROM
  1813. base_area
  1814. WHERE
  1815. id in(800,794,2,850,923,982,810)
  1816. 2016-12-26 18:30:07 select base_supplier_sale:SELECT
  1817. supplier_id,
  1818. product_type,
  1819. parent_type
  1820. FROM
  1821. base_supplier_sale
  1822. WHERE
  1823. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1824. GROUP BY
  1825. supplier_id
  1826. 2016-12-26 18:30:07 select base_supplier:SELECT
  1827. id,
  1828. supplier_name,
  1829. area_id,
  1830. is_disabled,
  1831. supplier_type,
  1832. manage_type
  1833. FROM
  1834. base_supplier
  1835. WHERE
  1836. cancel_flag = 0
  1837. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  1838. AND supplier_type = 301
  1839. LIMIT 10,10
  1840. 2016-12-26 18:30:07 select base_area:SELECT
  1841. id,
  1842. area_name
  1843. FROM
  1844. base_area
  1845. WHERE
  1846. id in(810,802)
  1847. 2016-12-26 18:30:07 select base_supplier_sale:SELECT
  1848. supplier_id,
  1849. product_type,
  1850. parent_type
  1851. FROM
  1852. base_supplier_sale
  1853. WHERE
  1854. product_type = 25 or parent_type = 25 and cancel_flag = 0
  1855. GROUP BY
  1856. supplier_id
  1857. 2016-12-26 18:30:07 select base_supplier:SELECT
  1858. id,
  1859. supplier_name,
  1860. area_id,
  1861. is_disabled,
  1862. supplier_type,
  1863. manage_type
  1864. FROM
  1865. base_supplier
  1866. WHERE
  1867. cancel_flag = 0
  1868. and id in(164,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  1869. AND supplier_type = 301
  1870. LIMIT 20,10
  1871. 2016-12-26 18:32:04 select base_supplier:SELECT
  1872. id,
  1873. supplier_name,
  1874. area_id,
  1875. is_disabled,
  1876. supplier_type,
  1877. manage_type
  1878. FROM
  1879. base_supplier
  1880. WHERE
  1881. cancel_flag = 0
  1882. AND supplier_type = 301
  1883. LIMIT 0,10
  1884. 2016-12-26 18:32:04 select base_area:SELECT
  1885. id,
  1886. area_name
  1887. FROM
  1888. base_area
  1889. WHERE
  1890. id in(850,961,800,4,797,7,1966,794)
  1891. 2016-12-26 18:32:10 select base_supplier:SELECT
  1892. id,
  1893. supplier_name,
  1894. area_id,
  1895. is_disabled,
  1896. supplier_type,
  1897. manage_type
  1898. FROM
  1899. base_supplier
  1900. WHERE
  1901. cancel_flag = 0
  1902. and supplier_name like '%%驴妈妈%%'
  1903. AND supplier_type = 301
  1904. LIMIT 0,10
  1905. 2016-12-26 18:32:10 select base_area:SELECT
  1906. id,
  1907. area_name
  1908. FROM
  1909. base_area
  1910. WHERE
  1911. id in(794,1161,802)
  1912. 2016-12-26 18:35:22 select base_area:SELECT
  1913. id,
  1914. area_name
  1915. FROM
  1916. base_area
  1917. WHERE
  1918. parent_id = 0
  1919. 2016-12-26 18:35:23 select base_area:SELECT
  1920. id,
  1921. area_name
  1922. FROM
  1923. base_area
  1924. WHERE
  1925. parent_id = 1
  1926. 2016-12-26 18:35:23 select base_supplier:SELECT
  1927. id,
  1928. supplier_name,
  1929. area_id,
  1930. manage_type,
  1931. company_name,
  1932. id_card,
  1933. sett_type,
  1934. sett_frequency,
  1935. account_bank,
  1936. account_num,
  1937. account_name,
  1938. sales_man
  1939. FROM
  1940. base_supplier
  1941. WHERE
  1942. cancel_flag = 0
  1943. AND id = 610
  1944. 2016-12-26 18:35:23 select base_area:SELECT
  1945. id,
  1946. area_name,
  1947. parent_id
  1948. FROM
  1949. base_area
  1950. WHERE
  1951. cancel_flag = 0
  1952. AND id = 794
  1953. 2016-12-26 18:35:23 select base_area:SELECT
  1954. id,
  1955. area_name
  1956. FROM
  1957. base_area
  1958. WHERE
  1959. cancel_flag = 0
  1960. AND id = 791
  1961. 2016-12-26 18:35:23 select base_supplier_sale:SELECT
  1962. id,
  1963. prod_supplier_id,
  1964. product_type,
  1965. parent_type,
  1966. sale_type,
  1967. commision_flag,
  1968. commision_type,
  1969. back_commision_type,
  1970. back_commision_method,
  1971. back_percent,
  1972. back_value
  1973. FROM
  1974. base_supplier_sale
  1975. WHERE
  1976. cancel_flag = 0
  1977. AND supplier_id = 610
  1978. 2016-12-26 18:35:23 select base_supplier_link:SELECT
  1979. id,
  1980. link_name,
  1981. contact_name,
  1982. contact_mobile,
  1983. contact_telphone,
  1984. fax,
  1985. email,
  1986. remark
  1987. FROM
  1988. base_supplier_link
  1989. WHERE
  1990. cancel_flag = 0
  1991. AND supplier_id = 610
  1992. 2016-12-26 18:35:23 select base_area:SELECT
  1993. id,
  1994. area_name
  1995. FROM
  1996. base_area
  1997. WHERE
  1998. parent_id = 791
  1999. 2016-12-26 18:39:08 select base_area:SELECT
  2000. id,
  2001. area_name
  2002. FROM
  2003. base_area
  2004. WHERE
  2005. parent_id = 0
  2006. 2016-12-26 18:39:08 select base_area:SELECT
  2007. id,
  2008. area_name
  2009. FROM
  2010. base_area
  2011. WHERE
  2012. parent_id = 1
  2013. 2016-12-26 18:39:08 select base_supplier:SELECT
  2014. id,
  2015. supplier_name,
  2016. area_id,
  2017. manage_type,
  2018. company_name,
  2019. id_card,
  2020. sett_type,
  2021. sett_frequency,
  2022. account_bank,
  2023. account_num,
  2024. account_name,
  2025. sales_man
  2026. FROM
  2027. base_supplier
  2028. WHERE
  2029. cancel_flag = 0
  2030. AND id = 610
  2031. 2016-12-26 18:39:08 select base_area:SELECT
  2032. id,
  2033. area_name,
  2034. parent_id
  2035. FROM
  2036. base_area
  2037. WHERE
  2038. cancel_flag = 0
  2039. AND id = 794
  2040. 2016-12-26 18:39:08 select base_area:SELECT
  2041. id,
  2042. area_name
  2043. FROM
  2044. base_area
  2045. WHERE
  2046. cancel_flag = 0
  2047. AND id = 791
  2048. 2016-12-26 18:39:08 select base_supplier_sale:SELECT
  2049. id,
  2050. prod_supplier_id,
  2051. product_type,
  2052. parent_type,
  2053. sale_type,
  2054. commision_flag,
  2055. commision_type,
  2056. back_commision_type,
  2057. back_commision_method,
  2058. back_percent,
  2059. back_value
  2060. FROM
  2061. base_supplier_sale
  2062. WHERE
  2063. cancel_flag = 0
  2064. AND supplier_id = 610
  2065. 2016-12-26 18:39:08 select base_supplier_link:SELECT
  2066. id,
  2067. link_name,
  2068. contact_name,
  2069. contact_mobile,
  2070. contact_telphone,
  2071. fax,
  2072. email,
  2073. remark
  2074. FROM
  2075. base_supplier_link
  2076. WHERE
  2077. cancel_flag = 0
  2078. AND supplier_id = 610
  2079. 2016-12-26 18:39:08 select base_area:SELECT
  2080. id,
  2081. area_name
  2082. FROM
  2083. base_area
  2084. WHERE
  2085. parent_id = 791
  2086. 2016-12-26 18:39:55 getDbSale base_supplier_sale:SELECT
  2087. id AS sale_id,
  2088. prod_supplier_id,
  2089. product_type,
  2090. parent_type,
  2091. sale_type,
  2092. commision_flag,
  2093. commision_type,
  2094. back_commision_type,
  2095. back_commision_method,
  2096. back_percent,
  2097. back_value
  2098. FROM
  2099. base_supplier_sale
  2100. WHERE
  2101. cancel_flag = 0
  2102. AND supplier_id = 610
  2103. 2016-12-26 18:39:55 getDbLink base_supplier_link:SELECT
  2104. id as link_id,
  2105. link_name,
  2106. contact_name,
  2107. contact_mobile,
  2108. contact_telphone,
  2109. fax,
  2110. email,
  2111. remark
  2112. FROM
  2113. base_supplier_link
  2114. WHERE
  2115. cancel_flag = 0
  2116. AND supplier_id = 610
  2117. 2016-12-26 18:39:55 getDbChannel base_supplier:SELECT
  2118. supplier_name,
  2119. area_id,
  2120. manage_type,
  2121. company_name,
  2122. id_card,
  2123. sett_type,
  2124. sett_frequency,
  2125. account_bank,
  2126. account_num,
  2127. account_name,
  2128. sales_man
  2129. FROM
  2130. base_supplier
  2131. WHERE
  2132. cancel_flag = 0
  2133. AND id = 610
  2134. 2016-12-26 18:39:55 UPDATE base_supplier:UPDATE base_supplier
  2135. SET update_user_id = 33,update_time = '2016-12-26 18:39:55',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 = '蔡思华'
  2136. WHERE
  2137. id = 610
  2138. 2016-12-26 18:39:55 UPDATE base_supplier_sale:UPDATE base_supplier_sale
  2139. SET update_user_id = 33,update_time = '2016-12-26 18:39:55',prod_supplier_id = '0',product_type = '255',parent_type = '310',sale_type = '177',commision_flag = '1',commision_type = '304',back_commision_type = '0',back_commision_method = '0',back_percent = '0.00',back_value = '0.00'
  2140. WHERE
  2141. id = 14;UPDATE base_supplier_sale
  2142. SET update_user_id = 33,update_time = '2016-12-26 18:39:55',prod_supplier_id = '0',product_type = '256',parent_type = '310',sale_type = '177',commision_flag = '1',commision_type = '304',back_commision_type = '0',back_commision_method = '0',back_percent = '0.00',back_value = '0.00'
  2143. WHERE
  2144. id = 19
  2145. 2016-12-26 18:39:55 INSERT base_supplier_purchase:INSERT INTO base_supplier_sale (
  2146. create_user_id,
  2147. create_time,
  2148. supplier_id,
  2149. prod_supplier_id,
  2150. product_type,
  2151. parent_type,
  2152. sale_type,
  2153. commision_flag,
  2154. commision_type,
  2155. back_commision_type,
  2156. back_commision_method,
  2157. back_percent,
  2158. back_value
  2159. )
  2160. VALUES (33,'2016-12-26 18:39:55',610,0,0,25,177,0,0,0,0,'0','0')
  2161. 2016-12-26 18:39:56 select base_supplier:SELECT
  2162. id,
  2163. supplier_name,
  2164. area_id,
  2165. is_disabled,
  2166. supplier_type,
  2167. manage_type
  2168. FROM
  2169. base_supplier
  2170. WHERE
  2171. cancel_flag = 0
  2172. AND supplier_type = 301
  2173. LIMIT 0,10
  2174. 2016-12-26 18:39:56 select base_area:SELECT
  2175. id,
  2176. area_name
  2177. FROM
  2178. base_area
  2179. WHERE
  2180. id in(850,961,800,4,797,7,1966,794)
  2181. 2016-12-26 18:40:01 select base_supplier:SELECT
  2182. id,
  2183. supplier_name,
  2184. area_id,
  2185. is_disabled,
  2186. supplier_type,
  2187. manage_type
  2188. FROM
  2189. base_supplier
  2190. WHERE
  2191. cancel_flag = 0
  2192. and supplier_name like '%%驴妈妈%%'
  2193. AND supplier_type = 301
  2194. LIMIT 0,10
  2195. 2016-12-26 18:40:01 select base_area:SELECT
  2196. id,
  2197. area_name
  2198. FROM
  2199. base_area
  2200. WHERE
  2201. id in(794,1161,802)
  2202. 2016-12-26 18:40:05 select base_area:SELECT
  2203. id,
  2204. area_name
  2205. FROM
  2206. base_area
  2207. WHERE
  2208. parent_id = 0
  2209. 2016-12-26 18:40:05 select base_area:SELECT
  2210. id,
  2211. area_name
  2212. FROM
  2213. base_area
  2214. WHERE
  2215. parent_id = 1
  2216. 2016-12-26 18:40:05 select base_supplier:SELECT
  2217. id,
  2218. supplier_name,
  2219. area_id,
  2220. manage_type,
  2221. company_name,
  2222. id_card,
  2223. sett_type,
  2224. sett_frequency,
  2225. account_bank,
  2226. account_num,
  2227. account_name,
  2228. sales_man
  2229. FROM
  2230. base_supplier
  2231. WHERE
  2232. cancel_flag = 0
  2233. AND id = 1087
  2234. 2016-12-26 18:40:05 select base_area:SELECT
  2235. id,
  2236. area_name,
  2237. parent_id
  2238. FROM
  2239. base_area
  2240. WHERE
  2241. cancel_flag = 0
  2242. AND id = 802
  2243. 2016-12-26 18:40:05 select base_area:SELECT
  2244. id,
  2245. area_name
  2246. FROM
  2247. base_area
  2248. WHERE
  2249. cancel_flag = 0
  2250. AND id = 791
  2251. 2016-12-26 18:40:05 select base_supplier_sale:SELECT
  2252. id,
  2253. prod_supplier_id,
  2254. product_type,
  2255. parent_type,
  2256. sale_type,
  2257. commision_flag,
  2258. commision_type,
  2259. back_commision_type,
  2260. back_commision_method,
  2261. back_percent,
  2262. back_value
  2263. FROM
  2264. base_supplier_sale
  2265. WHERE
  2266. cancel_flag = 0
  2267. AND supplier_id = 1087
  2268. 2016-12-26 18:40:05 select base_supplier_link:SELECT
  2269. id,
  2270. link_name,
  2271. contact_name,
  2272. contact_mobile,
  2273. contact_telphone,
  2274. fax,
  2275. email,
  2276. remark
  2277. FROM
  2278. base_supplier_link
  2279. WHERE
  2280. cancel_flag = 0
  2281. AND supplier_id = 1087
  2282. 2016-12-26 18:40:05 select base_area:SELECT
  2283. id,
  2284. area_name
  2285. FROM
  2286. base_area
  2287. WHERE
  2288. parent_id = 791
  2289. 2016-12-26 18:40:11 getDbSale base_supplier_sale:SELECT
  2290. id AS sale_id,
  2291. prod_supplier_id,
  2292. product_type,
  2293. parent_type,
  2294. sale_type,
  2295. commision_flag,
  2296. commision_type,
  2297. back_commision_type,
  2298. back_commision_method,
  2299. back_percent,
  2300. back_value
  2301. FROM
  2302. base_supplier_sale
  2303. WHERE
  2304. cancel_flag = 0
  2305. AND supplier_id = 1087
  2306. 2016-12-26 18:40:11 getDbLink base_supplier_link:SELECT
  2307. id as link_id,
  2308. link_name,
  2309. contact_name,
  2310. contact_mobile,
  2311. contact_telphone,
  2312. fax,
  2313. email,
  2314. remark
  2315. FROM
  2316. base_supplier_link
  2317. WHERE
  2318. cancel_flag = 0
  2319. AND supplier_id = 1087
  2320. 2016-12-26 18:40:11 getDbChannel base_supplier:SELECT
  2321. supplier_name,
  2322. area_id,
  2323. manage_type,
  2324. company_name,
  2325. id_card,
  2326. sett_type,
  2327. sett_frequency,
  2328. account_bank,
  2329. account_num,
  2330. account_name,
  2331. sales_man
  2332. FROM
  2333. base_supplier
  2334. WHERE
  2335. cancel_flag = 0
  2336. AND id = 1087
  2337. 2016-12-26 18:40:11 UPDATE base_supplier:UPDATE base_supplier
  2338. SET update_user_id = 33,update_time = '2016-12-26 18:40:11',supplier_name = '上海驴妈妈(酒店)',area_id = '802',manage_type = '1',company_name = '上海驴妈妈兴旅国际旅行社有限公司',id_card = '',sett_type = '288',sett_frequency = '295',account_bank = '',account_num = '',account_name = '',sales_man = '蔡思华'
  2339. WHERE
  2340. id = 1087
  2341. 2016-12-26 18:40:12 select base_supplier:SELECT
  2342. id,
  2343. supplier_name,
  2344. area_id,
  2345. is_disabled,
  2346. supplier_type,
  2347. manage_type
  2348. FROM
  2349. base_supplier
  2350. WHERE
  2351. cancel_flag = 0
  2352. AND supplier_type = 301
  2353. LIMIT 0,10
  2354. 2016-12-26 18:40:12 select base_area:SELECT
  2355. id,
  2356. area_name
  2357. FROM
  2358. base_area
  2359. WHERE
  2360. id in(850,961,800,4,797,7,1966,794)
  2361. 2016-12-26 18:40:17 select base_supplier:SELECT
  2362. id,
  2363. supplier_name,
  2364. area_id,
  2365. is_disabled,
  2366. supplier_type,
  2367. manage_type
  2368. FROM
  2369. base_supplier
  2370. WHERE
  2371. cancel_flag = 0
  2372. and supplier_name like '%%驴妈妈%%'
  2373. AND supplier_type = 301
  2374. LIMIT 0,10
  2375. 2016-12-26 18:40:17 select base_area:SELECT
  2376. id,
  2377. area_name
  2378. FROM
  2379. base_area
  2380. WHERE
  2381. id in(794,1161,802)
  2382. 2016-12-26 18:40:21 getListUser base_user:SELECT
  2383. id,
  2384. true_name,
  2385. `status`
  2386. FROM
  2387. base_user
  2388. WHERE
  2389. cancel_flag = 0
  2390. AND org_id = 610
  2391. 2016-12-26 18:40:28 update status base_supplier:UPDATE base_supplier
  2392. SET update_user_id = 33,update_time = '2016-12-26 18:40:28',is_disabled = 0
  2393. WHERE
  2394. id in(610)
  2395. 2016-12-26 18:40:33 select base_supplier:SELECT
  2396. id,
  2397. supplier_name,
  2398. area_id,
  2399. is_disabled,
  2400. supplier_type,
  2401. manage_type
  2402. FROM
  2403. base_supplier
  2404. WHERE
  2405. cancel_flag = 0
  2406. and supplier_name like '%%驴妈妈%%'
  2407. AND supplier_type = 301
  2408. LIMIT 0,10
  2409. 2016-12-26 18:40:33 select base_area:SELECT
  2410. id,
  2411. area_name
  2412. FROM
  2413. base_area
  2414. WHERE
  2415. id in(794,1161,802)
  2416. 2016-12-26 18:49:11 select base_supplier:SELECT
  2417. id,
  2418. supplier_name,
  2419. area_id,
  2420. is_disabled,
  2421. supplier_type
  2422. FROM
  2423. base_supplier a
  2424. WHERE
  2425. cancel_flag = 0
  2426. AND supplier_type = 187
  2427. LIMIT 0,10
  2428. 2016-12-26 18:49:11 count:SELECT
  2429. a.id
  2430. FROM
  2431. base_supplier AS a,
  2432. base_supplier_purchase AS b
  2433. WHERE
  2434. a.id = b.supplier_id
  2435. AND a.cancel_flag = 0
  2436. AND b.cancel_flag = 0
  2437. GROUP BY
  2438. b.supplier_id
  2439. 2016-12-26 18:49:11 select base_area:SELECT
  2440. id,
  2441. area_name
  2442. FROM
  2443. base_area
  2444. WHERE
  2445. id in(923,803,792,1200,961)
  2446. 2016-12-26 18:49:13 select base_supplier:SELECT
  2447. id,
  2448. supplier_name,
  2449. area_id,
  2450. is_disabled,
  2451. supplier_type
  2452. FROM
  2453. base_supplier a
  2454. WHERE
  2455. cancel_flag = 0
  2456. AND supplier_type = 187
  2457. LIMIT 10,10
  2458. 2016-12-26 18:49:13 count:SELECT
  2459. a.id
  2460. FROM
  2461. base_supplier AS a,
  2462. base_supplier_purchase AS b
  2463. WHERE
  2464. a.id = b.supplier_id
  2465. AND a.cancel_flag = 0
  2466. AND b.cancel_flag = 0
  2467. GROUP BY
  2468. b.supplier_id
  2469. 2016-12-26 18:49:13 select base_area:SELECT
  2470. id,
  2471. area_name
  2472. FROM
  2473. base_area
  2474. WHERE
  2475. id in(792,803,923,799,895)
  2476. 2016-12-26 18:49:13 select base_supplier:SELECT
  2477. id,
  2478. supplier_name,
  2479. area_id,
  2480. is_disabled,
  2481. supplier_type
  2482. FROM
  2483. base_supplier a
  2484. WHERE
  2485. cancel_flag = 0
  2486. AND supplier_type = 187
  2487. LIMIT 20,10
  2488. 2016-12-26 18:49:13 count:SELECT
  2489. a.id
  2490. FROM
  2491. base_supplier AS a,
  2492. base_supplier_purchase AS b
  2493. WHERE
  2494. a.id = b.supplier_id
  2495. AND a.cancel_flag = 0
  2496. AND b.cancel_flag = 0
  2497. GROUP BY
  2498. b.supplier_id
  2499. 2016-12-26 18:49:13 select base_area:SELECT
  2500. id,
  2501. area_name
  2502. FROM
  2503. base_area
  2504. WHERE
  2505. id in(803,850,961,800,792,923)
  2506. 2016-12-26 18:49:22 select base_supplier:SELECT
  2507. id,
  2508. supplier_name,
  2509. area_id,
  2510. is_disabled,
  2511. supplier_type,
  2512. manage_type
  2513. FROM
  2514. base_supplier
  2515. WHERE
  2516. cancel_flag = 0
  2517. AND supplier_type = 301
  2518. LIMIT 0,10
  2519. 2016-12-26 18:49:22 select base_area:SELECT
  2520. id,
  2521. area_name
  2522. FROM
  2523. base_area
  2524. WHERE
  2525. id in(850,961,800,4,797,7,1966,794)
  2526. 2016-12-26 18:49:23 select base_supplier:SELECT
  2527. id,
  2528. supplier_name,
  2529. area_id,
  2530. is_disabled,
  2531. supplier_type,
  2532. manage_type
  2533. FROM
  2534. base_supplier
  2535. WHERE
  2536. cancel_flag = 0
  2537. AND supplier_type = 301
  2538. LIMIT 10,10
  2539. 2016-12-26 18:49:23 select base_area:SELECT
  2540. id,
  2541. area_name
  2542. FROM
  2543. base_area
  2544. WHERE
  2545. id in(794,810,850,792)
  2546. 2016-12-26 18:49:24 select base_supplier:SELECT
  2547. id,
  2548. supplier_name,
  2549. area_id,
  2550. is_disabled,
  2551. supplier_type,
  2552. manage_type
  2553. FROM
  2554. base_supplier
  2555. WHERE
  2556. cancel_flag = 0
  2557. AND supplier_type = 301
  2558. LIMIT 20,10
  2559. 2016-12-26 18:49:24 select base_area:SELECT
  2560. id,
  2561. area_name
  2562. FROM
  2563. base_area
  2564. WHERE
  2565. id in(797,850,792,794,2,923,1161)
  2566. 2016-12-26 18:49:24 select base_supplier:SELECT
  2567. id,
  2568. supplier_name,
  2569. area_id,
  2570. is_disabled,
  2571. supplier_type,
  2572. manage_type
  2573. FROM
  2574. base_supplier
  2575. WHERE
  2576. cancel_flag = 0
  2577. AND supplier_type = 301
  2578. LIMIT 30,10
  2579. 2016-12-26 18:49:24 select base_area:SELECT
  2580. id,
  2581. area_name
  2582. FROM
  2583. base_area
  2584. WHERE
  2585. id in(1161,2)
  2586. 2016-12-26 18:49:25 select base_supplier:SELECT
  2587. id,
  2588. supplier_name,
  2589. area_id,
  2590. is_disabled,
  2591. supplier_type,
  2592. manage_type
  2593. FROM
  2594. base_supplier
  2595. WHERE
  2596. cancel_flag = 0
  2597. AND supplier_type = 301
  2598. LIMIT 40,10
  2599. 2016-12-26 18:49:25 select base_area:SELECT
  2600. id,
  2601. area_name
  2602. FROM
  2603. base_area
  2604. WHERE
  2605. id in(1161)
  2606. 2016-12-26 18:49:25 select base_supplier:SELECT
  2607. id,
  2608. supplier_name,
  2609. area_id,
  2610. is_disabled,
  2611. supplier_type,
  2612. manage_type
  2613. FROM
  2614. base_supplier
  2615. WHERE
  2616. cancel_flag = 0
  2617. AND supplier_type = 301
  2618. LIMIT 50,10
  2619. 2016-12-26 18:49:25 select base_area:SELECT
  2620. id,
  2621. area_name
  2622. FROM
  2623. base_area
  2624. WHERE
  2625. id in(1161,850,1200)
  2626. 2016-12-26 18:49:25 select base_supplier:SELECT
  2627. id,
  2628. supplier_name,
  2629. area_id,
  2630. is_disabled,
  2631. supplier_type,
  2632. manage_type
  2633. FROM
  2634. base_supplier
  2635. WHERE
  2636. cancel_flag = 0
  2637. AND supplier_type = 301
  2638. LIMIT 60,10
  2639. 2016-12-26 18:49:25 select base_area:SELECT
  2640. id,
  2641. area_name
  2642. FROM
  2643. base_area
  2644. WHERE
  2645. id in(1161)
  2646. 2016-12-26 18:49:26 select base_supplier:SELECT
  2647. id,
  2648. supplier_name,
  2649. area_id,
  2650. is_disabled,
  2651. supplier_type,
  2652. manage_type
  2653. FROM
  2654. base_supplier
  2655. WHERE
  2656. cancel_flag = 0
  2657. AND supplier_type = 301
  2658. LIMIT 70,10
  2659. 2016-12-26 18:49:26 select base_area:SELECT
  2660. id,
  2661. area_name
  2662. FROM
  2663. base_area
  2664. WHERE
  2665. id in(1161)
  2666. 2016-12-26 18:49:26 select base_supplier:SELECT
  2667. id,
  2668. supplier_name,
  2669. area_id,
  2670. is_disabled,
  2671. supplier_type,
  2672. manage_type
  2673. FROM
  2674. base_supplier
  2675. WHERE
  2676. cancel_flag = 0
  2677. AND supplier_type = 301
  2678. LIMIT 80,10
  2679. 2016-12-26 18:49:26 select base_area:SELECT
  2680. id,
  2681. area_name
  2682. FROM
  2683. base_area
  2684. WHERE
  2685. id in(1161,1200)
  2686. 2016-12-26 18:49:26 select base_supplier:SELECT
  2687. id,
  2688. supplier_name,
  2689. area_id,
  2690. is_disabled,
  2691. supplier_type,
  2692. manage_type
  2693. FROM
  2694. base_supplier
  2695. WHERE
  2696. cancel_flag = 0
  2697. AND supplier_type = 301
  2698. LIMIT 90,10
  2699. 2016-12-26 18:49:26 select base_area:SELECT
  2700. id,
  2701. area_name
  2702. FROM
  2703. base_area
  2704. WHERE
  2705. id in(1161,1187,2)
  2706. 2016-12-26 18:49:26 select base_supplier:SELECT
  2707. id,
  2708. supplier_name,
  2709. area_id,
  2710. is_disabled,
  2711. supplier_type,
  2712. manage_type
  2713. FROM
  2714. base_supplier
  2715. WHERE
  2716. cancel_flag = 0
  2717. AND supplier_type = 301
  2718. LIMIT 100,10
  2719. 2016-12-26 18:49:26 select base_area:SELECT
  2720. id,
  2721. area_name
  2722. FROM
  2723. base_area
  2724. WHERE
  2725. id in(1161,923,2,982,810,803)
  2726. 2016-12-26 18:49:26 select base_supplier:SELECT
  2727. id,
  2728. supplier_name,
  2729. area_id,
  2730. is_disabled,
  2731. supplier_type,
  2732. manage_type
  2733. FROM
  2734. base_supplier
  2735. WHERE
  2736. cancel_flag = 0
  2737. AND supplier_type = 301
  2738. LIMIT 110,10
  2739. 2016-12-26 18:49:26 select base_area:SELECT
  2740. id,
  2741. area_name
  2742. FROM
  2743. base_area
  2744. WHERE
  2745. id in(802)
  2746. 2016-12-26 18:49:29 select base_supplier:SELECT
  2747. id,
  2748. supplier_name,
  2749. area_id,
  2750. is_disabled,
  2751. supplier_type,
  2752. manage_type
  2753. FROM
  2754. base_supplier
  2755. WHERE
  2756. cancel_flag = 0
  2757. AND supplier_type = 301
  2758. LIMIT 100,10
  2759. 2016-12-26 18:49:29 select base_area:SELECT
  2760. id,
  2761. area_name
  2762. FROM
  2763. base_area
  2764. WHERE
  2765. id in(1161,923,2,982,810,803)
  2766. 2016-12-26 18:49:33 select base_supplier:SELECT
  2767. id,
  2768. supplier_name,
  2769. area_id,
  2770. is_disabled,
  2771. supplier_type,
  2772. manage_type
  2773. FROM
  2774. base_supplier
  2775. WHERE
  2776. cancel_flag = 0
  2777. AND supplier_type = 301
  2778. LIMIT 90,10
  2779. 2016-12-26 18:49:33 select base_area:SELECT
  2780. id,
  2781. area_name
  2782. FROM
  2783. base_area
  2784. WHERE
  2785. id in(1161,1187,2)
  2786. 2016-12-26 18:49:34 select base_supplier:SELECT
  2787. id,
  2788. supplier_name,
  2789. area_id,
  2790. is_disabled,
  2791. supplier_type,
  2792. manage_type
  2793. FROM
  2794. base_supplier
  2795. WHERE
  2796. cancel_flag = 0
  2797. AND supplier_type = 301
  2798. LIMIT 70,10
  2799. 2016-12-26 18:49:34 select base_area:SELECT
  2800. id,
  2801. area_name
  2802. FROM
  2803. base_area
  2804. WHERE
  2805. id in(1161)
  2806. 2016-12-26 18:49:34 select base_supplier:SELECT
  2807. id,
  2808. supplier_name,
  2809. area_id,
  2810. is_disabled,
  2811. supplier_type,
  2812. manage_type
  2813. FROM
  2814. base_supplier
  2815. WHERE
  2816. cancel_flag = 0
  2817. AND supplier_type = 301
  2818. LIMIT 80,10
  2819. 2016-12-26 18:49:34 select base_area:SELECT
  2820. id,
  2821. area_name
  2822. FROM
  2823. base_area
  2824. WHERE
  2825. id in(1161,1200)
  2826. 2016-12-26 18:49:35 select base_supplier:SELECT
  2827. id,
  2828. supplier_name,
  2829. area_id,
  2830. is_disabled,
  2831. supplier_type,
  2832. manage_type
  2833. FROM
  2834. base_supplier
  2835. WHERE
  2836. cancel_flag = 0
  2837. AND supplier_type = 301
  2838. LIMIT 110,10
  2839. 2016-12-26 18:49:35 select base_area:SELECT
  2840. id,
  2841. area_name
  2842. FROM
  2843. base_area
  2844. WHERE
  2845. id in(802)
  2846. 2016-12-26 18:49:36 select base_supplier:SELECT
  2847. id,
  2848. supplier_name,
  2849. area_id,
  2850. is_disabled,
  2851. supplier_type,
  2852. manage_type
  2853. FROM
  2854. base_supplier
  2855. WHERE
  2856. cancel_flag = 0
  2857. AND supplier_type = 301
  2858. LIMIT 0,10
  2859. 2016-12-26 18:49:36 select base_area:SELECT
  2860. id,
  2861. area_name
  2862. FROM
  2863. base_area
  2864. WHERE
  2865. id in(850,961,800,4,797,7,1966,794)
  2866. 2016-12-26 18:50:29 select base_supplier_sale:SELECT
  2867. supplier_id,
  2868. product_type,
  2869. parent_type
  2870. FROM
  2871. base_supplier_sale
  2872. WHERE
  2873. product_type = 25 or parent_type = 25 and cancel_flag = 0
  2874. GROUP BY
  2875. supplier_id
  2876. 2016-12-26 18:50:29 select base_supplier:SELECT
  2877. id,
  2878. supplier_name,
  2879. area_id,
  2880. is_disabled,
  2881. supplier_type,
  2882. manage_type
  2883. FROM
  2884. base_supplier
  2885. WHERE
  2886. cancel_flag = 0
  2887. and id in(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  2888. AND supplier_type = 301
  2889. LIMIT 0,10
  2890. 2016-12-26 18:50:29 select base_area:SELECT
  2891. id,
  2892. area_name
  2893. FROM
  2894. base_area
  2895. WHERE
  2896. id in(800,794,2,850,923,982)
  2897. 2016-12-26 18:50:31 select base_supplier_sale:SELECT
  2898. supplier_id,
  2899. product_type,
  2900. parent_type
  2901. FROM
  2902. base_supplier_sale
  2903. WHERE
  2904. product_type = 25 or parent_type = 25 and cancel_flag = 0
  2905. GROUP BY
  2906. supplier_id
  2907. 2016-12-26 18:50:31 select base_supplier:SELECT
  2908. id,
  2909. supplier_name,
  2910. area_id,
  2911. is_disabled,
  2912. supplier_type,
  2913. manage_type
  2914. FROM
  2915. base_supplier
  2916. WHERE
  2917. cancel_flag = 0
  2918. and id in(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  2919. AND supplier_type = 301
  2920. LIMIT 10,10
  2921. 2016-12-26 18:50:31 select base_area:SELECT
  2922. id,
  2923. area_name
  2924. FROM
  2925. base_area
  2926. WHERE
  2927. id in(810,802)
  2928. 2016-12-26 18:50:31 select base_supplier_sale:SELECT
  2929. supplier_id,
  2930. product_type,
  2931. parent_type
  2932. FROM
  2933. base_supplier_sale
  2934. WHERE
  2935. product_type = 25 or parent_type = 25 and cancel_flag = 0
  2936. GROUP BY
  2937. supplier_id
  2938. 2016-12-26 18:50:31 select base_supplier:SELECT
  2939. id,
  2940. supplier_name,
  2941. area_id,
  2942. is_disabled,
  2943. supplier_type,
  2944. manage_type
  2945. FROM
  2946. base_supplier
  2947. WHERE
  2948. cancel_flag = 0
  2949. and id in(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  2950. AND supplier_type = 301
  2951. LIMIT 20,10
  2952. 2016-12-26 18:50:31 select base_supplier_sale:SELECT
  2953. supplier_id,
  2954. product_type,
  2955. parent_type
  2956. FROM
  2957. base_supplier_sale
  2958. WHERE
  2959. product_type = 25 or parent_type = 25 and cancel_flag = 0
  2960. GROUP BY
  2961. supplier_id
  2962. 2016-12-26 18:50:31 select base_supplier:SELECT
  2963. id,
  2964. supplier_name,
  2965. area_id,
  2966. is_disabled,
  2967. supplier_type,
  2968. manage_type
  2969. FROM
  2970. base_supplier
  2971. WHERE
  2972. cancel_flag = 0
  2973. and id in(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  2974. AND supplier_type = 301
  2975. LIMIT -10,10
  2976. 2016-12-26 18:50:31 select base_supplier_sale:SELECT
  2977. supplier_id,
  2978. product_type,
  2979. parent_type
  2980. FROM
  2981. base_supplier_sale
  2982. WHERE
  2983. product_type = 25 or parent_type = 25 and cancel_flag = 0
  2984. GROUP BY
  2985. supplier_id
  2986. 2016-12-26 18:50:31 select base_supplier:SELECT
  2987. id,
  2988. supplier_name,
  2989. area_id,
  2990. is_disabled,
  2991. supplier_type,
  2992. manage_type
  2993. FROM
  2994. base_supplier
  2995. WHERE
  2996. cancel_flag = 0
  2997. and id in(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  2998. AND supplier_type = 301
  2999. LIMIT -10,10
  3000. 2016-12-26 18:50:33 select base_supplier_sale:SELECT
  3001. supplier_id,
  3002. product_type,
  3003. parent_type
  3004. FROM
  3005. base_supplier_sale
  3006. WHERE
  3007. product_type = 25 or parent_type = 25 and cancel_flag = 0
  3008. GROUP BY
  3009. supplier_id
  3010. 2016-12-26 18:50:33 select base_supplier:SELECT
  3011. id,
  3012. supplier_name,
  3013. area_id,
  3014. is_disabled,
  3015. supplier_type,
  3016. manage_type
  3017. FROM
  3018. base_supplier
  3019. WHERE
  3020. cancel_flag = 0
  3021. and id in(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  3022. AND supplier_type = 301
  3023. LIMIT 0,10
  3024. 2016-12-26 18:50:33 select base_area:SELECT
  3025. id,
  3026. area_name
  3027. FROM
  3028. base_area
  3029. WHERE
  3030. id in(800,794,2,850,923,982)
  3031. 2016-12-26 18:50:35 select base_supplier_sale:SELECT
  3032. supplier_id,
  3033. product_type,
  3034. parent_type
  3035. FROM
  3036. base_supplier_sale
  3037. WHERE
  3038. product_type = 25 or parent_type = 25 and cancel_flag = 0
  3039. GROUP BY
  3040. supplier_id
  3041. 2016-12-26 18:50:35 select base_supplier:SELECT
  3042. id,
  3043. supplier_name,
  3044. area_id,
  3045. is_disabled,
  3046. supplier_type,
  3047. manage_type
  3048. FROM
  3049. base_supplier
  3050. WHERE
  3051. cancel_flag = 0
  3052. and id in(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  3053. AND supplier_type = 301
  3054. LIMIT 10,10
  3055. 2016-12-26 18:50:35 select base_area:SELECT
  3056. id,
  3057. area_name
  3058. FROM
  3059. base_area
  3060. WHERE
  3061. id in(810,802)
  3062. 2016-12-26 18:50:35 select base_supplier_sale:SELECT
  3063. supplier_id,
  3064. product_type,
  3065. parent_type
  3066. FROM
  3067. base_supplier_sale
  3068. WHERE
  3069. product_type = 25 or parent_type = 25 and cancel_flag = 0
  3070. GROUP BY
  3071. supplier_id
  3072. 2016-12-26 18:50:35 select base_supplier:SELECT
  3073. id,
  3074. supplier_name,
  3075. area_id,
  3076. is_disabled,
  3077. supplier_type,
  3078. manage_type
  3079. FROM
  3080. base_supplier
  3081. WHERE
  3082. cancel_flag = 0
  3083. and id in(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  3084. AND supplier_type = 301
  3085. LIMIT 10,10
  3086. 2016-12-26 18:50:35 select base_area:SELECT
  3087. id,
  3088. area_name
  3089. FROM
  3090. base_area
  3091. WHERE
  3092. id in(810,802)
  3093. 2016-12-26 18:50:35 select base_supplier_sale:SELECT
  3094. supplier_id,
  3095. product_type,
  3096. parent_type
  3097. FROM
  3098. base_supplier_sale
  3099. WHERE
  3100. product_type = 25 or parent_type = 25 and cancel_flag = 0
  3101. GROUP BY
  3102. supplier_id
  3103. 2016-12-26 18:50:35 select base_supplier:SELECT
  3104. id,
  3105. supplier_name,
  3106. area_id,
  3107. is_disabled,
  3108. supplier_type,
  3109. manage_type
  3110. FROM
  3111. base_supplier
  3112. WHERE
  3113. cancel_flag = 0
  3114. and id in(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  3115. AND supplier_type = 301
  3116. LIMIT 10,10
  3117. 2016-12-26 18:50:35 select base_area:SELECT
  3118. id,
  3119. area_name
  3120. FROM
  3121. base_area
  3122. WHERE
  3123. id in(810,802)
  3124. 2016-12-26 18:50:35 select base_supplier_sale:SELECT
  3125. supplier_id,
  3126. product_type,
  3127. parent_type
  3128. FROM
  3129. base_supplier_sale
  3130. WHERE
  3131. product_type = 25 or parent_type = 25 and cancel_flag = 0
  3132. GROUP BY
  3133. supplier_id
  3134. 2016-12-26 18:50:35 select base_supplier:SELECT
  3135. id,
  3136. supplier_name,
  3137. area_id,
  3138. is_disabled,
  3139. supplier_type,
  3140. manage_type
  3141. FROM
  3142. base_supplier
  3143. WHERE
  3144. cancel_flag = 0
  3145. and id in(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  3146. AND supplier_type = 301
  3147. LIMIT 10,10
  3148. 2016-12-26 18:50:35 select base_area:SELECT
  3149. id,
  3150. area_name
  3151. FROM
  3152. base_area
  3153. WHERE
  3154. id in(810,802)
  3155. 2016-12-26 18:50:35 select base_supplier_sale:SELECT
  3156. supplier_id,
  3157. product_type,
  3158. parent_type
  3159. FROM
  3160. base_supplier_sale
  3161. WHERE
  3162. product_type = 25 or parent_type = 25 and cancel_flag = 0
  3163. GROUP BY
  3164. supplier_id
  3165. 2016-12-26 18:50:35 select base_supplier:SELECT
  3166. id,
  3167. supplier_name,
  3168. area_id,
  3169. is_disabled,
  3170. supplier_type,
  3171. manage_type
  3172. FROM
  3173. base_supplier
  3174. WHERE
  3175. cancel_flag = 0
  3176. and id in(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087)
  3177. AND supplier_type = 301
  3178. LIMIT 10,10
  3179. 2016-12-26 18:50:35 select base_area:SELECT
  3180. id,
  3181. area_name
  3182. FROM
  3183. base_area
  3184. WHERE
  3185. id in(810,802)
  3186. 2016-12-26 18:58:31 check base_supplier:SELECT
  3187. supplier_name
  3188. FROM
  3189. base_supplier
  3190. WHERE
  3191. cancel_flag = 0
  3192. AND supplier_type = 301
  3193. AND supplier_name = ''
  3194. 2016-12-26 21:29:58 select base_supplier:SELECT
  3195. id,
  3196. supplier_name,
  3197. area_id,
  3198. is_disabled,
  3199. supplier_type
  3200. FROM
  3201. base_supplier a
  3202. WHERE
  3203. cancel_flag = 0
  3204. AND supplier_type = 187
  3205. LIMIT 0,10
  3206. 2016-12-26 21:29:58 count:SELECT
  3207. a.id
  3208. FROM
  3209. base_supplier AS a,
  3210. base_supplier_purchase AS b
  3211. WHERE
  3212. a.id = b.supplier_id
  3213. AND a.cancel_flag = 0
  3214. AND b.cancel_flag = 0
  3215. GROUP BY
  3216. b.supplier_id
  3217. 2016-12-26 21:29:58 select base_area:SELECT
  3218. id,
  3219. area_name
  3220. FROM
  3221. base_area
  3222. WHERE
  3223. id in(923,803,792,1200,961)
  3224. 2016-12-26 21:33:45 select base_supplier:SELECT
  3225. id,
  3226. supplier_name,
  3227. area_id,
  3228. is_disabled,
  3229. supplier_type
  3230. FROM
  3231. base_supplier a
  3232. WHERE
  3233. cancel_flag = 0
  3234. AND supplier_type = 187
  3235. LIMIT 0,10
  3236. 2016-12-26 21:33:45 count:SELECT
  3237. a.id
  3238. FROM
  3239. base_supplier AS a,
  3240. base_supplier_purchase AS b
  3241. WHERE
  3242. a.id = b.supplier_id
  3243. AND a.cancel_flag = 0
  3244. AND b.cancel_flag = 0
  3245. GROUP BY
  3246. b.supplier_id
  3247. 2016-12-26 21:33:45 select base_area:SELECT
  3248. id,
  3249. area_name
  3250. FROM
  3251. base_area
  3252. WHERE
  3253. id in(923,803,792,1200,961)