2017-01-07 18:33:42 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type FROM base_supplier a WHERE cancel_flag = 0 AND supplier_type = 187 LIMIT 0,10 2017-01-07 18:33:42 count:SELECT a.id FROM base_supplier AS a, base_supplier_purchase AS b WHERE a.id = b.supplier_id AND a.cancel_flag = 0 AND b.cancel_flag = 0 GROUP BY b.supplier_id 2017-01-07 18:33:42 select base_area:SELECT id, area_name FROM base_area WHERE id in(792,923,810) 2017-01-07 18:33:44 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2017-01-07 18:33:44 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2017-01-07 18:33:45 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '南京大吉温泉度假村' 2017-01-07 18:33:47 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 809 2017-01-07 18:34:08 INSERT INTO base_supplier:INSERT INTO base_supplier ( create_user_id, create_time, supplier_type, supplier_name, area_id, company_name, is_disabled, sett_type, sett_frequency, account_bank, account_num, account_name ) VALUES (284,'2017-01-07 18:34:08',187,'南京大吉温泉度假村',810,'南京大吉温泉度假村',0,288,295,'','','') 2017-01-07 18:34:08 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase ( create_user_id, create_time, supplier_id, product_type, purchaser_name ) VALUES (284,'2017-01-07 18:34:08',1157,25,'施宇峰') 2017-01-07 18:34:08 INSERT INTO base_supplier_link:INSERT INTO base_supplier_link ( create_user_id, create_time, supplier_id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark ) VALUES (284,'2017-01-07 18:34:08',1157,'销售','施宇峰','','','','','') 2017-01-07 18:34:10 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type FROM base_supplier a WHERE cancel_flag = 0 AND supplier_type = 187 LIMIT 0,10 2017-01-07 18:34:10 count:SELECT a.id FROM base_supplier AS a, base_supplier_purchase AS b WHERE a.id = b.supplier_id AND a.cancel_flag = 0 AND b.cancel_flag = 0 GROUP BY b.supplier_id 2017-01-07 18:34:10 select base_area:SELECT id, area_name FROM base_area WHERE id in(792,923,810)