コード例 #1
0
 /**
  * Set position for lots
  *
  * @param Lot $model
  * @return bool
  */
 public function updatePositionBy(Lot $model)
 {
     return $this->fpdo->update($this->table)->set('position_id', $model->getPositionId())->where('security_id', $model->getSecurityId())->where('date = DATE(?)', $model->getDate())->where('client_system_account_id', $model->getClientSystemAccountId())->execute();
 }