互相分享,相互成長 [如果我從別人身上有所收獲,那我應該再把它跟別人分享]
sql
select site, item, step_sequence, opt, sum(in_work) as in_work
from (
select so.site, i.item, ss.step_sequence, concat(o.operation ,ot.description) as opt, (ss.qty_in_queue + ss.qty_in_work) as in_work
程式代碼
var searchFilter = SearchBuilders<TEntity>.Search.Text(queryStr , columnName);
var query = collection.Aggregate().Search(searchFilter,null,indexName).ToList();