using Rhea.Common;
|
using System;
|
using System.Collections.Generic;
|
using System.Data;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using Tiger.IBusiness;
|
using Tiger.Model;
|
|
namespace Tiger.Business
|
{
|
public partial class Biz
|
{
|
/// <summary>
|
/// 客户
|
/// </summary>
|
public partial class MqCustomer : ICustomer
|
{
|
/// <summary>
|
/// 获取客户信息
|
/// </summary>
|
/// <returns></returns>
|
public async Task<ApiAction<List<Customer>>> GetCustomerInfo()
|
{
|
var res = new ApiAction<List<Customer>>();
|
try
|
{
|
List<Customer> result = await Db.Queryable<Customer>().ToListAsync();
|
res.Data = result;
|
}
|
catch (Exception ex)
|
{
|
res.CatchExceptionWithLog(ex, "获取客户信息异常");
|
}
|
return res;
|
}
|
|
public async Task<Result> SaveImportCustomerInfo(DataTable dt)
|
{
|
throw new NotImplementedException();
|
}
|
}
|
}
|
}
|