|
@@ -23,6 +23,7 @@ using Hotline.Tools;
|
|
using Mapster;
|
|
using Mapster;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
+using SharpCompress.Compressors.Xz;
|
|
using SqlSugar;
|
|
using SqlSugar;
|
|
using SqlSugar.Extensions;
|
|
using SqlSugar.Extensions;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations;
|
|
@@ -389,6 +390,19 @@ public class SnapshotController : BaseController
|
|
WorkAddress = order.Address,
|
|
WorkAddress = order.Address,
|
|
CreatedTime = order.CreationTime,
|
|
CreatedTime = order.CreationTime,
|
|
WorkType = snapshot.JobType.ObjToInt(),
|
|
WorkType = snapshot.JobType.ObjToInt(),
|
|
|
|
+ Source = 1,
|
|
|
|
+ WorkTimeStart = snapshot.StartWorkTime.Value,
|
|
|
|
+ WorkTimeStop = snapshot.EndWorkTime.Value,
|
|
|
|
+ OnsiteSituateDescription = order.Content,
|
|
|
|
+ Name = order.FromName,
|
|
|
|
+ Phone = order.FromPhone,
|
|
|
|
+ EventId = order.No,
|
|
|
|
+ PlaceType = snapshot.Workplace,
|
|
|
|
+ Compliance = 1,
|
|
|
|
+ //CheckTime = snapshot.CheckTime,
|
|
|
|
+ //CheckUser = snapshot.CheckUser,
|
|
|
|
+ //CheckDept = snapshot.CheckDept,
|
|
|
|
+ //CheckPhone = snapshot.CheckPhone,
|
|
})
|
|
})
|
|
.ToListAsync();
|
|
.ToListAsync();
|
|
|
|
|