出库与库存查询接口及DTO结构优化

- 出库记录表查询接口由 GET 改为 POST,支持更复杂参数
- 新增出库记录接口参数由 FromBody 改为 FromQuery
- MmInventoryDto 增加 BatchNo 字段,支持按批次号查询
- MmRecordOutboundDto 的 CreatedTime 改为时间区间数组
- 服务层查询逻辑支持批次号和时间区间查询
- 优化 using 引用顺序,提升代码可维护性
This commit is contained in:
2026-01-04 15:08:36 +08:00
parent 28dcf5678c
commit 062dcf0488
5 changed files with 27 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ namespace DOAN.Model.BZFM.Dto
public string OutboundNo { get; set; }
public DateTime? CreatedTime { get; set; }
public DateTime[] CreatedTime { get; set; } = new DateTime[2];
public string TransactionType { get; set; }
}