zss
2023-09-25 a3f47b5e065878e5f41699ac1c597fd9ac9c4a21
inspect-server/src/main/java/com/yuanchu/mom/service/impl/RawInsProductServiceImpl.java
@@ -88,19 +88,6 @@
        rawInsProductMapper.update(new RawInsProduct(), updateWrapper);
    }
    @Override
    public void batchAddInsProduct(Integer id, List<RawInsProductVo> rawInsProducts) {
        List<RawInsProduct> rawInsProductList = new ArrayList<>();
        rawInsProducts.forEach(i -> {
            RawInsProduct rawInsProduct1 = new RawInsProduct();
            BeanUtils.copyProperties(i, rawInsProduct1);
            rawInsProduct1.setRawInspectId(id);
            rawInsProduct1.setState(1);
            rawInsProductList.add(rawInsProduct1);
        });
        rawInsProductMapper.insertBatchSomeColumn(rawInsProductList);
    }
    /*判断检测值是否满足标准值和内控值的要求,如果不满足则检验结论为不合格*/
    //如果是±的操作
    private int conValues(String standardValueStr, String controlValueStr, String detectionValueStr) {