public List <stopRec> getStopLog([FromBody] tabPrm prm) { var model = new BorgWarnerMisSQLContext(); var testData = model.Database.SqlQuery <stopRec>($"select * from dbo.qforOrderEDownRecordBrowse where 报工编号='{prm.bgNo}'").ToList(); return(testData); }
public List <failRec> getFailLog([FromBody] tabPrm prm) { var model = new BorgWarnerMisSQLContext(); var testData = model.Database.SqlQuery <failRec>($"select * from dbo.qforFailRec where 报工编号='{prm.bgNo}'").ToList(); return(testData); }