Ejemplo n.º 1
0
 public static function deleteByGlobalEnquiryId($enquiry_global_id)
 {
     $criteria = new CDbCriteria();
     $criteria->compare("t.enquiry_global_id", $enquiry_global_id);
     $models = self::model()->findAll($criteria);
     ProTransactions::deleteArrModel($models);
 }
Ejemplo n.º 2
0
 public static function deleteByXXXXX($enquiry_global_id)
 {
     // chưa biết là delete theo cái nào
     $criteria = new CDbCriteria();
     $criteria->compare("t.enquiry_global_id", $enquiry_global_id);
     $models = self::model()->findAll($criteria);
     ProTransactions::deleteArrModel($models);
 }