gaoaoy
2024-03-14 08996b11833ab99f2553c2e4f1dc960e999a0d3c
inspect-server/src/main/java/com/yuanchu/mom/service/impl/StandardTreeServiceImpl.java
@@ -48,7 +48,7 @@
    @Transactional(rollbackFor = Exception.class)
    public int addStandardTree(StandardTree standardTree) {
        if(standardTree.getSample()!=null){
            List<StandardProductList> list = standardTreeMapper.getStandardProductListBySample(standardTree.getSample());
            List<StandardProductList> list = standardTreeMapper.getStandardProductListBySample(standardTree.getSampleType());
            for (StandardProductList standardProductList : list) {
                standardProductList.setFactory(standardTree.getFactory());
                standardProductList.setLaboratory(standardTree.getLaboratory());