| | |
| | | using Kingdee.CDP.WebApi.SDK; |
| | | using MES.Service.Dto.webApi.PLM; |
| | | using Newtonsoft.Json; |
| | | |
| | | using System.Text; |
| | | |
| | | namespace MES.Service.service.PLM; |
| | |
| | | return stdDocuments; |
| | | } |
| | | |
| | | |
| | | #region 1.通过物料编码(需要唯一)获取物料id |
| | | public List<BaseObject> GetPlmCfgBase(string ItemNo) |
| | | { |
| | | //注意 1:此处不再使用参数形式传入用户名及密码等敏感信息,改为在登录配置文件中设置。 |
| | |
| | | return entity; |
| | | }).ToList(); |
| | | } |
| | | #endregion |
| | | |
| | | #region 2.通过物料id获取相关对象【下载需要的文档】的id |
| | | public List<RelatedObject> GetPlmCfgRelatedObject(long? FRelatedObject) |
| | | { |
| | | //注意 1:此处不再使用参数形式传入用户名及密码等敏感信息,改为在登录配置文件中设置。 |
| | |
| | | return entity; |
| | | }).ToList(); |
| | | } |
| | | #endregion |
| | | |
| | | #region 3.根据文档id获取文档物理文件id |
| | | public List<StdDocument> GetPlmStdDocument(List<RelatedObject> relatedObjects) |
| | | { |
| | | //注意 1:此处不再使用参数形式传入用户名及密码等敏感信息,改为在登录配置文件中设置。 |
| | |
| | | return entity; |
| | | }).ToList(); |
| | | } |
| | | #endregion |
| | | } |