首检添加数据看板

This commit is contained in:
2024-06-07 11:04:26 +08:00
parent c93711290e
commit 769d2da1e0
344 changed files with 1772 additions and 2526 deletions

View File

@@ -1,13 +1,6 @@
using Infrastructure.Attribute;
using Microsoft.Extensions.DependencyInjection;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZR.Model.mes.md;
using ZR.Service.mes.md.IService;
using ZR.Service.MES.md.IService;
namespace ZR.Service.MES.md
@@ -47,10 +40,10 @@ namespace ZR.Service.MES.md
public List<MdWorkshop> GetMdWorkshops(int lineCode = 0)
{
if(lineCode == 0)
if (lineCode == 0)
return Context.Queryable<MdWorkshop>().ToList();
else
return Context.Queryable<MdWorkshop>().Where(it=>it.Equals(lineCode)).ToList();
return Context.Queryable<MdWorkshop>().Where(it => it.Equals(lineCode)).ToList();
}
}
}