Ejemplo n.º 1
0
 public static function insertDailySigned($brokerId)
 {
     $row = self::data_access(date("Ym", time()));
     $sql = "insert into daily_quest_" . date("Ym", time()) . "(broker_id,create_time,sign_state,sign_time)" . " values(" . $brokerId . "," . date("Ymd", time()) . ",1,'" . Bll_Commsign::getDailySignedTime($brokerId) . "') on duplicate key update sign_state=1,sign_time='" . Bll_Commsign::getDailySignedTime($brokerId) . "'";
     return $row->native_sql($sql, array(), false);
 }