ATS考勤1.1基础资料(考勤项目表)

栏目:云星空知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:1

ATS考勤1.1基础资料(考勤项目表)

T_ATS_ATSITEM(考勤项目表)
是否主键字段名字段描述数据类型长度可空缺省值备注
FID 内码 int

0

FNUMBER 方案编码 nvarchar 30
' '

FMASTERID FMASTERID int
0

FMGRCENTERID 人事管理中心 int

0

FCREATEORGID 创建组织 int



FUSEORGID 使用组织 int



FCREATORID 创建人 int



FCREATEDATE 创建日期 datetime



FMODIFIERID 修改人 int



FMODIFYDATE 修改日期 datetime



FAUDITORID 审核人 int



FAUDITDATE 审核日期 datetime



FFORBIDDERID 禁用人 int



FFORBIDDATE 禁用日期 datetime



FDOCUMENTSTATUS 数据状态 char 1


FFORBIDSTATUS 禁用状态 char 1


FHELPCODE 助记码 nvarchar 30


FDATATYPE 数据类型 int



FSCALE 小数位数 int
0

FITEMTYPE 项目类别 char 1


FTABLENAME 物理表名 nvarchar 80


FFIELDNAME 物理字段名 nvarchar 30


FISSYSPRESET 是否预置 char 1


FITEMPROPERTY 项目属性 char 1


FSRCTABLENAME 项目数据来源表 nvarchar 255


FSRCFIELDNAME 项目数据来源字段 nvarchar 255


FSRCCONDITION 项目数据来源过滤条件 nvarchar 1000


FISFIELDCREATED 是否创建物理字段 char 1 '1'


--建表脚本--

create table T_ATS_ATSITEM(

FID int not null  comment '内码'

,FNUMBER nvarchar(30) not null  comment '方案编码'

,FMASTERID int default 0  comment 'FMASTERID'

,FMGRCENTERID int not null  comment '人事管理中心'

,FCREATEORGID int default null  comment '创建组织'

,FUSEORGID int default null  comment '使用组织'

,FCREATORID int default null  comment '创建人'

,FCREATEDATE datetime default null  comment '创建日期'

,FMODIFIERID int default null  comment '修改人'

,FMODIFYDATE datetime default null  comment '修改日期'

,FAUDITORID int default null  comment '审核人'

,FAUDITDATE datetime default null  comment '审核日期'

,FFORBIDDERID int default null  comment '禁用人'

,FFORBIDDATE datetime default null  comment '禁用日期'

,FDOCUMENTSTATUS char(1) default null  comment '数据状态'

,FFORBIDSTATUS char(1) default null  comment '禁用状态'

,FHELPCODE nvarchar(30) default null  comment '助记码'

,FDATATYPE int default null  comment '数据类型'

,FSCALE int default 0  comment '小数位数'

,FITEMTYPE char(1) default null  comment '项目类别'

,FTABLENAME nvarchar(80) default null  comment '物理表名'

,FFIELDNAME nvarchar(30) default null  comment '物理字段名'

,FISSYSPRESET char(1) default null  comment '是否预置'

,FITEMPROPERTY char(1) default null  comment '项目属性'

,FSRCTABLENAME nvarchar(255) default null  comment '项目数据来源表'

,FSRCFIELDNAME nvarchar(255) default null  comment '项目数据来源字段'

,FSRCCONDITION nvarchar(1000) default null  comment '项目数据来源过滤条件'

,FISFIELDCREATED char(1) default ''1''  comment '是否创建物理字段'

,primary key (FID)

) comment = '考勤项目表'


--查询--

select FID as "fid",FNUMBER as "fnumber",FMASTERID as "fmasterid",FMGRCENTERID as "fmgrcenterid",FCREATEORGID as "fcreateorgid",FUSEORGID as "fuseorgid",FCREATORID as "fcreatorid",FCREATEDATE as "fcreatedate",FMODIFIERID as "fmodifierid",FMODIFYDATE as "fmodifydate",FAUDITORID as "fauditorid",FAUDITDATE as "fauditdate",FFORBIDDERID as "fforbidderid",FFORBIDDATE as "fforbiddate",FDOCUMENTSTATUS as "fdocumentstatus",FFORBIDSTATUS as "fforbidstatus",FHELPCODE as "fhelpcode",FDATATYPE as "fdatatype",FSCALE as "fscale",FITEMTYPE as "fitemtype",FTABLENAME as "ftablename",FFIELDNAME as "ffieldname",FISSYSPRESET as "fissyspreset",FITEMPROPERTY as "fitemproperty",FSRCTABLENAME as "fsrctablename",FSRCFIELDNAME as "fsrcfieldname",FSRCCONDITION as "fsrccondition",FISFIELDCREATED as "fisfieldcreated" from T_ATS_ATSITEM


--查询(中文字段)--

select FID as "内码",FNUMBER as "方案编码",FMASTERID as "FMASTERID",FMGRCENTERID as "人事管理中心",FCREATEORGID as "创建组织",FUSEORGID as "使用组织",FCREATORID as "创建人",FCREATEDATE as "创建日期",FMODIFIERID as "修改人",FMODIFYDATE as "修改日期",FAUDITORID as "审核人",FAUDITDATE as "审核日期",FFORBIDDERID as "禁用人",FFORBIDDATE as "禁用日期",FDOCUMENTSTATUS as "数据状态",FFORBIDSTATUS as "禁用状态",FHELPCODE as "助记码",FDATATYPE as "数据类型",FSCALE as "小数位数",FITEMTYPE as "项目类别",FTABLENAME as "物理表名",FFIELDNAME as "物理字段名",FISSYSPRESET as "是否预置",FITEMPROPERTY as "项目属性",FSRCTABLENAME as "项目数据来源表",FSRCFIELDNAME as "项目数据来源字段",FSRCCONDITION as "项目数据来源过滤条件",FISFIELDCREATED as "是否创建物理字段" from T_ATS_ATSITEM


--INSERT脚本--

insert into T_ATS_ATSITEM(FID,FNUMBER,FMASTERID,FMGRCENTERID,FCREATEORGID,FUSEORGID,FCREATORID,FCREATEDATE,FMODIFIERID,FMODIFYDATE,FAUDITORID,FAUDITDATE,FFORBIDDERID,FFORBIDDATE,FDOCUMENTSTATUS,FFORBIDSTATUS,FHELPCODE,FDATATYPE,FSCALE,FITEMTYPE,FTABLENAME,FFIELDNAME,FISSYSPRESET,FITEMPROPERTY,FSRCTABLENAME,FSRCFIELDNAME,FSRCCONDITION,FISFIELDCREATED) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)


--UPDATE脚本--

update T_ATS_ATSITEM set FID=?,FNUMBER=?,FMASTERID=?,FMGRCENTERID=?,FCREATEORGID=?,FUSEORGID=?,FCREATORID=?,FCREATEDATE=?,FMODIFIERID=?,FMODIFYDATE=?,FAUDITORID=?,FAUDITDATE=?,FFORBIDDERID=?,FFORBIDDATE=?,FDOCUMENTSTATUS=?,FFORBIDSTATUS=?,FHELPCODE=?,FDATATYPE=?,FSCALE=?,FITEMTYPE=?,FTABLENAME=?,FFIELDNAME=?,FISSYSPRESET=?,FITEMPROPERTY=?,FSRCTABLENAME=?,FSRCFIELDNAME=?,FSRCCONDITION=?,FISFIELDCREATED=? where FID=?


--delete脚本--

delete from T_ATS_ATSITEM where FID=?


--给字段加备注--

alter table T_ATS_ATSITEM comment '考勤项目表';

alter table T_ATS_ATSITEM modify column FID int not null  comment '内码';

alter table T_ATS_ATSITEM modify column FNUMBER nvarchar(30) not null  comment '方案编码';

alter table T_ATS_ATSITEM modify column FMASTERID int default 0  comment 'FMASTERID';

alter table T_ATS_ATSITEM modify column FMGRCENTERID int not null  comment '人事管理中心';

alter table T_ATS_ATSITEM modify column FCREATEORGID int default null  comment '创建组织';

alter table T_ATS_ATSITEM modify column FUSEORGID int default null  comment '使用组织';

alter table T_ATS_ATSITEM modify column FCREATORID int default null  comment '创建人';

alter table T_ATS_ATSITEM modify column FCREATEDATE datetime default null  comment '创建日期';

alter table T_ATS_ATSITEM modify column FMODIFIERID int default null  comment '修改人';

alter table T_ATS_ATSITEM modify column FMODIFYDATE datetime default null  comment '修改日期';

alter table T_ATS_ATSITEM modify column FAUDITORID int default null  comment '审核人';

alter table T_ATS_ATSITEM modify column FAUDITDATE datetime default null  comment '审核日期';

alter table T_ATS_ATSITEM modify column FFORBIDDERID int default null  comment '禁用人';

alter table T_ATS_ATSITEM modify column FFORBIDDATE datetime default null  comment '禁用日期';

alter table T_ATS_ATSITEM modify column FDOCUMENTSTATUS char(1) default null  comment '数据状态';

alter table T_ATS_ATSITEM modify column FFORBIDSTATUS char(1) default null  comment '禁用状态';

alter table T_ATS_ATSITEM modify column FHELPCODE nvarchar(30) default null  comment '助记码';

alter table T_ATS_ATSITEM modify column FDATATYPE int default null  comment '数据类型';

alter table T_ATS_ATSITEM modify column FSCALE int default 0  comment '小数位数';

alter table T_ATS_ATSITEM modify column FITEMTYPE char(1) default null  comment '项目类别';

alter table T_ATS_ATSITEM modify column FTABLENAME nvarchar(80) default null  comment '物理表名';

alter table T_ATS_ATSITEM modify column FFIELDNAME nvarchar(30) default null  comment '物理字段名';

alter table T_ATS_ATSITEM modify column FISSYSPRESET char(1) default null  comment '是否预置';

alter table T_ATS_ATSITEM modify column FITEMPROPERTY char(1) default null  comment '项目属性';

alter table T_ATS_ATSITEM modify column FSRCTABLENAME nvarchar(255) default null  comment '项目数据来源表';

alter table T_ATS_ATSITEM modify column FSRCFIELDNAME nvarchar(255) default null  comment '项目数据来源字段';

alter table T_ATS_ATSITEM modify column FSRCCONDITION nvarchar(1000) default null  comment '项目数据来源过滤条件';

alter table T_ATS_ATSITEM modify column FISFIELDCREATED char(1) default ''1''  comment '是否创建物理字段';



上传图片


ATS考勤1.1基础资料(考勤项目表)

T_ATS_ATSITEM(考勤项目表)是否主键字段名字段描述数据类型长度可空缺省值备注 ✓ FID 内码 int ...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息