uap开发过程常用表及常用sql语句

uap自定义参照,需要像数据库bd_refinfo 插入一条数据

select * from bd_refinfo where name like '%招标%' for update;    

uap判断元数据是否是最新版本:单据----版本号

select * from md_component where displayname like '%项目信息%';

uap导出补丁,需要查询模板、单据模板的sql

--单据模板

select * from pub_billtemplet a where a.NODECODE='JYH90101';--ID

select * from pub_billtemplet a where a.PK_BILLTEMPLET='0001E21000000000O0Z0';

select * from pub_billtemplet_b b where b.PK_BILLTEMPLET='0001E21000000000O0Z0';

select * from pub_billtemplet_t t where t.PK_BILLTEMPLET='0001E21000000000O0Z0';

 

--查询模板

select * from pub_query_templet a where a.MODEL_CODE='JYH90101';

--ID

select * from pub_query_templet a where a.id='0001E21000000000O11E';

select * from pub_query_condition b where b.PK_TEMPLET='0001E21000000000O11E';

 

--模板分配

select * from pub_systemplate_base where funnode='JYH90101';


1-功能注册 相关表

sm_funcregister : 对应功能注册里面一个功能节点() 有类信息,方法名 ,funcode对应功能编码。主键是parentid

sm_paramregister : 对应功能注册下面的参数注册。( 与上面的表对应 )

sm_menuitemreg : 对应菜单项实体( 以及菜单,二级菜单,三级功能节点 )

2-单据模板 相关表

pub_billtemplet :单据模板表,pk_billtemplet是主键,pk_billtypecode是对应的功能编码

pub_billtemplet_t:单据模板一个模板表,主键是pk_billtemplet_t,pk_billtemplet是对应上级的id。

pub_billtemplet_b:单据模板字段表,主键是pk_billtemplet_b,pk_billtemplet是上级的上级的id。

pub_billtemplet是pub_billtemplet_t的父表,也是pub_billtemplet_b的父表。

3-查询模板 相关表

pub_query_templet: 主键为id , 其中model_code就是功能编码

pub_query_condition:查询模板表

4-模板分配 相关表

pub_systemplate_base:这个表中funnode为功能编码,moduleid是上级模块编码,nodekey是bt,qt,ot一样一个

5-其他

    插件注册信息 pub_busiclass                单据动作 pub_billaction               

    编码对象 pub_bcr_nbcr            编码规则基本信息 pub_bcr_rulebase            编码规则元素 pub_bcr_elem


 

  • 3
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值