fix 任务来源
This commit is contained in:
@@ -10,10 +10,7 @@ public class DeviceUploadLogMyRecordRequest : IValidatableObject
|
||||
/// <inheritdoc />
|
||||
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
|
||||
{
|
||||
if (DateTimePeriod == null)
|
||||
{
|
||||
DateTimePeriod = new DateTimePeriod();
|
||||
}
|
||||
DateTimePeriod ??= new DateTimePeriod();
|
||||
|
||||
if (DateTimePeriod.Start != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user