This commit is contained in:
qianjiawei
2023-09-13 16:15:59 +08:00
parent 5365efa279
commit 8b116138f9
4 changed files with 43 additions and 8 deletions

View File

@@ -9,8 +9,7 @@ namespace Tnb.ProductionMgr.Interfaces
{
public interface IAndonService
{
public Task<dynamic> GetPrdTask(string stationId);
public Task SaveData(AndonRecordInput AndonRecordInput);
Task<dynamic> GetPrdTask(string stationId);
Task SaveData(AndonRecordInput AndonRecordInput);
}
}

View File

@@ -68,6 +68,7 @@ namespace Tnb.ProductionMgr
info.plan_end_date = data.estimated_end_date == null ? "" : ((DateTime)data.estimated_end_date!).ToString("yyyy-MM-dd");
result.Add(info);
}
result.OrderByDescending(p => p.plan_start_date);
return result;
}
[HttpPost]