// 从数据库查数据
lr_save_string (lr_eval_string("SELECT SQL_NO_CACHE a.*,c.CN_NAME,b.* from CRM_PLATFORM_CUSTOMER "
"a LEFT OUTER JOIN ST_COMPANY_CATEOGRY_SUM b ON "
"a.CR_COMPANY_ID=b.CR_COMPANY_ID LEFT OUTER JOIN MD_CATEGORY "
"c ON b.CR_CATEGORY3_ID=c.CN_ID WHERE a.CR_MGR_GROUP_ID like'001003%' "
"and b.CN_COUNT>0;"),"paramInsertQuery");
rc = mysql_query(db_connection, lr_eval_string("{paramInsertQuery}"));
if (rc = 0) {