| | |
| | | |
| | | } |
| | | ).WithCache( 10).ToListAsync(); |
| | | //不再选择租户 |
| | | //var ten = await _db.Queryable<TenantInfo>().Where(x => x.IsEn == true && x.IsDel != true && x.ItCode == ItCode) |
| | | // .Select(x => new TenderVM |
| | | // { |
| | | |
| | | var ten = await _db.Queryable<TenantInfo>().Where(x => x.IsEn == true && x.IsDel != true && x.ItCode == ItCode) |
| | | .Select(x => new TenderVM |
| | | { |
| | | // Description = x.Description, |
| | | // ItCode = ItCode, |
| | | // Name = x.Name, |
| | | // TenderId = x.Id, |
| | | // IsTender = true |
| | | |
| | | Description = x.Description, |
| | | ItCode = ItCode, |
| | | Name = x.Name, |
| | | TenderId = x.Id, |
| | | IsTender = true |
| | | |
| | | } |
| | | ).WithCache(10).ToListAsync() ; |
| | | ten.AddRange(tentlist); |
| | | return ten; |
| | | // } |
| | | // ).WithCache(10).ToListAsync() ; |
| | | //ten.AddRange(tentlist); |
| | | return tentlist; |
| | | |
| | | } |
| | | |