SourceCode/RFrameGenerate.BLL/AgentWithdrawHqManage.cs

(开头部分) 13KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using RFrameGenerate.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using Wechat.Model;
using RFramework.SQLQuery;
using weixinopen;
using Wechat;
using RFramework.SQLServer;
using RFramework.SQLQuery.SQLExpands;
using RFrameGenerate.Common;
using RFrameGenerate.Model.PageModel;
using System.Text.RegularExpressions;
// 下载于www.51aspx.com
namespace RFrameGenerate.BLL
{
    public class AgentWithdrawHqManage
    {

        #region 获取代理商佣金提现列表-分页数据
        /// <summary>
        /// 获取代理商佣金审核提现列表-分页数据 
        /// </summary>
        /// <param name="gridModel"></param>
        /// <param name="name"></param>
        /// <returns></returns>
        public static List<T_BAS_FactorageWithdrawalHqLite> GetPageList(GridModel gridModel, string UserID, int? TradingType, string TradingCode, DateTime? beginTime, DateTime? endTime, DateTime? beginTimeSe, DateTime? endTimeSe)
        {
            using (var query = Factory.CreateT_BAS_FactorageWithdrawalHqLite())
            {
                var agentArr = AgentAuditManage.GetAllSubordinateAgent().ToArray();
                if (agentArr == null || agentArr.Count() == 0)
                {
                    return null;
                }
                endTime = endTime != null ? endTime.Value.AddDays(1) : endTime;
                endTimeSe = endTimeSe != null ? endTimeSe.Value.AddDays(1) : endTimeSe;

                var list = query.GetPageList(gridModel, c => c.MerchantGuid.SqlIn(agentArr) && c.UserID.SqlLike(UserID) && c.TradingType == TradingType && c.TradingCode.SqlLike(TradingCode) && c.ApplyTime >= beginTime && c.ApplyTime <= endTime && c.DealWithTime >= beginTimeSe && c.DealWithTime <= endTimeSe, true, c => c.ApplyTime, DAL.Enums.OrderMethods.DESC, RFramework.SQLServer.Enums.LockType.Default, false);
                return list;
            }
        }
        #endregion
         
        #region 设置备注
        /// <summary>
        /// 设置备注
        /// </summary>
        /// <param name="guids"></param>
        /// <param name="Remark"></param>
        /// <returns></returns>
        public static object SetRemark(Guid guid, string Remark)
        {
            using (var tran = new SqlRTransaction())
            {
                try
                {
                    tran.BeginTransaction();
后面还有 241 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。