• 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

  • 相关阅读:
    马哥博客作业第十六周
    马哥博客作业第十五周
    马哥博客作业第十四周
    马哥博客作业第十三周
    回调函数
    spring cloud
    jt业务实现
    dubbo框架介绍
    SOA思想
    linux设置防火墙规则-指定ip的访问权限
  • 原文地址:https://www.cnblogs.com/zfangfang/p/9982426.html
Copyright © 2020-2023  润新知