一、AND查询语句;
$row = $db->queryall("select achieve_id,category_id,category_name,member_depart,member_name,member_id,member_scan,user_id,user_name,entry_show,achieve_accurate,achieve_grade,from_unixtime(achieve_time) as achieve_time from " . $db->table('achieve') . " where category_id = " . $interact . " AND achieve_grade = \"" . $achieve_grade . "\" order by achieve_id ASC");
二、LIKE搜索语句;
$row = $db->fetchall('store', 'store_id,store_name,store_province,store_city,store_area,store_check,trade_name', '', ' store_id DESC', $startI . ',' . $pagenum);