工单对象中 去掉了两个字段 增加了工单状态
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user