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.
 
 
 
 

65 lines
2.7 KiB

  1. 2016-12-25 10:31:35 select base_supplier:SELECT
  2. id,
  3. supplier_name,
  4. area_id,
  5. is_disabled,
  6. supplier_type
  7. FROM
  8. base_supplier a
  9. WHERE
  10. cancel_flag = 0
  11. AND supplier_type = 187
  12. LIMIT 0,10
  13. 2016-12-25 10:31:35 count:SELECT
  14. a.id
  15. FROM
  16. base_supplier AS a,
  17. base_supplier_purchase AS b
  18. WHERE
  19. a.id = b.supplier_id
  20. AND a.cancel_flag = 0
  21. AND b.cancel_flag = 0
  22. GROUP BY
  23. b.supplier_id
  24. 2016-12-25 10:31:35 select base_area:SELECT
  25. id,
  26. area_name
  27. FROM
  28. base_area
  29. WHERE
  30. id in(923,803,792,1200,961)
  31. 2016-12-25 10:31:48 select base_supplier:SELECT
  32. id,
  33. supplier_name,
  34. area_id,
  35. is_disabled,
  36. supplier_type
  37. FROM
  38. base_supplier a
  39. WHERE
  40. cancel_flag = 0
  41. and a.supplier_name like '%%虹桥元一希尔顿%%'
  42. AND supplier_type = 187
  43. LIMIT 0,10
  44. 2016-12-25 10:31:48 count:SELECT
  45. a.id
  46. FROM
  47. base_supplier AS a,
  48. base_supplier_purchase AS b
  49. WHERE
  50. a.id = b.supplier_id
  51. and a.supplier_name like '%%虹桥元一希尔顿%%'
  52. AND a.cancel_flag = 0
  53. AND b.cancel_flag = 0
  54. GROUP BY
  55. b.supplier_id
  56. 2016-12-25 10:31:48 select base_area:SELECT
  57. id,
  58. area_name
  59. FROM
  60. base_area
  61. WHERE
  62. id in(800)