zoukankan      html  css  js  c++  java
  • K3修改字段名

    在K3的BOS中,自定义字段之后我们往往会修改字段名,便于记忆和理解,但是修改字段名之后,只是数据库中的字段名被修改了,BOS中的字段标识并没有被修改,可以通过以下语句将标识和字段名改成一致。

    select * from icclasstableinfo where fkey <> ffieldname and fclasstypeid >= 200000000
    and ffieldname not in ('fentryid','fid','findex','fname','fnumber')
    and fkey not like 'FBaseProperty%'


    update icclasstableinfo set fkey = ffieldname, FDescription  = '1' where fkey <> ffieldname and fclasstypeid >= 200000000
    and ffieldname not in ('fentryid','fid','findex','fname','fnumber')
    and fkey not like 'FBaseProperty%'

    update icclasstableinfo set fkey = ffieldname  where fkey <> ffieldname and fclasstypeid >= 200000000
    and ffieldname not in ('fentryid','fid','findex','fname')
    and fkey not like 'FBaseProperty%'

    update ICClassTableInfo set FFont = 'FontName=微软雅黑|FontSize=11|FontBold=False|FontItalic=False|'
    where FClassTypeID >= 200000000

  • 相关阅读:
    生活网站
    input 输入值的监听 禁止输入特殊字符
    jq 插件分享
    css3 特效分享
    sharepoint---RBS回收站清空设置
    &&和||
    DataTable得到某行某列的值
    后台刷新当前页面和弹出对话框跳转页面
    c#.netGr idView1在div不局中
    DIV UL LI
  • 原文地址:https://www.cnblogs.com/zfangfang/p/9982426.html
Copyright © 2011-2022 走看看