天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
879 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMAPP.FJC.Entity.Operation;
using QMAPP.FJC.Entity.QT;
namespace QMAPP.FJC.TRACING.DataValidator
{
/// <summary>
/// 校验批量件数量是否够用
/// </summary>
public class QuatityValidater
{
public OperationServiceParam Validate(OperationServiceParam _para)
{
List<DAI> bList = _para.tranferDaiList;
DAI pbom = _para.tranferDaiList.First(o => o.DATA_TYPE == "SN" && o.isOk == true && string.IsNullOrEmpty(o.PBOM) == false);
////获取条码的采集点信息
//bList = bList.Where(o => o.DATA_TYPE == "BN" && string.IsNullOrEmpty(o.PBOMITEM) == false).ToList<DAI>();
StringBuilder sqlBomItem = new StringBuilder();
return _para;
}
}
}