芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/shimoda/lib/Entity/Transition.php
setCommonDependencies($store, $log); } public function getId() { return $this->transitionId; } public function getOwnerId() { return 1; } public function save() { if ($this->transitionId == null || $this->transitionId == 0) throw new \InvalidArgumentException(); $this->getStore()->update(' UPDATE `transition` SET AvailableAsIn = :availableAsIn, AvailableAsOut = :availableAsOut WHERE transitionID = :transitionId ', [ 'availableAsIn' => $this->availableAsIn, 'availableAsOut' => $this->availableAsOut, 'transitionId' => $this->transitionId ]); } }