新增MES模块,包含供应商、客户、车辆和地磅数据记录管理功能,支持免密接口和数据同步。更新相关控制器、实体、服务和数据库配置,优化权限管理和数据字典支持,确保系统的灵活性和可扩展性。
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using YY.Admin.Core.Entity;
|
||||
|
||||
namespace YY.Admin.Core.Services;
|
||||
|
||||
public interface ICustomerService
|
||||
{
|
||||
Task<CustomerPageResult> PageAsync(int pageNo, int pageSize,
|
||||
string? customerCode = null, string? customerName = null,
|
||||
string? status = null, string? customerRegion = null,
|
||||
CancellationToken ct = default);
|
||||
|
||||
Task<MesXslCustomer?> GetByIdAsync(string id, CancellationToken ct = default);
|
||||
Task<bool> AddAsync(MesXslCustomer customer, CancellationToken ct = default);
|
||||
Task<bool> EditAsync(MesXslCustomer customer, CancellationToken ct = default);
|
||||
Task<bool> DeleteAsync(string id, CancellationToken ct = default);
|
||||
Task<bool> UpdateStatusAsync(string id, string status, CancellationToken ct = default);
|
||||
}
|
||||
|
||||
public record CustomerPageResult(List<MesXslCustomer> Records, long Total, int PageNo, int PageSize);
|
||||
Reference in New Issue
Block a user