{"id":19565,"date":"2026-11-30T12:20:31","date_gmt":"2026-11-30T04:20:31","guid":{"rendered":"https:\/\/kbwp.transwarp.cn\/?p=19565"},"modified":"2026-11-30T12:20:31","modified_gmt":"2026-11-30T04:20:31","slug":"tds-%e9%80%9a%e8%bf%87%e5%85%83%e6%95%b0%e6%8d%ae%e5%ba%93%e6%8e%a7%e5%88%b6%e5%89%8d%e7%ab%af%e4%b8%80%e4%ba%8c%e4%b8%89%e7%ba%a7%e8%8f%9c%e5%8d%95%e4%b8%8e%e5%8a%9f%e8%83%bd%e5%85%a5%e5%8f%a3","status":"publish","type":"post","link":"https:\/\/kbwp.transwarp.cn\/?p=19565","title":{"rendered":"TDS \u901a\u8fc7\u5143\u6570\u636e\u5e93\u63a7\u5236\u524d\u7aef\u4e00\u4e8c\u4e09\u7ea7\u83dc\u5355\u4e0e\u529f\u80fd\u5165\u53e3\u7684\u663e\u793a\u9690\u85cf"},"content":{"rendered":"<h3>\u6982\u8981\u63cf\u8ff0<\/h3>\n<hr \/>\n<p>\u4ee5\u4e0b\u9700\u6c42\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539 TDS \u5143\u6570\u636e\u5e93\u5b9e\u73b0\uff1a<\/p>\n<ul>\n<li>\u5ba2\u6237\u8981\u6c42\u9690\u85cf\u67d0\u4e9b\u4e0d\u4f7f\u7528\u7684\u4e00\u7ea7\u6216\u4e8c\u7ea7\u83dc\u5355\uff08\u5982\u6307\u6807\u3001\u6570\u636e\u5546\u57ce\uff09\uff1b<\/li>\n<li>\u9700\u8981\u663e\u793a\u9ed8\u8ba4\u9690\u85cf\u7684\u83dc\u5355\uff08\u5982 TDS 3.1.0 \u7684\u6307\u6807\u83dc\u5355\u9ed8\u8ba4\u9690\u85cf\uff09\uff1b<\/li>\n<li>\u9700\u8981\u9690\u85cf\u9875\u9762\u4e0a\u7684\u60ac\u6d6e\u56fe\u6807\u3001\u5de6\u4e0a\u89d2 Logo \u8df3\u8f6c\uff0c\u6216\u4e2a\u4eba\u5de5\u4f5c\u533a\u3001\u5546\u57ce\u5de5\u4f5c\u533a\u3002<\/li>\n<\/ul>\n<h4>\u9002\u7528\u8303\u56f4<\/h4>\n<ul>\n<li>TDS 2.4.2\uff5e4.x\u3002<\/li>\n<li>\u5e93\u540d\u968f\u7248\u672c\u4e0d\u540c\uff1a\n<ul>\n<li>TDS 3.1 \u53ca\u4ee5\u540e\uff1a<code>foundation_foundationX<\/code>\uff1b<\/li>\n<li>TDS 3.1 \u4ee5\u524d\uff1a<code>user_foundationX<\/code>\u3002<\/li>\n<li><code>X<\/code> \u4e3a\u670d\u52a1\u7f16\u53f7\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u672c\u65b9\u6cd5<strong>\u53ea\u63a7\u5236\u524d\u7aef\u662f\u5426\u663e\u793a<\/strong>\uff0c\u4e0d\u6539\u53d8\u7528\u6237\u6743\u9650\uff0c\u4e5f\u4e0d\u6539\u53d8\u8bb8\u53ef\u8bc1\u6388\u6743\u3002\u9690\u85cf\u83dc\u5355\u540e\uff0c\u63a5\u53e3\u5c42\u9762\u7684\u8bbf\u95ee\u63a7\u5236\u4ecd\u6309\u89d2\u8272\u6743\u9650\u6267\u884c\u3002<\/li>\n<\/ul>\n<h3>\u8be6\u7ec6\u8bf4\u660e<\/h3>\n<hr \/>\n<h4>0. \u4fee\u6539\u524d\u5148\u5907\u4efd<\/h4>\n<p>\u8fde\u63a5 TDS \u5143\u6570\u636e\u5e93\uff08\u53c2\u8003 <a href=\"https:\/\/kb.transwarp.cn\/posts\/11272\">TDS \u5143\u6570\u636e\u5e93\u8bbf\u95ee\u65b9\u5f0f<\/a>\uff09\uff0c\u5148\u5907\u4efd\u8981\u4fee\u6539\u7684\u8868\uff1a<\/p>\n<pre><code class=\"language-sql\">create table foundation_foundation1.t_menu_info_bak_20261129 as select * from foundation_foundation1.t_menu_info;\ncreate table foundation_foundation1.t_module_info_bak_20261129 as select * from foundation_foundation1.t_module_info;<\/code><\/pre>\n<h4>1. \u4e00\u7ea7\u83dc\u5355\uff1a<code>t_module_info.license<\/code><\/h4>\n<pre><code class=\"language-sql\">select id, module, name, license from foundation_foundation1.t_module_info;\n-- 1 = \u663e\u793a\uff0c0 = \u9690\u85cf\nupdate foundation_foundation1.t_module_info set license = 0 where module = '<\u4e00\u7ea7\u83dc\u5355 module \u503c>';<\/code><\/pre>\n<h4>2. \u4e8c\u7ea7\u83dc\u5355\uff1a<code>t_menu_info.enable<\/code><\/h4>\n<pre><code class=\"language-sql\">select id, name, description, enable, parent_id from foundation_foundation1.t_menu_info order by parent_id, menu_order;\n-- description \u4e3a\u4e2d\u6587\u83dc\u5355\u540d\uff0cname \u4e3a\u82f1\u6587\u540d\uff1b1 = \u663e\u793a\uff0c0 = \u9690\u85cf\nupdate foundation_foundation1.t_menu_info set enable = 0 where name = '<\u4e8c\u7ea7\u83dc\u5355 name>';<\/code><\/pre>\n<p>\u4fee\u6539\u4e00\u7ea7\u548c\u4e8c\u7ea7\u83dc\u5355\u540e\uff0c<strong>\u5237\u65b0 TDS \u9875\u9762\u5373\u53ef\u751f\u6548<\/strong>\uff0c\u65e0\u9700\u91cd\u542f\u3002<\/p>\n<blockquote>\n<p>\u793a\u4f8b\uff1aTDS 3.1.0 \u7684\u6307\u6807\u83dc\u5355\u9ed8\u8ba4\u9690\u85cf\u3002\u663e\u793a\u65b9\u6cd5\uff1a\u628a <code>t_module_info<\/code> \u4e2d MegaIndex \u6240\u5728\u884c\u7684 <code>license<\/code> \u6539\u4e3a 1\uff0c\u518d\u628a <code>t_menu_info<\/code> \u4e2d\u6307\u6807\u76f8\u5173\u7684\u4e8c\u7ea7\u83dc\u5355\u884c\u7684 <code>enable<\/code> \u6539\u4e3a 1\uff0c\u7136\u540e\u5237\u65b0\u9875\u9762\u3002<\/p>\n<\/blockquote>\n<h4>3. \u4e09\u7ea7\u83dc\u5355<\/h4>\n<table>\n<thead>\n<tr>\n<th>\u83dc\u5355<\/th>\n<th>TDS 3.0.x<\/th>\n<th>TDS 3.1 \u53ca\u4ee5\u540e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u6570\u636e\u6807\u51c6\uff1a\u4e3b\u6570\u636e\u6807\u51c6\u3001\u7ef4\u5ea6\u6807\u51c6\u3001\u547d\u540d\u5b57\u5178\u3001\u547d\u540d\u5b57\u5178\u57df<\/td>\n<td>standard pod \u6240\u5728\u8282\u70b9\u4fee\u6539 <code>\/etc\/tdsgovernor1\/conf\/standard-application.yml<\/code>\uff0c\u518d\u5220\u9664 standard pod \u8ba9\u5176\u91cd\u5efa<\/td>\n<td>\u4fee\u6539 <code>standard_tdsgovernor1.sys_config<\/code> \u8868\uff08<strong>4.x \u4e3a <code>sys_config_sdk<\/code> \u8868<\/strong>\uff09\u4e2d\u7684 <code>support_master<\/code>\u3001<code>support_dimension<\/code>\u3001<code>support_dictionary<\/code>\u3001<code>support_domain<\/code>\uff1atrue \u663e\u793a\uff0cfalse \u9690\u85cf<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u8d28\u91cf\uff1a\u6570\u636e\u6574\u6539<\/td>\n<td>quality pod \u6240\u5728\u8282\u70b9\u4fee\u6539 <code>\/etc\/tdsgovernor1\/conf\/quality-application.properties<\/code>\uff0c\u518d\u5220\u9664 quality pod \u8ba9\u5176\u91cd\u5efa<\/td>\n<td>3.3 \u4ee5\u540e\u4fee\u6539 <code>quality_tdsgovernor1.sys_config<\/code> \u8868\u4e2d\u7684\u5bf9\u5e94\u9879\uff0c\u53ef\u5148\u7528 <code>select * from quality_tdsgovernor1.sys_config;<\/code> \u67e5\u770b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>4. \u9875\u9762\u56fe\u6807\u4e0e\u5165\u53e3\uff1a<code>TDS_FEATURE.ENABLED<\/code><\/h4>\n<pre><code class=\"language-sql\">select NAME, DESCRIPTION, ENABLED from foundation_foundation1.TDS_FEATURE;\n-- 1 = \u663e\u793a\uff0c0 = \u9690\u85cf\u3002\u4f8b\u5982 homePageLogo = 0 \u65f6\uff0c\u70b9\u51fb\u5de6\u4e0a\u89d2 Logo \u4e0d\u8df3\u8f6c\u9996\u9875\nupdate foundation_foundation1.TDS_FEATURE set ENABLED = 0 where NAME = '<\u529f\u80fd\u540d>';<\/code><\/pre>\n<p>4.x \u4e2d NL2SQL \u60ac\u6d6e\u56fe\u6807\uff08Solar\uff09\u4e5f\u662f\u901a\u8fc7\u5f00\u5173\u63a7\u5236\u7684\uff0c\u9ed8\u8ba4\u5173\u95ed\uff0c\u6539\u4e3a 1 \u540e\u663e\u793a\u3002\u5177\u4f53\u5728\u54ea\u5f20\u8868\u7684\u54ea\u4e00\u884c\uff0c\u6309 Wiki \u793a\u4f8b\u622a\u56fe\u5728\u5e93\u4e2d\u68c0\u7d22\u786e\u8ba4\u3002<\/p>\n<h4>5. \u4e2a\u4eba\u5de5\u4f5c\u533a\u3001\u5546\u57ce\u5de5\u4f5c\u533a<\/h4>\n<p>\u5728 <code>foundation-web-application.properties<\/code> \u4e2d\u65b0\u589e\uff1a<\/p>\n<pre><code class=\"language-properties\">user.personal.workspace.hide=true     # \u9690\u85cf\u4e2a\u4eba\u5de5\u4f5c\u533a\nuser.foresight.workspace.hide=true    # \u9690\u85cf\u5546\u57ce\u5de5\u4f5c\u533a<\/code><\/pre>\n<ul>\n<li>\u53ea\u6539\u914d\u7f6e\u6587\u4ef6\uff1a\u5bf9 Foundation \u6267\u884c\u914d\u7f6e\u670d\u52a1\u540e\u4f1a\u5931\u6548\u3002<\/li>\n<li>\u9700\u8981\u957f\u671f\u4fdd\u7559\uff1a\u540c\u65f6\u4fee\u6539 metainfo \u6a21\u677f <code>FOUNDATION\/&lt;\u7248\u672c&gt;\/templates\/foundation-web-application.properties.ftl<\/code>\u3002Manager 9.4 \u901a\u8fc7\u201c\u5e94\u7528\u5143\u4fe1\u606f\u7f16\u8f91\u5668\u201d\u4fee\u6539\uff1b\u66f4\u65e9\u7248\u672c\u6539\u672c\u5730 meta \u76ee\u5f55\u540e\u91cd\u8f7d Manager\u3002<\/li>\n<\/ul>\n<h4>\u9a8c\u8bc1\u4e0e\u98ce\u9669<\/h4>\n<ul>\n<li>\u9a8c\u8bc1\uff1a\u5237\u65b0\u9875\u9762\uff08\u6216\u6309\u4e0a\u8868\u91cd\u542f\u5bf9\u5e94\u7ec4\u4ef6\uff09\u540e\uff0c\u83dc\u5355\u6216\u5165\u53e3\u6309\u9884\u671f\u663e\u793a\u6216\u9690\u85cf\u3002<\/li>\n<li>\u56de\u9000\uff1a\u7528\u7b2c 0 \u6b65\u5907\u4efd\u7684\u8868\u6062\u590d\u5bf9\u5e94\u884c\u7684\u539f\u503c\u3002<\/li>\n<li>\u98ce\u9669\uff1a\n<ul>\n<li>\u5347\u7ea7 TDS \u540e\uff0c\u83dc\u5355\u6570\u636e\u53ef\u80fd\u88ab\u521d\u59cb\u5316\u811a\u672c\u91cd\u7f6e\uff0c\u5347\u7ea7\u540e\u9700\u8981\u590d\u67e5\uff1b<\/li>\n<li>\u9690\u85cf\u83dc\u5355\u4e0d\u662f\u5b89\u5168\u63a7\u5236\u63aa\u65bd\uff0c\u654f\u611f\u529f\u80fd\u4ecd\u8981\u901a\u8fc7\u89d2\u8272\u6743\u9650\u9650\u5236\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>\u5176\u4ed6\u4fe1\u606f<\/h3>\n<hr \/>\n<ul>\n<li>\u9690\u85cf Manager \u9875\u9762\u83dc\u5355\uff1a<a href=\"https:\/\/kb.transwarp.cn\/posts\/12447\">Manager9.x \u5982\u4f55\u9690\u85cf\u83dc\u5355<\/a>\u3002<\/li>\n<li>\u53d6\u6d88\u4e2a\u4eba\u5de5\u4f5c\u533a\u7684\u4e1a\u52a1\u8bf4\u660e\uff1a<a href=\"https:\/\/kb.transwarp.cn\/posts\/11519\">TDS \u53d6\u6d88\u4e2a\u4eba\u5de5\u4f5c\u533a\u7684\u8bf4\u660e<\/a>\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981\u63cf\u8ff0 \u4ee5\u4e0b\u9700\u6c42\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539 TDS \u5143\u6570\u636e\u5e93\u5b9e\u73b0\uff1a \u5ba2\u6237\u8981\u6c42\u9690\u85cf\u67d0\u4e9b\u4e0d\u4f7f\u7528\u7684\u4e00\u7ea7\u6216\u4e8c\u7ea7\u83dc\u5355\uff08\u5982\u6307\u6807\u3001\u6570\u636e\u5546 ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/kbwp.transwarp.cn\/?p=19565\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":81,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"class_list":["post-19565","post","type-post","status-publish","format-standard","hentry","category-configuration"],"acf":[],"_links":{"self":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/19565","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=19565"}],"version-history":[{"count":1,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/19565\/revisions"}],"predecessor-version":[{"id":19566,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/19565\/revisions\/19566"}],"wp:attachment":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=19565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=19565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=19565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}