1234567891011121314151617181920212223242526272829303132333435 |
- using Library;
- using MySystem.Service.Main;
- using System;
- using System.Collections.Generic;
- namespace MySystem
- {
- /// <summary>
- /// 收支明细工具类
- /// </summary>
- public class UserAccountRecordUtil
- {
- #region 预发机撤回退还小分仓押金
- /// <summary>
- /// 预发机撤回退还小分仓押金
- /// </summary>
- /// <param name="Remark">备注</param>
- /// <param name="ChangeType">变动类型</param>
- /// <param name="BeforeBalanceAmount">变更前小分仓押金</param>
- /// <param name="AfterBalanceAmount">变更后小分仓押金</param>
- /// <param name="ChangeAmount">变动金额</param>
- /// <param name="UserId"></param>
- public static void AddRecordForCanclePos(string Remark,int ChangeType,decimal BeforeBalanceAmount,decimal AfterBalanceAmount,decimal ChangeAmount,int UserId)
- {
- Dictionary<string, object> infoData = new Dictionary<string, object>();
- infoData.Add("Remark", Remark);
- infoData.Add("ChangeType", ChangeType);
- infoData.Add("BeforeBalanceAmount", BeforeBalanceAmount);
- infoData.Add("AfterBalanceAmount", AfterBalanceAmount);
- infoData.Add("ChangeAmount", ChangeAmount);
- infoData.Add("UserId", UserId);
- UserAccountRecordService.Add(infoData);
- }
- #endregion
- }
- }
|