#
whycq
2024-07-15 b058b8c8be2267c2a0ba4e3916871ede64f53c47
zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/common/config/MybatisPlusConfig.java
@@ -42,11 +42,17 @@
            @Override
            public boolean ignoreTable(String tableName) {
                return Arrays.asList(
                        "sys_host",
                        "sys_user_role",
                        "sys_role_menu"
                ).contains(tableName);
                if (getTenantId() == null) {
                    return true;
                }else {
                    return Arrays.asList(
                            "sys_host",
                            "sys_user_role",
                            "sys_role_menu",
                            "wcs_bas_shuttle_err",
                            "wcs_bas_lift_err"
                    ).contains(tableName);
                }
            }
        };
@@ -76,7 +82,7 @@
        } catch (Exception e) {
            System.out.println(e.getMessage());
        }
        return new NullValue();
        return null;
    }
}