zouyu
2 天以前 a7418fdc3875d68b03f5d89ceaa0c66a8e3902cd
inspect-server/src/main/java/com/ruoyi/inspect/controller/RawMaterialOrderController.java
@@ -110,10 +110,11 @@
    public Result<?> inspectionReport(@RequestBody Map<String, Object> param) {
        List<Long> ids = (List<Long>) param.get("ids");
        String orderType = Objects.nonNull(param.get("orderType"))?param.get("orderType").toString():"";
        String materialProp = Objects.nonNull(param.get("materialProp"))?param.get("materialProp").toString():"";
        if(!OrderType.validateValue(orderType)){
            throw new ErrorException("批量报检失败,非法的销售订单分类枚举");
        }
        return Result.success(rawMaterialOrderService.inspectionReport(ids,orderType));
        return Result.success(rawMaterialOrderService.inspectionReport(ids,orderType,materialProp));
    }
    /**