コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }