using DS.WMS.Core.Application.Entity; using DS.WMS.Core.Fee.Dtos; using SqlSugar; namespace DS.WMS.Core.Application.Dtos { /// /// 按业务提交申请单 /// public class ApplicationRequest where TEntity : ApplicationBase { /// /// 申请单 /// public TEntity Application { get; set; } /// /// 业务信息 /// public List Items { get; set; } = []; /// /// 查询条件字符串 /// public string? QueryString { get; set; } /// /// 根据查询条件字符串提取查询条件对象 /// /// /// public List GetQueryConditions(ISqlSugarClient client) { List whereList = []; if (!string.IsNullOrEmpty(QueryString)) whereList = client.ConfigQuery.Context.Utilities.JsonToConditionalModels(QueryString); return whereList; } } }