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.
 
 
 
 

5398 lines
197 KiB

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