Compare commits

..

No commits in common. '21edae71163efd5761220d7c79baf86c905d69f6' and 'c0994e8f46c5e6e6fb30abcdca1c9e2cc8418ac6' have entirely different histories.

@ -1738,21 +1738,18 @@ public class BomUploadServiceImpl {
List<BomVO> collect11 = list.stream().filter(fst -> null!= fst.getTjb() && tzbh.equals(fst.getTjb().getTzbh()) List<BomVO> collect11 = list.stream().filter(fst -> null!= fst.getTjb() && tzbh.equals(fst.getTjb().getTzbh())
).collect(Collectors.toList()); ).collect(Collectors.toList());
// 找到长度 // 找到长度
if(collect11.size()>0){ BigDecimal cd=collect11.get(0).getTjb().getXccd().divide(new BigDecimal("1000"));
BigDecimal cd=collect11.get(0).getTjb().getXccd().divide(new BigDecimal("1000")); dmBom.setYlbs(collect11.get(0).getTjb().getSfyl());
dmBom.setYlbs(collect11.get(0).getTjb().getSfyl()); List<BomVO> collect111 = list.stream().filter(fst -> null!= fst.getBclq() && fst.getBclq().getWpgg().equals(e.getWpxhZ()) &&
List<BomVO> collect111 = list.stream().filter(fst -> null!= fst.getBclq() && fst.getBclq().getWpgg().equals(e.getWpxhZ()) && fst.getBclq().getWpxh().equals(e.getWpggZ()) && fst.getBclq().getDcPlZ().equals(e.getDcPlZ()) && fst.getBclq().getYlzd11().compareTo(cd)==0
fst.getBclq().getWpxh().equals(e.getWpggZ()) && fst.getBclq().getDcPlZ().equals(e.getDcPlZ()) && fst.getBclq().getYlzd11().compareTo(cd)==0 ).collect(Collectors.toList());
).collect(Collectors.toList()); if (collect111.size() > 0) {
if (collect111.size() > 0) {
// dmBom.setFds(collect11.get(0).getBclq().getDcFdZ()); // dmBom.setFds(collect11.get(0).getBclq().getDcFdZ());
dmBom.setXcgs(collect111.get(0).getBclq().getSl()); dmBom.setXcgs(collect111.get(0).getBclq().getSl());
dmBom.setXcshms(collect111.get(0).getBclq().getShms()); dmBom.setXcshms(collect111.get(0).getBclq().getShms());
dmBom.setFds(collect111.get(0).getBclq().getDcFdZ()); dmBom.setFds(collect111.get(0).getBclq().getDcFdZ());
}
} }
dmBom.setType("X"); dmBom.setType("X");
}else { }else {

Loading…
Cancel
Save