|
|
|
@ -161,9 +161,6 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe |
|
|
|
@Value("${ifs-control.ifs-password}") |
|
|
|
private String ifsPassword; |
|
|
|
|
|
|
|
@Value("${ifs.target.url}") |
|
|
|
private String ifsTargetUrl; |
|
|
|
|
|
|
|
private final String luName = "PartCatalog"; |
|
|
|
private final String technicalSpecNo = "0"; |
|
|
|
private final String okYesNo = "Not Approved"; |
|
|
|
@ -1761,12 +1758,7 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe |
|
|
|
*/ |
|
|
|
@Transactional |
|
|
|
public void temporaryCopyPart(PartInformationVo inData, PartInformationEntity fromPart) { |
|
|
|
SysUserEntity ifsUser = sysUserDao.selectOne(new QueryWrapper<SysUserEntity>().eq("username", inData.getCreateBy())); |
|
|
|
log.info("用户名:" + ifsUser.getIfsUsername() + "密码:" + ifsUser.getIfsPassword()); |
|
|
|
log.info(ifsTargetUrl); |
|
|
|
//Server srv = getIfsServer(inData.getCreateBy()); |
|
|
|
|
|
|
|
Server srv = new Server(); |
|
|
|
Server srv = getIfsServer(inData.getCreateBy()); |
|
|
|
// 正式物料则调用ifs copy part 接口 |
|
|
|
if (dataUrl && "Y".equals(fromPart.getStatus())) { |
|
|
|
CopyPart copyPart = new CopyPart(); |
|
|
|
|