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.
 
 
 
 

3010 lines
116 KiB

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