inspect-server/src/main/java/com/ruoyi/inspect/service/impl/RawMaterialOrderServiceImpl.java
@@ -221,8 +221,7 @@ /** 限制外协列表接口只能查询两个外协分类。 */ private void validateOutsourceType(String orderType) { if (!OrderType.OUTSOURCE_INCOMING.getValue().equals(orderType) && !OrderType.OUTSOURCE_SUBCONTRACT.getValue().equals(orderType)) { if (!outsourceOrderFlowService.isOutsource(orderType)) { throw new ErrorException("非法的外协订单分类"); } }