| | |
| | | using MES.Service.Modes; |
| | | using MES.Service.util; |
| | | using SqlSugar; |
| | | using SqlSugar.Extensions; |
| | | |
| | | namespace MES.Service.service.QC; |
| | | |
| | |
| | | if (count <= 0) |
| | | return []; |
| | | |
| | | decimal? ID = db.Queryable<MesQa>() |
| | | .Where(s => s.QsType == "3" && s.ItemNo == itemNo && s.Fsubmit == 1) |
| | | .Select(s=> s.Id) |
| | | .First(); |
| | | |
| | | // 获取质量标准 |
| | | var qsItemOqcItems = db.Queryable<MesQualityStandard>() |
| | | .Where(b => b.QsType == "3" && b.ItemNo == itemNo) |
| | | .Where(b => b.QsType == "3" && b.Pid == ID) |
| | | .Select(b => new QsItemOqcItem |
| | | { |
| | | ProjName = b.ProjName, |