ATS考勤2.1考勤计算(薪酬引入考勤数据、字段对应表、多语言表)

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

ATS考勤2.1考勤计算(薪酬引入考勤数据、字段对应表、多语言表)

T_ATS_ATSIMPORT(薪酬引入考勤数据)
是否主键字段名字段描述数据类型长度可空缺省值备注
FID FID int

0

FMasterID FMasterID int



FNUMBER FNUMBER nvarchar 30


FHMMGRCENTERID 人事管理中心 int



FPAMGRCENTERID 薪酬管理中心 int



FCREATEORGID 创建组织 int



FUSEORGID 使用组织 int



FCREATORID 创建人 int



FCREATEDATE 创建日期 datetime



FMODIFIERID 修改人 int



FMODIFYDATE 修改日期 datetime



FAUDITORID 审核人 int



FAUDITDATE 审核日期 datetime



FDOCUMENTSTATUS 数据状态 char 1


FFORBIDDERID 禁用人 int



FFORBIDDATE 禁用日期 datetime



FFORBIDSTATUS 禁用状态 char 1

备注:T_ATS_ATSIMPORT(薪酬引入考勤数据)


--建表脚本--

create table T_ATS_ATSIMPORT(

FID int not null  comment 'FID'

,FMasterID int default null  comment 'FMasterID'

,FNUMBER nvarchar(30) default null  comment 'FNUMBER'

,FHMMGRCENTERID int default null  comment '人事管理中心'

,FPAMGRCENTERID int default 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 '审核日期'

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

,FFORBIDDERID int default null  comment '禁用人'

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

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

,primary key (FID)

) comment = '薪酬引入考勤数据'


--查询--

select FID as "fid",FMasterID as "fmasterid",FNUMBER as "fnumber",FHMMGRCENTERID as "fhmmgrcenterid",FPAMGRCENTERID as "fpamgrcenterid",FCREATEORGID as "fcreateorgid",FUSEORGID as "fuseorgid",FCREATORID as "fcreatorid",FCREATEDATE as "fcreatedate",FMODIFIERID as "fmodifierid",FMODIFYDATE as "fmodifydate",FAUDITORID as "fauditorid",FAUDITDATE as "fauditdate",FDOCUMENTSTATUS as "fdocumentstatus",FFORBIDDERID as "fforbidderid",FFORBIDDATE as "fforbiddate",FFORBIDSTATUS as "fforbidstatus" from T_ATS_ATSIMPORT


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

select FID as "FID",FMasterID as "FMasterID",FNUMBER as "FNUMBER",FHMMGRCENTERID as "人事管理中心",FPAMGRCENTERID as "薪酬管理中心",FCREATEORGID as "创建组织",FUSEORGID as "使用组织",FCREATORID as "创建人",FCREATEDATE as "创建日期",FMODIFIERID as "修改人",FMODIFYDATE as "修改日期",FAUDITORID as "审核人",FAUDITDATE as "审核日期",FDOCUMENTSTATUS as "数据状态",FFORBIDDERID as "禁用人",FFORBIDDATE as "禁用日期",FFORBIDSTATUS as "禁用状态" from T_ATS_ATSIMPORT


--INSERT脚本--

insert into T_ATS_ATSIMPORT(FID,FMasterID,FNUMBER,FHMMGRCENTERID,FPAMGRCENTERID,FCREATEORGID,FUSEORGID,FCREATORID,FCREATEDATE,FMODIFIERID,FMODIFYDATE,FAUDITORID,FAUDITDATE,FDOCUMENTSTATUS,FFORBIDDERID,FFORBIDDATE,FFORBIDSTATUS) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)


--UPDATE脚本--

update T_ATS_ATSIMPORT set FID=?,FMasterID=?,FNUMBER=?,FHMMGRCENTERID=?,FPAMGRCENTERID=?,FCREATEORGID=?,FUSEORGID=?,FCREATORID=?,FCREATEDATE=?,FMODIFIERID=?,FMODIFYDATE=?,FAUDITORID=?,FAUDITDATE=?,FDOCUMENTSTATUS=?,FFORBIDDERID=?,FFORBIDDATE=?,FFORBIDSTATUS=? where FID=?


--delete脚本--

delete from T_ATS_ATSIMPORT where FID=?


--给字段加备注--

alter table T_ATS_ATSIMPORT comment '薪酬引入考勤数据';

alter table T_ATS_ATSIMPORT modify column FID int not null  comment 'FID';

alter table T_ATS_ATSIMPORT modify column FMasterID int default null  comment 'FMasterID';

alter table T_ATS_ATSIMPORT modify column FNUMBER nvarchar(30) default null  comment 'FNUMBER';

alter table T_ATS_ATSIMPORT modify column FHMMGRCENTERID int default null  comment '人事管理中心';

alter table T_ATS_ATSIMPORT modify column FPAMGRCENTERID int default null  comment '薪酬管理中心';

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

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

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

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

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

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

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

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

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

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

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

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



T_ATS_ATSIMPORTFIELD(薪酬引入考勤数据字段对应表)
是否主键字段名字段描述数据类型长度可空缺省值备注
FEntryID FEntryID int

0

FID FID int



FATSITEM 考勤项目 int



FPAITEM 薪酬项目 int



FISFORBID 禁用 char 1


FISIMPORTNULLVALUE 空值同步 char 1

备注:T_ATS_ATSIMPORTFIELD(薪酬引入考勤数据字段对应表)


--建表脚本--

create table T_ATS_ATSIMPORTFIELD(

FEntryID int not null  comment 'FEntryID'

,FID int default null  comment 'FID'

,FATSITEM int default null  comment '考勤项目'

,FPAITEM int default null  comment '薪酬项目'

,FISFORBID char(1) default null  comment '禁用'

,FISIMPORTNULLVALUE char(1) default null  comment '空值同步'

,primary key (FEntryID)

) comment = '薪酬引入考勤数据字段对应表'


--查询--

select FEntryID as "fentryid",FID as "fid",FATSITEM as "fatsitem",FPAITEM as "fpaitem",FISFORBID as "fisforbid",FISIMPORTNULLVALUE as "fisimportnullvalue" from T_ATS_ATSIMPORTFIELD


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

select FEntryID as "FEntryID",FID as "FID",FATSITEM as "考勤项目",FPAITEM as "薪酬项目",FISFORBID as "禁用",FISIMPORTNULLVALUE as "空值同步" from T_ATS_ATSIMPORTFIELD


--INSERT脚本--

insert into T_ATS_ATSIMPORTFIELD(FEntryID,FID,FATSITEM,FPAITEM,FISFORBID,FISIMPORTNULLVALUE) values (?,?,?,?,?,?)


--UPDATE脚本--

update T_ATS_ATSIMPORTFIELD set FEntryID=?,FID=?,FATSITEM=?,FPAITEM=?,FISFORBID=?,FISIMPORTNULLVALUE=? where FEntryID=?


--delete脚本--

delete from T_ATS_ATSIMPORTFIELD where FEntryID=?


--给字段加备注--

alter table T_ATS_ATSIMPORTFIELD comment '薪酬引入考勤数据字段对应表';

alter table T_ATS_ATSIMPORTFIELD modify column FEntryID int not null  comment 'FEntryID';

alter table T_ATS_ATSIMPORTFIELD modify column FID int default null  comment 'FID';

alter table T_ATS_ATSIMPORTFIELD modify column FATSITEM int default null  comment '考勤项目';

alter table T_ATS_ATSIMPORTFIELD modify column FPAITEM int default null  comment '薪酬项目';

alter table T_ATS_ATSIMPORTFIELD modify column FISFORBID char(1) default null  comment '禁用';

alter table T_ATS_ATSIMPORTFIELD modify column FISIMPORTNULLVALUE char(1) default null  comment '空值同步';



T_ATS_ATSIMPORT_L(薪酬引入考勤数据多语言表)
是否主键字段名字段描述数据类型长度可空缺省值备注
FPKID FPKID int

0

FID FID int



FLocaleID FLocaleID int



FNAME FNAME nvarchar 80


FDESCRIPTION FDESCRIPTION nvarchar 255

备注:T_ATS_ATSIMPORT_L(薪酬引入考勤数据多语言表)


--建表脚本--

create table T_ATS_ATSIMPORT_L(

FPKID int not null  comment 'FPKID'

,FID int default null  comment 'FID'

,FLocaleID int default null  comment 'FLocaleID'

,FNAME nvarchar(80) default null  comment 'FNAME'

,FDESCRIPTION nvarchar(255) default null  comment 'FDESCRIPTION'

,primary key (FPKID)

) comment = '薪酬引入考勤数据多语言表'


--查询--

select FPKID as "fpkid",FID as "fid",FLocaleID as "flocaleid",FNAME as "fname",FDESCRIPTION as "fdescription" from T_ATS_ATSIMPORT_L


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

select FPKID as "FPKID",FID as "FID",FLocaleID as "FLocaleID",FNAME as "FNAME",FDESCRIPTION as "FDESCRIPTION" from T_ATS_ATSIMPORT_L


--INSERT脚本--

insert into T_ATS_ATSIMPORT_L(FPKID,FID,FLocaleID,FNAME,FDESCRIPTION) values (?,?,?,?,?)


--UPDATE脚本--

update T_ATS_ATSIMPORT_L set FPKID=?,FID=?,FLocaleID=?,FNAME=?,FDESCRIPTION=? where FPKID=?


--delete脚本--

delete from T_ATS_ATSIMPORT_L where FPKID=?


--给字段加备注--

alter table T_ATS_ATSIMPORT_L comment '薪酬引入考勤数据多语言表';

alter table T_ATS_ATSIMPORT_L modify column FPKID int not null  comment 'FPKID';

alter table T_ATS_ATSIMPORT_L modify column FID int default null  comment 'FID';

alter table T_ATS_ATSIMPORT_L modify column FLocaleID int default null  comment 'FLocaleID';

alter table T_ATS_ATSIMPORT_L modify column FNAME nvarchar(80) default null  comment 'FNAME';

alter table T_ATS_ATSIMPORT_L modify column FDESCRIPTION nvarchar(255) default null  comment 'FDESCRIPTION';


上传图片


ATS考勤2.1考勤计算(薪酬引入考勤数据、字段对应表、多语言表)

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