From 131347ad63bb534b5abb6dbc979f0a47d780d8ff Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期三, 15 一月 2025 15:06:05 +0800
Subject: [PATCH] ·
---
Wms/WMS.IBLL/ISysServer/ICustomerServer.cs | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/Wms/WMS.IBLL/ISysServer/ICustomerServer.cs b/Wms/WMS.IBLL/ISysServer/ICustomerServer.cs
index 43feedd..1c818ba 100644
--- a/Wms/WMS.IBLL/ISysServer/ICustomerServer.cs
+++ b/Wms/WMS.IBLL/ISysServer/ICustomerServer.cs
@@ -1,4 +1,5 @@
锘縰sing Model.ModelDto.SysDto;
+using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
@@ -21,19 +22,19 @@
/// <param name="limit"></param>
/// <param name="count"></param>
/// <returns></returns>
- List<CustomerDto> GetCustomerList(string no, string name,int? type,string linkMan,string phone ,int page,int limit,out int count);
+ Task<List<CustomerDto>> GetCustomerList(string no, string name,int? type,string linkMan,string phone ,int page,int limit,RefAsync<int> count);
/// <summary>
/// 鏌ヨ鍗曟潯瀹㈡埛淇℃伅
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
- SysCustomer GetCustomer(int id);
+ Task<SysCustomer> GetCustomer(int id);
/// <summary>
/// 鏌ヨ鍏ㄩ儴瀹㈡埛淇℃伅
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
- List<SysCustomer> GetCustomerSelect();
+ Task<List<SysCustomer>> GetCustomerSelect();
/// <summary>
/// 娣诲姞瀹㈡埛淇℃伅
/// </summary>
@@ -47,7 +48,7 @@
/// <param name="creditRating">淇$敤绛夌骇</param>
/// <param name="userId">鎿嶄綔浜�</param>
/// <returns></returns>
- bool AddCustomer(string no,string name, int type,string address, string linkMan, string phone,string bankAccount,string creditRating, string demo,int userId);
+ Task<bool> AddCustomer(string no,string name, int type,string address, string linkMan, string phone,string bankAccount,string creditRating, string demo,int userId);
/// <summary>
/// 缂栬緫瀹㈡埛淇℃伅
@@ -63,20 +64,20 @@
/// <param name="creditRating">淇$敤绛夌骇</param>
/// <param name="userId">鎿嶄綔浜�</param>
/// <returns></returns>
- bool EditCustomer(int id,string no,string name, int type, string address, string linkMan, string phone, string bankAccount, string creditRating, string demo, int userId);
+ Task<bool> EditCustomer(int id,string no,string name, int type, string address, string linkMan, string phone, string bankAccount, string creditRating, string demo, int userId);
/// <summary>
/// 鍒犻櫎鍗曟潯瀹㈡埛淇℃伅
/// </summary>
/// <param name="id"></param>
/// <param name="userId"></param>
/// <returns></returns>
- bool DelCustomer(int id,int userId);
+ Task<bool> DelCustomer(int id,int userId);
/// <summary>
/// 鍒犻櫎鍗曟潯瀹㈡埛淇℃伅
/// </summary>
/// <param name="ids"></param>
/// <param name="userId"></param>
/// <returns></returns>
- bool DelsCustomer(List<int> ids, int userId);
+ Task<bool> DelsCustomer(List<int> ids, int userId);
}
}
--
Gitblit v1.8.0