工单对象中 去掉了两个字段 增加了工单状态

This commit is contained in:
xiaowei.song
2023-11-24 08:45:24 +08:00
parent 08ba5f0652
commit add375531b
8 changed files with 18 additions and 26 deletions

View File

@@ -18,13 +18,13 @@ namespace ZR.Service.mes.qu
public class QuRoughService : BaseService<QuRough>, IQuRoughService
{
public (List<ProWorkorder>, int) GetWorkorderList(int pageNum, int pageSize, int year, int week, int date, string isSchedule)
public (List<ProWorkorder>, int) GetWorkorderList(int pageNum, int pageSize, int year, int week, int date, int isSchedule)
{
var predicate = Expressionable.Create<ProWorkorder>()
.AndIF(year > 0, it => it.Year == year)
.AndIF(week > 0, it => it.Week == week)
.AndIF(date > 0, it => it.Date == date)
.AndIF(date > 0, it => it.Isarrange.Equals(isSchedule))
.AndIF(date > 0, it => it.Wrokerorder_status==isSchedule)
.ToExpression();
int totalCount = 0;