Himall商城结算相关服务应用AccountApplication

using Himall.CommonModel;
using Himall.Core;
using Himall.DTO;
using Himall.IServices;
using Himall.DTO.QueryModel;
using Himall.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Application
{
    ///


    /// 结算相关服务应用
    ///

    public class AccountApplication
    {
        private static IAccountService _iAccountService= ObjectContainer.Current.Resolve();

        public static QueryPageModel GetAccounts(AccountQuery query)
        {
            return _iAccountService.GetAccounts(query);
        }

        public static AccountInfo GetAccount(long id)
        {
            return _iAccountService.GetAccount(id);
        }
        ///


        /// 获取结算订单明细列表
        ///

        ///
        ///
        public static QueryPageModel GetAccountDetails(AccountQuery query)
        {
            return _iAccountService.GetAccountDetails(query);
        }
        ///
        /// 取服务费用
        ///

        ///
        ///
        public static QueryPageModel GetAccountMeta(AccountQuery query)
        {
            return _iAccountService.GetAccountMeta(query);
        }
        ///
        /// 取分销佣金
        ///

        ///
        ///
        public static QueryPageModel GetBrokerageList(AccountQuery query)
        {
            return _iAccountService.GetBrokerageList(query);
        }
        ///
        /// 确认结算
        ///

        ///
        ///
        public static void ConfirmAccount(long id, string managerRemark)
        {
            _iAccountService.ConfirmAccount(id, managerRemark);
        }
    }
}

你可能感兴趣的:(c#)