提交代码
This commit is contained in:
parent
2e44581962
commit
090ec3b62d
|
@ -31,10 +31,10 @@ namespace BLL
|
|||
q = q.Where(x => x.ProjectContent.Contains(projectContent));
|
||||
}
|
||||
List<DayInputItem> dayInputItems = new List<DayInputItem>();
|
||||
var list = q.OrderByDescending(x => x.Date).ToList();
|
||||
if (list.Count > 0)
|
||||
q = q.OrderByDescending(x => x.Date);
|
||||
if (q.Count() > 0)
|
||||
{
|
||||
foreach (var x in list)
|
||||
foreach (var x in q)
|
||||
{
|
||||
DayInputItem dayInputItem = new DayInputItem();
|
||||
dayInputItem.DayInputId = x.DayInputId;
|
||||
|
|
|
@ -178,7 +178,7 @@ namespace WebAPI.Filter
|
|||
"AwardStandards*getAwardStandardsListById",
|
||||
"Rectify*getRectifyList",
|
||||
"ImageRecognition*getImageContent",
|
||||
|
||||
"QuantityManagement*dayInputList",
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue