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.
 
 
 
 

2574 lines
99 KiB

  1. 2016-12-14 09:24:51 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-14 09:24:51 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-14 09:24:51 select base_area:SELECT
  25. id,
  26. area_name
  27. FROM
  28. base_area
  29. WHERE
  30. id in(923,803,792,1200,961)
  31. 2016-12-14 09:24:57 select base_area:SELECT
  32. id,
  33. area_name
  34. FROM
  35. base_area
  36. WHERE
  37. parent_id = 0
  38. 2016-12-14 09:24:57 select base_supplier:SELECT
  39. id,
  40. supplier_name,
  41. area_id,
  42. company_name,
  43. sett_type,
  44. sett_frequency,
  45. account_bank,
  46. account_num,
  47. account_name
  48. FROM
  49. base_supplier
  50. WHERE
  51. cancel_flag = 0
  52. AND id = 501
  53. 2016-12-14 09:24:57 select base_area:SELECT
  54. id,
  55. area_name,
  56. parent_id
  57. FROM
  58. base_area
  59. WHERE
  60. cancel_flag = 0
  61. AND id = 923
  62. 2016-12-14 09:24:57 select base_area:SELECT
  63. id,
  64. area_name
  65. FROM
  66. base_area
  67. WHERE
  68. cancel_flag = 0
  69. AND id = 922
  70. 2016-12-14 09:24:57 select base_supplier_purchase:SELECT
  71. id,
  72. product_type,
  73. purchaser_name
  74. FROM
  75. base_supplier_purchase
  76. WHERE
  77. cancel_flag = 0
  78. AND supplier_id = 501
  79. 2016-12-14 09:24:57 select base_supplier_link:SELECT
  80. id,
  81. link_name,
  82. contact_name,
  83. contact_mobile,
  84. contact_telphone,
  85. fax,
  86. email,
  87. remark
  88. FROM
  89. base_supplier_link
  90. WHERE
  91. cancel_flag = 0
  92. AND supplier_id = 501
  93. 2016-12-14 09:24:57 select base_area:SELECT
  94. id,
  95. area_name
  96. FROM
  97. base_area
  98. WHERE
  99. parent_id = 922
  100. 2016-12-14 10:09:09 select base_supplier:SELECT
  101. id,
  102. supplier_name,
  103. area_id,
  104. is_disabled,
  105. supplier_type,
  106. manage_type
  107. FROM
  108. base_supplier
  109. WHERE
  110. cancel_flag = 0
  111. AND supplier_type = 301
  112. LIMIT 0,10
  113. 2016-12-14 10:09:09 select base_area:SELECT
  114. id,
  115. area_name
  116. FROM
  117. base_area
  118. WHERE
  119. id in(850,961,800,4,797,7,1966,794)
  120. 2016-12-14 10:10:26 select base_supplier:SELECT
  121. id,
  122. supplier_name,
  123. area_id,
  124. is_disabled,
  125. supplier_type,
  126. manage_type
  127. FROM
  128. base_supplier
  129. WHERE
  130. cancel_flag = 0
  131. AND supplier_type = 301
  132. LIMIT 0,10
  133. 2016-12-14 10:10:26 select base_area:SELECT
  134. id,
  135. area_name
  136. FROM
  137. base_area
  138. WHERE
  139. id in(850,961,800,4,797,7,1966,794)
  140. 2016-12-14 10:11:49 select base_supplier:SELECT
  141. id,
  142. supplier_name,
  143. area_id,
  144. is_disabled,
  145. supplier_type,
  146. manage_type
  147. FROM
  148. base_supplier
  149. WHERE
  150. cancel_flag = 0
  151. AND supplier_type = 301
  152. LIMIT 0,10
  153. 2016-12-14 10:11:49 select base_area:SELECT
  154. id,
  155. area_name
  156. FROM
  157. base_area
  158. WHERE
  159. id in(850,961,800,4,797,7,1966,794)
  160. 2016-12-14 10:11:51 select base_supplier:SELECT
  161. id,
  162. supplier_name,
  163. area_id,
  164. is_disabled,
  165. supplier_type,
  166. manage_type
  167. FROM
  168. base_supplier
  169. WHERE
  170. cancel_flag = 0
  171. AND supplier_type = 301
  172. LIMIT 0,10
  173. 2016-12-14 10:11:51 select base_area:SELECT
  174. id,
  175. area_name
  176. FROM
  177. base_area
  178. WHERE
  179. id in(850,961,800,4,797,7,1966,794)
  180. 2016-12-14 10:12:01 select base_supplier:SELECT
  181. id,
  182. supplier_name,
  183. area_id,
  184. is_disabled,
  185. supplier_type,
  186. manage_type
  187. FROM
  188. base_supplier
  189. WHERE
  190. cancel_flag = 0
  191. AND supplier_type = 301
  192. LIMIT 0,10
  193. 2016-12-14 10:12:01 select base_area:SELECT
  194. id,
  195. area_name
  196. FROM
  197. base_area
  198. WHERE
  199. id in(850,961,800,4,797,7,1966,794)
  200. 2016-12-14 10:12:02 select base_supplier:SELECT
  201. id,
  202. supplier_name,
  203. area_id,
  204. is_disabled,
  205. supplier_type,
  206. manage_type
  207. FROM
  208. base_supplier
  209. WHERE
  210. cancel_flag = 0
  211. AND supplier_type = 301
  212. LIMIT 0,10
  213. 2016-12-14 10:12:02 select base_area:SELECT
  214. id,
  215. area_name
  216. FROM
  217. base_area
  218. WHERE
  219. id in(850,961,800,4,797,7,1966,794)
  220. 2016-12-14 10:12:41 select base_supplier:SELECT
  221. id,
  222. supplier_name,
  223. area_id,
  224. is_disabled,
  225. supplier_type,
  226. manage_type
  227. FROM
  228. base_supplier
  229. WHERE
  230. cancel_flag = 0
  231. AND supplier_type = 301
  232. LIMIT 0,10
  233. 2016-12-14 10:12:41 select base_area:SELECT
  234. id,
  235. area_name
  236. FROM
  237. base_area
  238. WHERE
  239. id in(850,961,800,4,797,7,1966,794)
  240. 2016-12-14 10:12:44 select base_supplier:SELECT
  241. id,
  242. supplier_name,
  243. area_id,
  244. is_disabled,
  245. supplier_type,
  246. manage_type
  247. FROM
  248. base_supplier
  249. WHERE
  250. cancel_flag = 0
  251. AND supplier_type = 301
  252. LIMIT 0,10
  253. 2016-12-14 10:12:44 select base_area:SELECT
  254. id,
  255. area_name
  256. FROM
  257. base_area
  258. WHERE
  259. id in(850,961,800,4,797,7,1966,794)
  260. 2016-12-14 10:16:30 select base_supplier:SELECT
  261. id,
  262. supplier_name,
  263. area_id,
  264. is_disabled,
  265. supplier_type,
  266. manage_type
  267. FROM
  268. base_supplier
  269. WHERE
  270. cancel_flag = 0
  271. AND supplier_type = 301
  272. LIMIT 0,10
  273. 2016-12-14 10:16:30 select base_area:SELECT
  274. id,
  275. area_name
  276. FROM
  277. base_area
  278. WHERE
  279. id in(850,961,800,4,797,7,1966,794)
  280. 2016-12-14 10:16:33 select base_supplier:SELECT
  281. id,
  282. supplier_name,
  283. area_id,
  284. is_disabled,
  285. supplier_type,
  286. manage_type
  287. FROM
  288. base_supplier
  289. WHERE
  290. cancel_flag = 0
  291. AND supplier_type = 301
  292. LIMIT 0,10
  293. 2016-12-14 10:16:33 select base_area:SELECT
  294. id,
  295. area_name
  296. FROM
  297. base_area
  298. WHERE
  299. id in(850,961,800,4,797,7,1966,794)
  300. 2016-12-14 10:16:34 select base_supplier:SELECT
  301. id,
  302. supplier_name,
  303. area_id,
  304. is_disabled,
  305. supplier_type,
  306. manage_type
  307. FROM
  308. base_supplier
  309. WHERE
  310. cancel_flag = 0
  311. AND supplier_type = 301
  312. LIMIT 0,10
  313. 2016-12-14 10:16:34 select base_area:SELECT
  314. id,
  315. area_name
  316. FROM
  317. base_area
  318. WHERE
  319. id in(850,961,800,4,797,7,1966,794)
  320. 2016-12-14 10:16:35 select base_supplier:SELECT
  321. id,
  322. supplier_name,
  323. area_id,
  324. is_disabled,
  325. supplier_type,
  326. manage_type
  327. FROM
  328. base_supplier
  329. WHERE
  330. cancel_flag = 0
  331. AND supplier_type = 301
  332. LIMIT 0,10
  333. 2016-12-14 10:16:35 select base_area:SELECT
  334. id,
  335. area_name
  336. FROM
  337. base_area
  338. WHERE
  339. id in(850,961,800,4,797,7,1966,794)
  340. 2016-12-14 10:17:00 select base_supplier:SELECT
  341. id,
  342. supplier_name,
  343. area_id,
  344. is_disabled,
  345. supplier_type,
  346. manage_type
  347. FROM
  348. base_supplier
  349. WHERE
  350. cancel_flag = 0
  351. AND supplier_type = 301
  352. LIMIT 0,10
  353. 2016-12-14 10:17:00 select base_area:SELECT
  354. id,
  355. area_name
  356. FROM
  357. base_area
  358. WHERE
  359. id in(850,961,800,4,797,7,1966,794)
  360. 2016-12-14 10:17:15 select base_supplier:SELECT
  361. id,
  362. supplier_name,
  363. area_id,
  364. is_disabled,
  365. supplier_type,
  366. manage_type
  367. FROM
  368. base_supplier
  369. WHERE
  370. cancel_flag = 0
  371. AND supplier_type = 301
  372. LIMIT 0,10
  373. 2016-12-14 10:17:15 select base_area:SELECT
  374. id,
  375. area_name
  376. FROM
  377. base_area
  378. WHERE
  379. id in(850,961,800,4,797,7,1966,794)
  380. 2016-12-14 10:18:08 select base_supplier:SELECT
  381. id,
  382. supplier_name,
  383. area_id,
  384. is_disabled,
  385. supplier_type,
  386. manage_type
  387. FROM
  388. base_supplier
  389. WHERE
  390. cancel_flag = 0
  391. AND supplier_type = 301
  392. LIMIT 0,10
  393. 2016-12-14 10:18:08 select base_area:SELECT
  394. id,
  395. area_name
  396. FROM
  397. base_area
  398. WHERE
  399. id in(850,961,800,4,797,7,1966,794)
  400. 2016-12-14 10:18:10 select base_supplier:SELECT
  401. id,
  402. supplier_name,
  403. area_id,
  404. is_disabled,
  405. supplier_type,
  406. manage_type
  407. FROM
  408. base_supplier
  409. WHERE
  410. cancel_flag = 0
  411. AND supplier_type = 301
  412. LIMIT 0,10
  413. 2016-12-14 10:18:10 select base_area:SELECT
  414. id,
  415. area_name
  416. FROM
  417. base_area
  418. WHERE
  419. id in(850,961,800,4,797,7,1966,794)
  420. 2016-12-14 10:18:27 select base_supplier:SELECT
  421. id,
  422. supplier_name,
  423. area_id,
  424. is_disabled,
  425. supplier_type,
  426. manage_type
  427. FROM
  428. base_supplier
  429. WHERE
  430. cancel_flag = 0
  431. AND supplier_type = 301
  432. LIMIT 0,10
  433. 2016-12-14 10:18:27 select base_area:SELECT
  434. id,
  435. area_name
  436. FROM
  437. base_area
  438. WHERE
  439. id in(850,961,800,4,797,7,1966,794)
  440. 2016-12-14 10:20:10 select base_supplier:SELECT
  441. id,
  442. supplier_name,
  443. area_id,
  444. is_disabled,
  445. supplier_type,
  446. manage_type
  447. FROM
  448. base_supplier
  449. WHERE
  450. cancel_flag = 0
  451. AND supplier_type = 301
  452. LIMIT 0,10
  453. 2016-12-14 10:20:10 select base_area:SELECT
  454. id,
  455. area_name
  456. FROM
  457. base_area
  458. WHERE
  459. id in(850,961,800,4,797,7,1966,794)
  460. 2016-12-14 10:28:40 select base_supplier:SELECT
  461. id,
  462. supplier_name,
  463. area_id,
  464. is_disabled,
  465. supplier_type,
  466. manage_type
  467. FROM
  468. base_supplier
  469. WHERE
  470. cancel_flag = 0
  471. AND supplier_type = 301
  472. LIMIT 0,10
  473. 2016-12-14 10:28:40 select base_area:SELECT
  474. id,
  475. area_name
  476. FROM
  477. base_area
  478. WHERE
  479. id in(850,961,800,4,797,7,1966,794)
  480. 2016-12-14 10:28:42 select base_supplier:SELECT
  481. id,
  482. supplier_name,
  483. area_id,
  484. is_disabled,
  485. supplier_type,
  486. manage_type
  487. FROM
  488. base_supplier
  489. WHERE
  490. cancel_flag = 0
  491. AND supplier_type = 301
  492. LIMIT 30,10
  493. 2016-12-14 10:28:42 select base_area:SELECT
  494. id,
  495. area_name
  496. FROM
  497. base_area
  498. WHERE
  499. id in(982,810)
  500. 2016-12-14 10:29:10 select base_supplier:SELECT
  501. id,
  502. supplier_name,
  503. area_id,
  504. is_disabled,
  505. supplier_type,
  506. manage_type
  507. FROM
  508. base_supplier
  509. WHERE
  510. cancel_flag = 0
  511. AND supplier_type = 301
  512. LIMIT 20,10
  513. 2016-12-14 10:29:10 select base_area:SELECT
  514. id,
  515. area_name
  516. FROM
  517. base_area
  518. WHERE
  519. id in(797,850,792,794,2,923)
  520. 2016-12-14 10:43:21 select base_supplier:SELECT
  521. id,
  522. supplier_name,
  523. area_id,
  524. is_disabled,
  525. supplier_type
  526. FROM
  527. base_supplier a
  528. WHERE
  529. cancel_flag = 0
  530. AND supplier_type = 187
  531. LIMIT 0,10
  532. 2016-12-14 10:43:21 count:SELECT
  533. a.id
  534. FROM
  535. base_supplier AS a,
  536. base_supplier_purchase AS b
  537. WHERE
  538. a.id = b.supplier_id
  539. AND a.cancel_flag = 0
  540. AND b.cancel_flag = 0
  541. GROUP BY
  542. b.supplier_id
  543. 2016-12-14 10:43:21 select base_area:SELECT
  544. id,
  545. area_name
  546. FROM
  547. base_area
  548. WHERE
  549. id in(923,803,792,1200,961)
  550. 2016-12-14 10:43:36 select base_supplier:SELECT
  551. id,
  552. supplier_name,
  553. area_id,
  554. is_disabled,
  555. supplier_type,
  556. manage_type
  557. FROM
  558. base_supplier
  559. WHERE
  560. cancel_flag = 0
  561. AND supplier_type = 301
  562. LIMIT 0,10
  563. 2016-12-14 10:43:36 select base_area:SELECT
  564. id,
  565. area_name
  566. FROM
  567. base_area
  568. WHERE
  569. id in(850,961,800,4,797,7,1966,794)
  570. 2016-12-14 10:43:38 select base_supplier:SELECT
  571. id,
  572. supplier_name,
  573. area_id,
  574. is_disabled,
  575. supplier_type,
  576. manage_type
  577. FROM
  578. base_supplier
  579. WHERE
  580. cancel_flag = 0
  581. AND supplier_type = 301
  582. LIMIT 0,10
  583. 2016-12-14 10:43:38 select base_area:SELECT
  584. id,
  585. area_name
  586. FROM
  587. base_area
  588. WHERE
  589. id in(850,961,800,4,797,7,1966,794)
  590. 2016-12-14 10:43:39 select base_supplier:SELECT
  591. id,
  592. supplier_name,
  593. area_id,
  594. is_disabled,
  595. supplier_type
  596. FROM
  597. base_supplier a
  598. WHERE
  599. cancel_flag = 0
  600. AND supplier_type = 187
  601. LIMIT 0,10
  602. 2016-12-14 10:43:39 count:SELECT
  603. a.id
  604. FROM
  605. base_supplier AS a,
  606. base_supplier_purchase AS b
  607. WHERE
  608. a.id = b.supplier_id
  609. AND a.cancel_flag = 0
  610. AND b.cancel_flag = 0
  611. GROUP BY
  612. b.supplier_id
  613. 2016-12-14 10:43:39 select base_area:SELECT
  614. id,
  615. area_name
  616. FROM
  617. base_area
  618. WHERE
  619. id in(923,803,792,1200,961)
  620. 2016-12-14 11:19:10 select base_supplier:SELECT
  621. id,
  622. supplier_name,
  623. area_id,
  624. is_disabled,
  625. supplier_type
  626. FROM
  627. base_supplier a
  628. WHERE
  629. cancel_flag = 0
  630. AND supplier_type = 187
  631. LIMIT 0,10
  632. 2016-12-14 11:19:10 count:SELECT
  633. a.id
  634. FROM
  635. base_supplier AS a,
  636. base_supplier_purchase AS b
  637. WHERE
  638. a.id = b.supplier_id
  639. AND a.cancel_flag = 0
  640. AND b.cancel_flag = 0
  641. GROUP BY
  642. b.supplier_id
  643. 2016-12-14 11:19:10 select base_area:SELECT
  644. id,
  645. area_name
  646. FROM
  647. base_area
  648. WHERE
  649. id in(923,803,792,1200,961)
  650. 2016-12-14 11:25:58 select base_supplier:SELECT
  651. id,
  652. supplier_name,
  653. area_id,
  654. is_disabled,
  655. supplier_type
  656. FROM
  657. base_supplier a
  658. WHERE
  659. cancel_flag = 0
  660. AND supplier_type = 187
  661. LIMIT 0,10
  662. 2016-12-14 11:25:58 count:SELECT
  663. a.id
  664. FROM
  665. base_supplier AS a,
  666. base_supplier_purchase AS b
  667. WHERE
  668. a.id = b.supplier_id
  669. AND a.cancel_flag = 0
  670. AND b.cancel_flag = 0
  671. GROUP BY
  672. b.supplier_id
  673. 2016-12-14 11:25:58 select base_area:SELECT
  674. id,
  675. area_name
  676. FROM
  677. base_area
  678. WHERE
  679. id in(923,803,792,1200,961)
  680. 2016-12-14 13:19:15 select base_supplier:SELECT
  681. id,
  682. supplier_name,
  683. area_id,
  684. is_disabled,
  685. supplier_type
  686. FROM
  687. base_supplier a
  688. WHERE
  689. cancel_flag = 0
  690. AND supplier_type = 187
  691. LIMIT 0,10
  692. 2016-12-14 13:19:15 count:SELECT
  693. a.id
  694. FROM
  695. base_supplier AS a,
  696. base_supplier_purchase AS b
  697. WHERE
  698. a.id = b.supplier_id
  699. AND a.cancel_flag = 0
  700. AND b.cancel_flag = 0
  701. GROUP BY
  702. b.supplier_id
  703. 2016-12-14 13:19:15 select base_area:SELECT
  704. id,
  705. area_name
  706. FROM
  707. base_area
  708. WHERE
  709. id in(923,803,792,1200,961)
  710. 2016-12-14 13:19:17 select base_supplier:SELECT
  711. id,
  712. supplier_name,
  713. area_id,
  714. is_disabled,
  715. supplier_type,
  716. manage_type
  717. FROM
  718. base_supplier
  719. WHERE
  720. cancel_flag = 0
  721. AND supplier_type = 301
  722. LIMIT 0,10
  723. 2016-12-14 13:19:17 select base_area:SELECT
  724. id,
  725. area_name
  726. FROM
  727. base_area
  728. WHERE
  729. id in(850,961,800,4,797,7,1966,794)
  730. 2016-12-14 15:32:00 select base_supplier:SELECT
  731. id,
  732. supplier_name,
  733. area_id,
  734. is_disabled,
  735. supplier_type
  736. FROM
  737. base_supplier a
  738. WHERE
  739. cancel_flag = 0
  740. AND supplier_type = 187
  741. LIMIT 0,10
  742. 2016-12-14 15:32:01 count:SELECT
  743. a.id
  744. FROM
  745. base_supplier AS a,
  746. base_supplier_purchase AS b
  747. WHERE
  748. a.id = b.supplier_id
  749. AND a.cancel_flag = 0
  750. AND b.cancel_flag = 0
  751. GROUP BY
  752. b.supplier_id
  753. 2016-12-14 15:32:01 select base_area:SELECT
  754. id,
  755. area_name
  756. FROM
  757. base_area
  758. WHERE
  759. id in(923,803,792,1200,961)
  760. 2016-12-14 15:32:04 select base_area:SELECT
  761. id,
  762. area_name
  763. FROM
  764. base_area
  765. WHERE
  766. parent_id = 0
  767. 2016-12-14 15:32:04 select base_area:SELECT
  768. id,
  769. area_name
  770. FROM
  771. base_area
  772. WHERE
  773. parent_id = 1
  774. 2016-12-14 15:32:25 select base_supplier:SELECT
  775. id,
  776. supplier_name,
  777. area_id,
  778. is_disabled,
  779. supplier_type,
  780. manage_type
  781. FROM
  782. base_supplier
  783. WHERE
  784. cancel_flag = 0
  785. AND supplier_type = 301
  786. LIMIT 0,10
  787. 2016-12-14 15:32:25 select base_area:SELECT
  788. id,
  789. area_name
  790. FROM
  791. base_area
  792. WHERE
  793. id in(850,961,800,4,797,7,1966,794)
  794. 2016-12-14 15:32:28 select base_supplier:SELECT
  795. id,
  796. supplier_name,
  797. area_id,
  798. is_disabled,
  799. supplier_type,
  800. manage_type
  801. FROM
  802. base_supplier
  803. WHERE
  804. cancel_flag = 0
  805. AND supplier_type = 301
  806. LIMIT 10,10
  807. 2016-12-14 15:32:28 select base_area:SELECT
  808. id,
  809. area_name
  810. FROM
  811. base_area
  812. WHERE
  813. id in(794,810,850,792)
  814. 2016-12-14 15:32:29 select base_supplier:SELECT
  815. id,
  816. supplier_name,
  817. area_id,
  818. is_disabled,
  819. supplier_type,
  820. manage_type
  821. FROM
  822. base_supplier
  823. WHERE
  824. cancel_flag = 0
  825. AND supplier_type = 301
  826. LIMIT 20,10
  827. 2016-12-14 15:32:29 select base_area:SELECT
  828. id,
  829. area_name
  830. FROM
  831. base_area
  832. WHERE
  833. id in(797,850,792,794,2,923)
  834. 2016-12-14 15:32:29 select base_supplier:SELECT
  835. id,
  836. supplier_name,
  837. area_id,
  838. is_disabled,
  839. supplier_type,
  840. manage_type
  841. FROM
  842. base_supplier
  843. WHERE
  844. cancel_flag = 0
  845. AND supplier_type = 301
  846. LIMIT 30,10
  847. 2016-12-14 15:32:30 select base_area:SELECT
  848. id,
  849. area_name
  850. FROM
  851. base_area
  852. WHERE
  853. id in(982,810)
  854. 2016-12-14 15:32:32 select base_supplier:SELECT
  855. id,
  856. supplier_name,
  857. area_id,
  858. is_disabled,
  859. supplier_type,
  860. manage_type
  861. FROM
  862. base_supplier
  863. WHERE
  864. cancel_flag = 0
  865. AND supplier_type = 301
  866. LIMIT 20,10
  867. 2016-12-14 15:32:32 select base_area:SELECT
  868. id,
  869. area_name
  870. FROM
  871. base_area
  872. WHERE
  873. id in(797,850,792,794,2,923)
  874. 2016-12-14 15:32:35 select base_supplier:SELECT
  875. id,
  876. supplier_name,
  877. area_id,
  878. is_disabled,
  879. supplier_type
  880. FROM
  881. base_supplier a
  882. WHERE
  883. cancel_flag = 0
  884. AND supplier_type = 187
  885. LIMIT 0,10
  886. 2016-12-14 15:32:35 count:SELECT
  887. a.id
  888. FROM
  889. base_supplier AS a,
  890. base_supplier_purchase AS b
  891. WHERE
  892. a.id = b.supplier_id
  893. AND a.cancel_flag = 0
  894. AND b.cancel_flag = 0
  895. GROUP BY
  896. b.supplier_id
  897. 2016-12-14 15:32:35 select base_area:SELECT
  898. id,
  899. area_name
  900. FROM
  901. base_area
  902. WHERE
  903. id in(923,803,792,1200,961)
  904. 2016-12-14 15:32:42 getListUser base_user:SELECT
  905. id,
  906. true_name,
  907. `status`
  908. FROM
  909. base_user
  910. WHERE
  911. cancel_flag = 0
  912. AND org_id = 501
  913. 2016-12-14 15:32:44 select base_supplier:SELECT
  914. id,
  915. supplier_name,
  916. area_id,
  917. is_disabled,
  918. supplier_type
  919. FROM
  920. base_supplier a
  921. WHERE
  922. cancel_flag = 0
  923. AND supplier_type = 187
  924. LIMIT 0,10
  925. 2016-12-14 15:32:44 count:SELECT
  926. a.id
  927. FROM
  928. base_supplier AS a,
  929. base_supplier_purchase AS b
  930. WHERE
  931. a.id = b.supplier_id
  932. AND a.cancel_flag = 0
  933. AND b.cancel_flag = 0
  934. GROUP BY
  935. b.supplier_id
  936. 2016-12-14 15:32:44 select base_area:SELECT
  937. id,
  938. area_name
  939. FROM
  940. base_area
  941. WHERE
  942. id in(923,803,792,1200,961)
  943. 2016-12-14 15:32:46 select base_area:SELECT
  944. id,
  945. area_name
  946. FROM
  947. base_area
  948. WHERE
  949. parent_id = 0
  950. 2016-12-14 15:32:46 select base_supplier:SELECT
  951. id,
  952. supplier_name,
  953. area_id,
  954. company_name,
  955. sett_type,
  956. sett_frequency,
  957. account_bank,
  958. account_num,
  959. account_name
  960. FROM
  961. base_supplier
  962. WHERE
  963. cancel_flag = 0
  964. AND id = 501
  965. 2016-12-14 15:32:46 select base_area:SELECT
  966. id,
  967. area_name,
  968. parent_id
  969. FROM
  970. base_area
  971. WHERE
  972. cancel_flag = 0
  973. AND id = 923
  974. 2016-12-14 15:32:46 select base_area:SELECT
  975. id,
  976. area_name
  977. FROM
  978. base_area
  979. WHERE
  980. cancel_flag = 0
  981. AND id = 922
  982. 2016-12-14 15:32:46 select base_supplier_purchase:SELECT
  983. id,
  984. product_type,
  985. purchaser_name
  986. FROM
  987. base_supplier_purchase
  988. WHERE
  989. cancel_flag = 0
  990. AND supplier_id = 501
  991. 2016-12-14 15:32:46 select base_supplier_link:SELECT
  992. id,
  993. link_name,
  994. contact_name,
  995. contact_mobile,
  996. contact_telphone,
  997. fax,
  998. email,
  999. remark
  1000. FROM
  1001. base_supplier_link
  1002. WHERE
  1003. cancel_flag = 0
  1004. AND supplier_id = 501
  1005. 2016-12-14 15:32:46 select base_area:SELECT
  1006. id,
  1007. area_name
  1008. FROM
  1009. base_area
  1010. WHERE
  1011. parent_id = 922
  1012. 2016-12-14 15:33:12 select base_supplier:SELECT
  1013. id,
  1014. supplier_name,
  1015. area_id,
  1016. is_disabled,
  1017. supplier_type,
  1018. manage_type
  1019. FROM
  1020. base_supplier
  1021. WHERE
  1022. cancel_flag = 0
  1023. AND supplier_type = 301
  1024. LIMIT 0,10
  1025. 2016-12-14 15:33:12 select base_area:SELECT
  1026. id,
  1027. area_name
  1028. FROM
  1029. base_area
  1030. WHERE
  1031. id in(850,961,800,4,797,7,1966,794)
  1032. 2016-12-14 15:33:16 select base_supplier:SELECT
  1033. id,
  1034. supplier_name,
  1035. area_id,
  1036. is_disabled,
  1037. supplier_type
  1038. FROM
  1039. base_supplier a
  1040. WHERE
  1041. cancel_flag = 0
  1042. AND supplier_type = 187
  1043. LIMIT 0,10
  1044. 2016-12-14 15:33:16 count:SELECT
  1045. a.id
  1046. FROM
  1047. base_supplier AS a,
  1048. base_supplier_purchase AS b
  1049. WHERE
  1050. a.id = b.supplier_id
  1051. AND a.cancel_flag = 0
  1052. AND b.cancel_flag = 0
  1053. GROUP BY
  1054. b.supplier_id
  1055. 2016-12-14 15:33:16 select base_area:SELECT
  1056. id,
  1057. area_name
  1058. FROM
  1059. base_area
  1060. WHERE
  1061. id in(923,803,792,1200,961)
  1062. 2016-12-14 15:33:23 select base_supplier:SELECT
  1063. id,
  1064. supplier_name,
  1065. area_id,
  1066. is_disabled,
  1067. supplier_type,
  1068. manage_type
  1069. FROM
  1070. base_supplier
  1071. WHERE
  1072. cancel_flag = 0
  1073. AND supplier_type = 301
  1074. LIMIT 0,10
  1075. 2016-12-14 15:33:23 select base_area:SELECT
  1076. id,
  1077. area_name
  1078. FROM
  1079. base_area
  1080. WHERE
  1081. id in(850,961,800,4,797,7,1966,794)
  1082. 2016-12-14 15:33:27 select base_area:SELECT
  1083. id,
  1084. area_name
  1085. FROM
  1086. base_area
  1087. WHERE
  1088. parent_id = 0
  1089. 2016-12-14 15:33:27 select base_area:SELECT
  1090. id,
  1091. area_name
  1092. FROM
  1093. base_area
  1094. WHERE
  1095. parent_id = 1
  1096. 2016-12-14 15:33:27 select base_supplier:SELECT
  1097. id,
  1098. supplier_name,
  1099. area_id,
  1100. manage_type,
  1101. company_name,
  1102. id_card,
  1103. sett_type,
  1104. sett_frequency,
  1105. account_bank,
  1106. account_num,
  1107. account_name,
  1108. sales_man
  1109. FROM
  1110. base_supplier
  1111. WHERE
  1112. cancel_flag = 0
  1113. AND id = 115
  1114. 2016-12-14 15:33:27 select base_area:SELECT
  1115. id,
  1116. area_name,
  1117. parent_id
  1118. FROM
  1119. base_area
  1120. WHERE
  1121. cancel_flag = 0
  1122. AND id = 850
  1123. 2016-12-14 15:33:27 select base_area:SELECT
  1124. id,
  1125. area_name
  1126. FROM
  1127. base_area
  1128. WHERE
  1129. cancel_flag = 0
  1130. AND id = 809
  1131. 2016-12-14 15:33:27 select base_supplier_sale:SELECT
  1132. id,
  1133. prod_supplier_id,
  1134. product_type,
  1135. parent_type,
  1136. sale_type,
  1137. commision_flag,
  1138. commision_type,
  1139. back_commision_type,
  1140. back_commision_method,
  1141. back_percent,
  1142. back_value
  1143. FROM
  1144. base_supplier_sale
  1145. WHERE
  1146. cancel_flag = 0
  1147. AND supplier_id = 115
  1148. 2016-12-14 15:33:27 select base_supplier_link:SELECT
  1149. id,
  1150. link_name,
  1151. contact_name,
  1152. contact_mobile,
  1153. contact_telphone,
  1154. fax,
  1155. email,
  1156. remark
  1157. FROM
  1158. base_supplier_link
  1159. WHERE
  1160. cancel_flag = 0
  1161. AND supplier_id = 115
  1162. 2016-12-14 15:33:27 select base_area:SELECT
  1163. id,
  1164. area_name
  1165. FROM
  1166. base_area
  1167. WHERE
  1168. parent_id = 809
  1169. 2016-12-14 17:59:00 select base_supplier:SELECT
  1170. id,
  1171. supplier_name,
  1172. area_id,
  1173. is_disabled,
  1174. supplier_type
  1175. FROM
  1176. base_supplier a
  1177. WHERE
  1178. cancel_flag = 0
  1179. AND supplier_type = 187
  1180. LIMIT 0,10
  1181. 2016-12-14 17:59:00 count:SELECT
  1182. a.id
  1183. FROM
  1184. base_supplier AS a,
  1185. base_supplier_purchase AS b
  1186. WHERE
  1187. a.id = b.supplier_id
  1188. AND a.cancel_flag = 0
  1189. AND b.cancel_flag = 0
  1190. GROUP BY
  1191. b.supplier_id
  1192. 2016-12-14 17:59:00 select base_area:SELECT
  1193. id,
  1194. area_name
  1195. FROM
  1196. base_area
  1197. WHERE
  1198. id in(923,803,792,1200,961)
  1199. 2016-12-14 19:04:21 select base_supplier:SELECT
  1200. id,
  1201. supplier_name,
  1202. area_id,
  1203. is_disabled,
  1204. supplier_type
  1205. FROM
  1206. base_supplier a
  1207. WHERE
  1208. cancel_flag = 0
  1209. AND supplier_type = 187
  1210. LIMIT 0,10
  1211. 2016-12-14 19:04:21 count:SELECT
  1212. a.id
  1213. FROM
  1214. base_supplier AS a,
  1215. base_supplier_purchase AS b
  1216. WHERE
  1217. a.id = b.supplier_id
  1218. AND a.cancel_flag = 0
  1219. AND b.cancel_flag = 0
  1220. GROUP BY
  1221. b.supplier_id
  1222. 2016-12-14 19:04:21 select base_area:SELECT
  1223. id,
  1224. area_name
  1225. FROM
  1226. base_area
  1227. WHERE
  1228. id in(923,803,792,1200,961)
  1229. 2016-12-14 19:43:44 select base_supplier:SELECT
  1230. id,
  1231. supplier_name,
  1232. area_id,
  1233. is_disabled,
  1234. supplier_type
  1235. FROM
  1236. base_supplier a
  1237. WHERE
  1238. cancel_flag = 0
  1239. AND supplier_type = 187
  1240. LIMIT 10,10
  1241. 2016-12-14 19:43:44 count:SELECT
  1242. a.id
  1243. FROM
  1244. base_supplier AS a,
  1245. base_supplier_purchase AS b
  1246. WHERE
  1247. a.id = b.supplier_id
  1248. AND a.cancel_flag = 0
  1249. AND b.cancel_flag = 0
  1250. GROUP BY
  1251. b.supplier_id
  1252. 2016-12-14 19:43:44 select base_area:SELECT
  1253. id,
  1254. area_name
  1255. FROM
  1256. base_area
  1257. WHERE
  1258. id in(792,803,923,799,895)
  1259. 2016-12-14 19:57:44 select base_supplier:SELECT
  1260. id,
  1261. supplier_name,
  1262. area_id,
  1263. is_disabled,
  1264. supplier_type
  1265. FROM
  1266. base_supplier a
  1267. WHERE
  1268. cancel_flag = 0
  1269. AND supplier_type = 187
  1270. LIMIT 0,10
  1271. 2016-12-14 19:57:44 count:SELECT
  1272. a.id
  1273. FROM
  1274. base_supplier AS a,
  1275. base_supplier_purchase AS b
  1276. WHERE
  1277. a.id = b.supplier_id
  1278. AND a.cancel_flag = 0
  1279. AND b.cancel_flag = 0
  1280. GROUP BY
  1281. b.supplier_id
  1282. 2016-12-14 19:57:44 select base_area:SELECT
  1283. id,
  1284. area_name
  1285. FROM
  1286. base_area
  1287. WHERE
  1288. id in(923,803,792,1200,961)
  1289. 2016-12-14 20:07:47 select base_supplier:SELECT
  1290. id,
  1291. supplier_name,
  1292. area_id,
  1293. is_disabled,
  1294. supplier_type
  1295. FROM
  1296. base_supplier a
  1297. WHERE
  1298. cancel_flag = 0
  1299. AND supplier_type = 187
  1300. LIMIT 0,10
  1301. 2016-12-14 20:07:47 count:SELECT
  1302. a.id
  1303. FROM
  1304. base_supplier AS a,
  1305. base_supplier_purchase AS b
  1306. WHERE
  1307. a.id = b.supplier_id
  1308. AND a.cancel_flag = 0
  1309. AND b.cancel_flag = 0
  1310. GROUP BY
  1311. b.supplier_id
  1312. 2016-12-14 20:07:47 select base_area:SELECT
  1313. id,
  1314. area_name
  1315. FROM
  1316. base_area
  1317. WHERE
  1318. id in(923,803,792,1200,961)
  1319. 2016-12-14 20:07:52 select base_area:SELECT
  1320. id,
  1321. area_name
  1322. FROM
  1323. base_area
  1324. WHERE
  1325. parent_id = 0
  1326. 2016-12-14 20:07:52 select base_area:SELECT
  1327. id,
  1328. area_name
  1329. FROM
  1330. base_area
  1331. WHERE
  1332. parent_id = 1
  1333. 2016-12-14 20:08:02 check base_supplier:SELECT
  1334. supplier_name
  1335. FROM
  1336. base_supplier
  1337. WHERE
  1338. cancel_flag = 0
  1339. AND supplier_type = 187
  1340. AND supplier_name = '上海国际旅游度假区亚朵酒店'
  1341. 2016-12-14 20:08:05 check base_supplier:SELECT
  1342. supplier_name
  1343. FROM
  1344. base_supplier
  1345. WHERE
  1346. cancel_flag = 0
  1347. AND supplier_type = 187
  1348. AND supplier_name = '上海国际旅游度假区亚朵酒店'
  1349. 2016-12-14 20:08:26 check base_supplier:SELECT
  1350. supplier_name
  1351. FROM
  1352. base_supplier
  1353. WHERE
  1354. cancel_flag = 0
  1355. AND supplier_type = 187
  1356. AND supplier_name = '朱家尖慈航酒店'
  1357. 2016-12-14 20:08:54 check base_supplier:SELECT
  1358. supplier_name
  1359. FROM
  1360. base_supplier
  1361. WHERE
  1362. cancel_flag = 0
  1363. AND supplier_type = 187
  1364. AND supplier_name = '上海花园饭店'
  1365. 2016-12-14 20:08:59 select base_area:SELECT
  1366. id,
  1367. area_name
  1368. FROM
  1369. base_area
  1370. WHERE
  1371. parent_id = 791
  1372. 2016-12-14 20:10:21 INSERT INTO base_supplier:INSERT INTO base_supplier (
  1373. create_user_id,
  1374. create_time,
  1375. supplier_type,
  1376. supplier_name,
  1377. area_id,
  1378. company_name,
  1379. is_disabled,
  1380. sett_type,
  1381. sett_frequency,
  1382. account_bank,
  1383. account_num,
  1384. account_name
  1385. )
  1386. VALUES
  1387. (274,'2016-12-14 20:10:21',187,'上海花园饭店',792,'上海花园饭店',0,275,295,'','','')
  1388. 2016-12-14 20:10:21 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  1389. create_user_id,
  1390. create_time,
  1391. supplier_id,
  1392. product_type,
  1393. purchaser_name
  1394. )
  1395. VALUES (274,'2016-12-14 20:10:21',1024,25,'邵佳楠')
  1396. 2016-12-14 20:10:21 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  1397. create_user_id,
  1398. create_time,
  1399. supplier_id,
  1400. link_name,
  1401. contact_name,
  1402. contact_mobile,
  1403. contact_telphone,
  1404. fax,
  1405. email,
  1406. remark
  1407. )
  1408. VALUES (274,'2016-12-14 20:10:21',1024,'销售','张俊','','','','','')
  1409. 2016-12-14 20:10:22 select base_supplier:SELECT
  1410. id,
  1411. supplier_name,
  1412. area_id,
  1413. is_disabled,
  1414. supplier_type
  1415. FROM
  1416. base_supplier a
  1417. WHERE
  1418. cancel_flag = 0
  1419. AND supplier_type = 187
  1420. LIMIT 0,10
  1421. 2016-12-14 20:10:22 count:SELECT
  1422. a.id
  1423. FROM
  1424. base_supplier AS a,
  1425. base_supplier_purchase AS b
  1426. WHERE
  1427. a.id = b.supplier_id
  1428. AND a.cancel_flag = 0
  1429. AND b.cancel_flag = 0
  1430. GROUP BY
  1431. b.supplier_id
  1432. 2016-12-14 20:10:22 select base_area:SELECT
  1433. id,
  1434. area_name
  1435. FROM
  1436. base_area
  1437. WHERE
  1438. id in(923,803,792,1200,961)
  1439. 2016-12-14 20:28:27 select base_supplier:SELECT
  1440. id,
  1441. supplier_name,
  1442. area_id,
  1443. is_disabled,
  1444. supplier_type
  1445. FROM
  1446. base_supplier a
  1447. WHERE
  1448. cancel_flag = 0
  1449. AND supplier_type = 187
  1450. LIMIT 0,10
  1451. 2016-12-14 20:28:27 count:SELECT
  1452. a.id
  1453. FROM
  1454. base_supplier AS a,
  1455. base_supplier_purchase AS b
  1456. WHERE
  1457. a.id = b.supplier_id
  1458. AND a.cancel_flag = 0
  1459. AND b.cancel_flag = 0
  1460. GROUP BY
  1461. b.supplier_id
  1462. 2016-12-14 20:28:28 select base_area:SELECT
  1463. id,
  1464. area_name
  1465. FROM
  1466. base_area
  1467. WHERE
  1468. id in(923,803,792,1200,961)
  1469. 2016-12-14 20:28:29 select base_area:SELECT
  1470. id,
  1471. area_name
  1472. FROM
  1473. base_area
  1474. WHERE
  1475. parent_id = 0
  1476. 2016-12-14 20:28:29 select base_area:SELECT
  1477. id,
  1478. area_name
  1479. FROM
  1480. base_area
  1481. WHERE
  1482. parent_id = 1
  1483. 2016-12-14 20:28:32 check base_supplier:SELECT
  1484. supplier_name
  1485. FROM
  1486. base_supplier
  1487. WHERE
  1488. cancel_flag = 0
  1489. AND supplier_type = 187
  1490. AND supplier_name = '上海国际旅游度假区亚朵酒店'
  1491. 2016-12-14 20:28:34 select base_area:SELECT
  1492. id,
  1493. area_name
  1494. FROM
  1495. base_area
  1496. WHERE
  1497. parent_id = 791
  1498. 2016-12-14 20:28:54 select base_supplier:SELECT
  1499. id,
  1500. supplier_name,
  1501. area_id,
  1502. is_disabled,
  1503. supplier_type
  1504. FROM
  1505. base_supplier a
  1506. WHERE
  1507. cancel_flag = 0
  1508. AND supplier_type = 187
  1509. LIMIT 0,10
  1510. 2016-12-14 20:28:54 count:SELECT
  1511. a.id
  1512. FROM
  1513. base_supplier AS a,
  1514. base_supplier_purchase AS b
  1515. WHERE
  1516. a.id = b.supplier_id
  1517. AND a.cancel_flag = 0
  1518. AND b.cancel_flag = 0
  1519. GROUP BY
  1520. b.supplier_id
  1521. 2016-12-14 20:28:54 select base_area:SELECT
  1522. id,
  1523. area_name
  1524. FROM
  1525. base_area
  1526. WHERE
  1527. id in(923,803,792,1200,961)
  1528. 2016-12-14 20:28:57 select base_area:SELECT
  1529. id,
  1530. area_name
  1531. FROM
  1532. base_area
  1533. WHERE
  1534. parent_id = 0
  1535. 2016-12-14 20:28:57 select base_area:SELECT
  1536. id,
  1537. area_name
  1538. FROM
  1539. base_area
  1540. WHERE
  1541. parent_id = 1
  1542. 2016-12-14 20:29:11 INSERT INTO base_supplier:INSERT INTO base_supplier (
  1543. create_user_id,
  1544. create_time,
  1545. supplier_type,
  1546. supplier_name,
  1547. area_id,
  1548. company_name,
  1549. is_disabled,
  1550. sett_type,
  1551. sett_frequency,
  1552. account_bank,
  1553. account_num,
  1554. account_name
  1555. )
  1556. VALUES
  1557. (274,'2016-12-14 20:29:11',187,'上海国际旅游度假区亚朵酒店',803,'上海国际旅游度假区亚朵酒店',0,275,295,'','','')
  1558. 2016-12-14 20:29:11 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  1559. create_user_id,
  1560. create_time,
  1561. supplier_id,
  1562. product_type,
  1563. purchaser_name
  1564. )
  1565. VALUES (274,'2016-12-14 20:29:11',1025,25,'邵佳楠')
  1566. 2016-12-14 20:29:11 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  1567. create_user_id,
  1568. create_time,
  1569. supplier_id,
  1570. link_name,
  1571. contact_name,
  1572. contact_mobile,
  1573. contact_telphone,
  1574. fax,
  1575. email,
  1576. remark
  1577. )
  1578. VALUES (274,'2016-12-14 20:29:11',1025,'销售','余波','','','','','')
  1579. 2016-12-14 20:29:13 select base_supplier:SELECT
  1580. id,
  1581. supplier_name,
  1582. area_id,
  1583. is_disabled,
  1584. supplier_type
  1585. FROM
  1586. base_supplier a
  1587. WHERE
  1588. cancel_flag = 0
  1589. AND supplier_type = 187
  1590. LIMIT 0,10
  1591. 2016-12-14 20:29:13 count:SELECT
  1592. a.id
  1593. FROM
  1594. base_supplier AS a,
  1595. base_supplier_purchase AS b
  1596. WHERE
  1597. a.id = b.supplier_id
  1598. AND a.cancel_flag = 0
  1599. AND b.cancel_flag = 0
  1600. GROUP BY
  1601. b.supplier_id
  1602. 2016-12-14 20:29:13 select base_area:SELECT
  1603. id,
  1604. area_name
  1605. FROM
  1606. base_area
  1607. WHERE
  1608. id in(923,803,792,1200,961)
  1609. 2016-12-14 20:29:46 check base_supplier:SELECT
  1610. supplier_name
  1611. FROM
  1612. base_supplier
  1613. WHERE
  1614. cancel_flag = 0
  1615. AND supplier_type = 187
  1616. AND supplier_name = '上海国际贵都大饭店'
  1617. 2016-12-14 20:29:47 select base_area:SELECT
  1618. id,
  1619. area_name
  1620. FROM
  1621. base_area
  1622. WHERE
  1623. parent_id = 791
  1624. 2016-12-14 20:30:37 select base_supplier:SELECT
  1625. id,
  1626. supplier_name,
  1627. area_id,
  1628. is_disabled,
  1629. supplier_type
  1630. FROM
  1631. base_supplier a
  1632. WHERE
  1633. cancel_flag = 0
  1634. AND supplier_type = 187
  1635. LIMIT 0,10
  1636. 2016-12-14 20:30:37 count:SELECT
  1637. a.id
  1638. FROM
  1639. base_supplier AS a,
  1640. base_supplier_purchase AS b
  1641. WHERE
  1642. a.id = b.supplier_id
  1643. AND a.cancel_flag = 0
  1644. AND b.cancel_flag = 0
  1645. GROUP BY
  1646. b.supplier_id
  1647. 2016-12-14 20:30:37 select base_area:SELECT
  1648. id,
  1649. area_name
  1650. FROM
  1651. base_area
  1652. WHERE
  1653. id in(923,803,792,1200,961)
  1654. 2016-12-14 20:31:13 select base_area:SELECT
  1655. id,
  1656. area_name
  1657. FROM
  1658. base_area
  1659. WHERE
  1660. parent_id = 0
  1661. 2016-12-14 20:31:13 select base_area:SELECT
  1662. id,
  1663. area_name
  1664. FROM
  1665. base_area
  1666. WHERE
  1667. parent_id = 1
  1668. 2016-12-14 20:31:37 check base_supplier:SELECT
  1669. supplier_name
  1670. FROM
  1671. base_supplier
  1672. WHERE
  1673. cancel_flag = 0
  1674. AND supplier_type = 187
  1675. AND supplier_name = '胜高国际酒店'
  1676. 2016-12-14 20:32:57 check base_supplier:SELECT
  1677. supplier_name
  1678. FROM
  1679. base_supplier
  1680. WHERE
  1681. cancel_flag = 0
  1682. AND supplier_type = 187
  1683. AND supplier_name = '胜高国际酒店'
  1684. 2016-12-14 20:33:02 check base_supplier:SELECT
  1685. supplier_name
  1686. FROM
  1687. base_supplier
  1688. WHERE
  1689. cancel_flag = 0
  1690. AND supplier_type = 187
  1691. AND supplier_name = '胜高国际酒店'
  1692. 2016-12-14 20:34:17 select base_area:SELECT
  1693. id,
  1694. area_name
  1695. FROM
  1696. base_area
  1697. WHERE
  1698. parent_id = 922
  1699. 2016-12-14 20:34:38 check base_supplier:SELECT
  1700. supplier_name
  1701. FROM
  1702. base_supplier
  1703. WHERE
  1704. cancel_flag = 0
  1705. AND supplier_type = 187
  1706. AND supplier_name = '胜高国际酒店'
  1707. 2016-12-14 20:34:40 select base_supplier:SELECT
  1708. id,
  1709. supplier_name,
  1710. area_id,
  1711. is_disabled,
  1712. supplier_type
  1713. FROM
  1714. base_supplier a
  1715. WHERE
  1716. cancel_flag = 0
  1717. AND supplier_type = 187
  1718. LIMIT 0,10
  1719. 2016-12-14 20:34:40 count:SELECT
  1720. a.id
  1721. FROM
  1722. base_supplier AS a,
  1723. base_supplier_purchase AS b
  1724. WHERE
  1725. a.id = b.supplier_id
  1726. AND a.cancel_flag = 0
  1727. AND b.cancel_flag = 0
  1728. GROUP BY
  1729. b.supplier_id
  1730. 2016-12-14 20:34:40 select base_area:SELECT
  1731. id,
  1732. area_name
  1733. FROM
  1734. base_area
  1735. WHERE
  1736. id in(923,803,792,1200,961)
  1737. 2016-12-14 20:34:48 select base_supplier:SELECT
  1738. id,
  1739. supplier_name,
  1740. area_id,
  1741. is_disabled,
  1742. supplier_type
  1743. FROM
  1744. base_supplier a
  1745. WHERE
  1746. cancel_flag = 0
  1747. AND supplier_type = 187
  1748. LIMIT 10,10
  1749. 2016-12-14 20:34:48 count:SELECT
  1750. a.id
  1751. FROM
  1752. base_supplier AS a,
  1753. base_supplier_purchase AS b
  1754. WHERE
  1755. a.id = b.supplier_id
  1756. AND a.cancel_flag = 0
  1757. AND b.cancel_flag = 0
  1758. GROUP BY
  1759. b.supplier_id
  1760. 2016-12-14 20:34:48 select base_area:SELECT
  1761. id,
  1762. area_name
  1763. FROM
  1764. base_area
  1765. WHERE
  1766. id in(792,803,923,799,895)
  1767. 2016-12-14 20:34:52 select base_supplier:SELECT
  1768. id,
  1769. supplier_name,
  1770. area_id,
  1771. is_disabled,
  1772. supplier_type
  1773. FROM
  1774. base_supplier a
  1775. WHERE
  1776. cancel_flag = 0
  1777. AND supplier_type = 187
  1778. LIMIT 20,10
  1779. 2016-12-14 20:34:52 count:SELECT
  1780. a.id
  1781. FROM
  1782. base_supplier AS a,
  1783. base_supplier_purchase AS b
  1784. WHERE
  1785. a.id = b.supplier_id
  1786. AND a.cancel_flag = 0
  1787. AND b.cancel_flag = 0
  1788. GROUP BY
  1789. b.supplier_id
  1790. 2016-12-14 20:34:52 select base_area:SELECT
  1791. id,
  1792. area_name
  1793. FROM
  1794. base_area
  1795. WHERE
  1796. id in(803,850,961,800,792)
  1797. 2016-12-14 20:34:55 select base_area:SELECT
  1798. id,
  1799. area_name
  1800. FROM
  1801. base_area
  1802. WHERE
  1803. parent_id = 0
  1804. 2016-12-14 20:34:55 select base_area:SELECT
  1805. id,
  1806. area_name
  1807. FROM
  1808. base_area
  1809. WHERE
  1810. parent_id = 1
  1811. 2016-12-14 20:34:57 check base_supplier:SELECT
  1812. supplier_name
  1813. FROM
  1814. base_supplier
  1815. WHERE
  1816. cancel_flag = 0
  1817. AND supplier_type = 187
  1818. AND supplier_name = '上海浦东临港开元大酒店'
  1819. 2016-12-14 20:34:59 check base_supplier:SELECT
  1820. supplier_name
  1821. FROM
  1822. base_supplier
  1823. WHERE
  1824. cancel_flag = 0
  1825. AND supplier_type = 187
  1826. AND supplier_name = '胜高国际酒店(杭州耀都德悦店)'
  1827. 2016-12-14 20:35:16 INSERT INTO base_supplier:INSERT INTO base_supplier (
  1828. create_user_id,
  1829. create_time,
  1830. supplier_type,
  1831. supplier_name,
  1832. area_id,
  1833. company_name,
  1834. is_disabled,
  1835. sett_type,
  1836. sett_frequency,
  1837. account_bank,
  1838. account_num,
  1839. account_name
  1840. )
  1841. VALUES
  1842. (282,'2016-12-14 20:35:16',187,'胜高国际酒店(杭州耀都德悦店)',923,'胜高国际酒店(杭州耀都德悦店)',0,275,295,'','','')
  1843. 2016-12-14 20:35:16 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  1844. create_user_id,
  1845. create_time,
  1846. supplier_id,
  1847. product_type,
  1848. purchaser_name
  1849. )
  1850. VALUES (282,'2016-12-14 20:35:16',1026,25,'邵佳楠')
  1851. 2016-12-14 20:35:16 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  1852. create_user_id,
  1853. create_time,
  1854. supplier_id,
  1855. link_name,
  1856. contact_name,
  1857. contact_mobile,
  1858. contact_telphone,
  1859. fax,
  1860. email,
  1861. remark
  1862. )
  1863. VALUES (282,'2016-12-14 20:35:16',1026,'销售','汤亦龙','','','','','')
  1864. 2016-12-14 20:35:18 select base_supplier:SELECT
  1865. id,
  1866. supplier_name,
  1867. area_id,
  1868. is_disabled,
  1869. supplier_type
  1870. FROM
  1871. base_supplier a
  1872. WHERE
  1873. cancel_flag = 0
  1874. AND supplier_type = 187
  1875. LIMIT 0,10
  1876. 2016-12-14 20:35:18 count:SELECT
  1877. a.id
  1878. FROM
  1879. base_supplier AS a,
  1880. base_supplier_purchase AS b
  1881. WHERE
  1882. a.id = b.supplier_id
  1883. AND a.cancel_flag = 0
  1884. AND b.cancel_flag = 0
  1885. GROUP BY
  1886. b.supplier_id
  1887. 2016-12-14 20:35:18 select base_area:SELECT
  1888. id,
  1889. area_name
  1890. FROM
  1891. base_area
  1892. WHERE
  1893. id in(923,803,792,1200,961)
  1894. 2016-12-14 20:35:24 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-14 20:35:24 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-14 20:35:24 select base_area:SELECT
  1918. id,
  1919. area_name
  1920. FROM
  1921. base_area
  1922. WHERE
  1923. id in(923,803,792,1200,961)
  1924. 2016-12-14 20:36:34 select base_supplier:SELECT
  1925. id,
  1926. supplier_name,
  1927. area_id,
  1928. is_disabled,
  1929. supplier_type
  1930. FROM
  1931. base_supplier a
  1932. WHERE
  1933. cancel_flag = 0
  1934. AND supplier_type = 187
  1935. LIMIT 0,10
  1936. 2016-12-14 20:36:34 count:SELECT
  1937. a.id
  1938. FROM
  1939. base_supplier AS a,
  1940. base_supplier_purchase AS b
  1941. WHERE
  1942. a.id = b.supplier_id
  1943. AND a.cancel_flag = 0
  1944. AND b.cancel_flag = 0
  1945. GROUP BY
  1946. b.supplier_id
  1947. 2016-12-14 20:36:34 select base_area:SELECT
  1948. id,
  1949. area_name
  1950. FROM
  1951. base_area
  1952. WHERE
  1953. id in(923,803,792,1200,961)
  1954. 2016-12-14 20:36:41 select base_area:SELECT
  1955. id,
  1956. area_name
  1957. FROM
  1958. base_area
  1959. WHERE
  1960. parent_id = 0
  1961. 2016-12-14 20:36:41 select base_area:SELECT
  1962. id,
  1963. area_name
  1964. FROM
  1965. base_area
  1966. WHERE
  1967. parent_id = 1
  1968. 2016-12-14 20:36:44 check base_supplier:SELECT
  1969. supplier_name
  1970. FROM
  1971. base_supplier
  1972. WHERE
  1973. cancel_flag = 0
  1974. AND supplier_type = 187
  1975. AND supplier_name = '上海浦东临港开元大酒店'
  1976. 2016-12-14 20:37:14 select base_supplier:SELECT
  1977. id,
  1978. supplier_name,
  1979. area_id,
  1980. is_disabled,
  1981. supplier_type
  1982. FROM
  1983. base_supplier a
  1984. WHERE
  1985. cancel_flag = 0
  1986. AND supplier_type = 187
  1987. LIMIT 0,10
  1988. 2016-12-14 20:37:14 count:SELECT
  1989. a.id
  1990. FROM
  1991. base_supplier AS a,
  1992. base_supplier_purchase AS b
  1993. WHERE
  1994. a.id = b.supplier_id
  1995. AND a.cancel_flag = 0
  1996. AND b.cancel_flag = 0
  1997. GROUP BY
  1998. b.supplier_id
  1999. 2016-12-14 20:37:14 select base_area:SELECT
  2000. id,
  2001. area_name
  2002. FROM
  2003. base_area
  2004. WHERE
  2005. id in(923,803,792,1200,961)
  2006. 2016-12-14 20:37:15 select base_area:SELECT
  2007. id,
  2008. area_name
  2009. FROM
  2010. base_area
  2011. WHERE
  2012. parent_id = 0
  2013. 2016-12-14 20:37:16 select base_area:SELECT
  2014. id,
  2015. area_name
  2016. FROM
  2017. base_area
  2018. WHERE
  2019. parent_id = 1
  2020. 2016-12-14 20:37:17 check base_supplier:SELECT
  2021. supplier_name
  2022. FROM
  2023. base_supplier
  2024. WHERE
  2025. cancel_flag = 0
  2026. AND supplier_type = 187
  2027. AND supplier_name = '上海浦东星河湾'
  2028. 2016-12-14 20:37:21 select base_area:SELECT
  2029. id,
  2030. area_name
  2031. FROM
  2032. base_area
  2033. WHERE
  2034. parent_id = 791
  2035. 2016-12-14 20:37:55 INSERT INTO base_supplier:INSERT INTO base_supplier (
  2036. create_user_id,
  2037. create_time,
  2038. supplier_type,
  2039. supplier_name,
  2040. area_id,
  2041. company_name,
  2042. is_disabled,
  2043. sett_type,
  2044. sett_frequency,
  2045. account_bank,
  2046. account_num,
  2047. account_name
  2048. )
  2049. VALUES
  2050. (274,'2016-12-14 20:37:55',187,'上海浦东星河湾',803,'上海浦东星河湾',0,275,295,'','','')
  2051. 2016-12-14 20:37:55 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  2052. create_user_id,
  2053. create_time,
  2054. supplier_id,
  2055. product_type,
  2056. purchaser_name
  2057. )
  2058. VALUES (274,'2016-12-14 20:37:55',1027,25,'邵佳楠')
  2059. 2016-12-14 20:37:55 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  2060. create_user_id,
  2061. create_time,
  2062. supplier_id,
  2063. link_name,
  2064. contact_name,
  2065. contact_mobile,
  2066. contact_telphone,
  2067. fax,
  2068. email,
  2069. remark
  2070. )
  2071. VALUES (274,'2016-12-14 20:37:55',1027,'销售','饶红萍','','','','','')
  2072. 2016-12-14 20:37:56 select base_supplier:SELECT
  2073. id,
  2074. supplier_name,
  2075. area_id,
  2076. is_disabled,
  2077. supplier_type
  2078. FROM
  2079. base_supplier a
  2080. WHERE
  2081. cancel_flag = 0
  2082. AND supplier_type = 187
  2083. LIMIT 0,10
  2084. 2016-12-14 20:37:56 count:SELECT
  2085. a.id
  2086. FROM
  2087. base_supplier AS a,
  2088. base_supplier_purchase AS b
  2089. WHERE
  2090. a.id = b.supplier_id
  2091. AND a.cancel_flag = 0
  2092. AND b.cancel_flag = 0
  2093. GROUP BY
  2094. b.supplier_id
  2095. 2016-12-14 20:37:56 select base_area:SELECT
  2096. id,
  2097. area_name
  2098. FROM
  2099. base_area
  2100. WHERE
  2101. id in(923,803,792,1200,961)
  2102. 2016-12-14 20:40:59 select base_area:SELECT
  2103. id,
  2104. area_name
  2105. FROM
  2106. base_area
  2107. WHERE
  2108. parent_id = 791
  2109. 2016-12-14 20:41:56 check base_supplier:SELECT
  2110. supplier_name
  2111. FROM
  2112. base_supplier
  2113. WHERE
  2114. cancel_flag = 0
  2115. AND supplier_type = 187
  2116. AND supplier_name = '上海浦东临港开元大酒店'
  2117. 2016-12-14 20:43:32 INSERT INTO base_supplier:INSERT INTO base_supplier (
  2118. create_user_id,
  2119. create_time,
  2120. supplier_type,
  2121. supplier_name,
  2122. area_id,
  2123. company_name,
  2124. is_disabled,
  2125. sett_type,
  2126. sett_frequency,
  2127. account_bank,
  2128. account_num,
  2129. account_name
  2130. )
  2131. VALUES
  2132. (283,'2016-12-14 20:43:32',187,'上海浦东临港开元大酒店',803,'上海浦东临港开元大酒店',0,275,295,'','','')
  2133. 2016-12-14 20:43:32 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  2134. create_user_id,
  2135. create_time,
  2136. supplier_id,
  2137. product_type,
  2138. purchaser_name
  2139. )
  2140. VALUES (283,'2016-12-14 20:43:32',1028,25,'丁鹏')
  2141. 2016-12-14 20:43:32 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  2142. create_user_id,
  2143. create_time,
  2144. supplier_id,
  2145. link_name,
  2146. contact_name,
  2147. contact_mobile,
  2148. contact_telphone,
  2149. fax,
  2150. email,
  2151. remark
  2152. )
  2153. VALUES (283,'2016-12-14 20:43:32',1028,'销售','葛文秀','','','','','')
  2154. 2016-12-14 20:43:34 select base_supplier:SELECT
  2155. id,
  2156. supplier_name,
  2157. area_id,
  2158. is_disabled,
  2159. supplier_type
  2160. FROM
  2161. base_supplier a
  2162. WHERE
  2163. cancel_flag = 0
  2164. AND supplier_type = 187
  2165. LIMIT 0,10
  2166. 2016-12-14 20:43:34 count:SELECT
  2167. a.id
  2168. FROM
  2169. base_supplier AS a,
  2170. base_supplier_purchase AS b
  2171. WHERE
  2172. a.id = b.supplier_id
  2173. AND a.cancel_flag = 0
  2174. AND b.cancel_flag = 0
  2175. GROUP BY
  2176. b.supplier_id
  2177. 2016-12-14 20:43:34 select base_area:SELECT
  2178. id,
  2179. area_name
  2180. FROM
  2181. base_area
  2182. WHERE
  2183. id in(923,803,792,1200,961)
  2184. 2016-12-14 20:49:01 select base_supplier:SELECT
  2185. id,
  2186. supplier_name,
  2187. area_id,
  2188. is_disabled,
  2189. supplier_type
  2190. FROM
  2191. base_supplier a
  2192. WHERE
  2193. cancel_flag = 0
  2194. AND supplier_type = 187
  2195. LIMIT 0,10
  2196. 2016-12-14 20:49:01 count:SELECT
  2197. a.id
  2198. FROM
  2199. base_supplier AS a,
  2200. base_supplier_purchase AS b
  2201. WHERE
  2202. a.id = b.supplier_id
  2203. AND a.cancel_flag = 0
  2204. AND b.cancel_flag = 0
  2205. GROUP BY
  2206. b.supplier_id
  2207. 2016-12-14 20:49:01 select base_area:SELECT
  2208. id,
  2209. area_name
  2210. FROM
  2211. base_area
  2212. WHERE
  2213. id in(923,803,792,1200,961)
  2214. 2016-12-14 20:49:02 select base_area:SELECT
  2215. id,
  2216. area_name
  2217. FROM
  2218. base_area
  2219. WHERE
  2220. parent_id = 0
  2221. 2016-12-14 20:49:02 select base_area:SELECT
  2222. id,
  2223. area_name
  2224. FROM
  2225. base_area
  2226. WHERE
  2227. parent_id = 1
  2228. 2016-12-14 20:49:04 check base_supplier:SELECT
  2229. supplier_name
  2230. FROM
  2231. base_supplier
  2232. WHERE
  2233. cancel_flag = 0
  2234. AND supplier_type = 187
  2235. AND supplier_name = '上海和平饭店'
  2236. 2016-12-14 20:49:07 select base_area:SELECT
  2237. id,
  2238. area_name
  2239. FROM
  2240. base_area
  2241. WHERE
  2242. parent_id = 791
  2243. 2016-12-14 20:49:47 INSERT INTO base_supplier:INSERT INTO base_supplier (
  2244. create_user_id,
  2245. create_time,
  2246. supplier_type,
  2247. supplier_name,
  2248. area_id,
  2249. company_name,
  2250. is_disabled,
  2251. sett_type,
  2252. sett_frequency,
  2253. account_bank,
  2254. account_num,
  2255. account_name
  2256. )
  2257. VALUES
  2258. (274,'2016-12-14 20:49:47',187,'上海和平饭店',792,'上海和平饭店',0,275,295,'','','')
  2259. 2016-12-14 20:49:47 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  2260. create_user_id,
  2261. create_time,
  2262. supplier_id,
  2263. product_type,
  2264. purchaser_name
  2265. )
  2266. VALUES (274,'2016-12-14 20:49:47',1029,25,'邵佳楠')
  2267. 2016-12-14 20:49:47 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  2268. create_user_id,
  2269. create_time,
  2270. supplier_id,
  2271. link_name,
  2272. contact_name,
  2273. contact_mobile,
  2274. contact_telphone,
  2275. fax,
  2276. email,
  2277. remark
  2278. )
  2279. VALUES (274,'2016-12-14 20:49:47',1029,'销售','Andy','','','','','')
  2280. 2016-12-14 20:49:48 select base_supplier:SELECT
  2281. id,
  2282. supplier_name,
  2283. area_id,
  2284. is_disabled,
  2285. supplier_type
  2286. FROM
  2287. base_supplier a
  2288. WHERE
  2289. cancel_flag = 0
  2290. AND supplier_type = 187
  2291. LIMIT 0,10
  2292. 2016-12-14 20:49:48 count:SELECT
  2293. a.id
  2294. FROM
  2295. base_supplier AS a,
  2296. base_supplier_purchase AS b
  2297. WHERE
  2298. a.id = b.supplier_id
  2299. AND a.cancel_flag = 0
  2300. AND b.cancel_flag = 0
  2301. GROUP BY
  2302. b.supplier_id
  2303. 2016-12-14 20:49:48 select base_area:SELECT
  2304. id,
  2305. area_name
  2306. FROM
  2307. base_area
  2308. WHERE
  2309. id in(923,803,792,1200,961)
  2310. 2016-12-14 20:51:32 INSERT INTO base_supplier:INSERT INTO base_supplier (
  2311. create_user_id,
  2312. create_time,
  2313. supplier_type,
  2314. supplier_name,
  2315. area_id,
  2316. company_name,
  2317. is_disabled,
  2318. sett_type,
  2319. sett_frequency,
  2320. account_bank,
  2321. account_num,
  2322. account_name
  2323. )
  2324. VALUES
  2325. (281,'2016-12-14 20:51:32',187,'上海国际贵都大饭店',795,'上海国际贵都大饭店有限公司',0,288,294,'中行上海市静安支行','453359234862','')
  2326. 2016-12-14 20:51:32 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase (
  2327. create_user_id,
  2328. create_time,
  2329. supplier_id,
  2330. product_type,
  2331. purchaser_name
  2332. )
  2333. VALUES (281,'2016-12-14 20:51:32',1030,25,'丁鹏')
  2334. 2016-12-14 20:51:32 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link (
  2335. create_user_id,
  2336. create_time,
  2337. supplier_id,
  2338. link_name,
  2339. contact_name,
  2340. contact_mobile,
  2341. contact_telphone,
  2342. fax,
  2343. email,
  2344. remark
  2345. )
  2346. VALUES (281,'2016-12-14 20:51:32',1030,'销售','Dora','','','','','')
  2347. 2016-12-14 20:51:34 select base_supplier:SELECT
  2348. id,
  2349. supplier_name,
  2350. area_id,
  2351. is_disabled,
  2352. supplier_type
  2353. FROM
  2354. base_supplier a
  2355. WHERE
  2356. cancel_flag = 0
  2357. AND supplier_type = 187
  2358. LIMIT 0,10
  2359. 2016-12-14 20:51:34 count:SELECT
  2360. a.id
  2361. FROM
  2362. base_supplier AS a,
  2363. base_supplier_purchase AS b
  2364. WHERE
  2365. a.id = b.supplier_id
  2366. AND a.cancel_flag = 0
  2367. AND b.cancel_flag = 0
  2368. GROUP BY
  2369. b.supplier_id
  2370. 2016-12-14 20:51:34 select base_area:SELECT
  2371. id,
  2372. area_name
  2373. FROM
  2374. base_area
  2375. WHERE
  2376. id in(923,803,792,1200,961)
  2377. 2016-12-14 21:07:06 select base_supplier:SELECT
  2378. id,
  2379. supplier_name,
  2380. area_id,
  2381. is_disabled,
  2382. supplier_type
  2383. FROM
  2384. base_supplier a
  2385. WHERE
  2386. cancel_flag = 0
  2387. AND supplier_type = 187
  2388. LIMIT 0,10
  2389. 2016-12-14 21:07:06 count:SELECT
  2390. a.id
  2391. FROM
  2392. base_supplier AS a,
  2393. base_supplier_purchase AS b
  2394. WHERE
  2395. a.id = b.supplier_id
  2396. AND a.cancel_flag = 0
  2397. AND b.cancel_flag = 0
  2398. GROUP BY
  2399. b.supplier_id
  2400. 2016-12-14 21:07:06 select base_area:SELECT
  2401. id,
  2402. area_name
  2403. FROM
  2404. base_area
  2405. WHERE
  2406. id in(923,803,792,1200,961)
  2407. 2016-12-14 21:08:32 select base_supplier:SELECT
  2408. id,
  2409. supplier_name,
  2410. area_id,
  2411. is_disabled,
  2412. supplier_type
  2413. FROM
  2414. base_supplier a
  2415. WHERE
  2416. cancel_flag = 0
  2417. AND supplier_type = 187
  2418. LIMIT 0,10
  2419. 2016-12-14 21:08:32 count:SELECT
  2420. a.id
  2421. FROM
  2422. base_supplier AS a,
  2423. base_supplier_purchase AS b
  2424. WHERE
  2425. a.id = b.supplier_id
  2426. AND a.cancel_flag = 0
  2427. AND b.cancel_flag = 0
  2428. GROUP BY
  2429. b.supplier_id
  2430. 2016-12-14 21:08:32 select base_area:SELECT
  2431. id,
  2432. area_name
  2433. FROM
  2434. base_area
  2435. WHERE
  2436. id in(923,803,792,1200,961)
  2437. 2016-12-14 21:08:43 select base_area:SELECT
  2438. id,
  2439. area_name
  2440. FROM
  2441. base_area
  2442. WHERE
  2443. parent_id = 0
  2444. 2016-12-14 21:08:43 select base_area:SELECT
  2445. id,
  2446. area_name
  2447. FROM
  2448. base_area
  2449. WHERE
  2450. parent_id = 1
  2451. 2016-12-14 21:11:23 check base_supplier:SELECT
  2452. supplier_name
  2453. FROM
  2454. base_supplier
  2455. WHERE
  2456. cancel_flag = 0
  2457. AND supplier_type = 187
  2458. AND supplier_name = ''
  2459. 2016-12-14 21:11:39 check base_supplier:SELECT
  2460. supplier_name
  2461. FROM
  2462. base_supplier
  2463. WHERE
  2464. cancel_flag = 0
  2465. AND supplier_type = 187
  2466. AND supplier_name = '上海王宝和大酒店'
  2467. 2016-12-14 21:12:33 check base_supplier:SELECT
  2468. supplier_name
  2469. FROM
  2470. base_supplier
  2471. WHERE
  2472. cancel_flag = 0
  2473. AND supplier_type = 187
  2474. AND supplier_name = '上海王宝和大酒店'