fix: 修复查询轨迹时,轨迹内容不完整
This commit is contained in:
parent
987d533341
commit
750e96d7cf
@ -378,18 +378,7 @@ public class TrackDetailsEsRepository : ElasticSearchContextAbstract<TrackDetail
|
||||
|
||||
var r = await Context.SearchAsync<TrackDetailsIndex>(x => x
|
||||
.Index(GlobalConst.TrackDetailsIndex)
|
||||
.Source(s => s.Includes(fd => fd
|
||||
.Field(f => f.OrderId)
|
||||
.Field(f => f.OrderNo)
|
||||
.Field(f => f.TrackStatus)
|
||||
.Field(f => f.TrackCode)
|
||||
.Field(f => f.TrackContent)
|
||||
.Field(f => f.OriginTrackContent)
|
||||
.Field(f => f.TrackPlace)
|
||||
.Field(f => f.TrackTime)
|
||||
.Field(f => f.ZeroTrackTime)
|
||||
.Field(f => f.TrackTimeZone)
|
||||
))
|
||||
.Source()
|
||||
.Query(q =>
|
||||
q.Bool(b => b
|
||||
.Must(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user