liding
3 天以前 d28a5401ac1e2995ec6de12a81395aa5d05b040a
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("非法的外协订单分类");
        }
    }