Esempio n. 1
0
 public static function getKuhuiTestList($paramArr)
 {
     $options = array('subid' => '', 'manuid' => '', 'offset' => 0, 'limit' => 10, 'orderBy' => ' order by addTime desc ', 'col' => '*');
     if (is_array($paramArr)) {
         $options = array_merge($options, $paramArr);
     }
     extract($options);
     $whereSql = ' AND isDel=0 ';
     if ($subid) {
         $whereSql = ' AND subid in(' . $subid . ') ';
     }
     if ($manuid) {
         $whereSql = ' AND manuid in(' . $manuid . ') ';
     }
     $outArr = array();
     $outArr = API_Dao::getRows(array('dbName' => 'API_Db_Kuhui', 'tblName' => 'kh_test', 'cols' => $col, 'offset' => $offset, 'limit' => $limit, 'orderSql' => $orderBy, 'whereSql' => $whereSql));
     return $outArr;
 }