This commit is contained in:
qianhao.xu 2024-07-16 08:42:07 +08:00
parent 2a4efd69af
commit 17a9047704

View File

@ -146,7 +146,7 @@ namespace DOAN.Service.MES.base_
/// <returns></returns>
public List<BaseMaterialListDto> Achieve_BOM_no_bind(string id)
{
string[] binded_array= Context.Queryable<BaseMaterialBom>().Where(it => it.FkId == id).Select(it=>it.FkId).ToArray;
string[] binded_array= Context.Queryable<BaseMaterialBom>().Where(it => it.FkId == id).Select(it=>it.FkId).ToArray();
if (binded_array != null && binded_array.Count() > 0)
{
//在原材料和半成品中 选择