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.
 
 
 
 

2435 lines
103 KiB

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