ATS考勤2.4考勤计算(计算规则及参数、参数多语言表、计算规则多语言表)

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

ATS考勤2.4考勤计算(计算规则及参数、参数多语言表、计算规则多语言表)

T_ATS_CALCRULES(计算规则)
是否主键字段名字段描述数据类型长度可空缺省值备注
FID FID int

0

FMasterID FMasterID int



FNUMBER FNUMBER nvarchar 30


FMGRCENTERID 人事管理中心 int



FSCRIPT 规则内容 NTEXT



FISSYSPRESET 系统预置 nvarchar 1


FRULETYPE 规则类型 nvarchar 1


FCREATEORGID 创建组织 int



FUSEORGID 使用组织 int



FCREATORID 创建人 int



FCREATEDATE 创建日期 datetime



FMODIFIERID 修改人 int



FMODIFYDATE 修改日期 datetime



FAUDITORID 审核人 int



FAUDITDATE 审核日期 datetime



FDOCUMENTSTATUS 数据状态 nvarchar 1


FFORBIDDERID 禁用人 int



FFORBIDDATE 禁用日期 datetime



FFORBIDSTATUS 禁用状态 nvarchar 1


--建表脚本--

create table T_ATS_CALCRULES(

FID int not null  comment 'FID'

,FMasterID int default null  comment 'FMasterID'

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

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

,FSCRIPT NTEXT default null  comment '规则内容'

,FISSYSPRESET nvarchar(1) default null  comment '系统预置'

,FRULETYPE nvarchar(1) 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 nvarchar(1) default null  comment '数据状态'

,FFORBIDDERID int default null  comment '禁用人'

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

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

,primary key (FID)

) comment = '计算规则'


--查询--

select FID as "fid",FMasterID as "fmasterid",FNUMBER as "fnumber",FMGRCENTERID as "fmgrcenterid",FSCRIPT as "fscript",FISSYSPRESET as "fissyspreset",FRULETYPE as "fruletype",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_CALCRULES


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

select FID as "FID",FMasterID as "FMasterID",FNUMBER as "FNUMBER",FMGRCENTERID as "人事管理中心",FSCRIPT as "规则内容",FISSYSPRESET as "系统预置",FRULETYPE 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_CALCRULES


--INSERT脚本--

insert into T_ATS_CALCRULES(FID,FMasterID,FNUMBER,FMGRCENTERID,FSCRIPT,FISSYSPRESET,FRULETYPE,FCREATEORGID,FUSEORGID,FCREATORID,FCREATEDATE,FMODIFIERID,FMODIFYDATE,FAUDITORID,FAUDITDATE,FDOCUMENTSTATUS,FFORBIDDERID,FFORBIDDATE,FFORBIDSTATUS) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)


--UPDATE脚本--

update T_ATS_CALCRULES set FID=?,FMasterID=?,FNUMBER=?,FMGRCENTERID=?,FSCRIPT=?,FISSYSPRESET=?,FRULETYPE=?,FCREATEORGID=?,FUSEORGID=?,FCREATORID=?,FCREATEDATE=?,FMODIFIERID=?,FMODIFYDATE=?,FAUDITORID=?,FAUDITDATE=?,FDOCUMENTSTATUS=?,FFORBIDDERID=?,FFORBIDDATE=?,FFORBIDSTATUS=? where FID=?


--delete脚本--

delete from T_ATS_CALCRULES where FID=?


--给字段加备注--

alter table T_ATS_CALCRULES comment '计算规则';

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

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

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

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

alter table T_ATS_CALCRULES modify column FSCRIPT NTEXT default null  comment '规则内容';

alter table T_ATS_CALCRULES modify column FISSYSPRESET nvarchar(1) default null  comment '系统预置';

alter table T_ATS_CALCRULES modify column FRULETYPE nvarchar(1) default null  comment '规则类型';

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

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

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

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

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

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

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

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

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

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

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

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



T_ATS_CALCRULESPARAM(计算规则参数)
是否主键字段名字段描述数据类型长度可空缺省值备注
FEntryID FEntryID int

0

FID FID int



FPARAMKEY 参数 nvarchar 30


FPARAMTYPE 数据类型 nvarchar 1


FDEFAULTVALUE 默认值 nvarchar 80


FPARMISSYSPRESET 系统预置 nvarchar 1


--建表脚本--

create table T_ATS_CALCRULESPARAM(

FEntryID int not null  comment 'FEntryID'

,FID int default null  comment 'FID'

,FPARAMKEY nvarchar(30) default null  comment '参数'

,FPARAMTYPE nvarchar(1) default null  comment '数据类型'

,FDEFAULTVALUE nvarchar(80) default null  comment '默认值'

,FPARMISSYSPRESET nvarchar(1) default null  comment '系统预置'

,primary key (FEntryID)

) comment = '计算规则参数'


--查询--

select FEntryID as "fentryid",FID as "fid",FPARAMKEY as "fparamkey",FPARAMTYPE as "fparamtype",FDEFAULTVALUE as "fdefaultvalue",FPARMISSYSPRESET as "fparmissyspreset" from T_ATS_CALCRULESPARAM


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

select FEntryID as "FEntryID",FID as "FID",FPARAMKEY as "参数",FPARAMTYPE as "数据类型",FDEFAULTVALUE as "默认值",FPARMISSYSPRESET as "系统预置" from T_ATS_CALCRULESPARAM


--INSERT脚本--

insert into T_ATS_CALCRULESPARAM(FEntryID,FID,FPARAMKEY,FPARAMTYPE,FDEFAULTVALUE,FPARMISSYSPRESET) values (?,?,?,?,?,?)


--UPDATE脚本--

update T_ATS_CALCRULESPARAM set FEntryID=?,FID=?,FPARAMKEY=?,FPARAMTYPE=?,FDEFAULTVALUE=?,FPARMISSYSPRESET=? where FEntryID=?


--delete脚本--

delete from T_ATS_CALCRULESPARAM where FEntryID=?


--给字段加备注--

alter table T_ATS_CALCRULESPARAM comment '计算规则参数';

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

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

alter table T_ATS_CALCRULESPARAM modify column FPARAMKEY nvarchar(30) default null  comment '参数';

alter table T_ATS_CALCRULESPARAM modify column FPARAMTYPE nvarchar(1) default null  comment '数据类型';

alter table T_ATS_CALCRULESPARAM modify column FDEFAULTVALUE nvarchar(80) default null  comment '默认值';

alter table T_ATS_CALCRULESPARAM modify column FPARMISSYSPRESET nvarchar(1) default null  comment '系统预置';



T_ATS_CALCRULESPARAM_L(计算规则参数多语言表)
是否主键字段名字段描述数据类型长度可空缺省值备注
FPKID FPKID int

0

FEntryID FEntryID int



FLocaleID FLocaleID int



FPARAMNAME FPARAMNAME nvarchar 80


FPARMDESCRIPTION FPARMDESCRIPTION nvarchar 255


--建表脚本--

create table T_ATS_CALCRULESPARAM_L(

FPKID int not null  comment 'FPKID'

,FEntryID int default null  comment 'FEntryID'

,FLocaleID int default null  comment 'FLocaleID'

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

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

,primary key (FPKID)

) comment = '计算规则参数多语言表'


--查询--

select FPKID as "fpkid",FEntryID as "fentryid",FLocaleID as "flocaleid",FPARAMNAME as "fparamname",FPARMDESCRIPTION as "fparmdescription" from T_ATS_CALCRULESPARAM_L


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

select FPKID as "FPKID",FEntryID as "FEntryID",FLocaleID as "FLocaleID",FPARAMNAME as "FPARAMNAME",FPARMDESCRIPTION as "FPARMDESCRIPTION" from T_ATS_CALCRULESPARAM_L


--INSERT脚本--

insert into T_ATS_CALCRULESPARAM_L(FPKID,FEntryID,FLocaleID,FPARAMNAME,FPARMDESCRIPTION) values (?,?,?,?,?)


--UPDATE脚本--

update T_ATS_CALCRULESPARAM_L set FPKID=?,FEntryID=?,FLocaleID=?,FPARAMNAME=?,FPARMDESCRIPTION=? where FPKID=?


--delete脚本--

delete from T_ATS_CALCRULESPARAM_L where FPKID=?


--给字段加备注--

alter table T_ATS_CALCRULESPARAM_L comment '计算规则参数多语言表';

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

alter table T_ATS_CALCRULESPARAM_L modify column FEntryID int default null  comment 'FEntryID';

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

alter table T_ATS_CALCRULESPARAM_L modify column FPARAMNAME nvarchar(80) default null  comment 'FPARAMNAME';

alter table T_ATS_CALCRULESPARAM_L modify column FPARMDESCRIPTION nvarchar(255) default null  comment 'FPARMDESCRIPTION';



T_ATS_CALCRULES_L(计算规则多语言表)
是否主键字段名字段描述数据类型长度可空缺省值备注
FPKID FPKID int

0

FID FID int



FLocaleID FLocaleID int



FNAME FNAME nvarchar 80


FDESCRIPTION FDESCRIPTION nvarchar 255


--建表脚本--

create table T_ATS_CALCRULES_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_CALCRULES_L


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

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


--INSERT脚本--

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


--UPDATE脚本--

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


--delete脚本--

delete from T_ATS_CALCRULES_L where FPKID=?


--给字段加备注--

alter table T_ATS_CALCRULES_L comment '计算规则多语言表';

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

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

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

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

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


上传图片


ATS考勤2.4考勤计算(计算规则及参数、参数多语言表、计算规则多语言表)

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