示例#1
0
 public function deleteByAction(\Ess\M2ePro\Model\Amazon\Processing\Action $action)
 {
     return $this->getConnection()->delete($this->getMainTable(), array('action_id = ?' => $action->getId()));
 }
示例#2
0
 public function setActionFilter(\Ess\M2ePro\Model\Amazon\Processing\Action $action)
 {
     $this->addFieldToFilter('main_table.action_id', (int) $action->getId());
     return $this;
 }