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.
 
 
 
 

4898 lines
190 KiB

  1. 2016-12-30 09:18:44 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-30 09:18:44 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-30 09:18:44 select base_area:SELECT
  25. id,
  26. area_name
  27. FROM
  28. base_area
  29. WHERE
  30. id in(792,923,810)
  31. 2016-12-30 09:40:19 select base_supplier:SELECT
  32. id,
  33. supplier_name,
  34. area_id,
  35. is_disabled,
  36. supplier_type
  37. FROM
  38. base_supplier a
  39. WHERE
  40. cancel_flag = 0
  41. AND supplier_type = 187
  42. LIMIT 0,10
  43. 2016-12-30 09:40:19 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-30 09:40:19 select base_area:SELECT
  55. id,
  56. area_name
  57. FROM
  58. base_area
  59. WHERE
  60. id in(792,923,810)
  61. 2016-12-30 09:40:32 select base_supplier:SELECT
  62. id,
  63. supplier_name,
  64. area_id,
  65. is_disabled,
  66. supplier_type,
  67. manage_type
  68. FROM
  69. base_supplier
  70. WHERE
  71. cancel_flag = 0
  72. AND supplier_type = 301
  73. LIMIT 0,10
  74. 2016-12-30 09:40:32 select base_area:SELECT
  75. id,
  76. area_name
  77. FROM
  78. base_area
  79. WHERE
  80. id in(792,810,794,850,797,923)
  81. 2016-12-30 09:47:35 select base_supplier:SELECT
  82. id,
  83. supplier_name,
  84. area_id,
  85. is_disabled,
  86. supplier_type,
  87. manage_type
  88. FROM
  89. base_supplier
  90. WHERE
  91. cancel_flag = 0
  92. AND supplier_type = 301
  93. LIMIT 0,10
  94. 2016-12-30 09:47:35 select base_area:SELECT
  95. id,
  96. area_name
  97. FROM
  98. base_area
  99. WHERE
  100. id in(792,810,794,850,797,923)
  101. 2016-12-30 09:47:38 select base_supplier:SELECT
  102. id,
  103. supplier_name,
  104. area_id,
  105. is_disabled,
  106. supplier_type
  107. FROM
  108. base_supplier a
  109. WHERE
  110. cancel_flag = 0
  111. AND supplier_type = 187
  112. LIMIT 0,10
  113. 2016-12-30 09:47:38 count:SELECT
  114. a.id
  115. FROM
  116. base_supplier AS a,
  117. base_supplier_purchase AS b
  118. WHERE
  119. a.id = b.supplier_id
  120. AND a.cancel_flag = 0
  121. AND b.cancel_flag = 0
  122. GROUP BY
  123. b.supplier_id
  124. 2016-12-30 09:47:38 select base_area:SELECT
  125. id,
  126. area_name
  127. FROM
  128. base_area
  129. WHERE
  130. id in(792,923,810)
  131. 2016-12-30 09:47:41 select base_supplier:SELECT
  132. id,
  133. supplier_name,
  134. area_id,
  135. is_disabled,
  136. supplier_type
  137. FROM
  138. base_supplier a
  139. WHERE
  140. cancel_flag = 0
  141. AND supplier_type = 187
  142. LIMIT 10,10
  143. 2016-12-30 09:47:41 count:SELECT
  144. a.id
  145. FROM
  146. base_supplier AS a,
  147. base_supplier_purchase AS b
  148. WHERE
  149. a.id = b.supplier_id
  150. AND a.cancel_flag = 0
  151. AND b.cancel_flag = 0
  152. GROUP BY
  153. b.supplier_id
  154. 2016-12-30 09:47:41 select base_area:SELECT
  155. id,
  156. area_name
  157. FROM
  158. base_area
  159. WHERE
  160. id in(792,876,810,1161,923)
  161. 2016-12-30 09:47:42 select base_supplier:SELECT
  162. id,
  163. supplier_name,
  164. area_id,
  165. is_disabled,
  166. supplier_type
  167. FROM
  168. base_supplier a
  169. WHERE
  170. cancel_flag = 0
  171. AND supplier_type = 187
  172. LIMIT 20,10
  173. 2016-12-30 09:47:42 count:SELECT
  174. a.id
  175. FROM
  176. base_supplier AS a,
  177. base_supplier_purchase AS b
  178. WHERE
  179. a.id = b.supplier_id
  180. AND a.cancel_flag = 0
  181. AND b.cancel_flag = 0
  182. GROUP BY
  183. b.supplier_id
  184. 2016-12-30 09:47:42 select base_area:SELECT
  185. id,
  186. area_name
  187. FROM
  188. base_area
  189. WHERE
  190. id in(803,792,1200,961)
  191. 2016-12-30 10:01:30 select base_supplier:SELECT
  192. id,
  193. supplier_name,
  194. area_id,
  195. is_disabled,
  196. supplier_type
  197. FROM
  198. base_supplier a
  199. WHERE
  200. cancel_flag = 0
  201. AND supplier_type = 187
  202. LIMIT 0,10
  203. 2016-12-30 10:01:30 count:SELECT
  204. a.id
  205. FROM
  206. base_supplier AS a,
  207. base_supplier_purchase AS b
  208. WHERE
  209. a.id = b.supplier_id
  210. AND a.cancel_flag = 0
  211. AND b.cancel_flag = 0
  212. GROUP BY
  213. b.supplier_id
  214. 2016-12-30 10:01:30 select base_area:SELECT
  215. id,
  216. area_name
  217. FROM
  218. base_area
  219. WHERE
  220. id in(792,923,810)
  221. 2016-12-30 10:02:07 select base_supplier:SELECT
  222. id,
  223. supplier_name,
  224. area_id,
  225. is_disabled,
  226. supplier_type
  227. FROM
  228. base_supplier a
  229. WHERE
  230. cancel_flag = 0
  231. AND supplier_type = 187
  232. LIMIT 0,10
  233. 2016-12-30 10:02:07 count:SELECT
  234. a.id
  235. FROM
  236. base_supplier AS a,
  237. base_supplier_purchase AS b
  238. WHERE
  239. a.id = b.supplier_id
  240. AND a.cancel_flag = 0
  241. AND b.cancel_flag = 0
  242. GROUP BY
  243. b.supplier_id
  244. 2016-12-30 10:02:07 select base_area:SELECT
  245. id,
  246. area_name
  247. FROM
  248. base_area
  249. WHERE
  250. id in(792,923,810)
  251. 2016-12-30 10:02:16 select base_supplier:SELECT
  252. id,
  253. supplier_name,
  254. area_id,
  255. is_disabled,
  256. supplier_type
  257. FROM
  258. base_supplier a
  259. WHERE
  260. cancel_flag = 0
  261. and a.supplier_name like '%%滨江希尔顿%%'
  262. AND supplier_type = 187
  263. LIMIT 0,10
  264. 2016-12-30 10:02:16 count:SELECT
  265. a.id
  266. FROM
  267. base_supplier AS a,
  268. base_supplier_purchase AS b
  269. WHERE
  270. a.id = b.supplier_id
  271. and a.supplier_name like '%%滨江希尔顿%%'
  272. AND a.cancel_flag = 0
  273. AND b.cancel_flag = 0
  274. GROUP BY
  275. b.supplier_id
  276. 2016-12-30 10:02:16 select base_area:SELECT
  277. id,
  278. area_name
  279. FROM
  280. base_area
  281. WHERE
  282. id in(923)
  283. 2016-12-30 10:02:17 getListUser base_user:SELECT
  284. id,
  285. true_name,
  286. `status`
  287. FROM
  288. base_user
  289. WHERE
  290. cancel_flag = 0
  291. AND org_id = 1035
  292. 2016-12-30 10:02:23 select base_area:SELECT
  293. id,
  294. area_name
  295. FROM
  296. base_area
  297. WHERE
  298. parent_id = 0
  299. 2016-12-30 10:02:23 select base_supplier:SELECT
  300. id,
  301. supplier_name,
  302. area_id,
  303. company_name,
  304. sett_type,
  305. sett_frequency,
  306. account_bank,
  307. account_num,
  308. account_name
  309. FROM
  310. base_supplier
  311. WHERE
  312. cancel_flag = 0
  313. AND id = 1035
  314. 2016-12-30 10:02:23 select base_area:SELECT
  315. id,
  316. area_name,
  317. parent_id
  318. FROM
  319. base_area
  320. WHERE
  321. cancel_flag = 0
  322. AND id = 923
  323. 2016-12-30 10:02:23 select base_area:SELECT
  324. id,
  325. area_name
  326. FROM
  327. base_area
  328. WHERE
  329. cancel_flag = 0
  330. AND id = 922
  331. 2016-12-30 10:02:23 select base_supplier_purchase:SELECT
  332. id,
  333. product_type,
  334. purchaser_name
  335. FROM
  336. base_supplier_purchase
  337. WHERE
  338. cancel_flag = 0
  339. AND supplier_id = 1035
  340. 2016-12-30 10:02:23 select base_supplier_link:SELECT
  341. id,
  342. link_name,
  343. contact_name,
  344. contact_mobile,
  345. contact_telphone,
  346. fax,
  347. email,
  348. remark
  349. FROM
  350. base_supplier_link
  351. WHERE
  352. cancel_flag = 0
  353. AND supplier_id = 1035
  354. 2016-12-30 10:02:23 select base_area:SELECT
  355. id,
  356. area_name
  357. FROM
  358. base_area
  359. WHERE
  360. parent_id = 922
  361. 2016-12-30 10:02:49 check base_supplier:SELECT
  362. supplier_name
  363. FROM
  364. base_supplier
  365. WHERE
  366. cancel_flag = 0
  367. AND supplier_type = 187
  368. AND supplier_name = '千岛湖滨江希尔顿' and id != 1035
  369. 2016-12-30 10:03:17 check base_supplier:SELECT
  370. supplier_name
  371. FROM
  372. base_supplier
  373. WHERE
  374. cancel_flag = 0
  375. AND supplier_type = 187
  376. AND supplier_name = '千岛湖滨江希尔顿酒店' and id != 1035
  377. 2016-12-30 10:03:46 check base_supplier:SELECT
  378. supplier_name
  379. FROM
  380. base_supplier
  381. WHERE
  382. cancel_flag = 0
  383. AND supplier_type = 187
  384. AND supplier_name = '千岛湖青年旅行社' and id != 1035
  385. 2016-12-30 10:04:47 check base_supplier:SELECT
  386. supplier_name
  387. FROM
  388. base_supplier
  389. WHERE
  390. cancel_flag = 0
  391. AND supplier_type = 187
  392. AND supplier_name = '千岛湖千旅集散旅游中心' and id != 1035
  393. 2016-12-30 10:05:07 getDbPurchase base_supplier_purchase:SELECT
  394. id AS purchase_id,
  395. product_type,
  396. purchaser_name
  397. FROM
  398. base_supplier_purchase
  399. WHERE
  400. cancel_flag = 0
  401. AND supplier_id = 1035
  402. 2016-12-30 10:05:07 getDbLink base_supplier_link:SELECT
  403. id as link_id,
  404. link_name,
  405. contact_name,
  406. contact_mobile,
  407. contact_telphone,
  408. fax,
  409. email,
  410. remark
  411. FROM
  412. base_supplier_link
  413. WHERE
  414. cancel_flag = 0
  415. AND supplier_id = 1035
  416. 2016-12-30 10:05:07 getDbChannel base_supplier:SELECT
  417. supplier_name,
  418. area_id,
  419. company_name,
  420. sett_type,
  421. sett_frequency,
  422. account_bank,
  423. account_num,
  424. account_name
  425. FROM
  426. base_supplier
  427. WHERE
  428. cancel_flag = 0
  429. AND id = 1035
  430. 2016-12-30 10:05:07 UPDATE base_supplier:UPDATE base_supplier
  431. SET update_user_id = 282,update_time = '2016-12-30 10:05:07',supplier_name = '千岛湖千旅集散旅游中心',area_id = '923',company_name = '千岛湖千旅集散旅游中心',sett_type = '275',sett_frequency = '295',account_bank = '',account_num = '',account_name = ''
  432. WHERE
  433. id = 1035
  434. 2016-12-30 10:05:07 INSERT base_supplier_purchase:INSERT INTO base_supplier_purchase (
  435. create_user_id,
  436. create_time,
  437. supplier_id,
  438. product_type,
  439. purchaser_name
  440. )
  441. VALUES (282,'2016-12-30 10:05:07',1035,25,'邵佳楠')
  442. 2016-12-30 10:05:07 delete base_supplier_sale:UPDATE base_supplier_purchase
  443. SET update_user_id = 282,update_time = '2016-12-30 10:05:07',cancel_flag = 1
  444. WHERE
  445. id = 59
  446. 2016-12-30 10:05:07 UPDATE base_supplier_link:UPDATE base_supplier_link
  447. SET update_user_id = 282,update_time = '2016-12-30 10:05:07',link_name = '销售',contact_name = '翁剑文',contact_mobile = '',contact_telphone = '',fax = '',email = '',remark = ''
  448. WHERE
  449. id = 76
  450. 2016-12-30 10:05:08 select base_supplier:SELECT
  451. id,
  452. supplier_name,
  453. area_id,
  454. is_disabled,
  455. supplier_type
  456. FROM
  457. base_supplier a
  458. WHERE
  459. cancel_flag = 0
  460. AND supplier_type = 187
  461. LIMIT 0,10
  462. 2016-12-30 10:05:08 count:SELECT
  463. a.id
  464. FROM
  465. base_supplier AS a,
  466. base_supplier_purchase AS b
  467. WHERE
  468. a.id = b.supplier_id
  469. AND a.cancel_flag = 0
  470. AND b.cancel_flag = 0
  471. GROUP BY
  472. b.supplier_id
  473. 2016-12-30 10:05:08 select base_area:SELECT
  474. id,
  475. area_name
  476. FROM
  477. base_area
  478. WHERE
  479. id in(792,923,810)
  480. 2016-12-30 10:06:01 select base_supplier:SELECT
  481. id,
  482. supplier_name,
  483. area_id,
  484. is_disabled,
  485. supplier_type
  486. FROM
  487. base_supplier a
  488. WHERE
  489. cancel_flag = 0
  490. AND supplier_type = 187
  491. LIMIT 0,10
  492. 2016-12-30 10:06:01 count:SELECT
  493. a.id
  494. FROM
  495. base_supplier AS a,
  496. base_supplier_purchase AS b
  497. WHERE
  498. a.id = b.supplier_id
  499. AND a.cancel_flag = 0
  500. AND b.cancel_flag = 0
  501. GROUP BY
  502. b.supplier_id
  503. 2016-12-30 10:06:01 select base_area:SELECT
  504. id,
  505. area_name
  506. FROM
  507. base_area
  508. WHERE
  509. id in(792,923,810)
  510. 2016-12-30 10:06:09 select base_supplier:SELECT
  511. id,
  512. supplier_name,
  513. area_id,
  514. is_disabled,
  515. supplier_type
  516. FROM
  517. base_supplier a
  518. WHERE
  519. cancel_flag = 0
  520. and a.supplier_name like '%%千岛湖%%'
  521. AND supplier_type = 187
  522. LIMIT 0,10
  523. 2016-12-30 10:06:09 count:SELECT
  524. a.id
  525. FROM
  526. base_supplier AS a,
  527. base_supplier_purchase AS b
  528. WHERE
  529. a.id = b.supplier_id
  530. and a.supplier_name like '%%千岛湖%%'
  531. AND a.cancel_flag = 0
  532. AND b.cancel_flag = 0
  533. GROUP BY
  534. b.supplier_id
  535. 2016-12-30 10:06:09 select base_area:SELECT
  536. id,
  537. area_name
  538. FROM
  539. base_area
  540. WHERE
  541. id in(923,792)
  542. 2016-12-30 10:06:16 select base_area:SELECT
  543. id,
  544. area_name
  545. FROM
  546. base_area
  547. WHERE
  548. parent_id = 0
  549. 2016-12-30 10:06:16 select base_supplier:SELECT
  550. id,
  551. supplier_name,
  552. area_id,
  553. company_name,
  554. sett_type,
  555. sett_frequency,
  556. account_bank,
  557. account_num,
  558. account_name
  559. FROM
  560. base_supplier
  561. WHERE
  562. cancel_flag = 0
  563. AND id = 1035
  564. 2016-12-30 10:06:16 select base_area:SELECT
  565. id,
  566. area_name,
  567. parent_id
  568. FROM
  569. base_area
  570. WHERE
  571. cancel_flag = 0
  572. AND id = 923
  573. 2016-12-30 10:06:16 select base_area:SELECT
  574. id,
  575. area_name
  576. FROM
  577. base_area
  578. WHERE
  579. cancel_flag = 0
  580. AND id = 922
  581. 2016-12-30 10:06:16 select base_supplier_purchase:SELECT
  582. id,
  583. product_type,
  584. purchaser_name
  585. FROM
  586. base_supplier_purchase
  587. WHERE
  588. cancel_flag = 0
  589. AND supplier_id = 1035
  590. 2016-12-30 10:06:16 select base_supplier_link:SELECT
  591. id,
  592. link_name,
  593. contact_name,
  594. contact_mobile,
  595. contact_telphone,
  596. fax,
  597. email,
  598. remark
  599. FROM
  600. base_supplier_link
  601. WHERE
  602. cancel_flag = 0
  603. AND supplier_id = 1035
  604. 2016-12-30 10:06:16 select base_area:SELECT
  605. id,
  606. area_name
  607. FROM
  608. base_area
  609. WHERE
  610. parent_id = 922
  611. 2016-12-30 10:06:48 check base_supplier:SELECT
  612. supplier_name
  613. FROM
  614. base_supplier
  615. WHERE
  616. cancel_flag = 0
  617. AND supplier_type = 187
  618. AND supplier_name = '千岛湖千旅集散旅游中心' and id != 1035
  619. 2016-12-30 10:06:57 check base_supplier:SELECT
  620. supplier_name
  621. FROM
  622. base_supplier
  623. WHERE
  624. cancel_flag = 0
  625. AND supplier_type = 187
  626. AND supplier_name = '千岛湖千旅集散旅游中心' and id != 1035
  627. 2016-12-30 10:17:19 select base_supplier:SELECT
  628. id,
  629. supplier_name,
  630. area_id,
  631. is_disabled,
  632. supplier_type
  633. FROM
  634. base_supplier a
  635. WHERE
  636. cancel_flag = 0
  637. AND supplier_type = 187
  638. LIMIT 0,10
  639. 2016-12-30 10:17:19 count:SELECT
  640. a.id
  641. FROM
  642. base_supplier AS a,
  643. base_supplier_purchase AS b
  644. WHERE
  645. a.id = b.supplier_id
  646. AND a.cancel_flag = 0
  647. AND b.cancel_flag = 0
  648. GROUP BY
  649. b.supplier_id
  650. 2016-12-30 10:17:19 select base_area:SELECT
  651. id,
  652. area_name
  653. FROM
  654. base_area
  655. WHERE
  656. id in(792,923,810)
  657. 2016-12-30 10:17:25 select base_supplier:SELECT
  658. id,
  659. supplier_name,
  660. area_id,
  661. is_disabled,
  662. supplier_type,
  663. manage_type
  664. FROM
  665. base_supplier
  666. WHERE
  667. cancel_flag = 0
  668. AND supplier_type = 301
  669. LIMIT 0,10
  670. 2016-12-30 10:17:25 select base_area:SELECT
  671. id,
  672. area_name
  673. FROM
  674. base_area
  675. WHERE
  676. id in(792,810,794,850,797,923)
  677. 2016-12-30 10:17:30 getListUser base_user:SELECT
  678. id,
  679. true_name,
  680. `status`
  681. FROM
  682. base_user
  683. WHERE
  684. cancel_flag = 0
  685. AND org_id = 3
  686. 2016-12-30 10:17:40 getListUser base_user:SELECT
  687. id,
  688. true_name,
  689. `status`
  690. FROM
  691. base_user
  692. WHERE
  693. cancel_flag = 0
  694. AND org_id = 3
  695. 2016-12-30 10:28:44 select base_supplier:SELECT
  696. id,
  697. supplier_name,
  698. area_id,
  699. is_disabled,
  700. supplier_type,
  701. manage_type
  702. FROM
  703. base_supplier
  704. WHERE
  705. cancel_flag = 0
  706. AND supplier_type = 301
  707. LIMIT 0,10
  708. 2016-12-30 10:28:44 select base_area:SELECT
  709. id,
  710. area_name
  711. FROM
  712. base_area
  713. WHERE
  714. id in(792,810,794,850,797,923)
  715. 2016-12-30 10:42:35 select base_supplier:SELECT
  716. id,
  717. supplier_name,
  718. area_id,
  719. is_disabled,
  720. supplier_type,
  721. manage_type
  722. FROM
  723. base_supplier
  724. WHERE
  725. cancel_flag = 0
  726. AND supplier_type = 301
  727. LIMIT 0,10
  728. 2016-12-30 10:42:35 select base_area:SELECT
  729. id,
  730. area_name
  731. FROM
  732. base_area
  733. WHERE
  734. id in(792,810,794,850,797,923)
  735. 2016-12-30 10:50:20 select base_supplier:SELECT
  736. id,
  737. supplier_name,
  738. area_id,
  739. is_disabled,
  740. supplier_type,
  741. manage_type
  742. FROM
  743. base_supplier
  744. WHERE
  745. cancel_flag = 0
  746. AND supplier_type = 301
  747. LIMIT 0,10
  748. 2016-12-30 10:50:20 select base_area:SELECT
  749. id,
  750. area_name
  751. FROM
  752. base_area
  753. WHERE
  754. id in(792,810,794,850,797,923)
  755. 2016-12-30 10:50:25 select base_supplier:SELECT
  756. id,
  757. supplier_name,
  758. area_id,
  759. is_disabled,
  760. supplier_type,
  761. manage_type
  762. FROM
  763. base_supplier
  764. WHERE
  765. cancel_flag = 0
  766. and supplier_name like '%%舟山%%'
  767. AND supplier_type = 301
  768. LIMIT 0,10
  769. 2016-12-30 11:30:00 select base_supplier:SELECT
  770. id,
  771. supplier_name,
  772. area_id,
  773. is_disabled,
  774. supplier_type,
  775. manage_type
  776. FROM
  777. base_supplier
  778. WHERE
  779. cancel_flag = 0
  780. AND supplier_type = 301
  781. LIMIT 0,10
  782. 2016-12-30 11:30:00 select base_area:SELECT
  783. id,
  784. area_name
  785. FROM
  786. base_area
  787. WHERE
  788. id in(792,810,794,850,797,923)
  789. 2016-12-30 11:42:51 select base_supplier:SELECT
  790. id,
  791. supplier_name,
  792. area_id,
  793. is_disabled,
  794. supplier_type
  795. FROM
  796. base_supplier a
  797. WHERE
  798. cancel_flag = 0
  799. AND supplier_type = 187
  800. LIMIT 0,10
  801. 2016-12-30 11:42:51 count:SELECT
  802. a.id
  803. FROM
  804. base_supplier AS a,
  805. base_supplier_purchase AS b
  806. WHERE
  807. a.id = b.supplier_id
  808. AND a.cancel_flag = 0
  809. AND b.cancel_flag = 0
  810. GROUP BY
  811. b.supplier_id
  812. 2016-12-30 11:42:51 select base_area:SELECT
  813. id,
  814. area_name
  815. FROM
  816. base_area
  817. WHERE
  818. id in(792,923,810)
  819. 2016-12-30 11:42:52 select base_supplier:SELECT
  820. id,
  821. supplier_name,
  822. area_id,
  823. is_disabled,
  824. supplier_type,
  825. manage_type
  826. FROM
  827. base_supplier
  828. WHERE
  829. cancel_flag = 0
  830. AND supplier_type = 301
  831. LIMIT 0,10
  832. 2016-12-30 11:42:52 select base_area:SELECT
  833. id,
  834. area_name
  835. FROM
  836. base_area
  837. WHERE
  838. id in(792,810,794,850,797,923)
  839. 2016-12-30 11:58:28 select base_supplier:SELECT
  840. id,
  841. supplier_name,
  842. area_id,
  843. is_disabled,
  844. supplier_type
  845. FROM
  846. base_supplier a
  847. WHERE
  848. cancel_flag = 0
  849. AND supplier_type = 187
  850. LIMIT 0,10
  851. 2016-12-30 11:58:28 count:SELECT
  852. a.id
  853. FROM
  854. base_supplier AS a,
  855. base_supplier_purchase AS b
  856. WHERE
  857. a.id = b.supplier_id
  858. AND a.cancel_flag = 0
  859. AND b.cancel_flag = 0
  860. GROUP BY
  861. b.supplier_id
  862. 2016-12-30 11:58:28 select base_area:SELECT
  863. id,
  864. area_name
  865. FROM
  866. base_area
  867. WHERE
  868. id in(792,923,810)
  869. 2016-12-30 11:58:29 select base_supplier:SELECT
  870. id,
  871. supplier_name,
  872. area_id,
  873. is_disabled,
  874. supplier_type,
  875. manage_type
  876. FROM
  877. base_supplier
  878. WHERE
  879. cancel_flag = 0
  880. AND supplier_type = 301
  881. LIMIT 0,10
  882. 2016-12-30 11:58:29 select base_area:SELECT
  883. id,
  884. area_name
  885. FROM
  886. base_area
  887. WHERE
  888. id in(792,810,794,850,797,923)
  889. 2016-12-30 13:30:02 select base_supplier:SELECT
  890. id,
  891. supplier_name,
  892. area_id,
  893. is_disabled,
  894. supplier_type
  895. FROM
  896. base_supplier a
  897. WHERE
  898. cancel_flag = 0
  899. AND supplier_type = 187
  900. LIMIT 0,10
  901. 2016-12-30 13:30:02 count:SELECT
  902. a.id
  903. FROM
  904. base_supplier AS a,
  905. base_supplier_purchase AS b
  906. WHERE
  907. a.id = b.supplier_id
  908. AND a.cancel_flag = 0
  909. AND b.cancel_flag = 0
  910. GROUP BY
  911. b.supplier_id
  912. 2016-12-30 13:30:02 select base_area:SELECT
  913. id,
  914. area_name
  915. FROM
  916. base_area
  917. WHERE
  918. id in(792,923,810)
  919. 2016-12-30 13:30:12 select base_area:SELECT
  920. id,
  921. area_name
  922. FROM
  923. base_area
  924. WHERE
  925. parent_id = 0
  926. 2016-12-30 13:30:12 select base_supplier:SELECT
  927. id,
  928. supplier_name,
  929. area_id,
  930. company_name,
  931. sett_type,
  932. sett_frequency,
  933. account_bank,
  934. account_num,
  935. account_name
  936. FROM
  937. base_supplier
  938. WHERE
  939. cancel_flag = 0
  940. AND id = 401
  941. 2016-12-30 13:30:12 select base_area:SELECT
  942. id,
  943. area_name,
  944. parent_id
  945. FROM
  946. base_area
  947. WHERE
  948. cancel_flag = 0
  949. AND id = 792
  950. 2016-12-30 13:30:12 select base_area:SELECT
  951. id,
  952. area_name
  953. FROM
  954. base_area
  955. WHERE
  956. cancel_flag = 0
  957. AND id = 791
  958. 2016-12-30 13:30:12 select base_supplier_purchase:SELECT
  959. id,
  960. product_type,
  961. purchaser_name
  962. FROM
  963. base_supplier_purchase
  964. WHERE
  965. cancel_flag = 0
  966. AND supplier_id = 401
  967. 2016-12-30 13:30:12 select base_supplier_link:SELECT
  968. id,
  969. link_name,
  970. contact_name,
  971. contact_mobile,
  972. contact_telphone,
  973. fax,
  974. email,
  975. remark
  976. FROM
  977. base_supplier_link
  978. WHERE
  979. cancel_flag = 0
  980. AND supplier_id = 401
  981. 2016-12-30 13:30:12 select base_area:SELECT
  982. id,
  983. area_name
  984. FROM
  985. base_area
  986. WHERE
  987. parent_id = 791
  988. 2016-12-30 13:32:54 select base_supplier:SELECT
  989. id,
  990. supplier_name,
  991. area_id,
  992. is_disabled,
  993. supplier_type
  994. FROM
  995. base_supplier a
  996. WHERE
  997. cancel_flag = 0
  998. AND supplier_type = 187
  999. LIMIT 0,10
  1000. 2016-12-30 13:32:54 count:SELECT
  1001. a.id
  1002. FROM
  1003. base_supplier AS a,
  1004. base_supplier_purchase AS b
  1005. WHERE
  1006. a.id = b.supplier_id
  1007. AND a.cancel_flag = 0
  1008. AND b.cancel_flag = 0
  1009. GROUP BY
  1010. b.supplier_id
  1011. 2016-12-30 13:32:54 select base_area:SELECT
  1012. id,
  1013. area_name
  1014. FROM
  1015. base_area
  1016. WHERE
  1017. id in(792,923,810)
  1018. 2016-12-30 13:32:56 select base_supplier:SELECT
  1019. id,
  1020. supplier_name,
  1021. area_id,
  1022. is_disabled,
  1023. supplier_type,
  1024. manage_type
  1025. FROM
  1026. base_supplier
  1027. WHERE
  1028. cancel_flag = 0
  1029. AND supplier_type = 301
  1030. LIMIT 0,10
  1031. 2016-12-30 13:32:56 select base_area:SELECT
  1032. id,
  1033. area_name
  1034. FROM
  1035. base_area
  1036. WHERE
  1037. id in(792,810,794,850,797,923)
  1038. 2016-12-30 13:33:07 select base_supplier:SELECT
  1039. id,
  1040. supplier_name,
  1041. area_id,
  1042. is_disabled,
  1043. supplier_type
  1044. FROM
  1045. base_supplier a
  1046. WHERE
  1047. cancel_flag = 0
  1048. AND supplier_type = 187
  1049. LIMIT 0,10
  1050. 2016-12-30 13:33:07 count:SELECT
  1051. a.id
  1052. FROM
  1053. base_supplier AS a,
  1054. base_supplier_purchase AS b
  1055. WHERE
  1056. a.id = b.supplier_id
  1057. AND a.cancel_flag = 0
  1058. AND b.cancel_flag = 0
  1059. GROUP BY
  1060. b.supplier_id
  1061. 2016-12-30 13:33:07 select base_area:SELECT
  1062. id,
  1063. area_name
  1064. FROM
  1065. base_area
  1066. WHERE
  1067. id in(792,923,810)
  1068. 2016-12-30 13:33:12 select base_supplier:SELECT
  1069. id,
  1070. supplier_name,
  1071. area_id,
  1072. is_disabled,
  1073. supplier_type,
  1074. manage_type
  1075. FROM
  1076. base_supplier
  1077. WHERE
  1078. cancel_flag = 0
  1079. AND supplier_type = 301
  1080. LIMIT 0,10
  1081. 2016-12-30 13:33:12 select base_area:SELECT
  1082. id,
  1083. area_name
  1084. FROM
  1085. base_area
  1086. WHERE
  1087. id in(792,810,794,850,797,923)
  1088. 2016-12-30 13:33:45 select base_supplier:SELECT
  1089. id,
  1090. supplier_name,
  1091. area_id,
  1092. is_disabled,
  1093. supplier_type
  1094. FROM
  1095. base_supplier a
  1096. WHERE
  1097. cancel_flag = 0
  1098. AND supplier_type = 187
  1099. LIMIT 0,10
  1100. 2016-12-30 13:33:45 count:SELECT
  1101. a.id
  1102. FROM
  1103. base_supplier AS a,
  1104. base_supplier_purchase AS b
  1105. WHERE
  1106. a.id = b.supplier_id
  1107. AND a.cancel_flag = 0
  1108. AND b.cancel_flag = 0
  1109. GROUP BY
  1110. b.supplier_id
  1111. 2016-12-30 13:33:45 select base_area:SELECT
  1112. id,
  1113. area_name
  1114. FROM
  1115. base_area
  1116. WHERE
  1117. id in(792,923,810)
  1118. 2016-12-30 13:33:48 select base_supplier:SELECT
  1119. id,
  1120. supplier_name,
  1121. area_id,
  1122. is_disabled,
  1123. supplier_type
  1124. FROM
  1125. base_supplier a
  1126. WHERE
  1127. cancel_flag = 0
  1128. AND supplier_type = 187
  1129. LIMIT 0,10
  1130. 2016-12-30 13:33:48 count:SELECT
  1131. a.id
  1132. FROM
  1133. base_supplier AS a,
  1134. base_supplier_purchase AS b
  1135. WHERE
  1136. a.id = b.supplier_id
  1137. AND a.cancel_flag = 0
  1138. AND b.cancel_flag = 0
  1139. GROUP BY
  1140. b.supplier_id
  1141. 2016-12-30 13:33:48 select base_area:SELECT
  1142. id,
  1143. area_name
  1144. FROM
  1145. base_area
  1146. WHERE
  1147. id in(792,923,810)
  1148. 2016-12-30 13:33:49 select base_supplier:SELECT
  1149. id,
  1150. supplier_name,
  1151. area_id,
  1152. is_disabled,
  1153. supplier_type,
  1154. manage_type
  1155. FROM
  1156. base_supplier
  1157. WHERE
  1158. cancel_flag = 0
  1159. AND supplier_type = 301
  1160. LIMIT 0,10
  1161. 2016-12-30 13:33:49 select base_area:SELECT
  1162. id,
  1163. area_name
  1164. FROM
  1165. base_area
  1166. WHERE
  1167. id in(792,810,794,850,797,923)
  1168. 2016-12-30 13:33:51 select base_supplier:SELECT
  1169. id,
  1170. supplier_name,
  1171. area_id,
  1172. is_disabled,
  1173. supplier_type
  1174. FROM
  1175. base_supplier a
  1176. WHERE
  1177. cancel_flag = 0
  1178. AND supplier_type = 187
  1179. LIMIT 0,10
  1180. 2016-12-30 13:33:51 count:SELECT
  1181. a.id
  1182. FROM
  1183. base_supplier AS a,
  1184. base_supplier_purchase AS b
  1185. WHERE
  1186. a.id = b.supplier_id
  1187. AND a.cancel_flag = 0
  1188. AND b.cancel_flag = 0
  1189. GROUP BY
  1190. b.supplier_id
  1191. 2016-12-30 13:33:51 select base_area:SELECT
  1192. id,
  1193. area_name
  1194. FROM
  1195. base_area
  1196. WHERE
  1197. id in(792,923,810)
  1198. 2016-12-30 13:34:04 select base_supplier:SELECT
  1199. id,
  1200. supplier_name,
  1201. area_id,
  1202. is_disabled,
  1203. supplier_type
  1204. FROM
  1205. base_supplier a
  1206. WHERE
  1207. cancel_flag = 0
  1208. AND supplier_type = 187
  1209. LIMIT 0,10
  1210. 2016-12-30 13:34:04 count:SELECT
  1211. a.id
  1212. FROM
  1213. base_supplier AS a,
  1214. base_supplier_purchase AS b
  1215. WHERE
  1216. a.id = b.supplier_id
  1217. AND a.cancel_flag = 0
  1218. AND b.cancel_flag = 0
  1219. GROUP BY
  1220. b.supplier_id
  1221. 2016-12-30 13:34:04 select base_area:SELECT
  1222. id,
  1223. area_name
  1224. FROM
  1225. base_area
  1226. WHERE
  1227. id in(792,923,810)
  1228. 2016-12-30 13:34:11 select base_area:SELECT
  1229. id,
  1230. area_name
  1231. FROM
  1232. base_area
  1233. WHERE
  1234. parent_id = 0
  1235. 2016-12-30 13:34:11 select base_supplier:SELECT
  1236. id,
  1237. supplier_name,
  1238. area_id,
  1239. company_name,
  1240. sett_type,
  1241. sett_frequency,
  1242. account_bank,
  1243. account_num,
  1244. account_name
  1245. FROM
  1246. base_supplier
  1247. WHERE
  1248. cancel_flag = 0
  1249. AND id = 400
  1250. 2016-12-30 13:34:11 select base_area:SELECT
  1251. id,
  1252. area_name,
  1253. parent_id
  1254. FROM
  1255. base_area
  1256. WHERE
  1257. cancel_flag = 0
  1258. AND id = 792
  1259. 2016-12-30 13:34:11 select base_area:SELECT
  1260. id,
  1261. area_name
  1262. FROM
  1263. base_area
  1264. WHERE
  1265. cancel_flag = 0
  1266. AND id = 791
  1267. 2016-12-30 13:34:11 select base_supplier_purchase:SELECT
  1268. id,
  1269. product_type,
  1270. purchaser_name
  1271. FROM
  1272. base_supplier_purchase
  1273. WHERE
  1274. cancel_flag = 0
  1275. AND supplier_id = 400
  1276. 2016-12-30 13:34:11 select base_supplier_link:SELECT
  1277. id,
  1278. link_name,
  1279. contact_name,
  1280. contact_mobile,
  1281. contact_telphone,
  1282. fax,
  1283. email,
  1284. remark
  1285. FROM
  1286. base_supplier_link
  1287. WHERE
  1288. cancel_flag = 0
  1289. AND supplier_id = 400
  1290. 2016-12-30 13:34:11 select base_area:SELECT
  1291. id,
  1292. area_name
  1293. FROM
  1294. base_area
  1295. WHERE
  1296. parent_id = 791
  1297. 2016-12-30 13:34:32 check base_supplier:SELECT
  1298. supplier_name
  1299. FROM
  1300. base_supplier
  1301. WHERE
  1302. cancel_flag = 0
  1303. AND supplier_type = 187
  1304. AND supplier_name = '上海道顺' and id != 400
  1305. 2016-12-30 13:46:24 select base_supplier:SELECT
  1306. id,
  1307. supplier_name,
  1308. area_id,
  1309. is_disabled,
  1310. supplier_type,
  1311. manage_type
  1312. FROM
  1313. base_supplier
  1314. WHERE
  1315. cancel_flag = 0
  1316. AND supplier_type = 301
  1317. LIMIT 0,10
  1318. 2016-12-30 13:46:24 select base_area:SELECT
  1319. id,
  1320. area_name
  1321. FROM
  1322. base_area
  1323. WHERE
  1324. id in(792,810,794,850,797,923)
  1325. 2016-12-30 13:46:30 select base_supplier:SELECT
  1326. id,
  1327. supplier_name,
  1328. area_id,
  1329. is_disabled,
  1330. supplier_type,
  1331. manage_type
  1332. FROM
  1333. base_supplier
  1334. WHERE
  1335. cancel_flag = 0
  1336. and supplier_name like '%%苏州希尔顿%%'
  1337. AND supplier_type = 301
  1338. LIMIT 0,10
  1339. 2016-12-30 13:46:32 select base_supplier:SELECT
  1340. id,
  1341. supplier_name,
  1342. area_id,
  1343. is_disabled,
  1344. supplier_type,
  1345. manage_type
  1346. FROM
  1347. base_supplier
  1348. WHERE
  1349. cancel_flag = 0
  1350. and supplier_name like '%%苏州希尔顿%%'
  1351. AND supplier_type = 301
  1352. LIMIT 0,10
  1353. 2016-12-30 13:46:32 select base_supplier:SELECT
  1354. id,
  1355. supplier_name,
  1356. area_id,
  1357. is_disabled,
  1358. supplier_type,
  1359. manage_type
  1360. FROM
  1361. base_supplier
  1362. WHERE
  1363. cancel_flag = 0
  1364. and supplier_name like '%%苏州希尔顿%%'
  1365. AND supplier_type = 301
  1366. LIMIT 0,10
  1367. 2016-12-30 13:46:33 select base_supplier:SELECT
  1368. id,
  1369. supplier_name,
  1370. area_id,
  1371. is_disabled,
  1372. supplier_type,
  1373. manage_type
  1374. FROM
  1375. base_supplier
  1376. WHERE
  1377. cancel_flag = 0
  1378. and supplier_name like '%%苏州希尔顿%%'
  1379. AND supplier_type = 301
  1380. LIMIT 0,10
  1381. 2016-12-30 13:47:04 select base_supplier:SELECT
  1382. id,
  1383. supplier_name,
  1384. area_id,
  1385. is_disabled,
  1386. supplier_type,
  1387. manage_type
  1388. FROM
  1389. base_supplier
  1390. WHERE
  1391. cancel_flag = 0
  1392. and supplier_name like '%%希尔顿%%'
  1393. AND supplier_type = 301
  1394. LIMIT 0,10
  1395. 2016-12-30 13:47:05 select base_supplier:SELECT
  1396. id,
  1397. supplier_name,
  1398. area_id,
  1399. is_disabled,
  1400. supplier_type,
  1401. manage_type
  1402. FROM
  1403. base_supplier
  1404. WHERE
  1405. cancel_flag = 0
  1406. and supplier_name like '%%希尔顿%%'
  1407. AND supplier_type = 301
  1408. LIMIT 0,10
  1409. 2016-12-30 13:47:05 select base_supplier:SELECT
  1410. id,
  1411. supplier_name,
  1412. area_id,
  1413. is_disabled,
  1414. supplier_type,
  1415. manage_type
  1416. FROM
  1417. base_supplier
  1418. WHERE
  1419. cancel_flag = 0
  1420. and supplier_name like '%%希尔顿%%'
  1421. AND supplier_type = 301
  1422. LIMIT 0,10
  1423. 2016-12-30 13:47:05 select base_supplier:SELECT
  1424. id,
  1425. supplier_name,
  1426. area_id,
  1427. is_disabled,
  1428. supplier_type,
  1429. manage_type
  1430. FROM
  1431. base_supplier
  1432. WHERE
  1433. cancel_flag = 0
  1434. and supplier_name like '%%希尔顿%%'
  1435. AND supplier_type = 301
  1436. LIMIT 0,10
  1437. 2016-12-30 13:47:06 select base_supplier:SELECT
  1438. id,
  1439. supplier_name,
  1440. area_id,
  1441. is_disabled,
  1442. supplier_type,
  1443. manage_type
  1444. FROM
  1445. base_supplier
  1446. WHERE
  1447. cancel_flag = 0
  1448. and supplier_name like '%%希尔顿%%'
  1449. AND supplier_type = 301
  1450. LIMIT 0,10
  1451. 2016-12-30 13:47:06 select base_supplier:SELECT
  1452. id,
  1453. supplier_name,
  1454. area_id,
  1455. is_disabled,
  1456. supplier_type,
  1457. manage_type
  1458. FROM
  1459. base_supplier
  1460. WHERE
  1461. cancel_flag = 0
  1462. and supplier_name like '%%希尔顿%%'
  1463. AND supplier_type = 301
  1464. LIMIT 0,10
  1465. 2016-12-30 13:47:11 select base_supplier:SELECT
  1466. id,
  1467. supplier_name,
  1468. area_id,
  1469. is_disabled,
  1470. supplier_type,
  1471. manage_type
  1472. FROM
  1473. base_supplier
  1474. WHERE
  1475. cancel_flag = 0
  1476. and supplier_name like '%%苏州%%'
  1477. AND supplier_type = 301
  1478. LIMIT 0,10
  1479. 2016-12-30 13:47:11 select base_area:SELECT
  1480. id,
  1481. area_name
  1482. FROM
  1483. base_area
  1484. WHERE
  1485. id in(797,850)
  1486. 2016-12-30 13:47:12 select base_supplier:SELECT
  1487. id,
  1488. supplier_name,
  1489. area_id,
  1490. is_disabled,
  1491. supplier_type,
  1492. manage_type
  1493. FROM
  1494. base_supplier
  1495. WHERE
  1496. cancel_flag = 0
  1497. and supplier_name like '%%苏州%%'
  1498. AND supplier_type = 301
  1499. LIMIT 0,10
  1500. 2016-12-30 13:47:12 select base_area:SELECT
  1501. id,
  1502. area_name
  1503. FROM
  1504. base_area
  1505. WHERE
  1506. id in(797,850)
  1507. 2016-12-30 13:47:12 select base_supplier:SELECT
  1508. id,
  1509. supplier_name,
  1510. area_id,
  1511. is_disabled,
  1512. supplier_type,
  1513. manage_type
  1514. FROM
  1515. base_supplier
  1516. WHERE
  1517. cancel_flag = 0
  1518. and supplier_name like '%%苏州%%'
  1519. AND supplier_type = 301
  1520. LIMIT 0,10
  1521. 2016-12-30 13:47:12 select base_area:SELECT
  1522. id,
  1523. area_name
  1524. FROM
  1525. base_area
  1526. WHERE
  1527. id in(797,850)
  1528. 2016-12-30 13:47:47 select base_supplier:SELECT
  1529. id,
  1530. supplier_name,
  1531. area_id,
  1532. is_disabled,
  1533. supplier_type
  1534. FROM
  1535. base_supplier a
  1536. WHERE
  1537. cancel_flag = 0
  1538. AND supplier_type = 187
  1539. LIMIT 0,10
  1540. 2016-12-30 13:47:47 count:SELECT
  1541. a.id
  1542. FROM
  1543. base_supplier AS a,
  1544. base_supplier_purchase AS b
  1545. WHERE
  1546. a.id = b.supplier_id
  1547. AND a.cancel_flag = 0
  1548. AND b.cancel_flag = 0
  1549. GROUP BY
  1550. b.supplier_id
  1551. 2016-12-30 13:47:47 select base_area:SELECT
  1552. id,
  1553. area_name
  1554. FROM
  1555. base_area
  1556. WHERE
  1557. id in(792,923,810)
  1558. 2016-12-30 13:47:49 select base_area:SELECT
  1559. id,
  1560. area_name
  1561. FROM
  1562. base_area
  1563. WHERE
  1564. parent_id = 0
  1565. 2016-12-30 13:47:50 select base_area:SELECT
  1566. id,
  1567. area_name
  1568. FROM
  1569. base_area
  1570. WHERE
  1571. parent_id = 1
  1572. 2016-12-30 13:47:51 check base_supplier:SELECT
  1573. supplier_name
  1574. FROM
  1575. base_supplier
  1576. WHERE
  1577. cancel_flag = 0
  1578. AND supplier_type = 187
  1579. AND supplier_name = ''
  1580. 2016-12-30 13:47:59 check base_supplier:SELECT
  1581. supplier_name
  1582. FROM
  1583. base_supplier
  1584. WHERE
  1585. cancel_flag = 0
  1586. AND supplier_type = 187
  1587. AND supplier_name = '南京金鹰珠江壹号国际酒店'
  1588. 2016-12-30 13:48:04 select base_area:SELECT
  1589. id,
  1590. area_name
  1591. FROM
  1592. base_area
  1593. WHERE
  1594. parent_id = 809
  1595. 2016-12-30 13:48:34 INSERT INTO base_supplier:INSERT INTO base_supplier (
  1596. create_user_id,
  1597. create_time,
  1598. supplier_type,
  1599. supplier_name,
  1600. area_id,
  1601. company_name,
  1602. is_disabled,
  1603. sett_type,
  1604. sett_frequency,
  1605. account_bank,
  1606. account_num,
  1607. account_name
  1608. )
  1609. VALUES
  1610. (284,'2016-12-30 13:48:34',187,'南京金鹰珠江壹号国际酒店',810,'南京金鹰珠江壹号国际酒店',0,288,295,'','','')
  1611. 2016-12-30 13:48:34 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  1612. create_user_id,
  1613. create_time,
  1614. supplier_id,
  1615. product_type,
  1616. purchaser_name
  1617. )
  1618. VALUES (284,'2016-12-30 13:48:34',1124,25,'cash')
  1619. 2016-12-30 13:48:34 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  1620. create_user_id,
  1621. create_time,
  1622. supplier_id,
  1623. link_name,
  1624. contact_name,
  1625. contact_mobile,
  1626. contact_telphone,
  1627. fax,
  1628. email,
  1629. remark
  1630. )
  1631. VALUES (284,'2016-12-30 13:48:34',1124,'销售','王','','','','','')
  1632. 2016-12-30 13:48:36 select base_supplier:SELECT
  1633. id,
  1634. supplier_name,
  1635. area_id,
  1636. is_disabled,
  1637. supplier_type
  1638. FROM
  1639. base_supplier a
  1640. WHERE
  1641. cancel_flag = 0
  1642. AND supplier_type = 187
  1643. LIMIT 0,10
  1644. 2016-12-30 13:48:36 count:SELECT
  1645. a.id
  1646. FROM
  1647. base_supplier AS a,
  1648. base_supplier_purchase AS b
  1649. WHERE
  1650. a.id = b.supplier_id
  1651. AND a.cancel_flag = 0
  1652. AND b.cancel_flag = 0
  1653. GROUP BY
  1654. b.supplier_id
  1655. 2016-12-30 13:48:36 select base_area:SELECT
  1656. id,
  1657. area_name
  1658. FROM
  1659. base_area
  1660. WHERE
  1661. id in(792,923,810)
  1662. 2016-12-30 13:48:40 select base_supplier:SELECT
  1663. id,
  1664. supplier_name,
  1665. area_id,
  1666. is_disabled,
  1667. supplier_type,
  1668. manage_type
  1669. FROM
  1670. base_supplier
  1671. WHERE
  1672. cancel_flag = 0
  1673. AND supplier_type = 301
  1674. LIMIT 0,10
  1675. 2016-12-30 13:48:40 select base_area:SELECT
  1676. id,
  1677. area_name
  1678. FROM
  1679. base_area
  1680. WHERE
  1681. id in(792,810,794,850,797,923)
  1682. 2016-12-30 13:48:44 select base_supplier:SELECT
  1683. id,
  1684. supplier_name,
  1685. area_id,
  1686. is_disabled,
  1687. supplier_type,
  1688. manage_type
  1689. FROM
  1690. base_supplier
  1691. WHERE
  1692. cancel_flag = 0
  1693. AND supplier_type = 301
  1694. LIMIT 10,10
  1695. 2016-12-30 13:48:44 select base_area:SELECT
  1696. id,
  1697. area_name
  1698. FROM
  1699. base_area
  1700. WHERE
  1701. id in(1966,7,850,810,4,792,961)
  1702. 2016-12-30 13:48:45 select base_supplier:SELECT
  1703. id,
  1704. supplier_name,
  1705. area_id,
  1706. is_disabled,
  1707. supplier_type,
  1708. manage_type
  1709. FROM
  1710. base_supplier
  1711. WHERE
  1712. cancel_flag = 0
  1713. AND supplier_type = 301
  1714. LIMIT 20,10
  1715. 2016-12-30 13:48:45 select base_area:SELECT
  1716. id,
  1717. area_name
  1718. FROM
  1719. base_area
  1720. WHERE
  1721. id in(2,800,794,850,792)
  1722. 2016-12-30 13:48:46 select base_supplier:SELECT
  1723. id,
  1724. supplier_name,
  1725. area_id,
  1726. is_disabled,
  1727. supplier_type,
  1728. manage_type
  1729. FROM
  1730. base_supplier
  1731. WHERE
  1732. cancel_flag = 0
  1733. AND supplier_type = 301
  1734. LIMIT 40,10
  1735. 2016-12-30 13:48:47 select base_area:SELECT
  1736. id,
  1737. area_name
  1738. FROM
  1739. base_area
  1740. WHERE
  1741. id in(1161)
  1742. 2016-12-30 13:48:48 select base_supplier:SELECT
  1743. id,
  1744. supplier_name,
  1745. area_id,
  1746. is_disabled,
  1747. supplier_type,
  1748. manage_type
  1749. FROM
  1750. base_supplier
  1751. WHERE
  1752. cancel_flag = 0
  1753. AND supplier_type = 301
  1754. LIMIT 120,10
  1755. 2016-12-30 13:48:48 select base_area:SELECT
  1756. id,
  1757. area_name
  1758. FROM
  1759. base_area
  1760. WHERE
  1761. id in(850,803,792,1161)
  1762. 2016-12-30 13:48:55 select base_supplier:SELECT
  1763. id,
  1764. supplier_name,
  1765. area_id,
  1766. is_disabled,
  1767. supplier_type,
  1768. manage_type
  1769. FROM
  1770. base_supplier
  1771. WHERE
  1772. cancel_flag = 0
  1773. AND supplier_type = 301
  1774. LIMIT 100,10
  1775. 2016-12-30 13:48:55 select base_area:SELECT
  1776. id,
  1777. area_name
  1778. FROM
  1779. base_area
  1780. WHERE
  1781. id in(1161,923,2,982,810)
  1782. 2016-12-30 13:48:56 select base_area:SELECT
  1783. id,
  1784. area_name
  1785. FROM
  1786. base_area
  1787. WHERE
  1788. parent_id = 0
  1789. 2016-12-30 13:48:56 select base_area:SELECT
  1790. id,
  1791. area_name
  1792. FROM
  1793. base_area
  1794. WHERE
  1795. parent_id = 1
  1796. 2016-12-30 13:48:59 check base_supplier:SELECT
  1797. supplier_name
  1798. FROM
  1799. base_supplier
  1800. WHERE
  1801. cancel_flag = 0
  1802. AND supplier_type = 301
  1803. AND supplier_name = '南京金鹰珠江壹号国际酒店'
  1804. 2016-12-30 13:49:04 select base_supplier:SELECT
  1805. id,
  1806. supplier_name,
  1807. area_id,
  1808. is_disabled,
  1809. supplier_type,
  1810. manage_type
  1811. FROM
  1812. base_supplier
  1813. WHERE
  1814. cancel_flag = 0
  1815. AND supplier_type = 301
  1816. LIMIT 0,10
  1817. 2016-12-30 13:49:04 select base_area:SELECT
  1818. id,
  1819. area_name
  1820. FROM
  1821. base_area
  1822. WHERE
  1823. id in(792,810,794,850,797,923)
  1824. 2016-12-30 14:07:58 select base_supplier:SELECT
  1825. id,
  1826. supplier_name,
  1827. area_id,
  1828. is_disabled,
  1829. supplier_type,
  1830. manage_type
  1831. FROM
  1832. base_supplier
  1833. WHERE
  1834. cancel_flag = 0
  1835. AND supplier_type = 301
  1836. LIMIT 0,10
  1837. 2016-12-30 14:07:58 select base_area:SELECT
  1838. id,
  1839. area_name
  1840. FROM
  1841. base_area
  1842. WHERE
  1843. id in(792,810,794,850,797,923)
  1844. 2016-12-30 15:05:44 select base_supplier:SELECT
  1845. id,
  1846. supplier_name,
  1847. area_id,
  1848. is_disabled,
  1849. supplier_type
  1850. FROM
  1851. base_supplier a
  1852. WHERE
  1853. cancel_flag = 0
  1854. AND supplier_type = 187
  1855. LIMIT 0,10
  1856. 2016-12-30 15:05:44 count:SELECT
  1857. a.id
  1858. FROM
  1859. base_supplier AS a,
  1860. base_supplier_purchase AS b
  1861. WHERE
  1862. a.id = b.supplier_id
  1863. AND a.cancel_flag = 0
  1864. AND b.cancel_flag = 0
  1865. GROUP BY
  1866. b.supplier_id
  1867. 2016-12-30 15:05:44 select base_area:SELECT
  1868. id,
  1869. area_name
  1870. FROM
  1871. base_area
  1872. WHERE
  1873. id in(792,923,810)
  1874. 2016-12-30 15:05:47 select base_supplier:SELECT
  1875. id,
  1876. supplier_name,
  1877. area_id,
  1878. is_disabled,
  1879. supplier_type,
  1880. manage_type
  1881. FROM
  1882. base_supplier
  1883. WHERE
  1884. cancel_flag = 0
  1885. AND supplier_type = 301
  1886. LIMIT 0,10
  1887. 2016-12-30 15:05:47 select base_area:SELECT
  1888. id,
  1889. area_name
  1890. FROM
  1891. base_area
  1892. WHERE
  1893. id in(792,810,794,850,797,923)
  1894. 2016-12-30 15:43:19 select base_supplier:SELECT
  1895. id,
  1896. supplier_name,
  1897. area_id,
  1898. is_disabled,
  1899. supplier_type
  1900. FROM
  1901. base_supplier a
  1902. WHERE
  1903. cancel_flag = 0
  1904. AND supplier_type = 187
  1905. LIMIT 0,10
  1906. 2016-12-30 15:43:19 count:SELECT
  1907. a.id
  1908. FROM
  1909. base_supplier AS a,
  1910. base_supplier_purchase AS b
  1911. WHERE
  1912. a.id = b.supplier_id
  1913. AND a.cancel_flag = 0
  1914. AND b.cancel_flag = 0
  1915. GROUP BY
  1916. b.supplier_id
  1917. 2016-12-30 15:43:19 select base_area:SELECT
  1918. id,
  1919. area_name
  1920. FROM
  1921. base_area
  1922. WHERE
  1923. id in(792,923,810)
  1924. 2016-12-30 15:43:20 select base_supplier:SELECT
  1925. id,
  1926. supplier_name,
  1927. area_id,
  1928. is_disabled,
  1929. supplier_type,
  1930. manage_type
  1931. FROM
  1932. base_supplier
  1933. WHERE
  1934. cancel_flag = 0
  1935. AND supplier_type = 301
  1936. LIMIT 0,10
  1937. 2016-12-30 15:43:20 select base_area:SELECT
  1938. id,
  1939. area_name
  1940. FROM
  1941. base_area
  1942. WHERE
  1943. id in(792,810,794,850,797,923)
  1944. 2016-12-30 16:00:30 select base_supplier:SELECT
  1945. id,
  1946. supplier_name,
  1947. area_id,
  1948. is_disabled,
  1949. supplier_type
  1950. FROM
  1951. base_supplier a
  1952. WHERE
  1953. cancel_flag = 0
  1954. AND supplier_type = 187
  1955. LIMIT 0,10
  1956. 2016-12-30 16:00:30 count:SELECT
  1957. a.id
  1958. FROM
  1959. base_supplier AS a,
  1960. base_supplier_purchase AS b
  1961. WHERE
  1962. a.id = b.supplier_id
  1963. AND a.cancel_flag = 0
  1964. AND b.cancel_flag = 0
  1965. GROUP BY
  1966. b.supplier_id
  1967. 2016-12-30 16:00:30 select base_area:SELECT
  1968. id,
  1969. area_name
  1970. FROM
  1971. base_area
  1972. WHERE
  1973. id in(792,923,810)
  1974. 2016-12-30 16:30:18 select base_supplier:SELECT
  1975. id,
  1976. supplier_name,
  1977. area_id,
  1978. is_disabled,
  1979. supplier_type,
  1980. manage_type
  1981. FROM
  1982. base_supplier
  1983. WHERE
  1984. cancel_flag = 0
  1985. AND supplier_type = 301
  1986. LIMIT 0,10
  1987. 2016-12-30 16:30:18 select base_area:SELECT
  1988. id,
  1989. area_name
  1990. FROM
  1991. base_area
  1992. WHERE
  1993. id in(792,810,794,850,797,923)
  1994. 2016-12-30 16:30:23 select base_supplier:SELECT
  1995. id,
  1996. supplier_name,
  1997. area_id,
  1998. is_disabled,
  1999. supplier_type,
  2000. manage_type
  2001. FROM
  2002. base_supplier
  2003. WHERE
  2004. cancel_flag = 0
  2005. and supplier_name like '%%和平%%'
  2006. AND supplier_type = 301
  2007. LIMIT 0,10
  2008. 2016-12-30 16:30:24 select base_supplier:SELECT
  2009. id,
  2010. supplier_name,
  2011. area_id,
  2012. is_disabled,
  2013. supplier_type,
  2014. manage_type
  2015. FROM
  2016. base_supplier
  2017. WHERE
  2018. cancel_flag = 0
  2019. and supplier_name like '%%和平%%'
  2020. AND supplier_type = 301
  2021. LIMIT 0,10
  2022. 2016-12-30 16:30:24 select base_supplier:SELECT
  2023. id,
  2024. supplier_name,
  2025. area_id,
  2026. is_disabled,
  2027. supplier_type,
  2028. manage_type
  2029. FROM
  2030. base_supplier
  2031. WHERE
  2032. cancel_flag = 0
  2033. and supplier_name like '%%和平%%'
  2034. AND supplier_type = 301
  2035. LIMIT 0,10
  2036. 2016-12-30 16:30:30 select base_supplier:SELECT
  2037. id,
  2038. supplier_name,
  2039. area_id,
  2040. is_disabled,
  2041. supplier_type,
  2042. manage_type
  2043. FROM
  2044. base_supplier
  2045. WHERE
  2046. cancel_flag = 0
  2047. and supplier_name like '%%和平%%'
  2048. AND supplier_type = 301
  2049. LIMIT 0,10
  2050. 2016-12-30 16:30:31 select base_supplier:SELECT
  2051. id,
  2052. supplier_name,
  2053. area_id,
  2054. is_disabled,
  2055. supplier_type,
  2056. manage_type
  2057. FROM
  2058. base_supplier
  2059. WHERE
  2060. cancel_flag = 0
  2061. and supplier_name like '%%和平%%'
  2062. AND supplier_type = 301
  2063. LIMIT 0,10
  2064. 2016-12-30 16:30:31 select base_supplier:SELECT
  2065. id,
  2066. supplier_name,
  2067. area_id,
  2068. is_disabled,
  2069. supplier_type,
  2070. manage_type
  2071. FROM
  2072. base_supplier
  2073. WHERE
  2074. cancel_flag = 0
  2075. and supplier_name like '%%和平%%'
  2076. AND supplier_type = 301
  2077. LIMIT 0,10
  2078. 2016-12-30 16:30:35 select base_supplier:SELECT
  2079. id,
  2080. supplier_name,
  2081. area_id,
  2082. is_disabled,
  2083. supplier_type,
  2084. manage_type
  2085. FROM
  2086. base_supplier
  2087. WHERE
  2088. cancel_flag = 0
  2089. and supplier_name like '%%和平饭店%%'
  2090. AND supplier_type = 301
  2091. LIMIT 0,10
  2092. 2016-12-30 16:30:35 select base_supplier:SELECT
  2093. id,
  2094. supplier_name,
  2095. area_id,
  2096. is_disabled,
  2097. supplier_type,
  2098. manage_type
  2099. FROM
  2100. base_supplier
  2101. WHERE
  2102. cancel_flag = 0
  2103. and supplier_name like '%%和平饭店%%'
  2104. AND supplier_type = 301
  2105. LIMIT 0,10
  2106. 2016-12-30 16:30:36 select base_supplier:SELECT
  2107. id,
  2108. supplier_name,
  2109. area_id,
  2110. is_disabled,
  2111. supplier_type,
  2112. manage_type
  2113. FROM
  2114. base_supplier
  2115. WHERE
  2116. cancel_flag = 0
  2117. and supplier_name like '%%和平饭店%%'
  2118. AND supplier_type = 301
  2119. LIMIT 0,10
  2120. 2016-12-30 16:30:36 select base_supplier:SELECT
  2121. id,
  2122. supplier_name,
  2123. area_id,
  2124. is_disabled,
  2125. supplier_type,
  2126. manage_type
  2127. FROM
  2128. base_supplier
  2129. WHERE
  2130. cancel_flag = 0
  2131. and supplier_name like '%%和平饭店%%'
  2132. AND supplier_type = 301
  2133. LIMIT 0,10
  2134. 2016-12-30 16:30:36 select base_supplier:SELECT
  2135. id,
  2136. supplier_name,
  2137. area_id,
  2138. is_disabled,
  2139. supplier_type,
  2140. manage_type
  2141. FROM
  2142. base_supplier
  2143. WHERE
  2144. cancel_flag = 0
  2145. and supplier_name like '%%和平饭店%%'
  2146. AND supplier_type = 301
  2147. LIMIT 0,10
  2148. 2016-12-30 16:30:36 select base_supplier:SELECT
  2149. id,
  2150. supplier_name,
  2151. area_id,
  2152. is_disabled,
  2153. supplier_type,
  2154. manage_type
  2155. FROM
  2156. base_supplier
  2157. WHERE
  2158. cancel_flag = 0
  2159. and supplier_name like '%%和平饭店%%'
  2160. AND supplier_type = 301
  2161. LIMIT 0,10
  2162. 2016-12-30 16:30:36 select base_supplier:SELECT
  2163. id,
  2164. supplier_name,
  2165. area_id,
  2166. is_disabled,
  2167. supplier_type,
  2168. manage_type
  2169. FROM
  2170. base_supplier
  2171. WHERE
  2172. cancel_flag = 0
  2173. and supplier_name like '%%和平饭店%%'
  2174. AND supplier_type = 301
  2175. LIMIT 0,10
  2176. 2016-12-30 16:31:43 select base_supplier:SELECT
  2177. id,
  2178. supplier_name,
  2179. area_id,
  2180. is_disabled,
  2181. supplier_type
  2182. FROM
  2183. base_supplier a
  2184. WHERE
  2185. cancel_flag = 0
  2186. AND supplier_type = 187
  2187. LIMIT 0,10
  2188. 2016-12-30 16:31:43 count:SELECT
  2189. a.id
  2190. FROM
  2191. base_supplier AS a,
  2192. base_supplier_purchase AS b
  2193. WHERE
  2194. a.id = b.supplier_id
  2195. AND a.cancel_flag = 0
  2196. AND b.cancel_flag = 0
  2197. GROUP BY
  2198. b.supplier_id
  2199. 2016-12-30 16:31:43 select base_area:SELECT
  2200. id,
  2201. area_name
  2202. FROM
  2203. base_area
  2204. WHERE
  2205. id in(792,923,810)
  2206. 2016-12-30 16:31:50 select base_supplier:SELECT
  2207. id,
  2208. supplier_name,
  2209. area_id,
  2210. is_disabled,
  2211. supplier_type
  2212. FROM
  2213. base_supplier a
  2214. WHERE
  2215. cancel_flag = 0
  2216. AND supplier_type = 187
  2217. LIMIT 0,10
  2218. 2016-12-30 16:31:50 count:SELECT
  2219. a.id
  2220. FROM
  2221. base_supplier AS a,
  2222. base_supplier_purchase AS b
  2223. WHERE
  2224. a.id = b.supplier_id
  2225. AND a.cancel_flag = 0
  2226. AND b.cancel_flag = 0
  2227. GROUP BY
  2228. b.supplier_id
  2229. 2016-12-30 16:31:50 select base_area:SELECT
  2230. id,
  2231. area_name
  2232. FROM
  2233. base_area
  2234. WHERE
  2235. id in(792,923,810)
  2236. 2016-12-30 16:31:51 select base_supplier:SELECT
  2237. id,
  2238. supplier_name,
  2239. area_id,
  2240. is_disabled,
  2241. supplier_type,
  2242. manage_type
  2243. FROM
  2244. base_supplier
  2245. WHERE
  2246. cancel_flag = 0
  2247. AND supplier_type = 301
  2248. LIMIT 0,10
  2249. 2016-12-30 16:31:51 select base_area:SELECT
  2250. id,
  2251. area_name
  2252. FROM
  2253. base_area
  2254. WHERE
  2255. id in(792,810,794,850,797,923)
  2256. 2016-12-30 16:31:53 select base_supplier:SELECT
  2257. id,
  2258. supplier_name,
  2259. area_id,
  2260. is_disabled,
  2261. supplier_type
  2262. FROM
  2263. base_supplier a
  2264. WHERE
  2265. cancel_flag = 0
  2266. AND supplier_type = 187
  2267. LIMIT 0,10
  2268. 2016-12-30 16:31:53 count:SELECT
  2269. a.id
  2270. FROM
  2271. base_supplier AS a,
  2272. base_supplier_purchase AS b
  2273. WHERE
  2274. a.id = b.supplier_id
  2275. AND a.cancel_flag = 0
  2276. AND b.cancel_flag = 0
  2277. GROUP BY
  2278. b.supplier_id
  2279. 2016-12-30 16:31:53 select base_area:SELECT
  2280. id,
  2281. area_name
  2282. FROM
  2283. base_area
  2284. WHERE
  2285. id in(792,923,810)
  2286. 2016-12-30 16:32:03 select base_supplier:SELECT
  2287. id,
  2288. supplier_name,
  2289. area_id,
  2290. is_disabled,
  2291. supplier_type
  2292. FROM
  2293. base_supplier a
  2294. WHERE
  2295. cancel_flag = 0
  2296. AND supplier_type = 187
  2297. LIMIT 0,10
  2298. 2016-12-30 16:32:03 count:SELECT
  2299. a.id
  2300. FROM
  2301. base_supplier AS a,
  2302. base_supplier_purchase AS b
  2303. WHERE
  2304. a.id = b.supplier_id
  2305. AND a.cancel_flag = 0
  2306. AND b.cancel_flag = 0
  2307. GROUP BY
  2308. b.supplier_id
  2309. 2016-12-30 16:32:03 select base_area:SELECT
  2310. id,
  2311. area_name
  2312. FROM
  2313. base_area
  2314. WHERE
  2315. id in(792,923,810)
  2316. 2016-12-30 16:32:05 select base_supplier:SELECT
  2317. id,
  2318. supplier_name,
  2319. area_id,
  2320. is_disabled,
  2321. supplier_type
  2322. FROM
  2323. base_supplier a
  2324. WHERE
  2325. cancel_flag = 0
  2326. AND supplier_type = 187
  2327. LIMIT 0,10
  2328. 2016-12-30 16:32:05 count:SELECT
  2329. a.id
  2330. FROM
  2331. base_supplier AS a,
  2332. base_supplier_purchase AS b
  2333. WHERE
  2334. a.id = b.supplier_id
  2335. AND a.cancel_flag = 0
  2336. AND b.cancel_flag = 0
  2337. GROUP BY
  2338. b.supplier_id
  2339. 2016-12-30 16:32:05 select base_area:SELECT
  2340. id,
  2341. area_name
  2342. FROM
  2343. base_area
  2344. WHERE
  2345. id in(792,923,810)
  2346. 2016-12-30 16:32:06 select base_supplier:SELECT
  2347. id,
  2348. supplier_name,
  2349. area_id,
  2350. is_disabled,
  2351. supplier_type,
  2352. manage_type
  2353. FROM
  2354. base_supplier
  2355. WHERE
  2356. cancel_flag = 0
  2357. AND supplier_type = 301
  2358. LIMIT 0,10
  2359. 2016-12-30 16:32:06 select base_area:SELECT
  2360. id,
  2361. area_name
  2362. FROM
  2363. base_area
  2364. WHERE
  2365. id in(792,810,794,850,797,923)
  2366. 2016-12-30 16:32:07 select base_supplier:SELECT
  2367. id,
  2368. supplier_name,
  2369. area_id,
  2370. is_disabled,
  2371. supplier_type
  2372. FROM
  2373. base_supplier a
  2374. WHERE
  2375. cancel_flag = 0
  2376. AND supplier_type = 187
  2377. LIMIT 0,10
  2378. 2016-12-30 16:32:07 count:SELECT
  2379. a.id
  2380. FROM
  2381. base_supplier AS a,
  2382. base_supplier_purchase AS b
  2383. WHERE
  2384. a.id = b.supplier_id
  2385. AND a.cancel_flag = 0
  2386. AND b.cancel_flag = 0
  2387. GROUP BY
  2388. b.supplier_id
  2389. 2016-12-30 16:32:07 select base_area:SELECT
  2390. id,
  2391. area_name
  2392. FROM
  2393. base_area
  2394. WHERE
  2395. id in(792,923,810)
  2396. 2016-12-30 16:32:10 select base_supplier:SELECT
  2397. id,
  2398. supplier_name,
  2399. area_id,
  2400. is_disabled,
  2401. supplier_type
  2402. FROM
  2403. base_supplier a
  2404. WHERE
  2405. cancel_flag = 0
  2406. AND supplier_type = 187
  2407. LIMIT 0,10
  2408. 2016-12-30 16:32:10 count:SELECT
  2409. a.id
  2410. FROM
  2411. base_supplier AS a,
  2412. base_supplier_purchase AS b
  2413. WHERE
  2414. a.id = b.supplier_id
  2415. AND a.cancel_flag = 0
  2416. AND b.cancel_flag = 0
  2417. GROUP BY
  2418. b.supplier_id
  2419. 2016-12-30 16:32:10 select base_area:SELECT
  2420. id,
  2421. area_name
  2422. FROM
  2423. base_area
  2424. WHERE
  2425. id in(792,923,810)
  2426. 2016-12-30 16:33:22 select base_supplier:SELECT
  2427. id,
  2428. supplier_name,
  2429. area_id,
  2430. is_disabled,
  2431. supplier_type
  2432. FROM
  2433. base_supplier a
  2434. WHERE
  2435. cancel_flag = 0
  2436. AND supplier_type = 187
  2437. LIMIT 10,10
  2438. 2016-12-30 16:33:22 count:SELECT
  2439. a.id
  2440. FROM
  2441. base_supplier AS a,
  2442. base_supplier_purchase AS b
  2443. WHERE
  2444. a.id = b.supplier_id
  2445. AND a.cancel_flag = 0
  2446. AND b.cancel_flag = 0
  2447. GROUP BY
  2448. b.supplier_id
  2449. 2016-12-30 16:33:22 select base_area:SELECT
  2450. id,
  2451. area_name
  2452. FROM
  2453. base_area
  2454. WHERE
  2455. id in(792,876,810,1161,923)
  2456. 2016-12-30 16:33:23 select base_supplier:SELECT
  2457. id,
  2458. supplier_name,
  2459. area_id,
  2460. is_disabled,
  2461. supplier_type
  2462. FROM
  2463. base_supplier a
  2464. WHERE
  2465. cancel_flag = 0
  2466. AND supplier_type = 187
  2467. LIMIT 20,10
  2468. 2016-12-30 16:33:23 count:SELECT
  2469. a.id
  2470. FROM
  2471. base_supplier AS a,
  2472. base_supplier_purchase AS b
  2473. WHERE
  2474. a.id = b.supplier_id
  2475. AND a.cancel_flag = 0
  2476. AND b.cancel_flag = 0
  2477. GROUP BY
  2478. b.supplier_id
  2479. 2016-12-30 16:33:23 select base_area:SELECT
  2480. id,
  2481. area_name
  2482. FROM
  2483. base_area
  2484. WHERE
  2485. id in(803,792,1200,961)
  2486. 2016-12-30 16:33:25 select base_supplier:SELECT
  2487. id,
  2488. supplier_name,
  2489. area_id,
  2490. is_disabled,
  2491. supplier_type
  2492. FROM
  2493. base_supplier a
  2494. WHERE
  2495. cancel_flag = 0
  2496. AND supplier_type = 187
  2497. LIMIT 30,10
  2498. 2016-12-30 16:33:25 count:SELECT
  2499. a.id
  2500. FROM
  2501. base_supplier AS a,
  2502. base_supplier_purchase AS b
  2503. WHERE
  2504. a.id = b.supplier_id
  2505. AND a.cancel_flag = 0
  2506. AND b.cancel_flag = 0
  2507. GROUP BY
  2508. b.supplier_id
  2509. 2016-12-30 16:33:25 select base_area:SELECT
  2510. id,
  2511. area_name
  2512. FROM
  2513. base_area
  2514. WHERE
  2515. id in(923,799,803,895)
  2516. 2016-12-30 16:33:25 select base_supplier:SELECT
  2517. id,
  2518. supplier_name,
  2519. area_id,
  2520. is_disabled,
  2521. supplier_type
  2522. FROM
  2523. base_supplier a
  2524. WHERE
  2525. cancel_flag = 0
  2526. AND supplier_type = 187
  2527. LIMIT 50,10
  2528. 2016-12-30 16:33:25 count:SELECT
  2529. a.id
  2530. FROM
  2531. base_supplier AS a,
  2532. base_supplier_purchase AS b
  2533. WHERE
  2534. a.id = b.supplier_id
  2535. AND a.cancel_flag = 0
  2536. AND b.cancel_flag = 0
  2537. GROUP BY
  2538. b.supplier_id
  2539. 2016-12-30 16:33:25 select base_area:SELECT
  2540. id,
  2541. area_name
  2542. FROM
  2543. base_area
  2544. WHERE
  2545. id in(795,793,792,923,803)
  2546. 2016-12-30 16:33:28 select base_supplier_purchase:SELECT
  2547. supplier_id
  2548. FROM
  2549. base_supplier_purchase
  2550. WHERE
  2551. product_type = 259 and cancel_flag = 0
  2552. GROUP BY
  2553. supplier_id
  2554. 2016-12-30 16:33:28 select base_supplier:SELECT
  2555. id,
  2556. supplier_name,
  2557. area_id,
  2558. is_disabled,
  2559. supplier_type
  2560. FROM
  2561. base_supplier a
  2562. WHERE
  2563. cancel_flag = 0
  2564. and a.id in(400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,628,1081)
  2565. AND supplier_type = 187
  2566. LIMIT 0,10
  2567. 2016-12-30 16:33:28 count:SELECT
  2568. a.id
  2569. FROM
  2570. base_supplier AS a,
  2571. base_supplier_purchase AS b
  2572. WHERE
  2573. a.id = b.supplier_id
  2574. and a.id in(400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,628,1081)
  2575. AND a.cancel_flag = 0
  2576. AND b.cancel_flag = 0
  2577. GROUP BY
  2578. b.supplier_id
  2579. 2016-12-30 16:33:28 select base_area:SELECT
  2580. id,
  2581. area_name
  2582. FROM
  2583. base_area
  2584. WHERE
  2585. id in(792,923,810)
  2586. 2016-12-30 16:33:30 select base_supplier_purchase:SELECT
  2587. supplier_id
  2588. FROM
  2589. base_supplier_purchase
  2590. WHERE
  2591. product_type = 259 and cancel_flag = 0
  2592. GROUP BY
  2593. supplier_id
  2594. 2016-12-30 16:33:30 select base_supplier:SELECT
  2595. id,
  2596. supplier_name,
  2597. area_id,
  2598. is_disabled,
  2599. supplier_type
  2600. FROM
  2601. base_supplier a
  2602. WHERE
  2603. cancel_flag = 0
  2604. and a.id in(400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,628,1081)
  2605. AND supplier_type = 187
  2606. LIMIT 10,10
  2607. 2016-12-30 16:33:30 count:SELECT
  2608. a.id
  2609. FROM
  2610. base_supplier AS a,
  2611. base_supplier_purchase AS b
  2612. WHERE
  2613. a.id = b.supplier_id
  2614. and a.id in(400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,628,1081)
  2615. AND a.cancel_flag = 0
  2616. AND b.cancel_flag = 0
  2617. GROUP BY
  2618. b.supplier_id
  2619. 2016-12-30 16:33:30 select base_area:SELECT
  2620. id,
  2621. area_name
  2622. FROM
  2623. base_area
  2624. WHERE
  2625. id in(792,876,810,1161)
  2626. 2016-12-30 16:33:31 select base_supplier_purchase:SELECT
  2627. supplier_id
  2628. FROM
  2629. base_supplier_purchase
  2630. WHERE
  2631. product_type = 259 and cancel_flag = 0
  2632. GROUP BY
  2633. supplier_id
  2634. 2016-12-30 16:33:31 select base_supplier:SELECT
  2635. id,
  2636. supplier_name,
  2637. area_id,
  2638. is_disabled,
  2639. supplier_type
  2640. FROM
  2641. base_supplier a
  2642. WHERE
  2643. cancel_flag = 0
  2644. and a.id in(400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,628,1081)
  2645. AND supplier_type = 187
  2646. LIMIT 10,10
  2647. 2016-12-30 16:33:31 count:SELECT
  2648. a.id
  2649. FROM
  2650. base_supplier AS a,
  2651. base_supplier_purchase AS b
  2652. WHERE
  2653. a.id = b.supplier_id
  2654. and a.id in(400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,628,1081)
  2655. AND a.cancel_flag = 0
  2656. AND b.cancel_flag = 0
  2657. GROUP BY
  2658. b.supplier_id
  2659. 2016-12-30 16:33:31 select base_area:SELECT
  2660. id,
  2661. area_name
  2662. FROM
  2663. base_area
  2664. WHERE
  2665. id in(792,876,810,1161)
  2666. 2016-12-30 16:33:32 select base_supplier_purchase:SELECT
  2667. supplier_id
  2668. FROM
  2669. base_supplier_purchase
  2670. WHERE
  2671. product_type = 259 and cancel_flag = 0
  2672. GROUP BY
  2673. supplier_id
  2674. 2016-12-30 16:33:32 select base_supplier:SELECT
  2675. id,
  2676. supplier_name,
  2677. area_id,
  2678. is_disabled,
  2679. supplier_type
  2680. FROM
  2681. base_supplier a
  2682. WHERE
  2683. cancel_flag = 0
  2684. and a.id in(400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,628,1081)
  2685. AND supplier_type = 187
  2686. LIMIT 0,10
  2687. 2016-12-30 16:33:32 count:SELECT
  2688. a.id
  2689. FROM
  2690. base_supplier AS a,
  2691. base_supplier_purchase AS b
  2692. WHERE
  2693. a.id = b.supplier_id
  2694. and a.id in(400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,628,1081)
  2695. AND a.cancel_flag = 0
  2696. AND b.cancel_flag = 0
  2697. GROUP BY
  2698. b.supplier_id
  2699. 2016-12-30 16:33:32 select base_area:SELECT
  2700. id,
  2701. area_name
  2702. FROM
  2703. base_area
  2704. WHERE
  2705. id in(792,923,810)
  2706. 2016-12-30 16:33:32 select base_supplier_purchase:SELECT
  2707. supplier_id
  2708. FROM
  2709. base_supplier_purchase
  2710. WHERE
  2711. product_type = 259 and cancel_flag = 0
  2712. GROUP BY
  2713. supplier_id
  2714. 2016-12-30 16:33:32 select base_supplier:SELECT
  2715. id,
  2716. supplier_name,
  2717. area_id,
  2718. is_disabled,
  2719. supplier_type
  2720. FROM
  2721. base_supplier a
  2722. WHERE
  2723. cancel_flag = 0
  2724. and a.id in(400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,628,1081)
  2725. AND supplier_type = 187
  2726. LIMIT 0,10
  2727. 2016-12-30 16:33:32 count:SELECT
  2728. a.id
  2729. FROM
  2730. base_supplier AS a,
  2731. base_supplier_purchase AS b
  2732. WHERE
  2733. a.id = b.supplier_id
  2734. and a.id in(400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,628,1081)
  2735. AND a.cancel_flag = 0
  2736. AND b.cancel_flag = 0
  2737. GROUP BY
  2738. b.supplier_id
  2739. 2016-12-30 16:33:32 select base_area:SELECT
  2740. id,
  2741. area_name
  2742. FROM
  2743. base_area
  2744. WHERE
  2745. id in(792,923,810)
  2746. 2016-12-30 16:33:36 select base_area:SELECT
  2747. id,
  2748. area_name
  2749. FROM
  2750. base_area
  2751. WHERE
  2752. parent_id = 0
  2753. 2016-12-30 16:33:36 select base_supplier:SELECT
  2754. id,
  2755. supplier_name,
  2756. area_id,
  2757. company_name,
  2758. sett_type,
  2759. sett_frequency,
  2760. account_bank,
  2761. account_num,
  2762. account_name
  2763. FROM
  2764. base_supplier
  2765. WHERE
  2766. cancel_flag = 0
  2767. AND id = 403
  2768. 2016-12-30 16:33:36 select base_area:SELECT
  2769. id,
  2770. area_name,
  2771. parent_id
  2772. FROM
  2773. base_area
  2774. WHERE
  2775. cancel_flag = 0
  2776. AND id = 923
  2777. 2016-12-30 16:33:36 select base_area:SELECT
  2778. id,
  2779. area_name
  2780. FROM
  2781. base_area
  2782. WHERE
  2783. cancel_flag = 0
  2784. AND id = 922
  2785. 2016-12-30 16:33:36 select base_supplier_purchase:SELECT
  2786. id,
  2787. product_type,
  2788. purchaser_name
  2789. FROM
  2790. base_supplier_purchase
  2791. WHERE
  2792. cancel_flag = 0
  2793. AND supplier_id = 403
  2794. 2016-12-30 16:33:36 select base_supplier_link:SELECT
  2795. id,
  2796. link_name,
  2797. contact_name,
  2798. contact_mobile,
  2799. contact_telphone,
  2800. fax,
  2801. email,
  2802. remark
  2803. FROM
  2804. base_supplier_link
  2805. WHERE
  2806. cancel_flag = 0
  2807. AND supplier_id = 403
  2808. 2016-12-30 16:33:36 select base_area:SELECT
  2809. id,
  2810. area_name
  2811. FROM
  2812. base_area
  2813. WHERE
  2814. parent_id = 922
  2815. 2016-12-30 16:54:07 select base_supplier:SELECT
  2816. id,
  2817. supplier_name,
  2818. area_id,
  2819. is_disabled,
  2820. supplier_type,
  2821. manage_type
  2822. FROM
  2823. base_supplier
  2824. WHERE
  2825. cancel_flag = 0
  2826. AND supplier_type = 301
  2827. LIMIT 0,10
  2828. 2016-12-30 16:54:07 select base_area:SELECT
  2829. id,
  2830. area_name
  2831. FROM
  2832. base_area
  2833. WHERE
  2834. id in(792,810,794,850,797,923)
  2835. 2016-12-30 16:54:09 select base_supplier:SELECT
  2836. id,
  2837. supplier_name,
  2838. area_id,
  2839. is_disabled,
  2840. supplier_type,
  2841. manage_type
  2842. FROM
  2843. base_supplier
  2844. WHERE
  2845. cancel_flag = 0
  2846. and supplier_name like '%%苏州汇融广场假日酒店%%'
  2847. AND supplier_type = 301
  2848. LIMIT 0,10
  2849. 2016-12-30 16:54:09 select base_area:SELECT
  2850. id,
  2851. area_name
  2852. FROM
  2853. base_area
  2854. WHERE
  2855. id in(850)
  2856. 2016-12-30 16:54:11 select base_area:SELECT
  2857. id,
  2858. area_name
  2859. FROM
  2860. base_area
  2861. WHERE
  2862. parent_id = 0
  2863. 2016-12-30 16:54:11 select base_area:SELECT
  2864. id,
  2865. area_name
  2866. FROM
  2867. base_area
  2868. WHERE
  2869. parent_id = 1
  2870. 2016-12-30 16:54:11 select base_supplier:SELECT
  2871. id,
  2872. supplier_name,
  2873. area_id,
  2874. manage_type,
  2875. company_name,
  2876. id_card,
  2877. sett_type,
  2878. sett_frequency,
  2879. account_bank,
  2880. account_num,
  2881. account_name,
  2882. sales_man
  2883. FROM
  2884. base_supplier
  2885. WHERE
  2886. cancel_flag = 0
  2887. AND id = 1113
  2888. 2016-12-30 16:54:11 select base_area:SELECT
  2889. id,
  2890. area_name,
  2891. parent_id
  2892. FROM
  2893. base_area
  2894. WHERE
  2895. cancel_flag = 0
  2896. AND id = 850
  2897. 2016-12-30 16:54:11 select base_area:SELECT
  2898. id,
  2899. area_name
  2900. FROM
  2901. base_area
  2902. WHERE
  2903. cancel_flag = 0
  2904. AND id = 809
  2905. 2016-12-30 16:54:11 select base_supplier_sale:SELECT
  2906. id,
  2907. prod_supplier_id,
  2908. product_type,
  2909. parent_type,
  2910. sale_type,
  2911. commision_flag,
  2912. commision_type,
  2913. back_commision_type,
  2914. back_commision_method,
  2915. back_percent,
  2916. back_value
  2917. FROM
  2918. base_supplier_sale
  2919. WHERE
  2920. cancel_flag = 0
  2921. AND supplier_id = 1113
  2922. 2016-12-30 16:54:11 select base_supplier_link:SELECT
  2923. id,
  2924. link_name,
  2925. contact_name,
  2926. contact_mobile,
  2927. contact_telphone,
  2928. fax,
  2929. email,
  2930. remark
  2931. FROM
  2932. base_supplier_link
  2933. WHERE
  2934. cancel_flag = 0
  2935. AND supplier_id = 1113
  2936. 2016-12-30 16:54:11 select base_area:SELECT
  2937. id,
  2938. area_name
  2939. FROM
  2940. base_area
  2941. WHERE
  2942. parent_id = 809
  2943. 2016-12-30 16:55:23 select base_supplier:SELECT
  2944. id,
  2945. supplier_name,
  2946. area_id,
  2947. is_disabled,
  2948. supplier_type,
  2949. manage_type
  2950. FROM
  2951. base_supplier
  2952. WHERE
  2953. cancel_flag = 0
  2954. AND supplier_type = 301
  2955. LIMIT 0,10
  2956. 2016-12-30 16:55:23 select base_area:SELECT
  2957. id,
  2958. area_name
  2959. FROM
  2960. base_area
  2961. WHERE
  2962. id in(792,810,794,850,797,923)
  2963. 2016-12-30 16:55:24 select base_area:SELECT
  2964. id,
  2965. area_name
  2966. FROM
  2967. base_area
  2968. WHERE
  2969. parent_id = 0
  2970. 2016-12-30 16:55:24 select base_area:SELECT
  2971. id,
  2972. area_name
  2973. FROM
  2974. base_area
  2975. WHERE
  2976. parent_id = 1
  2977. 2016-12-30 17:02:19 select base_supplier:SELECT
  2978. id,
  2979. supplier_name,
  2980. area_id,
  2981. is_disabled,
  2982. supplier_type,
  2983. manage_type
  2984. FROM
  2985. base_supplier
  2986. WHERE
  2987. cancel_flag = 0
  2988. AND supplier_type = 301
  2989. LIMIT 0,10
  2990. 2016-12-30 17:02:19 select base_area:SELECT
  2991. id,
  2992. area_name
  2993. FROM
  2994. base_area
  2995. WHERE
  2996. id in(792,810,794,850,797,923)
  2997. 2016-12-30 17:02:21 select base_area:SELECT
  2998. id,
  2999. area_name
  3000. FROM
  3001. base_area
  3002. WHERE
  3003. parent_id = 0
  3004. 2016-12-30 17:02:21 select base_area:SELECT
  3005. id,
  3006. area_name
  3007. FROM
  3008. base_area
  3009. WHERE
  3010. parent_id = 1
  3011. 2016-12-30 17:02:25 check base_supplier:SELECT
  3012. supplier_name
  3013. FROM
  3014. base_supplier
  3015. WHERE
  3016. cancel_flag = 0
  3017. AND supplier_type = 301
  3018. AND supplier_name = '大众点评'
  3019. 2016-12-30 17:04:48 INSERT INTO base_supplier:INSERT INTO base_supplier (
  3020. create_user_id,
  3021. create_time,
  3022. supplier_type,
  3023. supplier_name,
  3024. area_id,
  3025. manage_type,
  3026. company_name,
  3027. id_card,
  3028. is_disabled,
  3029. sett_type,
  3030. sett_frequency,
  3031. account_bank,
  3032. account_num,
  3033. account_name,
  3034. sales_man
  3035. )
  3036. VALUES
  3037. (33,'2016-12-30 17:04:48',301,'大众点评',7,1,'北京酷讯科技有限公司','',0,275,295,'','','','王蒙')
  3038. 2016-12-30 17:04:48 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  3039. create_user_id,
  3040. create_time,
  3041. supplier_id,
  3042. prod_supplier_id,
  3043. product_type,
  3044. parent_type,
  3045. sale_type,
  3046. commision_flag,
  3047. commision_type,
  3048. back_commision_type,
  3049. back_commision_method,
  3050. back_percent,
  3051. back_value
  3052. )
  3053. VALUES (33,'2016-12-30 17:04:48',1125,0,0,25,177,1,303,306,308,'5','0')
  3054. 2016-12-30 17:04:48 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  3055. create_user_id,
  3056. create_time,
  3057. supplier_id,
  3058. link_name,
  3059. contact_name,
  3060. contact_mobile,
  3061. contact_telphone,
  3062. fax,
  3063. email,
  3064. remark
  3065. )
  3066. VALUES (33,'2016-12-30 17:04:48',1125,'业务','王蒙','','','','','')
  3067. 2016-12-30 17:04:50 select base_supplier:SELECT
  3068. id,
  3069. supplier_name,
  3070. area_id,
  3071. is_disabled,
  3072. supplier_type,
  3073. manage_type
  3074. FROM
  3075. base_supplier
  3076. WHERE
  3077. cancel_flag = 0
  3078. AND supplier_type = 301
  3079. LIMIT 0,10
  3080. 2016-12-30 17:04:50 select base_area:SELECT
  3081. id,
  3082. area_name
  3083. FROM
  3084. base_area
  3085. WHERE
  3086. id in(792,810,794,850,797,923)
  3087. 2016-12-30 17:04:54 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 = 25 or parent_type = 25 and cancel_flag = 0
  3095. GROUP BY
  3096. supplier_id
  3097. 2016-12-30 17:04:54 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(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087,1119,1125)
  3109. AND supplier_type = 301
  3110. LIMIT 0,10
  3111. 2016-12-30 17:04:54 select base_area:SELECT
  3112. id,
  3113. area_name
  3114. FROM
  3115. base_area
  3116. WHERE
  3117. id in(800,794,2,850,923,982)
  3118. 2016-12-30 17:04:57 select base_supplier_sale:SELECT
  3119. supplier_id,
  3120. product_type,
  3121. parent_type
  3122. FROM
  3123. base_supplier_sale
  3124. WHERE
  3125. product_type = 25 or parent_type = 25 and cancel_flag = 0
  3126. GROUP BY
  3127. supplier_id
  3128. 2016-12-30 17:04:57 select base_supplier:SELECT
  3129. id,
  3130. supplier_name,
  3131. area_id,
  3132. is_disabled,
  3133. supplier_type,
  3134. manage_type
  3135. FROM
  3136. base_supplier
  3137. WHERE
  3138. cancel_flag = 0
  3139. and id in(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087,1119,1125)
  3140. AND supplier_type = 301
  3141. LIMIT 10,10
  3142. 2016-12-30 17:04:57 select base_area:SELECT
  3143. id,
  3144. area_name
  3145. FROM
  3146. base_area
  3147. WHERE
  3148. id in(810,802,792,7)
  3149. 2016-12-30 17:04:57 select base_supplier_sale:SELECT
  3150. supplier_id,
  3151. product_type,
  3152. parent_type
  3153. FROM
  3154. base_supplier_sale
  3155. WHERE
  3156. product_type = 25 or parent_type = 25 and cancel_flag = 0
  3157. GROUP BY
  3158. supplier_id
  3159. 2016-12-30 17:04:57 select base_supplier:SELECT
  3160. id,
  3161. supplier_name,
  3162. area_id,
  3163. is_disabled,
  3164. supplier_type,
  3165. manage_type
  3166. FROM
  3167. base_supplier
  3168. WHERE
  3169. cancel_flag = 0
  3170. and id in(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087,1119,1125)
  3171. AND supplier_type = 301
  3172. LIMIT 10,10
  3173. 2016-12-30 17:04:57 select base_area:SELECT
  3174. id,
  3175. area_name
  3176. FROM
  3177. base_area
  3178. WHERE
  3179. id in(810,802,792,7)
  3180. 2016-12-30 17:05:00 select base_area:SELECT
  3181. id,
  3182. area_name
  3183. FROM
  3184. base_area
  3185. WHERE
  3186. parent_id = 0
  3187. 2016-12-30 17:05:00 select base_area:SELECT
  3188. id,
  3189. area_name
  3190. FROM
  3191. base_area
  3192. WHERE
  3193. parent_id = 1
  3194. 2016-12-30 17:05:00 select base_supplier:SELECT
  3195. id,
  3196. supplier_name,
  3197. area_id,
  3198. manage_type,
  3199. company_name,
  3200. id_card,
  3201. sett_type,
  3202. sett_frequency,
  3203. account_bank,
  3204. account_num,
  3205. account_name,
  3206. sales_man
  3207. FROM
  3208. base_supplier
  3209. WHERE
  3210. cancel_flag = 0
  3211. AND id = 1125
  3212. 2016-12-30 17:05:00 select base_area:SELECT
  3213. id,
  3214. area_name,
  3215. parent_id
  3216. FROM
  3217. base_area
  3218. WHERE
  3219. cancel_flag = 0
  3220. AND id = 7
  3221. 2016-12-30 17:05:00 select base_area:SELECT
  3222. id,
  3223. area_name
  3224. FROM
  3225. base_area
  3226. WHERE
  3227. cancel_flag = 0
  3228. AND id = 1
  3229. 2016-12-30 17:05:00 select base_supplier_sale:SELECT
  3230. id,
  3231. prod_supplier_id,
  3232. product_type,
  3233. parent_type,
  3234. sale_type,
  3235. commision_flag,
  3236. commision_type,
  3237. back_commision_type,
  3238. back_commision_method,
  3239. back_percent,
  3240. back_value
  3241. FROM
  3242. base_supplier_sale
  3243. WHERE
  3244. cancel_flag = 0
  3245. AND supplier_id = 1125
  3246. 2016-12-30 17:05:00 select base_supplier_link:SELECT
  3247. id,
  3248. link_name,
  3249. contact_name,
  3250. contact_mobile,
  3251. contact_telphone,
  3252. fax,
  3253. email,
  3254. remark
  3255. FROM
  3256. base_supplier_link
  3257. WHERE
  3258. cancel_flag = 0
  3259. AND supplier_id = 1125
  3260. 2016-12-30 17:05:00 select base_area:SELECT
  3261. id,
  3262. area_name
  3263. FROM
  3264. base_area
  3265. WHERE
  3266. parent_id = 1
  3267. 2016-12-30 17:21:16 select base_supplier:SELECT
  3268. id,
  3269. supplier_name,
  3270. area_id,
  3271. is_disabled,
  3272. supplier_type
  3273. FROM
  3274. base_supplier a
  3275. WHERE
  3276. cancel_flag = 0
  3277. AND supplier_type = 187
  3278. LIMIT 0,10
  3279. 2016-12-30 17:21:16 count:SELECT
  3280. a.id
  3281. FROM
  3282. base_supplier AS a,
  3283. base_supplier_purchase AS b
  3284. WHERE
  3285. a.id = b.supplier_id
  3286. AND a.cancel_flag = 0
  3287. AND b.cancel_flag = 0
  3288. GROUP BY
  3289. b.supplier_id
  3290. 2016-12-30 17:21:16 select base_area:SELECT
  3291. id,
  3292. area_name
  3293. FROM
  3294. base_area
  3295. WHERE
  3296. id in(792,923,810)
  3297. 2016-12-30 17:21:32 select base_supplier:SELECT
  3298. id,
  3299. supplier_name,
  3300. area_id,
  3301. is_disabled,
  3302. supplier_type
  3303. FROM
  3304. base_supplier a
  3305. WHERE
  3306. cancel_flag = 0
  3307. AND supplier_type = 187
  3308. LIMIT 0,10
  3309. 2016-12-30 17:21:32 count:SELECT
  3310. a.id
  3311. FROM
  3312. base_supplier AS a,
  3313. base_supplier_purchase AS b
  3314. WHERE
  3315. a.id = b.supplier_id
  3316. AND a.cancel_flag = 0
  3317. AND b.cancel_flag = 0
  3318. GROUP BY
  3319. b.supplier_id
  3320. 2016-12-30 17:21:32 select base_area:SELECT
  3321. id,
  3322. area_name
  3323. FROM
  3324. base_area
  3325. WHERE
  3326. id in(792,923,810)
  3327. 2016-12-30 17:41:11 select base_supplier:SELECT
  3328. id,
  3329. supplier_name,
  3330. area_id,
  3331. is_disabled,
  3332. supplier_type,
  3333. manage_type
  3334. FROM
  3335. base_supplier
  3336. WHERE
  3337. cancel_flag = 0
  3338. AND supplier_type = 301
  3339. LIMIT 0,10
  3340. 2016-12-30 17:41:11 select base_area:SELECT
  3341. id,
  3342. area_name
  3343. FROM
  3344. base_area
  3345. WHERE
  3346. id in(792,810,794,850,797,923)
  3347. 2016-12-30 17:41:12 select base_supplier:SELECT
  3348. id,
  3349. supplier_name,
  3350. area_id,
  3351. is_disabled,
  3352. supplier_type,
  3353. manage_type
  3354. FROM
  3355. base_supplier
  3356. WHERE
  3357. cancel_flag = 0
  3358. AND supplier_type = 301
  3359. LIMIT 0,10
  3360. 2016-12-30 17:41:12 select base_area:SELECT
  3361. id,
  3362. area_name
  3363. FROM
  3364. base_area
  3365. WHERE
  3366. id in(792,810,794,850,797,923)
  3367. 2016-12-30 17:41:12 select base_supplier:SELECT
  3368. id,
  3369. supplier_name,
  3370. area_id,
  3371. is_disabled,
  3372. supplier_type,
  3373. manage_type
  3374. FROM
  3375. base_supplier
  3376. WHERE
  3377. cancel_flag = 0
  3378. AND supplier_type = 301
  3379. LIMIT 0,10
  3380. 2016-12-30 17:41:12 select base_area:SELECT
  3381. id,
  3382. area_name
  3383. FROM
  3384. base_area
  3385. WHERE
  3386. id in(792,810,794,850,797,923)
  3387. 2016-12-30 17:41:13 select base_supplier:SELECT
  3388. id,
  3389. supplier_name,
  3390. area_id,
  3391. is_disabled,
  3392. supplier_type,
  3393. manage_type
  3394. FROM
  3395. base_supplier
  3396. WHERE
  3397. cancel_flag = 0
  3398. AND supplier_type = 301
  3399. LIMIT 0,10
  3400. 2016-12-30 17:41:13 select base_area:SELECT
  3401. id,
  3402. area_name
  3403. FROM
  3404. base_area
  3405. WHERE
  3406. id in(792,810,794,850,797,923)
  3407. 2016-12-30 17:41:13 select base_supplier:SELECT
  3408. id,
  3409. supplier_name,
  3410. area_id,
  3411. is_disabled,
  3412. supplier_type,
  3413. manage_type
  3414. FROM
  3415. base_supplier
  3416. WHERE
  3417. cancel_flag = 0
  3418. AND supplier_type = 301
  3419. LIMIT 0,10
  3420. 2016-12-30 17:41:13 select base_area:SELECT
  3421. id,
  3422. area_name
  3423. FROM
  3424. base_area
  3425. WHERE
  3426. id in(792,810,794,850,797,923)
  3427. 2016-12-30 17:41:13 select base_supplier:SELECT
  3428. id,
  3429. supplier_name,
  3430. area_id,
  3431. is_disabled,
  3432. supplier_type,
  3433. manage_type
  3434. FROM
  3435. base_supplier
  3436. WHERE
  3437. cancel_flag = 0
  3438. AND supplier_type = 301
  3439. LIMIT 0,10
  3440. 2016-12-30 17:41:13 select base_area:SELECT
  3441. id,
  3442. area_name
  3443. FROM
  3444. base_area
  3445. WHERE
  3446. id in(792,810,794,850,797,923)
  3447. 2016-12-30 17:51:32 select base_supplier:SELECT
  3448. id,
  3449. supplier_name,
  3450. area_id,
  3451. is_disabled,
  3452. supplier_type,
  3453. manage_type
  3454. FROM
  3455. base_supplier
  3456. WHERE
  3457. cancel_flag = 0
  3458. AND supplier_type = 301
  3459. LIMIT 0,10
  3460. 2016-12-30 17:51:32 select base_area:SELECT
  3461. id,
  3462. area_name
  3463. FROM
  3464. base_area
  3465. WHERE
  3466. id in(792,810,794,850,797,923)
  3467. 2016-12-30 17:56:11 select base_supplier:SELECT
  3468. id,
  3469. supplier_name,
  3470. area_id,
  3471. is_disabled,
  3472. supplier_type
  3473. FROM
  3474. base_supplier a
  3475. WHERE
  3476. cancel_flag = 0
  3477. AND supplier_type = 187
  3478. LIMIT 0,10
  3479. 2016-12-30 17:56:11 count:SELECT
  3480. a.id
  3481. FROM
  3482. base_supplier AS a,
  3483. base_supplier_purchase AS b
  3484. WHERE
  3485. a.id = b.supplier_id
  3486. AND a.cancel_flag = 0
  3487. AND b.cancel_flag = 0
  3488. GROUP BY
  3489. b.supplier_id
  3490. 2016-12-30 17:56:11 select base_area:SELECT
  3491. id,
  3492. area_name
  3493. FROM
  3494. base_area
  3495. WHERE
  3496. id in(792,923,810)
  3497. 2016-12-30 17:56:12 select base_supplier:SELECT
  3498. id,
  3499. supplier_name,
  3500. area_id,
  3501. is_disabled,
  3502. supplier_type,
  3503. manage_type
  3504. FROM
  3505. base_supplier
  3506. WHERE
  3507. cancel_flag = 0
  3508. AND supplier_type = 301
  3509. LIMIT 0,10
  3510. 2016-12-30 17:56:12 select base_area:SELECT
  3511. id,
  3512. area_name
  3513. FROM
  3514. base_area
  3515. WHERE
  3516. id in(792,810,794,850,797,923)
  3517. 2016-12-30 18:01:11 select base_supplier:SELECT
  3518. id,
  3519. supplier_name,
  3520. area_id,
  3521. is_disabled,
  3522. supplier_type,
  3523. manage_type
  3524. FROM
  3525. base_supplier
  3526. WHERE
  3527. cancel_flag = 0
  3528. AND supplier_type = 301
  3529. LIMIT 0,10
  3530. 2016-12-30 18:01:11 select base_area:SELECT
  3531. id,
  3532. area_name
  3533. FROM
  3534. base_area
  3535. WHERE
  3536. id in(792,810,794,850,797,923)
  3537. 2016-12-30 18:13:16 select base_supplier:SELECT
  3538. id,
  3539. supplier_name,
  3540. area_id,
  3541. is_disabled,
  3542. supplier_type
  3543. FROM
  3544. base_supplier a
  3545. WHERE
  3546. cancel_flag = 0
  3547. AND supplier_type = 187
  3548. LIMIT 0,10
  3549. 2016-12-30 18:13:16 count:SELECT
  3550. a.id
  3551. FROM
  3552. base_supplier AS a,
  3553. base_supplier_purchase AS b
  3554. WHERE
  3555. a.id = b.supplier_id
  3556. AND a.cancel_flag = 0
  3557. AND b.cancel_flag = 0
  3558. GROUP BY
  3559. b.supplier_id
  3560. 2016-12-30 18:13:16 select base_area:SELECT
  3561. id,
  3562. area_name
  3563. FROM
  3564. base_area
  3565. WHERE
  3566. id in(792,923,810)
  3567. 2016-12-30 18:13:19 select base_supplier:SELECT
  3568. id,
  3569. supplier_name,
  3570. area_id,
  3571. is_disabled,
  3572. supplier_type
  3573. FROM
  3574. base_supplier a
  3575. WHERE
  3576. cancel_flag = 0
  3577. and a.supplier_name like '%%启东恒大%%'
  3578. AND supplier_type = 187
  3579. LIMIT 0,10
  3580. 2016-12-30 18:13:19 count:SELECT
  3581. a.id
  3582. FROM
  3583. base_supplier AS a,
  3584. base_supplier_purchase AS b
  3585. WHERE
  3586. a.id = b.supplier_id
  3587. and a.supplier_name like '%%启东恒大%%'
  3588. AND a.cancel_flag = 0
  3589. AND b.cancel_flag = 0
  3590. GROUP BY
  3591. b.supplier_id
  3592. 2016-12-30 18:13:19 select base_area:SELECT
  3593. id,
  3594. area_name
  3595. FROM
  3596. base_area
  3597. WHERE
  3598. id in(860)
  3599. 2016-12-30 18:13:21 select base_area:SELECT
  3600. id,
  3601. area_name
  3602. FROM
  3603. base_area
  3604. WHERE
  3605. parent_id = 0
  3606. 2016-12-30 18:13:21 select base_supplier:SELECT
  3607. id,
  3608. supplier_name,
  3609. area_id,
  3610. company_name,
  3611. sett_type,
  3612. sett_frequency,
  3613. account_bank,
  3614. account_num,
  3615. account_name
  3616. FROM
  3617. base_supplier
  3618. WHERE
  3619. cancel_flag = 0
  3620. AND id = 1045
  3621. 2016-12-30 18:13:21 select base_area:SELECT
  3622. id,
  3623. area_name,
  3624. parent_id
  3625. FROM
  3626. base_area
  3627. WHERE
  3628. cancel_flag = 0
  3629. AND id = 860
  3630. 2016-12-30 18:13:21 select base_area:SELECT
  3631. id,
  3632. area_name
  3633. FROM
  3634. base_area
  3635. WHERE
  3636. cancel_flag = 0
  3637. AND id = 809
  3638. 2016-12-30 18:13:21 select base_supplier_purchase:SELECT
  3639. id,
  3640. product_type,
  3641. purchaser_name
  3642. FROM
  3643. base_supplier_purchase
  3644. WHERE
  3645. cancel_flag = 0
  3646. AND supplier_id = 1045
  3647. 2016-12-30 18:13:21 select base_supplier_link:SELECT
  3648. id,
  3649. link_name,
  3650. contact_name,
  3651. contact_mobile,
  3652. contact_telphone,
  3653. fax,
  3654. email,
  3655. remark
  3656. FROM
  3657. base_supplier_link
  3658. WHERE
  3659. cancel_flag = 0
  3660. AND supplier_id = 1045
  3661. 2016-12-30 18:13:21 select base_area:SELECT
  3662. id,
  3663. area_name
  3664. FROM
  3665. base_area
  3666. WHERE
  3667. parent_id = 809
  3668. 2016-12-30 19:20:09 select base_supplier:SELECT
  3669. id,
  3670. supplier_name,
  3671. area_id,
  3672. is_disabled,
  3673. supplier_type
  3674. FROM
  3675. base_supplier a
  3676. WHERE
  3677. cancel_flag = 0
  3678. AND supplier_type = 187
  3679. LIMIT 0,10
  3680. 2016-12-30 19:20:09 count:SELECT
  3681. a.id
  3682. FROM
  3683. base_supplier AS a,
  3684. base_supplier_purchase AS b
  3685. WHERE
  3686. a.id = b.supplier_id
  3687. AND a.cancel_flag = 0
  3688. AND b.cancel_flag = 0
  3689. GROUP BY
  3690. b.supplier_id
  3691. 2016-12-30 19:20:09 select base_area:SELECT
  3692. id,
  3693. area_name
  3694. FROM
  3695. base_area
  3696. WHERE
  3697. id in(792,923,810)
  3698. 2016-12-30 19:20:13 select base_supplier:SELECT
  3699. id,
  3700. supplier_name,
  3701. area_id,
  3702. is_disabled,
  3703. supplier_type
  3704. FROM
  3705. base_supplier a
  3706. WHERE
  3707. cancel_flag = 0
  3708. and a.supplier_name like '%%扬州%%'
  3709. AND supplier_type = 187
  3710. LIMIT 0,10
  3711. 2016-12-30 19:20:13 count:SELECT
  3712. a.id
  3713. FROM
  3714. base_supplier AS a,
  3715. base_supplier_purchase AS b
  3716. WHERE
  3717. a.id = b.supplier_id
  3718. and a.supplier_name like '%%扬州%%'
  3719. AND a.cancel_flag = 0
  3720. AND b.cancel_flag = 0
  3721. GROUP BY
  3722. b.supplier_id
  3723. 2016-12-30 19:20:13 select base_area:SELECT
  3724. id,
  3725. area_name
  3726. FROM
  3727. base_area
  3728. WHERE
  3729. id in(895)
  3730. 2016-12-30 19:20:17 select base_supplier:SELECT
  3731. id,
  3732. supplier_name,
  3733. area_id,
  3734. is_disabled,
  3735. supplier_type,
  3736. manage_type
  3737. FROM
  3738. base_supplier
  3739. WHERE
  3740. cancel_flag = 0
  3741. AND supplier_type = 301
  3742. LIMIT 0,10
  3743. 2016-12-30 19:20:17 select base_area:SELECT
  3744. id,
  3745. area_name
  3746. FROM
  3747. base_area
  3748. WHERE
  3749. id in(792,810,794,850,797,923)
  3750. 2016-12-30 19:20:19 select base_supplier:SELECT
  3751. id,
  3752. supplier_name,
  3753. area_id,
  3754. is_disabled,
  3755. supplier_type,
  3756. manage_type
  3757. FROM
  3758. base_supplier
  3759. WHERE
  3760. cancel_flag = 0
  3761. and supplier_name like '%%扬州香格里拉大酒店%%'
  3762. AND supplier_type = 301
  3763. LIMIT 0,10
  3764. 2016-12-30 19:20:20 select base_area:SELECT
  3765. id,
  3766. area_name
  3767. FROM
  3768. base_area
  3769. WHERE
  3770. parent_id = 0
  3771. 2016-12-30 19:20:20 select base_area:SELECT
  3772. id,
  3773. area_name
  3774. FROM
  3775. base_area
  3776. WHERE
  3777. parent_id = 1
  3778. 2016-12-30 19:20:22 select base_supplier:SELECT
  3779. id,
  3780. supplier_name,
  3781. area_id,
  3782. is_disabled,
  3783. supplier_type,
  3784. manage_type
  3785. FROM
  3786. base_supplier
  3787. WHERE
  3788. cancel_flag = 0
  3789. and supplier_name like '%%扬州香格里拉大酒店%%'
  3790. AND supplier_type = 301
  3791. LIMIT 0,10
  3792. 2016-12-30 19:23:02 select base_area:SELECT
  3793. id,
  3794. area_name
  3795. FROM
  3796. base_area
  3797. WHERE
  3798. parent_id = 0
  3799. 2016-12-30 19:23:02 select base_area:SELECT
  3800. id,
  3801. area_name
  3802. FROM
  3803. base_area
  3804. WHERE
  3805. parent_id = 1
  3806. 2016-12-30 19:23:16 check base_supplier:SELECT
  3807. supplier_name
  3808. FROM
  3809. base_supplier
  3810. WHERE
  3811. cancel_flag = 0
  3812. AND supplier_type = 301
  3813. AND supplier_name = '携程团购'
  3814. 2016-12-30 19:23:22 select base_supplier_sale:SELECT
  3815. supplier_id,
  3816. product_type,
  3817. parent_type
  3818. FROM
  3819. base_supplier_sale
  3820. WHERE
  3821. product_type = 25 or parent_type = 25 and cancel_flag = 0
  3822. GROUP BY
  3823. supplier_id
  3824. 2016-12-30 19:23:22 select base_supplier:SELECT
  3825. id,
  3826. supplier_name,
  3827. area_id,
  3828. is_disabled,
  3829. supplier_type,
  3830. manage_type
  3831. FROM
  3832. base_supplier
  3833. WHERE
  3834. cancel_flag = 0
  3835. and id in(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087,1119,1125)
  3836. AND supplier_type = 301
  3837. LIMIT 0,10
  3838. 2016-12-30 19:23:22 select base_area:SELECT
  3839. id,
  3840. area_name
  3841. FROM
  3842. base_area
  3843. WHERE
  3844. id in(800,794,2,850,923,982)
  3845. 2016-12-30 19:23:26 select base_supplier_sale:SELECT
  3846. supplier_id,
  3847. product_type,
  3848. parent_type
  3849. FROM
  3850. base_supplier_sale
  3851. WHERE
  3852. product_type = 25 or parent_type = 25 and cancel_flag = 0
  3853. GROUP BY
  3854. supplier_id
  3855. 2016-12-30 19:23:26 select base_supplier:SELECT
  3856. id,
  3857. supplier_name,
  3858. area_id,
  3859. is_disabled,
  3860. supplier_type,
  3861. manage_type
  3862. FROM
  3863. base_supplier
  3864. WHERE
  3865. cancel_flag = 0
  3866. and supplier_name like '%%携程团购%%' and id in(164,610,663,669,670,673,674,675,1010,1019,1020,1021,1022,1087,1119,1125) and supplier_name like '%%携程团购%%'
  3867. AND supplier_type = 301
  3868. LIMIT 0,10
  3869. 2016-12-30 19:23:28 select base_supplier:SELECT
  3870. id,
  3871. supplier_name,
  3872. area_id,
  3873. is_disabled,
  3874. supplier_type,
  3875. manage_type
  3876. FROM
  3877. base_supplier
  3878. WHERE
  3879. cancel_flag = 0
  3880. and supplier_name like '%%携程团购%%'
  3881. AND supplier_type = 301
  3882. LIMIT 0,10
  3883. 2016-12-30 19:23:28 select base_area:SELECT
  3884. id,
  3885. area_name
  3886. FROM
  3887. base_area
  3888. WHERE
  3889. id in(1161)
  3890. 2016-12-30 19:23:36 select base_area:SELECT
  3891. id,
  3892. area_name
  3893. FROM
  3894. base_area
  3895. WHERE
  3896. parent_id = 0
  3897. 2016-12-30 19:23:36 select base_area:SELECT
  3898. id,
  3899. area_name
  3900. FROM
  3901. base_area
  3902. WHERE
  3903. parent_id = 1
  3904. 2016-12-30 19:23:43 check base_supplier:SELECT
  3905. supplier_name
  3906. FROM
  3907. base_supplier
  3908. WHERE
  3909. cancel_flag = 0
  3910. AND supplier_type = 301
  3911. AND supplier_name = '携程团购(酒店)'
  3912. 2016-12-30 19:23:55 select base_area:SELECT
  3913. id,
  3914. area_name
  3915. FROM
  3916. base_area
  3917. WHERE
  3918. parent_id = 791
  3919. 2016-12-30 19:26:13 INSERT INTO base_supplier:INSERT INTO base_supplier (
  3920. create_user_id,
  3921. create_time,
  3922. supplier_type,
  3923. supplier_name,
  3924. area_id,
  3925. manage_type,
  3926. company_name,
  3927. id_card,
  3928. is_disabled,
  3929. sett_type,
  3930. sett_frequency,
  3931. account_bank,
  3932. account_num,
  3933. account_name,
  3934. sales_man
  3935. )
  3936. VALUES
  3937. (33,'2016-12-30 19:26:13',301,'携程团购(酒店)',794,1,'上海赫程国际旅行社有限公司南通分公司','',0,275,295,'','','','郭曦')
  3938. 2016-12-30 19:26:13 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_sale (
  3939. create_user_id,
  3940. create_time,
  3941. supplier_id,
  3942. prod_supplier_id,
  3943. product_type,
  3944. parent_type,
  3945. sale_type,
  3946. commision_flag,
  3947. commision_type,
  3948. back_commision_type,
  3949. back_commision_method,
  3950. back_percent,
  3951. back_value
  3952. )
  3953. VALUES (33,'2016-12-30 19:26:13',1126,0,0,25,177,0,0,0,0,'0','0')
  3954. 2016-12-30 19:26:13 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  3955. create_user_id,
  3956. create_time,
  3957. supplier_id,
  3958. link_name,
  3959. contact_name,
  3960. contact_mobile,
  3961. contact_telphone,
  3962. fax,
  3963. email,
  3964. remark
  3965. )
  3966. VALUES (33,'2016-12-30 19:26:13',1126,'业务','郭曦','','','','','')
  3967. 2016-12-30 19:26:15 select base_supplier:SELECT
  3968. id,
  3969. supplier_name,
  3970. area_id,
  3971. is_disabled,
  3972. supplier_type,
  3973. manage_type
  3974. FROM
  3975. base_supplier
  3976. WHERE
  3977. cancel_flag = 0
  3978. AND supplier_type = 301
  3979. LIMIT 0,10
  3980. 2016-12-30 19:26:15 select base_area:SELECT
  3981. id,
  3982. area_name
  3983. FROM
  3984. base_area
  3985. WHERE
  3986. id in(792,810,794,850,797,923)
  3987. 2016-12-30 20:30:25 select base_supplier:SELECT
  3988. id,
  3989. supplier_name,
  3990. area_id,
  3991. is_disabled,
  3992. supplier_type
  3993. FROM
  3994. base_supplier a
  3995. WHERE
  3996. cancel_flag = 0
  3997. AND supplier_type = 187
  3998. LIMIT 0,10
  3999. 2016-12-30 20:30:25 count:SELECT
  4000. a.id
  4001. FROM
  4002. base_supplier AS a,
  4003. base_supplier_purchase AS b
  4004. WHERE
  4005. a.id = b.supplier_id
  4006. AND a.cancel_flag = 0
  4007. AND b.cancel_flag = 0
  4008. GROUP BY
  4009. b.supplier_id
  4010. 2016-12-30 20:30:25 select base_area:SELECT
  4011. id,
  4012. area_name
  4013. FROM
  4014. base_area
  4015. WHERE
  4016. id in(792,923,810)
  4017. 2016-12-30 20:30:27 select base_supplier:SELECT
  4018. id,
  4019. supplier_name,
  4020. area_id,
  4021. is_disabled,
  4022. supplier_type
  4023. FROM
  4024. base_supplier a
  4025. WHERE
  4026. cancel_flag = 0
  4027. and a.supplier_name like '%%苏州金鸡湖新罗酒店%%'
  4028. AND supplier_type = 187
  4029. LIMIT 0,10
  4030. 2016-12-30 20:30:27 count:SELECT
  4031. a.id
  4032. FROM
  4033. base_supplier AS a,
  4034. base_supplier_purchase AS b
  4035. WHERE
  4036. a.id = b.supplier_id
  4037. and a.supplier_name like '%%苏州金鸡湖新罗酒店%%'
  4038. AND a.cancel_flag = 0
  4039. AND b.cancel_flag = 0
  4040. GROUP BY
  4041. b.supplier_id
  4042. 2016-12-30 20:30:27 select base_area:SELECT
  4043. id,
  4044. area_name
  4045. FROM
  4046. base_area
  4047. WHERE
  4048. id in(850)
  4049. 2016-12-30 20:30:29 select base_area:SELECT
  4050. id,
  4051. area_name
  4052. FROM
  4053. base_area
  4054. WHERE
  4055. parent_id = 0
  4056. 2016-12-30 20:30:29 select base_supplier:SELECT
  4057. id,
  4058. supplier_name,
  4059. area_id,
  4060. company_name,
  4061. sett_type,
  4062. sett_frequency,
  4063. account_bank,
  4064. account_num,
  4065. account_name
  4066. FROM
  4067. base_supplier
  4068. WHERE
  4069. cancel_flag = 0
  4070. AND id = 1057
  4071. 2016-12-30 20:30:29 select base_area:SELECT
  4072. id,
  4073. area_name,
  4074. parent_id
  4075. FROM
  4076. base_area
  4077. WHERE
  4078. cancel_flag = 0
  4079. AND id = 850
  4080. 2016-12-30 20:30:29 select base_area:SELECT
  4081. id,
  4082. area_name
  4083. FROM
  4084. base_area
  4085. WHERE
  4086. cancel_flag = 0
  4087. AND id = 809
  4088. 2016-12-30 20:30:29 select base_supplier_purchase:SELECT
  4089. id,
  4090. product_type,
  4091. purchaser_name
  4092. FROM
  4093. base_supplier_purchase
  4094. WHERE
  4095. cancel_flag = 0
  4096. AND supplier_id = 1057
  4097. 2016-12-30 20:30:29 select base_supplier_link:SELECT
  4098. id,
  4099. link_name,
  4100. contact_name,
  4101. contact_mobile,
  4102. contact_telphone,
  4103. fax,
  4104. email,
  4105. remark
  4106. FROM
  4107. base_supplier_link
  4108. WHERE
  4109. cancel_flag = 0
  4110. AND supplier_id = 1057
  4111. 2016-12-30 20:30:29 select base_area:SELECT
  4112. id,
  4113. area_name
  4114. FROM
  4115. base_area
  4116. WHERE
  4117. parent_id = 809
  4118. 2016-12-30 20:30:35 getDbPurchase base_supplier_purchase:SELECT
  4119. id AS purchase_id,
  4120. product_type,
  4121. purchaser_name
  4122. FROM
  4123. base_supplier_purchase
  4124. WHERE
  4125. cancel_flag = 0
  4126. AND supplier_id = 1057
  4127. 2016-12-30 20:30:35 getDbLink base_supplier_link:SELECT
  4128. id as link_id,
  4129. link_name,
  4130. contact_name,
  4131. contact_mobile,
  4132. contact_telphone,
  4133. fax,
  4134. email,
  4135. remark
  4136. FROM
  4137. base_supplier_link
  4138. WHERE
  4139. cancel_flag = 0
  4140. AND supplier_id = 1057
  4141. 2016-12-30 20:30:35 getDbChannel base_supplier:SELECT
  4142. supplier_name,
  4143. area_id,
  4144. company_name,
  4145. sett_type,
  4146. sett_frequency,
  4147. account_bank,
  4148. account_num,
  4149. account_name
  4150. FROM
  4151. base_supplier
  4152. WHERE
  4153. cancel_flag = 0
  4154. AND id = 1057
  4155. 2016-12-30 20:30:35 INSERT base_supplier_purchase:INSERT INTO base_supplier_purchase (
  4156. create_user_id,
  4157. create_time,
  4158. supplier_id,
  4159. product_type,
  4160. purchaser_name
  4161. )
  4162. VALUES (284,'2016-12-30 20:30:35',1057,25,'IRIS')
  4163. 2016-12-30 20:30:35 delete base_supplier_sale:UPDATE base_supplier_purchase
  4164. SET update_user_id = 284,update_time = '2016-12-30 20:30:35',cancel_flag = 1
  4165. WHERE
  4166. id = 81
  4167. 2016-12-30 20:30:36 select base_supplier:SELECT
  4168. id,
  4169. supplier_name,
  4170. area_id,
  4171. is_disabled,
  4172. supplier_type
  4173. FROM
  4174. base_supplier a
  4175. WHERE
  4176. cancel_flag = 0
  4177. AND supplier_type = 187
  4178. LIMIT 0,10
  4179. 2016-12-30 20:30:36 count:SELECT
  4180. a.id
  4181. FROM
  4182. base_supplier AS a,
  4183. base_supplier_purchase AS b
  4184. WHERE
  4185. a.id = b.supplier_id
  4186. AND a.cancel_flag = 0
  4187. AND b.cancel_flag = 0
  4188. GROUP BY
  4189. b.supplier_id
  4190. 2016-12-30 20:30:36 select base_area:SELECT
  4191. id,
  4192. area_name
  4193. FROM
  4194. base_area
  4195. WHERE
  4196. id in(792,923,810)
  4197. 2016-12-30 20:30:37 select base_supplier:SELECT
  4198. id,
  4199. supplier_name,
  4200. area_id,
  4201. is_disabled,
  4202. supplier_type
  4203. FROM
  4204. base_supplier a
  4205. WHERE
  4206. cancel_flag = 0
  4207. AND supplier_type = 187
  4208. LIMIT 0,10
  4209. 2016-12-30 20:30:37 count:SELECT
  4210. a.id
  4211. FROM
  4212. base_supplier AS a,
  4213. base_supplier_purchase AS b
  4214. WHERE
  4215. a.id = b.supplier_id
  4216. AND a.cancel_flag = 0
  4217. AND b.cancel_flag = 0
  4218. GROUP BY
  4219. b.supplier_id
  4220. 2016-12-30 20:30:37 select base_area:SELECT
  4221. id,
  4222. area_name
  4223. FROM
  4224. base_area
  4225. WHERE
  4226. id in(792,923,810)
  4227. 2016-12-30 20:30:40 select base_supplier:SELECT
  4228. id,
  4229. supplier_name,
  4230. area_id,
  4231. is_disabled,
  4232. supplier_type
  4233. FROM
  4234. base_supplier a
  4235. WHERE
  4236. cancel_flag = 0
  4237. and a.supplier_name like '%%苏州金鸡湖新罗酒店%%'
  4238. AND supplier_type = 187
  4239. LIMIT 0,10
  4240. 2016-12-30 20:30:40 count:SELECT
  4241. a.id
  4242. FROM
  4243. base_supplier AS a,
  4244. base_supplier_purchase AS b
  4245. WHERE
  4246. a.id = b.supplier_id
  4247. and a.supplier_name like '%%苏州金鸡湖新罗酒店%%'
  4248. AND a.cancel_flag = 0
  4249. AND b.cancel_flag = 0
  4250. GROUP BY
  4251. b.supplier_id
  4252. 2016-12-30 20:30:40 select base_area:SELECT
  4253. id,
  4254. area_name
  4255. FROM
  4256. base_area
  4257. WHERE
  4258. id in(850)
  4259. 2016-12-30 20:30:41 select base_area:SELECT
  4260. id,
  4261. area_name
  4262. FROM
  4263. base_area
  4264. WHERE
  4265. parent_id = 0
  4266. 2016-12-30 20:30:41 select base_supplier:SELECT
  4267. id,
  4268. supplier_name,
  4269. area_id,
  4270. company_name,
  4271. sett_type,
  4272. sett_frequency,
  4273. account_bank,
  4274. account_num,
  4275. account_name
  4276. FROM
  4277. base_supplier
  4278. WHERE
  4279. cancel_flag = 0
  4280. AND id = 1057
  4281. 2016-12-30 20:30:41 select base_area:SELECT
  4282. id,
  4283. area_name,
  4284. parent_id
  4285. FROM
  4286. base_area
  4287. WHERE
  4288. cancel_flag = 0
  4289. AND id = 850
  4290. 2016-12-30 20:30:41 select base_area:SELECT
  4291. id,
  4292. area_name
  4293. FROM
  4294. base_area
  4295. WHERE
  4296. cancel_flag = 0
  4297. AND id = 809
  4298. 2016-12-30 20:30:41 select base_supplier_purchase:SELECT
  4299. id,
  4300. product_type,
  4301. purchaser_name
  4302. FROM
  4303. base_supplier_purchase
  4304. WHERE
  4305. cancel_flag = 0
  4306. AND supplier_id = 1057
  4307. 2016-12-30 20:30:41 select base_supplier_link:SELECT
  4308. id,
  4309. link_name,
  4310. contact_name,
  4311. contact_mobile,
  4312. contact_telphone,
  4313. fax,
  4314. email,
  4315. remark
  4316. FROM
  4317. base_supplier_link
  4318. WHERE
  4319. cancel_flag = 0
  4320. AND supplier_id = 1057
  4321. 2016-12-30 20:30:41 select base_area:SELECT
  4322. id,
  4323. area_name
  4324. FROM
  4325. base_area
  4326. WHERE
  4327. parent_id = 809
  4328. 2016-12-30 20:30:44 select base_supplier:SELECT
  4329. id,
  4330. supplier_name,
  4331. area_id,
  4332. is_disabled,
  4333. supplier_type
  4334. FROM
  4335. base_supplier a
  4336. WHERE
  4337. cancel_flag = 0
  4338. and a.supplier_name like '%%苏州金鸡湖新罗酒店%%'
  4339. AND supplier_type = 187
  4340. LIMIT 0,10
  4341. 2016-12-30 20:30:44 count:SELECT
  4342. a.id
  4343. FROM
  4344. base_supplier AS a,
  4345. base_supplier_purchase AS b
  4346. WHERE
  4347. a.id = b.supplier_id
  4348. and a.supplier_name like '%%苏州金鸡湖新罗酒店%%'
  4349. AND a.cancel_flag = 0
  4350. AND b.cancel_flag = 0
  4351. GROUP BY
  4352. b.supplier_id
  4353. 2016-12-30 20:30:44 select base_area:SELECT
  4354. id,
  4355. area_name
  4356. FROM
  4357. base_area
  4358. WHERE
  4359. id in(850)
  4360. 2016-12-30 20:30:48 select base_supplier:SELECT
  4361. id,
  4362. supplier_name,
  4363. area_id,
  4364. is_disabled,
  4365. supplier_type,
  4366. manage_type
  4367. FROM
  4368. base_supplier
  4369. WHERE
  4370. cancel_flag = 0
  4371. AND supplier_type = 301
  4372. LIMIT 0,10
  4373. 2016-12-30 20:30:48 select base_area:SELECT
  4374. id,
  4375. area_name
  4376. FROM
  4377. base_area
  4378. WHERE
  4379. id in(792,810,794,850,797,923)
  4380. 2016-12-30 20:30:49 select base_supplier:SELECT
  4381. id,
  4382. supplier_name,
  4383. area_id,
  4384. is_disabled,
  4385. supplier_type,
  4386. manage_type
  4387. FROM
  4388. base_supplier
  4389. WHERE
  4390. cancel_flag = 0
  4391. and supplier_name like '%%苏州金鸡湖新罗酒店%%'
  4392. AND supplier_type = 301
  4393. LIMIT 0,10
  4394. 2016-12-30 20:31:45 select base_supplier:SELECT
  4395. id,
  4396. supplier_name,
  4397. area_id,
  4398. is_disabled,
  4399. supplier_type
  4400. FROM
  4401. base_supplier a
  4402. WHERE
  4403. cancel_flag = 0
  4404. AND supplier_type = 187
  4405. LIMIT 0,10
  4406. 2016-12-30 20:31:45 count:SELECT
  4407. a.id
  4408. FROM
  4409. base_supplier AS a,
  4410. base_supplier_purchase AS b
  4411. WHERE
  4412. a.id = b.supplier_id
  4413. AND a.cancel_flag = 0
  4414. AND b.cancel_flag = 0
  4415. GROUP BY
  4416. b.supplier_id
  4417. 2016-12-30 20:31:45 select base_area:SELECT
  4418. id,
  4419. area_name
  4420. FROM
  4421. base_area
  4422. WHERE
  4423. id in(792,923,810)
  4424. 2016-12-30 20:31:47 select base_supplier:SELECT
  4425. id,
  4426. supplier_name,
  4427. area_id,
  4428. is_disabled,
  4429. supplier_type
  4430. FROM
  4431. base_supplier a
  4432. WHERE
  4433. cancel_flag = 0
  4434. AND supplier_type = 187
  4435. LIMIT 10,10
  4436. 2016-12-30 20:31:47 count:SELECT
  4437. a.id
  4438. FROM
  4439. base_supplier AS a,
  4440. base_supplier_purchase AS b
  4441. WHERE
  4442. a.id = b.supplier_id
  4443. AND a.cancel_flag = 0
  4444. AND b.cancel_flag = 0
  4445. GROUP BY
  4446. b.supplier_id
  4447. 2016-12-30 20:31:47 select base_area:SELECT
  4448. id,
  4449. area_name
  4450. FROM
  4451. base_area
  4452. WHERE
  4453. id in(792,876,810,1161,923)
  4454. 2016-12-30 20:31:48 select base_supplier:SELECT
  4455. id,
  4456. supplier_name,
  4457. area_id,
  4458. is_disabled,
  4459. supplier_type
  4460. FROM
  4461. base_supplier a
  4462. WHERE
  4463. cancel_flag = 0
  4464. AND supplier_type = 187
  4465. LIMIT 20,10
  4466. 2016-12-30 20:31:48 count:SELECT
  4467. a.id
  4468. FROM
  4469. base_supplier AS a,
  4470. base_supplier_purchase AS b
  4471. WHERE
  4472. a.id = b.supplier_id
  4473. AND a.cancel_flag = 0
  4474. AND b.cancel_flag = 0
  4475. GROUP BY
  4476. b.supplier_id
  4477. 2016-12-30 20:31:48 select base_area:SELECT
  4478. id,
  4479. area_name
  4480. FROM
  4481. base_area
  4482. WHERE
  4483. id in(803,792,1200,961)
  4484. 2016-12-30 20:31:49 select base_supplier:SELECT
  4485. id,
  4486. supplier_name,
  4487. area_id,
  4488. is_disabled,
  4489. supplier_type
  4490. FROM
  4491. base_supplier a
  4492. WHERE
  4493. cancel_flag = 0
  4494. AND supplier_type = 187
  4495. LIMIT 40,10
  4496. 2016-12-30 20:31:49 count:SELECT
  4497. a.id
  4498. FROM
  4499. base_supplier AS a,
  4500. base_supplier_purchase AS b
  4501. WHERE
  4502. a.id = b.supplier_id
  4503. AND a.cancel_flag = 0
  4504. AND b.cancel_flag = 0
  4505. GROUP BY
  4506. b.supplier_id
  4507. 2016-12-30 20:31:49 select base_area:SELECT
  4508. id,
  4509. area_name
  4510. FROM
  4511. base_area
  4512. WHERE
  4513. id in(850,803,961,800,792,923)
  4514. 2016-12-30 20:31:54 select base_supplier:SELECT
  4515. id,
  4516. supplier_name,
  4517. area_id,
  4518. is_disabled,
  4519. supplier_type
  4520. FROM
  4521. base_supplier a
  4522. WHERE
  4523. cancel_flag = 0
  4524. and a.supplier_name like '%%新罗%%'
  4525. AND supplier_type = 187
  4526. LIMIT 0,10
  4527. 2016-12-30 20:31:54 count:SELECT
  4528. a.id
  4529. FROM
  4530. base_supplier AS a,
  4531. base_supplier_purchase AS b
  4532. WHERE
  4533. a.id = b.supplier_id
  4534. and a.supplier_name like '%%新罗%%'
  4535. AND a.cancel_flag = 0
  4536. AND b.cancel_flag = 0
  4537. GROUP BY
  4538. b.supplier_id
  4539. 2016-12-30 20:31:54 select base_area:SELECT
  4540. id,
  4541. area_name
  4542. FROM
  4543. base_area
  4544. WHERE
  4545. id in(850)
  4546. 2016-12-30 20:31:55 getListUser base_user:SELECT
  4547. id,
  4548. true_name,
  4549. `status`
  4550. FROM
  4551. base_user
  4552. WHERE
  4553. cancel_flag = 0
  4554. AND org_id = 1057
  4555. 2016-12-30 20:31:57 select base_supplier:SELECT
  4556. id,
  4557. supplier_name,
  4558. area_id,
  4559. is_disabled,
  4560. supplier_type
  4561. FROM
  4562. base_supplier a
  4563. WHERE
  4564. cancel_flag = 0
  4565. and a.supplier_name like '%%新罗%%'
  4566. AND supplier_type = 187
  4567. LIMIT 0,10
  4568. 2016-12-30 20:31:57 count:SELECT
  4569. a.id
  4570. FROM
  4571. base_supplier AS a,
  4572. base_supplier_purchase AS b
  4573. WHERE
  4574. a.id = b.supplier_id
  4575. and a.supplier_name like '%%新罗%%'
  4576. AND a.cancel_flag = 0
  4577. AND b.cancel_flag = 0
  4578. GROUP BY
  4579. b.supplier_id
  4580. 2016-12-30 20:31:57 select base_area:SELECT
  4581. id,
  4582. area_name
  4583. FROM
  4584. base_area
  4585. WHERE
  4586. id in(850)
  4587. 2016-12-30 20:31:58 select base_area:SELECT
  4588. id,
  4589. area_name
  4590. FROM
  4591. base_area
  4592. WHERE
  4593. parent_id = 0
  4594. 2016-12-30 20:31:58 select base_supplier:SELECT
  4595. id,
  4596. supplier_name,
  4597. area_id,
  4598. company_name,
  4599. sett_type,
  4600. sett_frequency,
  4601. account_bank,
  4602. account_num,
  4603. account_name
  4604. FROM
  4605. base_supplier
  4606. WHERE
  4607. cancel_flag = 0
  4608. AND id = 1057
  4609. 2016-12-30 20:31:58 select base_area:SELECT
  4610. id,
  4611. area_name,
  4612. parent_id
  4613. FROM
  4614. base_area
  4615. WHERE
  4616. cancel_flag = 0
  4617. AND id = 850
  4618. 2016-12-30 20:31:58 select base_area:SELECT
  4619. id,
  4620. area_name
  4621. FROM
  4622. base_area
  4623. WHERE
  4624. cancel_flag = 0
  4625. AND id = 809
  4626. 2016-12-30 20:31:58 select base_supplier_purchase:SELECT
  4627. id,
  4628. product_type,
  4629. purchaser_name
  4630. FROM
  4631. base_supplier_purchase
  4632. WHERE
  4633. cancel_flag = 0
  4634. AND supplier_id = 1057
  4635. 2016-12-30 20:31:58 select base_supplier_link:SELECT
  4636. id,
  4637. link_name,
  4638. contact_name,
  4639. contact_mobile,
  4640. contact_telphone,
  4641. fax,
  4642. email,
  4643. remark
  4644. FROM
  4645. base_supplier_link
  4646. WHERE
  4647. cancel_flag = 0
  4648. AND supplier_id = 1057
  4649. 2016-12-30 20:31:58 select base_area:SELECT
  4650. id,
  4651. area_name
  4652. FROM
  4653. base_area
  4654. WHERE
  4655. parent_id = 809
  4656. 2016-12-30 20:32:03 select base_supplier:SELECT
  4657. id,
  4658. supplier_name,
  4659. area_id,
  4660. is_disabled,
  4661. supplier_type
  4662. FROM
  4663. base_supplier a
  4664. WHERE
  4665. cancel_flag = 0
  4666. and a.supplier_name like '%%新罗%%'
  4667. AND supplier_type = 187
  4668. LIMIT 0,10
  4669. 2016-12-30 20:32:03 count:SELECT
  4670. a.id
  4671. FROM
  4672. base_supplier AS a,
  4673. base_supplier_purchase AS b
  4674. WHERE
  4675. a.id = b.supplier_id
  4676. and a.supplier_name like '%%新罗%%'
  4677. AND a.cancel_flag = 0
  4678. AND b.cancel_flag = 0
  4679. GROUP BY
  4680. b.supplier_id
  4681. 2016-12-30 20:32:03 select base_area:SELECT
  4682. id,
  4683. area_name
  4684. FROM
  4685. base_area
  4686. WHERE
  4687. id in(850)
  4688. 2016-12-30 20:42:25 select base_supplier:SELECT
  4689. id,
  4690. supplier_name,
  4691. area_id,
  4692. is_disabled,
  4693. supplier_type
  4694. FROM
  4695. base_supplier a
  4696. WHERE
  4697. cancel_flag = 0
  4698. AND supplier_type = 187
  4699. LIMIT 0,10
  4700. 2016-12-30 20:42:25 count:SELECT
  4701. a.id
  4702. FROM
  4703. base_supplier AS a,
  4704. base_supplier_purchase AS b
  4705. WHERE
  4706. a.id = b.supplier_id
  4707. AND a.cancel_flag = 0
  4708. AND b.cancel_flag = 0
  4709. GROUP BY
  4710. b.supplier_id
  4711. 2016-12-30 20:42:25 select base_area:SELECT
  4712. id,
  4713. area_name
  4714. FROM
  4715. base_area
  4716. WHERE
  4717. id in(792,923,810)
  4718. 2016-12-30 20:42:27 select base_supplier:SELECT
  4719. id,
  4720. supplier_name,
  4721. area_id,
  4722. is_disabled,
  4723. supplier_type,
  4724. manage_type
  4725. FROM
  4726. base_supplier
  4727. WHERE
  4728. cancel_flag = 0
  4729. AND supplier_type = 301
  4730. LIMIT 0,10
  4731. 2016-12-30 20:42:27 select base_area:SELECT
  4732. id,
  4733. area_name
  4734. FROM
  4735. base_area
  4736. WHERE
  4737. id in(792,810,794,850,797,923)
  4738. 2016-12-30 20:42:28 select base_supplier:SELECT
  4739. id,
  4740. supplier_name,
  4741. area_id,
  4742. is_disabled,
  4743. supplier_type,
  4744. manage_type
  4745. FROM
  4746. base_supplier
  4747. WHERE
  4748. cancel_flag = 0
  4749. AND supplier_type = 301
  4750. LIMIT 0,10
  4751. 2016-12-30 20:42:28 select base_area:SELECT
  4752. id,
  4753. area_name
  4754. FROM
  4755. base_area
  4756. WHERE
  4757. id in(792,810,794,850,797,923)