新增磅单管理功能,支持免密接口和数据同步,更新相关控制器、实体和服务,优化权限管理,确保系统的灵活性和可扩展性。
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using YY.Admin.Core.Entity;
|
||||
|
||||
namespace YY.Admin.Core.Services;
|
||||
|
||||
public interface IWeightRecordService
|
||||
{
|
||||
Task<WeightRecordPageResult> PageAsync(
|
||||
int pageNo, int pageSize,
|
||||
string? filterBillNo = null,
|
||||
string? filterPlateNumber = null,
|
||||
string? filterInoutDirection = null,
|
||||
string? filterGoodsName = null,
|
||||
string? filterDriverName = null,
|
||||
CancellationToken ct = default);
|
||||
|
||||
Task<MesXslWeightRecord?> GetByIdAsync(string id, CancellationToken ct = default);
|
||||
Task<bool> AddAsync(MesXslWeightRecord entity, CancellationToken ct = default);
|
||||
Task<bool> EditAsync(MesXslWeightRecord entity, CancellationToken ct = default);
|
||||
Task<bool> DeleteAsync(string id, CancellationToken ct = default);
|
||||
Task<bool> DeleteBatchAsync(string ids, CancellationToken ct = default);
|
||||
}
|
||||
|
||||
public record WeightRecordPageResult(List<MesXslWeightRecord> Records, long Total, int PageNo, int PageSize);
|
||||
Reference in New Issue
Block a user