liding
2025-04-09 218388d1cecbf8cf4ab5ba51d3c875a0f21e8998
inspect-server/src/main/java/com/ruoyi/inspect/service/impl/InsProductServiceImpl.java
@@ -182,7 +182,7 @@
            for (InsProduct product : insProducts) {
                for (InsProduct insProduct1 : insProductBindingList) {
                    insProduct1.setId(null);
                    insProduct1.setBindingProductId(product.getId());
                    insProduct1.setBindingProductId(Math.toIntExact(product.getId()));
                    insProduct1.setCableTag(product.getCableTag());
                }
                this.saveBatch(insProductBindingList);
@@ -232,7 +232,7 @@
        List<InsProductDto> insProductDtoList = insProductDto.getInsProductDtoList();
        for (InsProductDto productDto : insProductDtoList) {
            InsProduct insProduct = new InsProduct();
            insProduct.setId(productDto.getInsProductId());
            insProduct.setId(Long.valueOf(productDto.getInsProductId()));
            insProduct.setCheckUserId(productDto.getCheckUserId());
            insProductMapper.updateById(insProduct);
        }