public void AttendWish(WishTarget target) { var query = $"update transactions.wish " + $"set ownerid=@ownerid, spotid=@spotid, quantity=@quantity," + $" shelfid=@shelfid, status=2 where id=@wishid"; var parameters = new DynamicParameters(); parameters.Add("@wishid", target.wishid); parameters.Add("@ownerid", target.ownerid); parameters.Add("@spotid", target.spotid); parameters.Add("@quantity", target.quantity); parameters.Add("@shelfid", target.shelfid); ExecuteQuery(query, parameters); return; }
public void AttendWish(WishTarget target) { _wishBusiness.AttendWish(target); return; }
public void AttendWish(WishTarget target) { _wishRepository.AttendWish(target); return; }