2016-12-09 10:27:20 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 2016-12-09 10:27:20 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 2016-12-09 10:27:20 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 10:27:23 getListUser base_user:SELECT id, true_name, `status` FROM base_user WHERE cancel_flag = 0 AND org_id = 668 2016-12-09 10:27:37 checkUserName base_user:SELECT user_name FROM base_user WHERE cancel_flag = 0 AND user_name = 'abcd' 2016-12-09 10:27:37 insertUser base_user:INSERT INTO base_user ( create_user_id, create_time, user_name, org_id, opera_org_id, top_org_id, user_password, true_name, phone_no, `status` ) VALUE (, '2016-12-09 10:27:37', 'abcd', 668, 668, 668, '8c052db23a2220d3856c7f0039195362', 'abcd', '13555555555',0) 2016-12-09 10:27:50 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 10,10 2016-12-09 10:27:50 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 2016-12-09 10:27:50 select base_area:SELECT id, area_name FROM base_area WHERE id in(961,792,803,923,799) 2016-12-09 10:27:55 getListUser base_user:SELECT id, true_name, `status` FROM base_user WHERE cancel_flag = 0 AND org_id = 678 2016-12-09 10:28:06 getListUser base_user:SELECT id, true_name, `status` FROM base_user WHERE cancel_flag = 0 AND org_id = 1003 2016-12-09 10:28:58 getListUser base_user:SELECT id, true_name, `status` FROM base_user WHERE cancel_flag = 0 AND org_id = 1003 2016-12-09 10:30:43 getListUser base_user:SELECT id, true_name, `status` FROM base_user WHERE cancel_flag = 0 AND org_id = 676 2016-12-09 10:30:44 getListUser base_user:SELECT id, true_name, `status` FROM base_user WHERE cancel_flag = 0 AND org_id = 1003 2016-12-09 10:30:58 getListUser base_user:SELECT id, true_name, `status` FROM base_user WHERE cancel_flag = 0 AND org_id = 678 2016-12-09 10:31:35 getListUser base_user:SELECT id, true_name, `status` FROM base_user WHERE cancel_flag = 0 AND org_id = 1003 2016-12-09 10:31:49 getListUser base_user:SELECT id, true_name, `status` FROM base_user WHERE cancel_flag = 0 AND org_id = 1003 2016-12-09 10:31:57 getListUser base_user:SELECT id, true_name, `status` FROM base_user WHERE cancel_flag = 0 AND org_id = 1003 2016-12-09 10:32:04 detailUser base_user:SELECT id, user_name, true_name, phone_no FROM base_user WHERE cancel_flag = 0 AND id = 299 2016-12-09 10:32:08 updateUserPassword base_user:UPDATE base_user SET user_password = 'ac5b88f062770fbbc6b33e40846762bb', update_user_id = , update_time = '2016-12-09 10:32:08' WHERE id = 299 2016-12-09 11:37:48 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 2016-12-09 11:37:48 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 2016-12-09 11:37:48 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 16:02:12 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 2016-12-09 16:02:12 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 2016-12-09 16:02:12 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 16:02:48 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 16:02:48 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 16:02:56 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '浦东新区浦建路38号,近浦东南路。' 2016-12-09 16:03:06 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '上海浦东喜来登由由酒店' 2016-12-09 16:03:08 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 791 2016-12-09 16:03:15 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '上海浦东喜来登由由酒店' 2016-12-09 16:03:47 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 (1,'2016-12-09 16:03:47',187,'上海浦东喜来登由由酒店',803,'上海浦东喜来登由由酒店',0,288,295,'','','') 2016-12-09 16:03:47 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase ( create_user_id, create_time, supplier_id, product_type, purchaser_name ) VALUES (1,'2016-12-09 16:03:47',1012,25,'邵佳楠') 2016-12-09 16:03:49 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 2016-12-09 16:03:49 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 2016-12-09 16:03:49 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 16:03:51 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 10,10 2016-12-09 16:03:51 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 2016-12-09 16:03:51 select base_area:SELECT id, area_name FROM base_area WHERE id in(961,792,803,923,799) 2016-12-09 16:40:13 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 2016-12-09 16:40:13 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 2016-12-09 16:40:13 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 16:40: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 2016-12-09 16:40: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 2016-12-09 16:40:42 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 16:41:15 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 2016-12-09 16:41:15 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 2016-12-09 16:41:15 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 16:41:17 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 16:41:17 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 16:41:28 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '上海亚朵酒店' 2016-12-09 16:41:30 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 791 2016-12-09 16:43:46 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '' 2016-12-09 16:44:06 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '上海国际旅游度假区亚朵酒店' 2016-12-09 16:44:23 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '上海国际旅游度假区亚朵酒店' 2016-12-09 16:44:29 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '上海国际旅游度假区亚朵酒店' 2016-12-09 16:44:30 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 2016-12-09 16:44:30 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 2016-12-09 16:44:30 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 16:44:45 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 16:44:45 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 16:44:54 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '维也纳国际酒店(扬州力宝广场店)' 2016-12-09 16:45:00 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 809 2016-12-09 16:46:45 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 (274,'2016-12-09 16:46:45',187,'维也纳国际酒店(扬州力宝广场店)',895,'深圳维也纳酒店管理集团',0,275,295,'','','') 2016-12-09 16:46:45 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase ( create_user_id, create_time, supplier_id, product_type, purchaser_name ) VALUES (274,'2016-12-09 16:46:45',1013,25,'翁剑文') 2016-12-09 16:46:45 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 (274,'2016-12-09 16:46:45',1013,'酒店','翁剑文','','','','','') 2016-12-09 16:46:47 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 2016-12-09 16:46:47 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 2016-12-09 16:46:47 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 16:46:50 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 2016-12-09 16:46:50 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 2016-12-09 16:46:50 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 16:46:55 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type FROM base_supplier a WHERE cancel_flag = 0 and a.supplier_name like '%%深圳维也纳酒店管理集团%%' AND supplier_type = 187 LIMIT 0,10 2016-12-09 16:47:00 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 2016-12-09 16:47:00 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 2016-12-09 16:47:00 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 16:47:01 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 20,10 2016-12-09 16:47:01 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 2016-12-09 16:47:01 select base_area:SELECT id, area_name FROM base_area WHERE id in(895) 2016-12-09 16:47:01 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 20,10 2016-12-09 16:47:01 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 2016-12-09 16:47:01 select base_area:SELECT id, area_name FROM base_area WHERE id in(895) 2016-12-09 16:47:05 getListUser base_user:SELECT id, true_name, `status` FROM base_user WHERE cancel_flag = 0 AND org_id = 1013 2016-12-09 16:51:05 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 16:51:05 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 16:51:08 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 20,10 2016-12-09 16:51:08 select base_area:SELECT id, area_name FROM base_area WHERE id in(797,850,792,794,2,923) 2016-12-09 16:51:12 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 10,10 2016-12-09 16:51:12 select base_area:SELECT id, area_name FROM base_area WHERE id in(794,810,850,792) 2016-12-09 16:51:15 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 16:51:15 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 16:51:19 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 16:51:19 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 16:51:19 select base_supplier:SELECT id, supplier_name, area_id, manage_type, company_name, id_card, sett_type, sett_frequency, account_bank, account_num, account_name, sales_man FROM base_supplier WHERE cancel_flag = 0 AND id = 164 2016-12-09 16:51:19 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 800 2016-12-09 16:51:19 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 791 2016-12-09 16:51:19 select base_supplier_sale:SELECT id, prod_supplier_id, product_type, parent_type, sale_type, commision_flag, commision_type, back_commision_type, back_commision_method, back_percent, back_value FROM base_supplier_sale WHERE cancel_flag = 0 AND supplier_id = 164 2016-12-09 16:51:19 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 164 2016-12-09 16:51:19 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 791 2016-12-09 16:51:36 getDbSale base_supplier_sale:SELECT id AS sale_id, prod_supplier_id, product_type, parent_type, sale_type, commision_flag, commision_type, back_commision_type, back_commision_method, back_percent, back_value FROM base_supplier_sale WHERE cancel_flag = 0 AND supplier_id = 164 2016-12-09 16:51:36 getDbLink base_supplier_link:SELECT id as link_id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 164 2016-12-09 16:51:36 getDbChannel base_supplier:SELECT supplier_name, area_id, manage_type, company_name, id_card, sett_type, sett_frequency, account_bank, account_num, account_name, sales_man FROM base_supplier WHERE cancel_flag = 0 AND id = 164 2016-12-09 16:51:36 UPDATE base_supplier_sale:UPDATE base_supplier_sale SET update_user_id = 1,update_time = '2016-12-09 16:51:36',prod_supplier_id = '0',product_type = '0',parent_type = '310',sale_type = '312',commision_flag = '0',commision_type = '0',back_commision_type = '0',back_commision_method = '0',back_percent = '0.00',back_value = '0.00' WHERE id = 43;UPDATE base_supplier_sale SET update_user_id = 1,update_time = '2016-12-09 16:51:36',prod_supplier_id = '0',product_type = '0',parent_type = '311',sale_type = '312',commision_flag = '0',commision_type = '0',back_commision_type = '0',back_commision_method = '0',back_percent = '0.00',back_value = '0.00' WHERE id = 44;UPDATE base_supplier_sale SET update_user_id = 1,update_time = '2016-12-09 16:51:36',prod_supplier_id = '0',product_type = '0',parent_type = '25',sale_type = '312',commision_flag = '0',commision_type = '0',back_commision_type = '0',back_commision_method = '0',back_percent = '0',back_value = '0' WHERE id = 45 2016-12-09 16:51:37 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 16:51:37 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 16:51:41 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 10,10 2016-12-09 16:51:41 select base_area:SELECT id, area_name FROM base_area WHERE id in(794,810,850,792) 2016-12-09 16:51:44 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 20,10 2016-12-09 16:51:44 select base_area:SELECT id, area_name FROM base_area WHERE id in(797,850,792,794,2,923) 2016-12-09 16:52:03 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 16:52:03 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 16:52:03 select base_supplier:SELECT id, supplier_name, area_id, manage_type, company_name, id_card, sett_type, sett_frequency, account_bank, account_num, account_name, sales_man FROM base_supplier WHERE cancel_flag = 0 AND id = 669 2016-12-09 16:52:03 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 794 2016-12-09 16:52:03 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 791 2016-12-09 16:52:03 select base_supplier_sale:SELECT id, prod_supplier_id, product_type, parent_type, sale_type, commision_flag, commision_type, back_commision_type, back_commision_method, back_percent, back_value FROM base_supplier_sale WHERE cancel_flag = 0 AND supplier_id = 669 2016-12-09 16:52:03 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 669 2016-12-09 16:52:04 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 791 2016-12-09 16:52:22 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 16:52:22 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 16:52:25 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 20,10 2016-12-09 16:52:25 select base_area:SELECT id, area_name FROM base_area WHERE id in(797,850,792,794,2,923) 2016-12-09 16:52:35 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 16:52:35 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 16:52:35 select base_supplier:SELECT id, supplier_name, area_id, manage_type, company_name, id_card, sett_type, sett_frequency, account_bank, account_num, account_name, sales_man FROM base_supplier WHERE cancel_flag = 0 AND id = 670 2016-12-09 16:52:35 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 2 2016-12-09 16:52:35 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 1 2016-12-09 16:52:35 select base_supplier_sale:SELECT id, prod_supplier_id, product_type, parent_type, sale_type, commision_flag, commision_type, back_commision_type, back_commision_method, back_percent, back_value FROM base_supplier_sale WHERE cancel_flag = 0 AND supplier_id = 670 2016-12-09 16:52:35 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 670 2016-12-09 16:52:35 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 16:52:44 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 20,10 2016-12-09 16:52:44 select base_area:SELECT id, area_name FROM base_area WHERE id in(797,850,792,794,2,923) 2016-12-09 16:52:49 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 16:52:49 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 16:52:49 select base_supplier:SELECT id, supplier_name, area_id, manage_type, company_name, id_card, sett_type, sett_frequency, account_bank, account_num, account_name, sales_man FROM base_supplier WHERE cancel_flag = 0 AND id = 673 2016-12-09 16:52:49 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 2 2016-12-09 16:52:49 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 1 2016-12-09 16:52:49 select base_supplier_sale:SELECT id, prod_supplier_id, product_type, parent_type, sale_type, commision_flag, commision_type, back_commision_type, back_commision_method, back_percent, back_value FROM base_supplier_sale WHERE cancel_flag = 0 AND supplier_id = 673 2016-12-09 16:52:49 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 673 2016-12-09 16:52:49 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 16:53:08 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 16:53:08 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 16:53:09 select base_supplier:SELECT id, supplier_name, area_id, manage_type, company_name, id_card, sett_type, sett_frequency, account_bank, account_num, account_name, sales_man FROM base_supplier WHERE cancel_flag = 0 AND id = 674 2016-12-09 16:53:09 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 850 2016-12-09 16:53:09 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 809 2016-12-09 16:53:09 select base_supplier_sale:SELECT id, prod_supplier_id, product_type, parent_type, sale_type, commision_flag, commision_type, back_commision_type, back_commision_method, back_percent, back_value FROM base_supplier_sale WHERE cancel_flag = 0 AND supplier_id = 674 2016-12-09 16:53:09 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 674 2016-12-09 16:53:09 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 809 2016-12-09 16:55:12 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 16:55:12 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 16:55:22 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 10,10 2016-12-09 16:55:22 select base_area:SELECT id, area_name FROM base_area WHERE id in(794,810,850,792) 2016-12-09 16:55:23 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 20,10 2016-12-09 16:55:23 select base_area:SELECT id, area_name FROM base_area WHERE id in(797,850,792,794,2,923) 2016-12-09 18:06:15 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 2016-12-09 18:06:15 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 2016-12-09 18:06:15 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 18:06:20 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 20,10 2016-12-09 18:06:21 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 2016-12-09 18:06:21 select base_area:SELECT id, area_name FROM base_area WHERE id in(895) 2016-12-09 18:06:23 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 10,10 2016-12-09 18:06:23 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 2016-12-09 18:06:23 select base_area:SELECT id, area_name FROM base_area WHERE id in(961,792,803,923,799) 2016-12-09 18:06:26 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 18:06:26 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 18:07:02 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '上海浦东星河湾大酒店' 2016-12-09 18:07:04 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 791 2016-12-09 18:07:51 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 18:07:51 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 18:08:02 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 (1,'2016-12-09 18:08:02',187,'上海浦东星河湾大酒店',803,'上海浦东星河湾大酒店',0,275,295,'','','') 2016-12-09 18:08:02 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase ( create_user_id, create_time, supplier_id, product_type, purchaser_name ) VALUES (1,'2016-12-09 18:08:02',1014,25,'邵佳楠') 2016-12-09 18:08:05 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 2016-12-09 18:08:05 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 2016-12-09 18:08:05 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 18:08:07 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 20,10 2016-12-09 18:08:07 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 2016-12-09 18:08:07 select base_area:SELECT id, area_name FROM base_area WHERE id in(895,803) 2016-12-09 18:13:48 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 2016-12-09 18:13:48 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 2016-12-09 18:13:48 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 18:15:48 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 18:15:48 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 18:15:52 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 20,10 2016-12-09 18:15:52 select base_area:SELECT id, area_name FROM base_area WHERE id in(797,850,792,794,2,923) 2016-12-09 18:20:47 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 18:20:47 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 18:20:50 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 10,10 2016-12-09 18:20:50 select base_area:SELECT id, area_name FROM base_area WHERE id in(794,810,850,792) 2016-12-09 18:20:51 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 20,10 2016-12-09 18:20:51 select base_area:SELECT id, area_name FROM base_area WHERE id in(797,850,792,794,2,923) 2016-12-09 18:20:54 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 18:20:54 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 18:20:54 select base_supplier:SELECT id, supplier_name, area_id, manage_type, company_name, id_card, sett_type, sett_frequency, account_bank, account_num, account_name, sales_man FROM base_supplier WHERE cancel_flag = 0 AND id = 669 2016-12-09 18:20:54 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 794 2016-12-09 18:20:54 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 791 2016-12-09 18:20:54 select base_supplier_sale:SELECT id, prod_supplier_id, product_type, parent_type, sale_type, commision_flag, commision_type, back_commision_type, back_commision_method, back_percent, back_value FROM base_supplier_sale WHERE cancel_flag = 0 AND supplier_id = 669 2016-12-09 18:20:54 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 669 2016-12-09 18:20:55 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 791 2016-12-09 18:21:22 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 18:21:22 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 18:21:22 select base_supplier:SELECT id, supplier_name, area_id, manage_type, company_name, id_card, sett_type, sett_frequency, account_bank, account_num, account_name, sales_man FROM base_supplier WHERE cancel_flag = 0 AND id = 670 2016-12-09 18:21:22 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 2 2016-12-09 18:21:22 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 1 2016-12-09 18:21:22 select base_supplier_sale:SELECT id, prod_supplier_id, product_type, parent_type, sale_type, commision_flag, commision_type, back_commision_type, back_commision_method, back_percent, back_value FROM base_supplier_sale WHERE cancel_flag = 0 AND supplier_id = 670 2016-12-09 18:21:22 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 670 2016-12-09 18:21:22 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 18:21:34 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 18:21:34 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 18:21:34 select base_supplier:SELECT id, supplier_name, area_id, manage_type, company_name, id_card, sett_type, sett_frequency, account_bank, account_num, account_name, sales_man FROM base_supplier WHERE cancel_flag = 0 AND id = 673 2016-12-09 18:21:34 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 2 2016-12-09 18:21:34 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 1 2016-12-09 18:21:34 select base_supplier_sale:SELECT id, prod_supplier_id, product_type, parent_type, sale_type, commision_flag, commision_type, back_commision_type, back_commision_method, back_percent, back_value FROM base_supplier_sale WHERE cancel_flag = 0 AND supplier_id = 673 2016-12-09 18:21:34 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 673 2016-12-09 18:21:34 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 18:21:46 getDbSale base_supplier_sale:SELECT id AS sale_id, prod_supplier_id, product_type, parent_type, sale_type, commision_flag, commision_type, back_commision_type, back_commision_method, back_percent, back_value FROM base_supplier_sale WHERE cancel_flag = 0 AND supplier_id = 673 2016-12-09 18:21:46 getDbLink base_supplier_link:SELECT id as link_id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 673 2016-12-09 18:21:46 getDbChannel base_supplier:SELECT supplier_name, area_id, manage_type, company_name, id_card, sett_type, sett_frequency, account_bank, account_num, account_name, sales_man FROM base_supplier WHERE cancel_flag = 0 AND id = 673 2016-12-09 18:21:46 UPDATE base_supplier_sale:UPDATE base_supplier_sale SET update_user_id = 1,update_time = '2016-12-09 18:21:46',prod_supplier_id = '0',product_type = '0',parent_type = '25',sale_type = '177',commision_flag = '0',commision_type = '0',back_commision_type = '0',back_commision_method = '0',back_percent = '0',back_value = '0' WHERE id = 48 2016-12-09 18:21:48 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 18:21:49 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 18:21:51 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 20,10 2016-12-09 18:21:51 select base_area:SELECT id, area_name FROM base_area WHERE id in(797,850,792,794,2,923) 2016-12-09 18:21:55 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 18:21:55 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 18:21:56 select base_supplier:SELECT id, supplier_name, area_id, manage_type, company_name, id_card, sett_type, sett_frequency, account_bank, account_num, account_name, sales_man FROM base_supplier WHERE cancel_flag = 0 AND id = 674 2016-12-09 18:21:56 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 850 2016-12-09 18:21:56 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 809 2016-12-09 18:21:56 select base_supplier_sale:SELECT id, prod_supplier_id, product_type, parent_type, sale_type, commision_flag, commision_type, back_commision_type, back_commision_method, back_percent, back_value FROM base_supplier_sale WHERE cancel_flag = 0 AND supplier_id = 674 2016-12-09 18:21:56 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 674 2016-12-09 18:21:56 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 809 2016-12-09 18:22:15 getDbSale base_supplier_sale:SELECT id AS sale_id, prod_supplier_id, product_type, parent_type, sale_type, commision_flag, commision_type, back_commision_type, back_commision_method, back_percent, back_value FROM base_supplier_sale WHERE cancel_flag = 0 AND supplier_id = 674 2016-12-09 18:22:15 getDbLink base_supplier_link:SELECT id as link_id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 674 2016-12-09 18:22:15 getDbChannel base_supplier:SELECT supplier_name, area_id, manage_type, company_name, id_card, sett_type, sett_frequency, account_bank, account_num, account_name, sales_man FROM base_supplier WHERE cancel_flag = 0 AND id = 674 2016-12-09 18:22:15 UPDATE base_supplier_sale:UPDATE base_supplier_sale SET update_user_id = 1,update_time = '2016-12-09 18:22:15',prod_supplier_id = '0',product_type = '0',parent_type = '25',sale_type = '312',commision_flag = '0',commision_type = '0',back_commision_type = '0',back_commision_method = '0',back_percent = '0',back_value = '0' WHERE id = 49 2016-12-09 18:22:17 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 18:22:17 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 18:22:21 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 20,10 2016-12-09 18:22:21 select base_area:SELECT id, area_name FROM base_area WHERE id in(797,850,792,794,2,923) 2016-12-09 18:22:24 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 18:22:24 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 18:22:24 select base_supplier:SELECT id, supplier_name, area_id, manage_type, company_name, id_card, sett_type, sett_frequency, account_bank, account_num, account_name, sales_man FROM base_supplier WHERE cancel_flag = 0 AND id = 675 2016-12-09 18:22:24 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 923 2016-12-09 18:22:24 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 922 2016-12-09 18:22:24 select base_supplier_sale:SELECT id, prod_supplier_id, product_type, parent_type, sale_type, commision_flag, commision_type, back_commision_type, back_commision_method, back_percent, back_value FROM base_supplier_sale WHERE cancel_flag = 0 AND supplier_id = 675 2016-12-09 18:22:24 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 675 2016-12-09 18:22:24 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 922 2016-12-09 18:46:29 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 2016-12-09 18:46:29 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 2016-12-09 18:46:29 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 18:47:12 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 2016-12-09 18:47:12 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 2016-12-09 18:47:12 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 18:49:09 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 2016-12-09 18:49:09 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 2016-12-09 18:49:09 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 18:49:10 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 18:49:10 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 18:49:13 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '' 2016-12-09 18:50:03 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '' 2016-12-09 18:51:06 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '' 2016-12-09 18:51:16 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '' 2016-12-09 18:51:20 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '上海康桥万信酒店公寓' 2016-12-09 18:51:21 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 791 2016-12-09 18:53:20 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 2016-12-09 18:53:20 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 2016-12-09 18:53:20 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 18:53:25 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 18:53:25 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 18:53:34 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '' 2016-12-09 18:53:35 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '上海康桥万信酒店公寓' 2016-12-09 18:54:42 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '上海花园饭店' 2016-12-09 18:54:54 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '上海花园饭店' 2016-12-09 18:55:20 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '康桥凯莱酒店(上海浦东机场迪士尼店)' 2016-12-09 18:56:00 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 (274,'2016-12-09 18:56:00',187,'康桥凯莱酒店(上海浦东机场迪士尼店)',803,'康桥凯莱酒店(上海浦东机场迪士尼店)',0,275,295,'','','') 2016-12-09 18:56:00 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase ( create_user_id, create_time, supplier_id, product_type, purchaser_name ) VALUES (274,'2016-12-09 18:56:00',1015,25,'邵佳楠') 2016-12-09 18:56:00 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 (274,'2016-12-09 18:56:00',1015,'销售','谢春春','','','','','') 2016-12-09 18:56:01 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 2016-12-09 18:56:01 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 2016-12-09 18:56:01 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 18:56:06 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 2016-12-09 18:56:06 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 2016-12-09 18:56:06 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 18:56: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 10,10 2016-12-09 18:56: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 2016-12-09 18:56:10 select base_area:SELECT id, area_name FROM base_area WHERE id in(961,792,803,923,799) 2016-12-09 18:56:15 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 20,10 2016-12-09 18:56:15 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 2016-12-09 18:56:15 select base_area:SELECT id, area_name FROM base_area WHERE id in(895,803) 2016-12-09 18:56:18 getListUser base_user:SELECT id, true_name, `status` FROM base_user WHERE cancel_flag = 0 AND org_id = 1015 2016-12-09 18:56:25 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 2016-12-09 18:56:25 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 2016-12-09 18:56:25 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 19:12:39 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 2016-12-09 19:12:39 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 2016-12-09 19:12:39 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 19:12:45 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 10,10 2016-12-09 19:12:45 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 2016-12-09 19:12:45 select base_area:SELECT id, area_name FROM base_area WHERE id in(961,792,803,923,799) 2016-12-09 19:12:49 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 20,10 2016-12-09 19:12:49 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 2016-12-09 19:12:49 select base_area:SELECT id, area_name FROM base_area WHERE id in(895,803) 2016-12-09 19:12:51 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 10,10 2016-12-09 19:12:51 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 2016-12-09 19:12:51 select base_area:SELECT id, area_name FROM base_area WHERE id in(961,792,803,923,799) 2016-12-09 19:12:53 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 19:12:53 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 19:12:55 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '' 2016-12-09 19:12:59 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '苏州金鸡湖凯宾斯基大酒店' 2016-12-09 19:13:03 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 809 2016-12-09 19:13:55 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,'2016-12-09 19:13:55',187,'苏州金鸡湖凯宾斯基大酒店',850,'苏州金鸡湖凯宾斯基大酒店',0,288,295,'','','') 2016-12-09 19:13:55 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase ( create_user_id, create_time, supplier_id, product_type, purchaser_name ) VALUES (284,'2016-12-09 19:13:55',1016,25,'陈娟') 2016-12-09 19:13:55 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,'2016-12-09 19:13:55',1016,'销售','王维','','','','','') 2016-12-09 19:13:56 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 2016-12-09 19:13:56 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 2016-12-09 19:13:56 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 19:19:24 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 2016-12-09 19:19:24 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 2016-12-09 19:19:24 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 19:19:29 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type FROM base_supplier a WHERE cancel_flag = 0 and a.supplier_name like '%%万信%%' AND supplier_type = 187 LIMIT 0,10 2016-12-09 19:19:29 count:SELECT a.id FROM base_supplier AS a, base_supplier_purchase AS b WHERE a.id = b.supplier_id and a.supplier_name like '%%万信%%' AND a.cancel_flag = 0 AND b.cancel_flag = 0 GROUP BY b.supplier_id 2016-12-09 19:19:29 select base_area:SELECT id, area_name FROM base_area WHERE id in(803) 2016-12-09 19:19:31 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 19:19:31 select base_supplier:SELECT id, supplier_name, area_id, company_name, sett_type, sett_frequency, account_bank, account_num, account_name FROM base_supplier WHERE cancel_flag = 0 AND id = 668 2016-12-09 19:19:31 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 803 2016-12-09 19:19:31 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 791 2016-12-09 19:19:31 select base_supplier_purchase:SELECT id, product_type, purchaser_name FROM base_supplier_purchase WHERE cancel_flag = 0 AND supplier_id = 668 2016-12-09 19:19:31 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 668 2016-12-09 19:19:31 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 791 2016-12-09 19:22:55 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 2016-12-09 19:22:55 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 2016-12-09 19:22:55 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 19:23:53 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 2016-12-09 19:23:53 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 2016-12-09 19:23:53 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 19:23:57 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type FROM base_supplier a WHERE cancel_flag = 0 and a.supplier_name like '%%万信%%' AND supplier_type = 187 LIMIT 0,10 2016-12-09 19:23:57 count:SELECT a.id FROM base_supplier AS a, base_supplier_purchase AS b WHERE a.id = b.supplier_id and a.supplier_name like '%%万信%%' AND a.cancel_flag = 0 AND b.cancel_flag = 0 GROUP BY b.supplier_id 2016-12-09 19:23:57 select base_area:SELECT id, area_name FROM base_area WHERE id in(803) 2016-12-09 19:23:59 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 19:23:59 select base_supplier:SELECT id, supplier_name, area_id, company_name, sett_type, sett_frequency, account_bank, account_num, account_name FROM base_supplier WHERE cancel_flag = 0 AND id = 668 2016-12-09 19:23:59 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 803 2016-12-09 19:23:59 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 791 2016-12-09 19:23:59 select base_supplier_purchase:SELECT id, product_type, purchaser_name FROM base_supplier_purchase WHERE cancel_flag = 0 AND supplier_id = 668 2016-12-09 19:23:59 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 668 2016-12-09 19:23:59 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 791 2016-12-09 19:24:05 getDbPurchase base_supplier_purchase:SELECT id AS purchase_id, product_type, purchaser_name FROM base_supplier_purchase WHERE cancel_flag = 0 AND supplier_id = 668 2016-12-09 19:24:05 getDbLink base_supplier_link:SELECT id as link_id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 668 2016-12-09 19:24:05 getDbChannel base_supplier:SELECT supplier_name, area_id, company_name, sett_type, sett_frequency, account_bank, account_num, account_name FROM base_supplier WHERE cancel_flag = 0 AND id = 668 2016-12-09 19:24:05 INSERT base_supplier_purchase:INSERT INTO base_supplier_purchase ( create_user_id, create_time, supplier_id, product_type, purchaser_name ) VALUES (282,'2016-12-09 19:24:05',668,25,'邵佳楠') 2016-12-09 19:24:05 delete base_supplier_sale:UPDATE base_supplier_purchase SET update_user_id = 282,update_time = '2016-12-09 19:24:05',cancel_flag = 1 WHERE id = 17 2016-12-09 19:24:07 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 2016-12-09 19:24:07 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 2016-12-09 19:24:07 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 19:27:54 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 2016-12-09 19:27:54 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 2016-12-09 19:27:54 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 19:27:57 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 19:27:57 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 19:28:06 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '' 2016-12-09 19:28:07 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '上海康桥万信酒店公寓' 2016-12-09 19:28:14 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 2016-12-09 19:28:14 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 2016-12-09 19:28:14 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 19:28:17 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type FROM base_supplier a WHERE cancel_flag = 0 and a.supplier_name like '%%上海康桥万信酒店公寓%%' AND supplier_type = 187 LIMIT 0,10 2016-12-09 19:28:17 count:SELECT a.id FROM base_supplier AS a, base_supplier_purchase AS b WHERE a.id = b.supplier_id and a.supplier_name like '%%上海康桥万信酒店公寓%%' AND a.cancel_flag = 0 AND b.cancel_flag = 0 GROUP BY b.supplier_id 2016-12-09 19:28:17 select base_area:SELECT id, area_name FROM base_area WHERE id in(803) 2016-12-09 19:28:19 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 19:28:19 select base_supplier:SELECT id, supplier_name, area_id, company_name, sett_type, sett_frequency, account_bank, account_num, account_name FROM base_supplier WHERE cancel_flag = 0 AND id = 668 2016-12-09 19:28:19 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 803 2016-12-09 19:28:19 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 791 2016-12-09 19:28:19 select base_supplier_purchase:SELECT id, product_type, purchaser_name FROM base_supplier_purchase WHERE cancel_flag = 0 AND supplier_id = 668 2016-12-09 19:28:19 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 668 2016-12-09 19:28:19 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 791 2016-12-09 19:28:21 update status base_supplier:UPDATE base_supplier SET update_user_id = 282,update_time = '2016-12-09 19:28:21',is_disabled = 1 WHERE id in(668) 2016-12-09 19:28:24 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 19:28:25 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 19:28:27 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '上海康桥万信酒店公寓' 2016-12-09 19:28:31 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 791 2016-12-09 19:29:47 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 (282,'2016-12-09 19:29:47',187,'上海康桥万信酒店公寓',803,'上海康桥万信酒店公寓',0,275,295,'','','') 2016-12-09 19:29:47 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase ( create_user_id, create_time, supplier_id, product_type, purchaser_name ) VALUES (282,'2016-12-09 19:29:47',1017,25,'邵佳楠') 2016-12-09 19:29:47 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 (282,'2016-12-09 19:29:47',1017,'销售','谢春春','','','','','') 2016-12-09 19:29:48 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 2016-12-09 19:29:48 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 2016-12-09 19:29:48 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 19:40:18 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 2016-12-09 19:40:18 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 2016-12-09 19:40:18 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 19:40:53 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 2016-12-09 19:40:53 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 2016-12-09 19:40:53 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 19:40:58 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 19:40:58 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 19:41:11 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '嘉兴景澜月河客栈' 2016-12-09 19:41:13 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 922 2016-12-09 19:41:19 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '嘉兴景澜月河客栈' 2016-12-09 19:42:17 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 (285,'2016-12-09 19:42:17',187,'嘉兴景澜月河客栈',961,'嘉兴景澜月河客栈',0,275,295,'','','') 2016-12-09 19:42:17 INSERT INTO base_supplier_purchase:INSERT INTO base_supplier_purchase ( create_user_id, create_time, supplier_id, product_type, purchaser_name ) VALUES (285,'2016-12-09 19:42:17',1018,25,'邵佳楠') 2016-12-09 19:42:17 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 (285,'2016-12-09 19:42:17',1018,'销售','于亮','','','','','') 2016-12-09 19:42:19 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 2016-12-09 19:42:19 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 2016-12-09 19:42:19 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 20:43:21 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 2016-12-09 20:43:21 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 2016-12-09 20:43:21 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 20:43:24 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 10,10 2016-12-09 20:43:24 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 2016-12-09 20:43:24 select base_area:SELECT id, area_name FROM base_area WHERE id in(961,792,803,923,799) 2016-12-09 20:43:27 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 20,10 2016-12-09 20:43:27 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 2016-12-09 20:43:27 select base_area:SELECT id, area_name FROM base_area WHERE id in(895,803,850,961) 2016-12-09 20:43:36 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 10,10 2016-12-09 20:43:36 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 2016-12-09 20:43:36 select base_area:SELECT id, area_name FROM base_area WHERE id in(961,792,803,923,799) 2016-12-09 20:43:41 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 20,10 2016-12-09 20:43:41 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 2016-12-09 20:43:41 select base_area:SELECT id, area_name FROM base_area WHERE id in(895,803,850,961) 2016-12-09 20:43:50 getListUser base_user:SELECT id, true_name, `status` FROM base_user WHERE cancel_flag = 0 AND org_id = 1015 2016-12-09 20:43:56 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 20:43:56 select base_supplier:SELECT id, supplier_name, area_id, company_name, sett_type, sett_frequency, account_bank, account_num, account_name FROM base_supplier WHERE cancel_flag = 0 AND id = 1015 2016-12-09 20:43:56 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 803 2016-12-09 20:43:56 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 791 2016-12-09 20:43:56 select base_supplier_purchase:SELECT id, product_type, purchaser_name FROM base_supplier_purchase WHERE cancel_flag = 0 AND supplier_id = 1015 2016-12-09 20:43:56 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 1015 2016-12-09 20:43:56 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 791 2016-12-09 20:43:59 check base_supplier:SELECT supplier_name FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 187 AND supplier_name = '康桥凯莱酒店(上海浦东机场迪士尼店)' and id != 1015 2016-12-09 20:44:10 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 20:44:10 select base_supplier:SELECT id, supplier_name, area_id, company_name, sett_type, sett_frequency, account_bank, account_num, account_name FROM base_supplier WHERE cancel_flag = 0 AND id = 1016 2016-12-09 20:44:10 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 850 2016-12-09 20:44:10 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 809 2016-12-09 20:44:10 select base_supplier_purchase:SELECT id, product_type, purchaser_name FROM base_supplier_purchase WHERE cancel_flag = 0 AND supplier_id = 1016 2016-12-09 20:44:10 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 1016 2016-12-09 20:44:10 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 809 2016-12-09 20:44:16 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 20:44:17 select base_supplier:SELECT id, supplier_name, area_id, company_name, sett_type, sett_frequency, account_bank, account_num, account_name FROM base_supplier WHERE cancel_flag = 0 AND id = 1017 2016-12-09 20:44:17 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 803 2016-12-09 20:44:17 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 791 2016-12-09 20:44:17 select base_supplier_purchase:SELECT id, product_type, purchaser_name FROM base_supplier_purchase WHERE cancel_flag = 0 AND supplier_id = 1017 2016-12-09 20:44:17 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 1017 2016-12-09 20:44:17 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 791 2016-12-09 20:44:21 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 20:44:21 select base_supplier:SELECT id, supplier_name, area_id, company_name, sett_type, sett_frequency, account_bank, account_num, account_name FROM base_supplier WHERE cancel_flag = 0 AND id = 1018 2016-12-09 20:44:21 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 961 2016-12-09 20:44:21 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 922 2016-12-09 20:44:21 select base_supplier_purchase:SELECT id, product_type, purchaser_name FROM base_supplier_purchase WHERE cancel_flag = 0 AND supplier_id = 1018 2016-12-09 20:44:21 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 1018 2016-12-09 20:44:21 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 922 2016-12-09 22:56:40 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 22:56:40 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 22:56: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 2016-12-09 22:56: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 2016-12-09 22:56:42 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 23:01:39 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 2016-12-09 23:01:39 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 2016-12-09 23:01:39 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 23:01:40 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 23:01:40 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 23:02:21 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 23:02:21 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 23:02:27 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 23:02:27 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 23:02:28 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 2016-12-09 23:02:28 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 2016-12-09 23:02:28 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 23:02:31 getListUser base_user:SELECT id, true_name, `status` FROM base_user WHERE cancel_flag = 0 AND org_id = 501 2016-12-09 23:02:35 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 2016-12-09 23:02:35 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 2016-12-09 23:02:35 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 23:02:37 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 23:02:37 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 23:02:50 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 23:02:50 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 23:02:57 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 2016-12-09 23:02:57 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 2016-12-09 23:02:57 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 23:05:26 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 23:05:26 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 23:05:44 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 23:05:44 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 23:05:44 select base_supplier:SELECT id, supplier_name, area_id, manage_type, company_name, id_card, sett_type, sett_frequency, account_bank, account_num, account_name, sales_man FROM base_supplier WHERE cancel_flag = 0 AND id = 115 2016-12-09 23:05:44 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 850 2016-12-09 23:05:44 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 809 2016-12-09 23:05:44 select base_supplier_sale:SELECT id, prod_supplier_id, product_type, parent_type, sale_type, commision_flag, commision_type, back_commision_type, back_commision_method, back_percent, back_value FROM base_supplier_sale WHERE cancel_flag = 0 AND supplier_id = 115 2016-12-09 23:05:44 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 115 2016-12-09 23:05:44 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 809 2016-12-09 23:05:47 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 2016-12-09 23:05:47 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 2016-12-09 23:05:47 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 23:05:56 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 23:05:56 select base_supplier:SELECT id, supplier_name, area_id, company_name, sett_type, sett_frequency, account_bank, account_num, account_name FROM base_supplier WHERE cancel_flag = 0 AND id = 668 2016-12-09 23:05:56 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 803 2016-12-09 23:05:56 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 791 2016-12-09 23:05:56 select base_supplier_purchase:SELECT id, product_type, purchaser_name FROM base_supplier_purchase WHERE cancel_flag = 0 AND supplier_id = 668 2016-12-09 23:05:56 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 668 2016-12-09 23:05:56 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 791 2016-12-09 23:12:50 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 2016-12-09 23:12:50 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 2016-12-09 23:12:50 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 23:12:52 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 23:12:52 select base_supplier:SELECT id, supplier_name, area_id, company_name, sett_type, sett_frequency, account_bank, account_num, account_name FROM base_supplier WHERE cancel_flag = 0 AND id = 501 2016-12-09 23:12:52 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 923 2016-12-09 23:12:52 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 922 2016-12-09 23:12:52 select base_supplier_purchase:SELECT id, product_type, purchaser_name FROM base_supplier_purchase WHERE cancel_flag = 0 AND supplier_id = 501 2016-12-09 23:12:52 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 501 2016-12-09 23:12:53 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 922 2016-12-09 23:12:54 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 23:12:54 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 23:12:55 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 0 2016-12-09 23:12:55 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 1 2016-12-09 23:12:55 select base_supplier:SELECT id, supplier_name, area_id, manage_type, company_name, id_card, sett_type, sett_frequency, account_bank, account_num, account_name, sales_man FROM base_supplier WHERE cancel_flag = 0 AND id = 115 2016-12-09 23:12:55 select base_area:SELECT id, area_name, parent_id FROM base_area WHERE cancel_flag = 0 AND id = 850 2016-12-09 23:12:56 select base_area:SELECT id, area_name FROM base_area WHERE cancel_flag = 0 AND id = 809 2016-12-09 23:12:56 select base_supplier_sale:SELECT id, prod_supplier_id, product_type, parent_type, sale_type, commision_flag, commision_type, back_commision_type, back_commision_method, back_percent, back_value FROM base_supplier_sale WHERE cancel_flag = 0 AND supplier_id = 115 2016-12-09 23:12:56 select base_supplier_link:SELECT id, link_name, contact_name, contact_mobile, contact_telphone, fax, email, remark FROM base_supplier_link WHERE cancel_flag = 0 AND supplier_id = 115 2016-12-09 23:12:56 select base_area:SELECT id, area_name FROM base_area WHERE parent_id = 809 2016-12-09 23:29:38 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 2016-12-09 23:29:38 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 2016-12-09 23:29:38 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 23:29:43 select base_supplier:SELECT id, supplier_name, area_id, is_disabled, supplier_type, manage_type FROM base_supplier WHERE cancel_flag = 0 AND supplier_type = 301 LIMIT 0,10 2016-12-09 23:29:43 select base_area:SELECT id, area_name FROM base_area WHERE id in(850,961,800,4,797,7,1966,794) 2016-12-09 23:29:44 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 2016-12-09 23:29:44 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 2016-12-09 23:29:44 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200) 2016-12-09 23:57:03 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 2016-12-09 23:57:03 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 2016-12-09 23:57:03 select base_area:SELECT id, area_name FROM base_area WHERE id in(923,803,792,1200)