function query()
 {
     $sql = parent::query();
     $sql .= " AND DATEDIFF(CURDATE(), vtiger_crmentity.modifiedtime) > 1";
     return $sql;
 }
 function query()
 {
     $sql = parent::query();
     $sql .= " ORDER BY crmid DESC";
     return $sql;
 }