idtType
简述
返回某信息ID的类型。
idtType(InfoID:Integer):Integer;
名称 | 类型 | 说明 |
---|
InfoID | Integer | 整数,某信息对应的ID号. |
返回 | Integer |
整数,返回值对应类型如下
返回值 |
说明 |
1 |
表示报告期相关数据 |
2 |
表示报告期无关数据 |
3 |
表示报表数据 |
-1 |
表示信息ID不存在 |
|
TYPES := array( '','报告期相关','报告期无关','报表');
TYPES[-1] := '未知';
return array('公司全称':TYPES[idttype(10002)],
'红利比':TYPES[idttype(18007)],
'分红送股表':TYPES[idttype(18)],
'未知':TYPES[idttype(99)]);
结果:
