statecode 与statuscode的匹配 STRINGMAP 和 EntityLogicalView表
2015-08-24 10:25
357 查看
STRINGMAP 和 EntityLogicalView表
需要介绍这两张表。
其中介绍几个关键字段的意义:
ObjectTypeCode: 是每个实体对应的值,具体查询方式可以在EntityLogicalView中取得。
AttributeName: 具体是哪个字段(架构名称)。
AttributeValue: 具体的哪个字段对应的值。
Value: 代表具体的意义。
需要介绍这两张表。
STRINGMAP :
表结构如下:其中介绍几个关键字段的意义:
ObjectTypeCode: 是每个实体对应的值,具体查询方式可以在EntityLogicalView中取得。
AttributeName: 具体是哪个字段(架构名称)。
AttributeValue: 具体的哪个字段对应的值。
Value: 代表具体的意义。
EntityLogicalView:
具体表结构如下:[code] select new_aaaaId, statuscode, (select Value from StringMap where AttributeName='statuscode' and ObjectTypeCode=(select ObjectTypeCode from EntityLogicalView where Name='new_aaaa') and AttributeValue=statuscode ) 名称, statecode, (select Value from StringMap where AttributeName='statecode' and ObjectTypeCode=(select ObjectTypeCode from EntityLogicalView where Name='new_flowapprovalcrf') and AttributeValue=statecode ) from new_aaaa as A order by A.statuscode desc
相关文章推荐
- Java中间件:淘宝网系统高性能利器(转)
- Sql Server中系统函数有哪些
- li、ul如何去除小黑点样式
- virtualbox学习相关网址
- 8月第2周网络安全报告:境内被篡改网站增至5421个
- 9.12测试(五)——测试ATM机
- POJ 1450 && HDU 1046 Gridland(计算几何)
- 【机房收费系统】VB中如何将数据导入excel2013
- iOS 9 学习系列:UI Testing
- 牛人网站汇总
- struts2和servlet共存的几种方法
- IOS JSON
- Android基础入门教程——4.5.2 Intent之复杂数据的传递
- 神经网络训练中的Tricks之高效BP(反向传播算法)
- 压缩跟踪Compressive Tracking源码理解
- ListView 中的每一项添加一个checkbox复选框,实现复选功能
- Windows+caffe+libsvm对图片数据集的分类
- solaris11忘记root密码的处理方法
- Adding Form Fields to a MS Word Document
- 封装