ATS考勤2.8考勤计算(补签卡、多语言表)

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

ATS考勤2.8考勤计算(补签卡、多语言表)

T_ATS_EDITATTEND(补签卡)
是否主键字段名字段描述数据类型长度可空缺省值备注
FID 内码 int

0

FDOCID 考勤档案内码 int



FSTAFFID 员工内码 int



FPERSONID 人员内码 int



FMGRCENTERID 人事管理中心内码 int



FPRIMARYORGID 主业务组织内码 int



FDATE 考勤日期 datetime



FSHIFTID 班次id int



FEDITTYPE 补签卡类型 char 1


FEDITREASON 补签卡原因 varchar 36


FEDITTIME 补签时间点 datetime



FSHIFTDETAILS 段次 int



FCREATORID 创建人 int



FCREATEDATE 创建日期 datetime



FMODIFIERID 修改人 int



FMODIFYDATE 修改日期 datetime



FAUDITORID 审核人 int



FAUDITDATE 审核日期 datetime



FFORBIDDERID 禁用人 int



FFORBIDDATE 禁用日期 datetime



FDOCUMENTSTATUS 数据状态 char 1


FFORBIDSTATUS 禁用状态 char 1


FBILLNO 单据编号 nvarchar 30


FBILLTYPEID 单据类型 varchar 36


FApplyDate 申请日期 datetime



--建表脚本--

create table T_ATS_EDITATTEND(

FID int not null  comment '内码'

,FDOCID int default null  comment '考勤档案内码'

,FSTAFFID int default null  comment '员工内码'

,FPERSONID int default null  comment '人员内码'

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

,FPRIMARYORGID int default null  comment '主业务组织内码'

,FDATE datetime default null  comment '考勤日期'

,FSHIFTID int default null  comment '班次id'

,FEDITTYPE char(1) default null  comment '补签卡类型'

,FEDITREASON varchar(36) default null  comment '补签卡原因'

,FEDITTIME datetime default null  comment '补签时间点'

,FSHIFTDETAILS 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 '禁用状态'

,FBILLNO nvarchar(30) default null  comment '单据编号'

,FBILLTYPEID varchar(36) default null  comment '单据类型'

,FApplyDate datetime default null  comment '申请日期'

,primary key (FID)

) comment = '补签卡'


--查询--

select FID as "fid",FDOCID as "fdocid",FSTAFFID as "fstaffid",FPERSONID as "fpersonid",FMGRCENTERID as "fmgrcenterid",FPRIMARYORGID as "fprimaryorgid",FDATE as "fdate",FSHIFTID as "fshiftid",FEDITTYPE as "fedittype",FEDITREASON as "feditreason",FEDITTIME as "fedittime",FSHIFTDETAILS as "fshiftdetails",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",FBILLNO as "fbillno",FBILLTYPEID as "fbilltypeid",FApplyDate as "fapplydate" from T_ATS_EDITATTEND


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

select FID as "内码",FDOCID as "考勤档案内码",FSTAFFID as "员工内码",FPERSONID as "人员内码",FMGRCENTERID as "人事管理中心内码",FPRIMARYORGID as "主业务组织内码",FDATE as "考勤日期",FSHIFTID as "班次id",FEDITTYPE as "补签卡类型",FEDITREASON as "补签卡原因",FEDITTIME as "补签时间点",FSHIFTDETAILS as "段次",FCREATORID as "创建人",FCREATEDATE as "创建日期",FMODIFIERID as "修改人",FMODIFYDATE as "修改日期",FAUDITORID as "审核人",FAUDITDATE as "审核日期",FFORBIDDERID as "禁用人",FFORBIDDATE as "禁用日期",FDOCUMENTSTATUS as "数据状态",FFORBIDSTATUS as "禁用状态",FBILLNO as "单据编号",FBILLTYPEID as "单据类型",FApplyDate as "申请日期" from T_ATS_EDITATTEND


--INSERT脚本--

insert into T_ATS_EDITATTEND(FID,FDOCID,FSTAFFID,FPERSONID,FMGRCENTERID,FPRIMARYORGID,FDATE,FSHIFTID,FEDITTYPE,FEDITREASON,FEDITTIME,FSHIFTDETAILS,FCREATORID,FCREATEDATE,FMODIFIERID,FMODIFYDATE,FAUDITORID,FAUDITDATE,FFORBIDDERID,FFORBIDDATE,FDOCUMENTSTATUS,FFORBIDSTATUS,FBILLNO,FBILLTYPEID,FApplyDate) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)


--UPDATE脚本--

update T_ATS_EDITATTEND set FID=?,FDOCID=?,FSTAFFID=?,FPERSONID=?,FMGRCENTERID=?,FPRIMARYORGID=?,FDATE=?,FSHIFTID=?,FEDITTYPE=?,FEDITREASON=?,FEDITTIME=?,FSHIFTDETAILS=?,FCREATORID=?,FCREATEDATE=?,FMODIFIERID=?,FMODIFYDATE=?,FAUDITORID=?,FAUDITDATE=?,FFORBIDDERID=?,FFORBIDDATE=?,FDOCUMENTSTATUS=?,FFORBIDSTATUS=?,FBILLNO=?,FBILLTYPEID=?,FApplyDate=? where FID=?


--delete脚本--

delete from T_ATS_EDITATTEND where FID=?


--给字段加备注--

alter table T_ATS_EDITATTEND comment '补签卡';

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

alter table T_ATS_EDITATTEND modify column FDOCID int default null  comment '考勤档案内码';

alter table T_ATS_EDITATTEND modify column FSTAFFID int default null  comment '员工内码';

alter table T_ATS_EDITATTEND modify column FPERSONID int default null  comment '人员内码';

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

alter table T_ATS_EDITATTEND modify column FPRIMARYORGID int default null  comment '主业务组织内码';

alter table T_ATS_EDITATTEND modify column FDATE datetime default null  comment '考勤日期';

alter table T_ATS_EDITATTEND modify column FSHIFTID int default null  comment '班次id';

alter table T_ATS_EDITATTEND modify column FEDITTYPE char(1) default null  comment '补签卡类型';

alter table T_ATS_EDITATTEND modify column FEDITREASON varchar(36) default null  comment '补签卡原因';

alter table T_ATS_EDITATTEND modify column FEDITTIME datetime default null  comment '补签时间点';

alter table T_ATS_EDITATTEND modify column FSHIFTDETAILS int default null  comment '段次';

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

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

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

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

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

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

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

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

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

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

alter table T_ATS_EDITATTEND modify column FBILLNO nvarchar(30) default null  comment '单据编号';

alter table T_ATS_EDITATTEND modify column FBILLTYPEID varchar(36) default null  comment '单据类型';

alter table T_ATS_EDITATTEND modify column FApplyDate datetime default null  comment '申请日期';



T_ATS_EDITATTEND_L(补签卡多语言表)
是否主键字段名字段描述数据类型长度可空缺省值备注
FPKID 多语言内码 int

0

FID 补签卡内码 int



FLOCALEID 语种 int



FDESCRIPTION 备注 nvarchar 255 ' '

--建表脚本--

create table T_ATS_EDITATTEND_L(

FPKID int not null  comment '多语言内码'

,FID int default null  comment '补签卡内码'

,FLOCALEID int default null  comment '语种'

,FDESCRIPTION nvarchar(255) default ' '  comment '备注'

,primary key (FPKID)

) comment = '补签卡多语言表'


--查询--

select FPKID as "fpkid",FID as "fid",FLOCALEID as "flocaleid",FDESCRIPTION as "fdescription" from T_ATS_EDITATTEND_L


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

select FPKID as "多语言内码",FID as "补签卡内码",FLOCALEID as "语种",FDESCRIPTION as "备注" from T_ATS_EDITATTEND_L


--INSERT脚本--

insert into T_ATS_EDITATTEND_L(FPKID,FID,FLOCALEID,FDESCRIPTION) values (?,?,?,?)


--UPDATE脚本--

update T_ATS_EDITATTEND_L set FPKID=?,FID=?,FLOCALEID=?,FDESCRIPTION=? where FPKID=?


--delete脚本--

delete from T_ATS_EDITATTEND_L where FPKID=?


--给字段加备注--

alter table T_ATS_EDITATTEND_L comment '补签卡多语言表';

alter table T_ATS_EDITATTEND_L modify column FPKID int not null  comment '多语言内码';

alter table T_ATS_EDITATTEND_L modify column FID int default null  comment '补签卡内码';

alter table T_ATS_EDITATTEND_L modify column FLOCALEID int default null  comment '语种';

alter table T_ATS_EDITATTEND_L modify column FDESCRIPTION nvarchar(255) default ' '  comment '备注';


上传图片


ATS考勤2.8考勤计算(补签卡、多语言表)

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