预备signalr

This commit is contained in:
qianhao.xu
2023-12-01 15:39:07 +08:00
parent 4fc6dd5d8c
commit 3429a1e39e
15 changed files with 373 additions and 13 deletions

View File

@@ -84,7 +84,7 @@ namespace ZR.Service.mes.pro
.Where(it => it.Id.Equals(id))
.ExecuteCommand();
}
public int ReleaseProduction(string id, HttpContext context)
{
int result = Context.Updateable<ProWorkorder>()
@@ -180,7 +180,7 @@ namespace ZR.Service.mes.pro
.AndIF(year > 0, it => it.Year == year)
.AndIF(week > 0, it => it.Week == week)
.AndIF(date > 0, it => it.Date == date)
.And(it=>it.Wrokerorder_status==1)
.And(it=>it.Wrokerorder_status==2) // 已经排产
.ToExpression();