VueWebApi/DLL/DAL/ProductModelDAL.cs
@@ -462,7 +462,7 @@ if (stocktypecode != "" && stocktypecode != null) { search0+= " where code = @stocktypecode"; search += " and CTE.code <>@stocktypecode and CTE.iparent_id<>@stocktypecode and CTE.dict_type='CHLX' "; search += " and CTE.iparent_id<>'' and CTE.dict_type='CHLX'"; dynamicParams.Add("@stocktypecode", stocktypecode); } if (materialtypecode != "" && materialtypecode != null)