src/main/java/com/ruoyi/quality/service/impl/QualityInspectServiceImpl.java
@@ -138,6 +138,8 @@
        XWPFTemplate template = XWPFTemplate.compile(inputStream, configure).render(
                new HashMap<String, Object>() {{
                    put("inspect", inspect);
                    put("customerLabel", inspect.getInspectType() == 0 ? "供应商" : "客户");
                    put("customer", inspect.getInspectType() == 0 ? inspect.getSupplier() : inspect.getCustomer());
                    put("inspectType", finalInspectType);
                    put("paramList", paramList);
                    put("checkTime", checkTimeStr);