ATS考勤1.14基础资料(手工引入、自动对应表、多语言表)

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

ATS考勤1.14基础资料(手工引入、自动对应表、多语言表)

T_ATS_IMPORT(手工引入)
是否主键字段名字段描述数据类型长度可空缺省值备注
FID 内码 int

0

FNUMBER 编码 nvarchar 30
' '

FMGRCENTERID 人事管理中心 int



FTARGETTABLE 目标表 char 1


FFILENAME 文件名 nvarchar 255


FFILEPATH 文件路径 nvarchar 255


FISUNTITLE 无标题行 char 1


FTITLELINE 标题行号 int



FSPLITSTRING 分隔符 varchar 20


FIMPORTRULE 引入规则 char 1


FFILETYPE 文件类型 char 1


FISIMPORTING 正在引入 char 1


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


FMASTERID FMASTERID int
0

--建表脚本--

create table T_ATS_IMPORT(

FID int not null  comment '内码'

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

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

,FTARGETTABLE char(1) default null  comment '目标表'

,FFILENAME nvarchar(255) default null  comment '文件名'

,FFILEPATH nvarchar(255) default null  comment '文件路径'

,FISUNTITLE char(1) default null  comment '无标题行'

,FTITLELINE int default null  comment '标题行号'

,FSPLITSTRING varchar(20) default null  comment '分隔符'

,FIMPORTRULE char(1) default null  comment '引入规则'

,FFILETYPE char(1) default null  comment '文件类型'

,FISIMPORTING char(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 '审核日期'

,FFORBIDDERID int default null  comment '禁用人'

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

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

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

,FMASTERID int default 0  comment 'FMASTERID'

,primary key (FID)

) comment = '手工引入'


--查询--

select FID as "fid",FNUMBER as "fnumber",FMGRCENTERID as "fmgrcenterid",FTARGETTABLE as "ftargettable",FFILENAME as "ffilename",FFILEPATH as "ffilepath",FISUNTITLE as "fisuntitle",FTITLELINE as "ftitleline",FSPLITSTRING as "fsplitstring",FIMPORTRULE as "fimportrule",FFILETYPE as "ffiletype",FISIMPORTING as "fisimporting",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",FMASTERID as "fmasterid" from T_ATS_IMPORT


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

select FID as "内码",FNUMBER as "编码",FMGRCENTERID as "人事管理中心",FTARGETTABLE as "目标表",FFILENAME as "文件名",FFILEPATH as "文件路径",FISUNTITLE as "无标题行",FTITLELINE as "标题行号",FSPLITSTRING as "分隔符",FIMPORTRULE as "引入规则",FFILETYPE as "文件类型",FISIMPORTING 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 "禁用状态",FMASTERID as "FMASTERID" from T_ATS_IMPORT


--INSERT脚本--

insert into T_ATS_IMPORT(FID,FNUMBER,FMGRCENTERID,FTARGETTABLE,FFILENAME,FFILEPATH,FISUNTITLE,FTITLELINE,FSPLITSTRING,FIMPORTRULE,FFILETYPE,FISIMPORTING,FCREATEORGID,FUSEORGID,FCREATORID,FCREATEDATE,FMODIFIERID,FMODIFYDATE,FAUDITORID,FAUDITDATE,FFORBIDDERID,FFORBIDDATE,FDOCUMENTSTATUS,FFORBIDSTATUS,FMASTERID) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)


--UPDATE脚本--

update T_ATS_IMPORT set FID=?,FNUMBER=?,FMGRCENTERID=?,FTARGETTABLE=?,FFILENAME=?,FFILEPATH=?,FISUNTITLE=?,FTITLELINE=?,FSPLITSTRING=?,FIMPORTRULE=?,FFILETYPE=?,FISIMPORTING=?,FCREATEORGID=?,FUSEORGID=?,FCREATORID=?,FCREATEDATE=?,FMODIFIERID=?,FMODIFYDATE=?,FAUDITORID=?,FAUDITDATE=?,FFORBIDDERID=?,FFORBIDDATE=?,FDOCUMENTSTATUS=?,FFORBIDSTATUS=?,FMASTERID=? where FID=?


--delete脚本--

delete from T_ATS_IMPORT where FID=?


--给字段加备注--

alter table T_ATS_IMPORT comment '手工引入';

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

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

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

alter table T_ATS_IMPORT modify column FTARGETTABLE char(1) default null  comment '目标表';

alter table T_ATS_IMPORT modify column FFILENAME nvarchar(255) default null  comment '文件名';

alter table T_ATS_IMPORT modify column FFILEPATH nvarchar(255) default null  comment '文件路径';

alter table T_ATS_IMPORT modify column FISUNTITLE char(1) default null  comment '无标题行';

alter table T_ATS_IMPORT modify column FTITLELINE int default null  comment '标题行号';

alter table T_ATS_IMPORT modify column FSPLITSTRING varchar(20) default null  comment '分隔符';

alter table T_ATS_IMPORT modify column FIMPORTRULE char(1) default null  comment '引入规则';

alter table T_ATS_IMPORT modify column FFILETYPE char(1) default null  comment '文件类型';

alter table T_ATS_IMPORT modify column FISIMPORTING char(1) default null  comment '正在引入';

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

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

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

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

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

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

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

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

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

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

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

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

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



T_ATS_IMPORTFIELD(手工引入自动对应表)
是否主键字段名字段描述数据类型长度可空缺省值备注
FENTRYID 字段对应主键 int

0

FID 手工引入方案主键 int



FLISTSOURCE 下拉列表源字段 int



FTEXTREGION 固定长度源字段 varchar 20


FTARGETFIELD 目标字段 varchar 30


FISMUSTPUTFIELD 必录字段 char 1


FISKEYFIELD 关键字段 char 1


FFIELDTYPE 字段类型 int



FSIGN 符号 varchar 30


--建表脚本--

create table T_ATS_IMPORTFIELD(

FENTRYID int not null  comment '字段对应主键'

,FID int default null  comment '手工引入方案主键'

,FLISTSOURCE int default null  comment '下拉列表源字段'

,FTEXTREGION varchar(20) default null  comment '固定长度源字段'

,FTARGETFIELD varchar(30) default null  comment '目标字段'

,FISMUSTPUTFIELD char(1) default null  comment '必录字段'

,FISKEYFIELD char(1) default null  comment '关键字段'

,FFIELDTYPE int default null  comment '字段类型'

,FSIGN varchar(30) default null  comment '符号'

,primary key (FENTRYID)

) comment = '手工引入自动对应表'


--查询--

select FENTRYID as "fentryid",FID as "fid",FLISTSOURCE as "flistsource",FTEXTREGION as "ftextregion",FTARGETFIELD as "ftargetfield",FISMUSTPUTFIELD as "fismustputfield",FISKEYFIELD as "fiskeyfield",FFIELDTYPE as "ffieldtype",FSIGN as "fsign" from T_ATS_IMPORTFIELD


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

select FENTRYID as "字段对应主键",FID as "手工引入方案主键",FLISTSOURCE as "下拉列表源字段",FTEXTREGION as "固定长度源字段",FTARGETFIELD as "目标字段",FISMUSTPUTFIELD as "必录字段",FISKEYFIELD as "关键字段",FFIELDTYPE as "字段类型",FSIGN as "符号" from T_ATS_IMPORTFIELD


--INSERT脚本--

insert into T_ATS_IMPORTFIELD(FENTRYID,FID,FLISTSOURCE,FTEXTREGION,FTARGETFIELD,FISMUSTPUTFIELD,FISKEYFIELD,FFIELDTYPE,FSIGN) values (?,?,?,?,?,?,?,?,?)


--UPDATE脚本--

update T_ATS_IMPORTFIELD set FENTRYID=?,FID=?,FLISTSOURCE=?,FTEXTREGION=?,FTARGETFIELD=?,FISMUSTPUTFIELD=?,FISKEYFIELD=?,FFIELDTYPE=?,FSIGN=? where FENTRYID=?


--delete脚本--

delete from T_ATS_IMPORTFIELD where FENTRYID=?


--给字段加备注--

alter table T_ATS_IMPORTFIELD comment '手工引入自动对应表';

alter table T_ATS_IMPORTFIELD modify column FENTRYID int not null  comment '字段对应主键';

alter table T_ATS_IMPORTFIELD modify column FID int default null  comment '手工引入方案主键';

alter table T_ATS_IMPORTFIELD modify column FLISTSOURCE int default null  comment '下拉列表源字段';

alter table T_ATS_IMPORTFIELD modify column FTEXTREGION varchar(20) default null  comment '固定长度源字段';

alter table T_ATS_IMPORTFIELD modify column FTARGETFIELD varchar(30) default null  comment '目标字段';

alter table T_ATS_IMPORTFIELD modify column FISMUSTPUTFIELD char(1) default null  comment '必录字段';

alter table T_ATS_IMPORTFIELD modify column FISKEYFIELD char(1) default null  comment '关键字段';

alter table T_ATS_IMPORTFIELD modify column FFIELDTYPE int default null  comment '字段类型';

alter table T_ATS_IMPORTFIELD modify column FSIGN varchar(30) default null  comment '符号';



T_ATS_IMPORT_L(手工引入多语言表)
是否主键字段名字段描述数据类型长度可空缺省值备注
FPKID 多语言内码 int

0

FID 手工引入方案内码 int



FLOCALEID 语种 int



FNAME 名称 nvarchar 80
' '

--建表脚本--

create table T_ATS_IMPORT_L(

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

,FID int default null  comment '手工引入方案内码'

,FLOCALEID int default null  comment '语种'

,FNAME nvarchar(80) not null  comment '名称'

,primary key (FPKID)

) comment = '手工引入多语言表'


--查询--

select FPKID as "fpkid",FID as "fid",FLOCALEID as "flocaleid",FNAME as "fname" from T_ATS_IMPORT_L


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

select FPKID as "多语言内码",FID as "手工引入方案内码",FLOCALEID as "语种",FNAME as "名称" from T_ATS_IMPORT_L


--INSERT脚本--

insert into T_ATS_IMPORT_L(FPKID,FID,FLOCALEID,FNAME) values (?,?,?,?)


--UPDATE脚本--

update T_ATS_IMPORT_L set FPKID=?,FID=?,FLOCALEID=?,FNAME=? where FPKID=?


--delete脚本--

delete from T_ATS_IMPORT_L where FPKID=?


--给字段加备注--

alter table T_ATS_IMPORT_L comment '手工引入多语言表';

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

alter table T_ATS_IMPORT_L modify column FID int default null  comment '手工引入方案内码';

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

alter table T_ATS_IMPORT_L modify column FNAME nvarchar(80) not null  comment '名称';


上传图片


ATS考勤1.14基础资料(手工引入、自动对应表、多语言表)

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