fix【S1-跨子系统的订单有关联关系,但是没有根据配置内容映射来向下新增轨迹】https://www.tapd.cn/60863849/bugtrace/bugs/view?bug_id=1160863849001029806
This commit is contained in:
parent
0cf97ffd93
commit
fd54550937
@ -94,10 +94,11 @@ public class ProvideQueries : ISugarRepository, IProvideQueries,
|
||||
|
||||
public async Task<List<string>> MapTrackCodesAsync(int upSubSystemId, int subSystemId, params string[] trackCodes)
|
||||
{
|
||||
// 根据上游code得到下游code
|
||||
return await Context.Queryable<TrackContentMapEntity>()
|
||||
.Where(x => x.SubSystemId == upSubSystemId && x.MapSubSystemId == subSystemId &&
|
||||
trackCodes.Contains(x.TrackContentCode))
|
||||
.Select(x => x.MapTrackContentCode)
|
||||
.Where(x => x.SubSystemId == subSystemId && x.MapSubSystemId == upSubSystemId &&
|
||||
trackCodes.Contains(x.MapTrackContentCode))
|
||||
.Select(x => x.TrackContentCode)
|
||||
.ToListAsync();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user