master
parent
de62011502
commit
6d7450556d
|
|
@ -210,8 +210,9 @@ namespace OpenAuth.App.ServiceApp.BidAnnouncementManager
|
|||
.LeftJoin<PpBiddinginfo>((r, b) => r.BidingInfoId == b.Id)
|
||||
.WhereIF(!string.IsNullOrEmpty(bidtype), (r, b) => b.BiddingType == bidtype)
|
||||
.Where((r, b) => companyids.Contains(b.BiddingCompanyId))
|
||||
.OrderByDescending((r, b) => r.CreateTime)
|
||||
.Select<dynamic>((r, b) => new
|
||||
.LeftJoin<PpBiddingcompany>((r, b, p) => b.BiddingCompanyId == p.Id)
|
||||
.OrderByDescending((r, b, p) => r.CreateTime)
|
||||
.Select<dynamic>((r, b, p) => new
|
||||
{
|
||||
r.Id,
|
||||
r.BidingInfoId,
|
||||
|
|
@ -224,7 +225,8 @@ namespace OpenAuth.App.ServiceApp.BidAnnouncementManager
|
|||
b.ProjectNum,
|
||||
b.BiddingType,
|
||||
r.Files,
|
||||
r.IsReview
|
||||
r.IsReview,
|
||||
p.Name
|
||||
})
|
||||
.ToPageListAsync(page, limit, totalNumber);
|
||||
}
|
||||
|
|
@ -240,8 +242,9 @@ namespace OpenAuth.App.ServiceApp.BidAnnouncementManager
|
|||
.LeftJoin<PpBiddinginfo>((r, b) => r.BidingInfoId == b.Id)
|
||||
.WhereIF(!string.IsNullOrEmpty(bidtype), (r, b) => b.BiddingType == bidtype)
|
||||
.Where((r, b) => companyids.Contains(b.BidAgent))
|
||||
.OrderByDescending((r, b) => r.CreateTime)
|
||||
.Select<dynamic>((r, b) => new
|
||||
.LeftJoin<PpBiddingcompany>((r, b, p) => b.BiddingCompanyId == p.Id)
|
||||
.OrderByDescending((r, b, p) => r.CreateTime)
|
||||
.Select<dynamic>((r, b, p) => new
|
||||
{
|
||||
r.Id,
|
||||
r.BidingInfoId,
|
||||
|
|
@ -254,7 +257,8 @@ namespace OpenAuth.App.ServiceApp.BidAnnouncementManager
|
|||
b.ProjectNum,
|
||||
b.BiddingType,
|
||||
r.Files,
|
||||
r.IsReview
|
||||
r.IsReview,
|
||||
p.Name
|
||||
})
|
||||
.ToPageListAsync(page, limit, totalNumber);
|
||||
}
|
||||
|
|
@ -277,8 +281,9 @@ namespace OpenAuth.App.ServiceApp.BidAnnouncementManager
|
|||
.LeftJoin<PpBiddinginfo>((r, b) => r.BidingInfoId == b.Id)
|
||||
.WhereIF(!string.IsNullOrEmpty(bidtype), (r, b) => b.BiddingType == bidtype)
|
||||
.Where((r, b) => biddingcomid.Contains(b.BiddingCompanyId))
|
||||
.OrderByDescending((r, b) => r.CreateTime)
|
||||
.Select<dynamic>((r, b) => new
|
||||
.LeftJoin<PpBiddingcompany>((r, b, p) => b.BiddingCompanyId == p.Id)
|
||||
.OrderByDescending((r, b, p) => r.CreateTime)
|
||||
.Select<dynamic>((r, b, p) => new
|
||||
{
|
||||
r.Id,
|
||||
r.BidingInfoId,
|
||||
|
|
@ -291,7 +296,8 @@ namespace OpenAuth.App.ServiceApp.BidAnnouncementManager
|
|||
b.ProjectNum,
|
||||
b.BiddingType,
|
||||
r.Files,
|
||||
r.IsReview
|
||||
r.IsReview,
|
||||
p.Name
|
||||
})
|
||||
.ToPageListAsync(page, limit, totalNumber);
|
||||
}
|
||||
|
|
@ -304,8 +310,9 @@ namespace OpenAuth.App.ServiceApp.BidAnnouncementManager
|
|||
.WhereIF(type != null, r => r.Type == type)
|
||||
.LeftJoin<PpBiddinginfo>((r, b) => r.BidingInfoId == b.Id)
|
||||
.WhereIF(!string.IsNullOrEmpty(bidtype), (r, b) => b.BiddingType == bidtype)
|
||||
.OrderByDescending((r, b) => r.CreateTime)
|
||||
.Select<dynamic>((r, b) => new
|
||||
.LeftJoin<PpBiddingcompany>((r, b, p) => b.BiddingCompanyId == p.Id)
|
||||
.OrderByDescending((r, b, p) => r.CreateTime)
|
||||
.Select<dynamic>((r, b, p) => new
|
||||
{
|
||||
r.Id,
|
||||
r.BidingInfoId,
|
||||
|
|
@ -318,7 +325,8 @@ namespace OpenAuth.App.ServiceApp.BidAnnouncementManager
|
|||
b.ProjectNum,
|
||||
b.BiddingType,
|
||||
r.Files,
|
||||
r.IsReview
|
||||
r.IsReview,
|
||||
p.Name
|
||||
})
|
||||
.ToPageListAsync(page, limit, totalNumber);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -83,6 +83,6 @@ namespace OpenAuth.Repository.Domain
|
|||
/// <summary>
|
||||
/// 审核是否通过
|
||||
/// </summary>
|
||||
public bool IsReview { get; set; }
|
||||
public bool? IsReview { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -135,6 +135,6 @@ namespace OpenAuth.Repository.Domain
|
|||
/// <summary>
|
||||
/// 审核是否通过
|
||||
/// </summary>
|
||||
public bool IsReview { get;set;}
|
||||
public bool? IsReview { get;set;}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue