skyouc
2025-03-25 f967831b87cda525db4bf6f99c5caf3f2cbdef43
rsf-server/src/main/java/com/vincent/rsf/server/manager/controller/LocAreaMatRelaController.java
@@ -122,12 +122,12 @@
        if (Objects.isNull(param.getAreaId())) {
            throw new CoolException("库区不能为空!!");
        }
        if (param.getLocId().isEmpty() || param.getTypeId().isEmpty()) {
            throw new CoolException("库位类型或库位不能为空!!");
        }
        if (Objects.isNull(param.getGroupId()) || param.getMatnrId().isEmpty()) {
            throw new CoolException("物料或物料分类不能为空!!");
        }
//        if (Objects.isNull(param.getTypeId()) || Objects.isNull(param.getLocId()) || param.getLocId().isEmpty() || param.getTypeId().isEmpty()) {
//            throw new CoolException("库位类型或库位不能为空!!");
//        }
//        if (Objects.isNull(param.getGroupId()) || Objects.isNull(param.getMatnrId()) || param.getMatnrId().isEmpty()) {
//            throw new CoolException("物料或物料分类不能为空!!");
//        }
        return locAreaMatRelaService.binMatnrs(param);
    }