HR-基础管理(业务委托)

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

HR-基础管理(业务委托)

T_HR_BUSINESSDELEGATE(hr业务委托)
是否主键字段名字段描述数据类型长度可空缺省值备注
FID 业务委托内码 int

0

FNUMBER 编码 nvarchar 80


FSOURCEBOID 源业务组织 int

0

FMANAGEMENTCENTERID 目标管理中心 int

0

FDELEGATETYPE 委托类型 nvarchar 20


FEFFECTDATE 生效日期 datetime



FEXPIRYDATE 失效日期 datetime



FREMARK 描述 nvarchar 255


FCREATEORGID 创建组织 int

0

FUSEORGID 使用组织 int

0

FCREATORID 创建人 int

0

FMODIFIERID 修改人 int

0

FAUDITORID 审核人 int

0

FFORBIDORID 禁用人 int

0

FCREATEDATE 创建日期 datetime



FMODIFYDATE 修改日期 datetime



FAUDITDATE 审核日期 datetime



FFORBIDDATE 禁用日期 datetime



FDOCUMENTSTATUS 数据状态 char 1


FFORBIDSTATUS 禁用状态 char 1


--建表脚本--

create table T_HR_BUSINESSDELEGATE(

FID int not null  comment '业务委托内码'

,FNUMBER nvarchar(80) default null  comment '编码'

,FSOURCEBOID int not null  comment '源业务组织'

,FMANAGEMENTCENTERID int not null  comment '目标管理中心'

,FDELEGATETYPE nvarchar(20) default null  comment '委托类型'

,FEFFECTDATE datetime default null  comment '生效日期'

,FEXPIRYDATE datetime default null  comment '失效日期'

,FREMARK nvarchar(255) default null  comment '描述'

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

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

,FCREATORID int not null  comment '创建人'

,FMODIFIERID int not null  comment '修改人'

,FAUDITORID int not null  comment '审核人'

,FFORBIDORID int not null  comment '禁用人'

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

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

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

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

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

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

,primary key (FID)

) comment = 'hr业务委托'


--查询--

select FID as "fid",FNUMBER as "fnumber",FSOURCEBOID as "fsourceboid",FMANAGEMENTCENTERID as "fmanagementcenterid",FDELEGATETYPE as "fdelegatetype",FEFFECTDATE as "feffectdate",FEXPIRYDATE as "fexpirydate",FREMARK as "fremark",FCREATEORGID as "fcreateorgid",FUSEORGID as "fuseorgid",FCREATORID as "fcreatorid",FMODIFIERID as "fmodifierid",FAUDITORID as "fauditorid",FFORBIDORID as "fforbidorid",FCREATEDATE as "fcreatedate",FMODIFYDATE as "fmodifydate",FAUDITDATE as "fauditdate",FFORBIDDATE as "fforbiddate",FDOCUMENTSTATUS as "fdocumentstatus",FFORBIDSTATUS as "fforbidstatus" from T_HR_BUSINESSDELEGATE


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

select FID as "业务委托内码",FNUMBER as "编码",FSOURCEBOID as "源业务组织",FMANAGEMENTCENTERID as "目标管理中心",FDELEGATETYPE as "委托类型",FEFFECTDATE as "生效日期",FEXPIRYDATE as "失效日期",FREMARK as "描述",FCREATEORGID as "创建组织",FUSEORGID as "使用组织",FCREATORID as "创建人",FMODIFIERID as "修改人",FAUDITORID as "审核人",FFORBIDORID as "禁用人",FCREATEDATE as "创建日期",FMODIFYDATE as "修改日期",FAUDITDATE as "审核日期",FFORBIDDATE as "禁用日期",FDOCUMENTSTATUS as "数据状态",FFORBIDSTATUS as "禁用状态" from T_HR_BUSINESSDELEGATE


--INSERT脚本--

insert into T_HR_BUSINESSDELEGATE(FID,FNUMBER,FSOURCEBOID,FMANAGEMENTCENTERID,FDELEGATETYPE,FEFFECTDATE,FEXPIRYDATE,FREMARK,FCREATEORGID,FUSEORGID,FCREATORID,FMODIFIERID,FAUDITORID,FFORBIDORID,FCREATEDATE,FMODIFYDATE,FAUDITDATE,FFORBIDDATE,FDOCUMENTSTATUS,FFORBIDSTATUS) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)


--UPDATE脚本--

update T_HR_BUSINESSDELEGATE set FID=?,FNUMBER=?,FSOURCEBOID=?,FMANAGEMENTCENTERID=?,FDELEGATETYPE=?,FEFFECTDATE=?,FEXPIRYDATE=?,FREMARK=?,FCREATEORGID=?,FUSEORGID=?,FCREATORID=?,FMODIFIERID=?,FAUDITORID=?,FFORBIDORID=?,FCREATEDATE=?,FMODIFYDATE=?,FAUDITDATE=?,FFORBIDDATE=?,FDOCUMENTSTATUS=?,FFORBIDSTATUS=? where FID=?


--delete脚本--

delete from T_HR_BUSINESSDELEGATE where FID=?


--给字段加备注--

alter table T_HR_BUSINESSDELEGATE comment 'hr业务委托';

alter table T_HR_BUSINESSDELEGATE modify column FID int not null  comment '业务委托内码';

alter table T_HR_BUSINESSDELEGATE modify column FNUMBER nvarchar(80) default null  comment '编码';

alter table T_HR_BUSINESSDELEGATE modify column FSOURCEBOID int not null  comment '源业务组织';

alter table T_HR_BUSINESSDELEGATE modify column FMANAGEMENTCENTERID int not null  comment '目标管理中心';

alter table T_HR_BUSINESSDELEGATE modify column FDELEGATETYPE nvarchar(20) default null  comment '委托类型';

alter table T_HR_BUSINESSDELEGATE modify column FEFFECTDATE datetime default null  comment '生效日期';

alter table T_HR_BUSINESSDELEGATE modify column FEXPIRYDATE datetime default null  comment '失效日期';

alter table T_HR_BUSINESSDELEGATE modify column FREMARK nvarchar(255) default null  comment '描述';

alter table T_HR_BUSINESSDELEGATE modify column FCREATEORGID int not null  comment '创建组织';

alter table T_HR_BUSINESSDELEGATE modify column FUSEORGID int not null  comment '使用组织';

alter table T_HR_BUSINESSDELEGATE modify column FCREATORID int not null  comment '创建人';

alter table T_HR_BUSINESSDELEGATE modify column FMODIFIERID int not null  comment '修改人';

alter table T_HR_BUSINESSDELEGATE modify column FAUDITORID int not null  comment '审核人';

alter table T_HR_BUSINESSDELEGATE modify column FFORBIDORID int not null  comment '禁用人';

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

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

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

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

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

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


T_HR_BUSINESSDELEGATE_L(hr业务委托)
是否主键字段名字段描述数据类型长度可空缺省值备注
FPKID 多语言内码 int

0

FID 业务委托内码 int



FLOCALEID 语言码 int



FNAME 名称 nvarchar 100


--建表脚本--

create table T_HR_BUSINESSDELEGATE_L(

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

,FID int default null  comment '业务委托内码'

,FLOCALEID int default null  comment '语言码'

,FNAME nvarchar(100) default null  comment '名称'

,primary key (FPKID)

) comment = 'hr业务委托'


--查询--

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


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

select FPKID as "多语言内码",FID as "业务委托内码",FLOCALEID as "语言码",FNAME as "名称" from T_HR_BUSINESSDELEGATE_L


--INSERT脚本--

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


--UPDATE脚本--

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


--delete脚本--

delete from T_HR_BUSINESSDELEGATE_L where FPKID=?


--给字段加备注--

alter table T_HR_BUSINESSDELEGATE_L comment 'hr业务委托';

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

alter table T_HR_BUSINESSDELEGATE_L modify column FID int default null  comment '业务委托内码';

alter table T_HR_BUSINESSDELEGATE_L modify column FLOCALEID int default null  comment '语言码';

alter table T_HR_BUSINESSDELEGATE_L modify column FNAME nvarchar(100) default null  comment '名称';


上传图片


HR-基础管理(业务委托)

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