/// <summary> /// 添加抹零信息记录 /// </summary> public void AddWipeZero(int companyId, string paySn, decimal money) { WipeZero _wipe = new WipeZero() { CompanyId = companyId, PaySN = paySn, Number = money }; WipeZeroService.CurrentRepository.Add(_wipe); }
public void AddWipeZero(int companyId, string paySn, decimal money) { WipeZero _wipe = new WipeZero() { CompanyId = companyId, PaySN = paySn, Number = money, SyncItemId = Guid.NewGuid(), SyncItemVersion = BitConverter.GetBytes((long)1) }; WipeZeroService.CurrentRepository.Add(_wipe); }