新增磅单管理功能,支持免密接口和数据同步,更新相关控制器、实体和服务,优化权限管理,确保系统的灵活性和可扩展性。

This commit is contained in:
geht
2026-05-06 15:30:31 +08:00
parent b03cbeff9b
commit 71b8d94da8
48 changed files with 4205 additions and 3 deletions

View File

@@ -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);