fix 查询优化
This commit is contained in:
@@ -11,6 +11,12 @@ public class BalanceRecordPageDetailRequest : PageDto, IValidatableObject
|
||||
/// </summary>
|
||||
public DateTimePeriod SearchDateTimePeriod { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 营业点codes
|
||||
/// </summary>
|
||||
public List<Guid?> BusinessplaceCodes { get; set; }
|
||||
|
||||
|
||||
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
|
||||
{
|
||||
if (SearchDateTimePeriod != null)
|
||||
|
||||
@@ -7,11 +7,6 @@ namespace Dlhis.Canteen.Dishes.Request;
|
||||
|
||||
public class BalanceRecordPageRequest : PageDto, IValidatableObject
|
||||
{
|
||||
/// <summary>
|
||||
/// 营业点codes
|
||||
/// </summary>
|
||||
public List<Guid?> BusinessplaceCodes { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 餐次
|
||||
/// </summary>
|
||||
@@ -23,6 +18,10 @@ public class BalanceRecordPageRequest : PageDto, IValidatableObject
|
||||
[EnumDataType(typeof(BalanceRecordTypeEnumType))]
|
||||
public BalanceRecordTypeEnumType? Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 厂区
|
||||
/// </summary>
|
||||
public string Factory { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询日期范围类型 DateTimeSearchEnumType
|
||||
|
||||
Reference in New Issue
Block a user