入库记录查询支持时间区间和交易类型筛选

调整查询接口为POST,参数改为Body方式;
DTO中CreatedTime改为数组,新增TransactionType字段;
服务层支持时间区间和交易类型多条件筛选;
优化本地化日期处理,提升查询灵活性。
This commit is contained in:
2026-01-04 19:05:59 +08:00
parent 16f1376efd
commit 77f9ff40e3
3 changed files with 23 additions and 10 deletions

View File

@@ -10,11 +10,13 @@ namespace DOAN.Model.BZFM.Dto
public string Operator { get; set; }
public DateTime? CreatedTime { get; set; }
public DateTime[] CreatedTime { get; set; } = new DateTime[2];
public string MaterialCode { get; set; }
public string InboundNo { get; set; }
public string TransactionType { get; set; }
}
/// <summary>