Browse Source

2024-12-20

接口更新
master
fengyuan_yang 2 years ago
parent
commit
a20c8114ad
  1. 2
      src/main/java/com/spring/modules/part/service/impl/BomManagementServiceImpl.java
  2. 4
      src/main/java/com/spring/modules/part/service/impl/MasterPartInformationServiceImpl.java
  3. 3
      src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java
  4. 2
      src/main/java/com/spring/modules/part/service/impl/RoutingManagementServiceImpl.java

2
src/main/java/com/spring/modules/part/service/impl/BomManagementServiceImpl.java

@ -65,7 +65,7 @@ public class BomManagementServiceImpl extends ServiceImpl<BomManagementMapper, B
if (ifsUser == null || !org.apache.commons.lang3.StringUtils.isNotBlank(ifsUser.getIfsUsername()) || !org.apache.commons.lang3.StringUtils.isNotBlank(ifsUser.getIfsPassword())) {
throw new RuntimeException("获取用户的IFS账号密码为空值!");
}
Server srv = ifsServer.getIfsServer(ifsUser.getUsername(), ifsUser.getPassword());
Server srv = ifsServer.getIfsServer(ifsUser.getIfsUsername(), ifsUser.getIfsPassword());
return srv;
}

4
src/main/java/com/spring/modules/part/service/impl/MasterPartInformationServiceImpl.java

@ -88,7 +88,7 @@ public class MasterPartInformationServiceImpl extends ServiceImpl<MasterPartInfo
if (ifsUser == null || !org.apache.commons.lang3.StringUtils.isNotBlank(ifsUser.getIfsUsername()) || !org.apache.commons.lang3.StringUtils.isNotBlank(ifsUser.getIfsPassword())) {
throw new RuntimeException("获取用户的IFS账号密码为空值!");
}
Server srv = ifsServer.getIfsServer(ifsUser.getUsername(), ifsUser.getPassword());
Server srv = ifsServer.getIfsServer(ifsUser.getIfsUsername(), ifsUser.getIfsPassword());
return srv;
}
@ -488,7 +488,7 @@ public class MasterPartInformationServiceImpl extends ServiceImpl<MasterPartInfo
if (ifsUser == null || !StringUtils.isNotBlank(ifsUser.getIfsUsername()) || !StringUtils.isNotBlank(ifsUser.getIfsPassword())) {
throw new RuntimeException("获取用户的IFS账号密码为空值!");
}
Server srv = ifsServer.getIfsServer(ifsUser.getUsername(), ifsUser.getPassword());
Server srv = ifsServer.getIfsServer(ifsUser.getIfsUsername(), ifsUser.getIfsPassword());
// 获取ifs PartCatalog 对象
PartIfsCatalog partIfsCatalog = getPartIfsCatalog(ifsPart);
// 判断ifs是否已存在物料件

3
src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java

@ -333,7 +333,7 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe
if (ifsUser == null || !org.apache.commons.lang3.StringUtils.isNotBlank(ifsUser.getIfsUsername()) || !org.apache.commons.lang3.StringUtils.isNotBlank(ifsUser.getIfsPassword())) {
throw new RuntimeException("获取用户的IFS账号密码为空值!");
}
Server srv = ifsServer.getIfsServer(ifsUser.getUsername(), ifsUser.getPassword());
Server srv = ifsServer.getIfsServer(ifsUser.getIfsUsername(), ifsUser.getIfsPassword());
return srv;
}
@ -2783,6 +2783,7 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe
MasterPartInformationEntity masterPartInformation = new MasterPartInformationEntity();
masterPartInformation.setPartNo(ifsPart.getPartNo());
masterPartInformation.setPlmPartNo(data.getPartNo());
masterPartInformation.setUpdateBy(data.getUpdateBy());
masterPartInformationService.toBecomeOfficialMasterPart(masterPartInformation);
// 获取ifsServer

2
src/main/java/com/spring/modules/part/service/impl/RoutingManagementServiceImpl.java

@ -131,7 +131,7 @@ public class RoutingManagementServiceImpl extends ServiceImpl<RoutingManagementM
if (ifsUser == null || !org.apache.commons.lang3.StringUtils.isNotBlank(ifsUser.getIfsUsername()) || !org.apache.commons.lang3.StringUtils.isNotBlank(ifsUser.getIfsPassword())) {
throw new RuntimeException("获取用户的IFS账号密码为空值!");
}
Server srv = ifsServer.getIfsServer(ifsUser.getUsername(), ifsUser.getPassword());
Server srv = ifsServer.getIfsServer(ifsUser.getIfsUsername(), ifsUser.getIfsPassword());
return srv;
}

Loading…
Cancel
Save