Merge branch 'refs/heads/feature/DM/nflg-bom-dq' into feature/DM/nflg-bom
This commit is contained in:
commit
39f16244ca
|
|
@ -38,6 +38,7 @@ public class TestApi {
|
|||
sapDto.setZID(RandomUtil.randomNumbers(5));
|
||||
sapDto.setI_WERKS("1");
|
||||
sapDto.setI_STLAN("1");
|
||||
sapDto.setI_EMPNO("测试者");
|
||||
List<T1DTO> t1s = new ArrayList<>();
|
||||
T1DTO t1 = new T1DTO();
|
||||
t1.setID(RandomUtil.randomNumbers(5));
|
||||
|
|
|
|||
|
|
@ -4,8 +4,6 @@ package com.nflg.product.bomnew.pojo.dto.sap.impart2;
|
|||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
|
@ -26,5 +24,7 @@ public class ImportSapParam2DTO {
|
|||
@ApiModelProperty(" EBOM: 2;PBOM: P;MBOM: 1;移动破: 1")
|
||||
private String I_STLAN;
|
||||
|
||||
|
||||
//创建者
|
||||
@ApiModelProperty("创建者")
|
||||
private String I_EMPNO;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,6 +26,9 @@ public class ImportSapParamDTO {
|
|||
@ApiModelProperty(" EBOM: 2;PBOM: P;MBOM: 1;移动破: 1")
|
||||
private String I_STLAN;
|
||||
|
||||
//创建者
|
||||
@ApiModelProperty("创建者")
|
||||
private String I_EMPNO;
|
||||
|
||||
@ApiModelProperty("详情")
|
||||
private List<T1DTO> T1;
|
||||
|
|
|
|||
|
|
@ -937,6 +937,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
sapDto.setZID(RandomUtil.randomNumbers(5));
|
||||
sapDto.setI_WERKS("1");
|
||||
sapDto.setI_STLAN("2");
|
||||
sapDto.setI_EMPNO(root.getCreatedBy());
|
||||
List<T1DTO> t1s = new ArrayList<>();
|
||||
buildChildrenForSap(root, t1s);
|
||||
sapDto.setT1(t1s);
|
||||
|
|
|
|||
|
|
@ -271,6 +271,7 @@ public class BomNewMbomParentService extends ServiceImpl<BomNewMbomParentMapper,
|
|||
}
|
||||
|
||||
result.setI_STLAN(BomConstant.SAP_MBOM);
|
||||
result.setI_EMPNO(parentVO.getCreatedBy());
|
||||
String dateYMD= DateUtil.format(new Date(),"yyyyMMdd");
|
||||
|
||||
List<BomNewMbomMiddleVO> parentList=list.stream().filter(u -> u.getBomExist().intValue()>0).collect(Collectors.toList());
|
||||
|
|
|
|||
|
|
@ -1108,6 +1108,7 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
|
|||
sapDto.setZID(RandomUtil.randomNumbers(5));
|
||||
sapDto.setI_WERKS("1");
|
||||
sapDto.setI_STLAN("1");
|
||||
sapDto.setI_EMPNO(root.getCreatedBy());
|
||||
List<T1DTO> t1s = new ArrayList<>();
|
||||
buildChildrenForSap(root, t1s);
|
||||
sapDto.setT1(t1s);
|
||||
|
|
|
|||
|
|
@ -403,6 +403,7 @@ public class DQBomService {
|
|||
sapDto.setZID(RandomUtil.randomNumbers(5));
|
||||
sapDto.setI_WERKS("1");
|
||||
sapDto.setI_STLAN("1");
|
||||
sapDto.setI_EMPNO(root.getCreatedBy());
|
||||
List<T1DTO> t1s = new ArrayList<>();
|
||||
String dateYMD = DateUtil.format(new Date(), "yyyyMMdd");
|
||||
datas.forEach(d -> {
|
||||
|
|
|
|||
|
|
@ -132,7 +132,8 @@ public class OptionalMbomMaterialService extends ServiceImpl<OptionalMbomMateria
|
|||
//
|
||||
result.setZID(RandomUtil.randomNumbers(5));
|
||||
result.setI_WERKS("1");
|
||||
result.setI_STLAN(BomConstant.SAP_YDBOM);
|
||||
result.setI_STLAN(BomConstant.SAP_YDBOM);
|
||||
result.setI_EMPNO(entity.getCreatedBy());
|
||||
|
||||
String dateYMD=DateUtil.format(new Date(),"yyyyMMdd");
|
||||
for (OptionalMbomMaterialListVO parent:
|
||||
|
|
|
|||
Loading…
Reference in New Issue