BUG修复
This commit is contained in:
parent
4dad05c287
commit
e3632534b5
|
|
@ -84,10 +84,16 @@ public class EBomToPBom {
|
|||
//bom 提层
|
||||
liftingLayer();
|
||||
List<BomNewEbomParentVO> parentList = result.stream().filter(u -> u.getBomRowId() > 0).collect(Collectors.toList());
|
||||
List<String> hasConvert=new ArrayList<>();
|
||||
|
||||
for (String facCode : facCodes) {
|
||||
//buildPBomParent(parent, facCode);
|
||||
for (BomNewEbomParentVO vo : parentList) {
|
||||
String hasConvertKey=StrUtil.join(facCode,vo.getBomRowId());
|
||||
if(hasConvert.contains(hasConvertKey)){
|
||||
continue;
|
||||
}
|
||||
hasConvert.add(hasConvertKey);
|
||||
//构建变更明细
|
||||
buildUpgradeChangeDetail(vo,VirtualPackageTypeEnum.DIRECT_DELIVERY_PACKAGE);
|
||||
buildUpgradeChangeDetail(vo,VirtualPackageTypeEnum.PRE_ASSEMBLY_PACKAGE);
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ public class SessionUtil {
|
|||
* @return
|
||||
*/
|
||||
public static String getUserCode() {
|
||||
return Optional.ofNullable(loginUser.get()).map(LoginUserInfoDTO::getUserCode).orElse("QMB07072700");
|
||||
return Optional.ofNullable(loginUser.get()).map(LoginUserInfoDTO::getUserCode).orElse("QHI17062100");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -38,7 +38,7 @@ public class SessionUtil {
|
|||
* @return
|
||||
*/
|
||||
public static String getUserName() {
|
||||
return Optional.ofNullable(loginUser.get()).map(LoginUserInfoDTO::getUserName).orElse(null);
|
||||
return Optional.ofNullable(loginUser.get()).map(LoginUserInfoDTO::getUserName).orElse("郑军榕");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -51,7 +51,7 @@ public class SessionUtil {
|
|||
}
|
||||
|
||||
public static String getRealName() {
|
||||
return Optional.ofNullable(loginUser.get()).map(LoginUserInfoDTO::getRealName).orElse(null);
|
||||
return Optional.ofNullable(loginUser.get()).map(LoginUserInfoDTO::getRealName).orElse("郑军榕");
|
||||
}
|
||||
|
||||
public static String getDepartName() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue