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