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