主体工程完成

This commit is contained in:
qianhao.xu
2024-01-22 15:22:56 +08:00
parent e3ef300dfb
commit 835025afe9
6 changed files with 116 additions and 28 deletions

View File

@@ -14,7 +14,6 @@ using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZR.Model.mes.md;
using ZR.Model.mes.pro;
using ZR.Model.MES.pro.DTO;
using ZR.Service.mes.pro.IService;
@@ -41,9 +40,9 @@ namespace ZR.Service.mes.pro
}
public List<ProWorkplan> GetProWorkplanById(string id)
public List<ProWorklplan_v2> GetProWorkplanById(string id)
{
return Context.Queryable<ProWorkplan>().Where(it => it.Id == id).ToList();
return Context.Queryable<ProWorklplan_v2>().Where(it => it.Id == id).ToList();
}
@@ -245,8 +244,6 @@ namespace ZR.Service.mes.pro
return Context.Deleteable<ProWorklplan_v2>().Where(it => it.Year == year && it.Week == week).ExecuteCommand();
}
}
}