E9组件-日志等相关问题排查手册


字段顺序批量同步问题

<h1>同步字段列</h1> <pre><code class="language-mindmap"># 同步方法 ## SQL方式同步 ## 接口方式同步 </code></pre> <h2>1.SQL方式:</h2> <blockquote> <p>pageuid 自己替换一下 不同的模块是不一样的 可以在datas接口里面找到</p> </blockquote> <pre><code class="language-sql">select * from cloudstore_defcol where userid=1 and pageuid='69a2cf53-4d18-4c63-a3ee-a53f57b3c52a'</code></pre> <p>这个是用管理员的设置去同步的功能 你先要用管理员设置一下定制列 在执行sql</p> <pre><code class="language-sql">清除一下除管理员以外的定制列数据 delete from cloudstore_defcol where userid&lt;&gt;1 and pageuid='69a2cf53-4d18-4c63-a3ee-a53f57b3c52a' 将管理员的定制列信息同步到其他用户帐号 Insert into cloudstore_defcol(userid,sysid,pageuid,orders,display,dataindex,width) select hrm.id,'',pageuid,orders,display,dataindex,'' from HrmResource hrm ,cloudstore_defcol col where col.userid=1 and pageuid='69a2cf53-4d18-4c63-a3ee-a53f57b3c52a'</code></pre> <h2>2.接口方式</h2> <p>同步当前用户的字段到其他用户 /api/ec/dev/table/getxml?dataKey= /api/ec/dev/table/syncols?dataKey=xxxx /api/ec/dev/table/syncols?dataKey=71f4907f-1842-4c33-a3bb-337c397b57ea_94F007D694FA6E6DCD41CECBC6349D12 dataKey到组件的datas接口上找一下</p>

页面列表

ITEM_HTML