--use master
---- 创建数据库
----exec xp_cmdshell 'mkdir d:\bank',no_output
--if exists (select * from sysdatabases where name = 'oa')
-- drop database oa
--go
--use master
--create database oa
--on
--primary
--(
-- name = 'oa_data',filename = 'F:\Program Files\MyEclipse 5.5.1 GA\eclipse\f\workspace\OASystem\oa_data.mdf',size=10,maxsize=100,filegrowth = 10%
--)
--log on
--(
-- name = 'oa_log',filename='F:\Program Files\MyEclipse 5.5.1 GA\eclipse\f\workspace\OASystem\oa_log.ldf',size=5,maxsize=20,filegrowth=1
--)
--go
-- 创建表
-- 用户信息表
use oa
go
if exists(select * from sysobjects where name = 'oa_user')
drop table oa_user
create table oa_user
(
id int identity(1,1) not null, 无意义自动增长列
zhangh nvarchar(25) not null, 账号
zhangm nvarchar(25) not null, 密码
name nvarchar(30) not null, 真实姓名
nic nvarchar(30) not null, 昵称
gangw nvarchar(35) not null, 岗位
bum nvarchar(35) not null, 部门
mail nvarchar(30) not null, 电子邮件
shouj nvarchar(20) not null, 手机号
gphone nvarchar(20) null, 固定电话
jzhu nvarchar(80) null, 家庭住址
ip nvarchar(20) not null, ip地址
cishu nvarchar(10) not null, 登陆次数
datime nvarchar(30) null, 最后登陆时间
status nvarchar(10) null 状态
)
go
-- 创建表
-- 用户计划 表 没有写代码啊,还是写了找不到了啊????????????????
use oa
go
if exists(select * from sysobjects where name = 'oa_jiahua')
drop table oa_jiahua
create table oa_jiahua
(
id int identity(1,1) not null, 无意义自动增长列
mc nvarchar(50) not null, 计划名称
fw nvarchar(30) null, 计划范围
leib nvarchar(30) not null, 计划类别
jibie nvarchar(15) not null, 计划级别
zhuangt nvarchar(15) not null, 计划状态
shij nvarchar(20) not null, 时间类别
shit nvarchar(50) not null, 计划时间
content nvarchar(100) not null, 计划内容
zhi nvarchar(100) not null, 执行情况
fj nvarchar(30) null, 计划附件
gl nvarchar(20) null, 计划关联
jhr nvarchar(30) null, 计划人
bum nvarchar(20) null, 所在部门
issp nvarchar(10) null 是否审批
)
go
-- 创建表
-- 员工任务表
use oa
go
if exists(select * from sysobjects where name = 'renwu')
drop table renwu
create table renwu
(
id int identity(1,1) not null, 无意义自动增长列,主键
zhuti nvarchar(50) not null, 任务主题
zhongy nvarchar(15) not null, 重要程度
jinj nvarchar(15) not null, 紧急程度
jind nvarchar(10) not null, 执行进度
xiaf nvarchar(20) not null, 下发人
zhix nvarchar(20) not null, 执行人
cany nvarchar(80) null, 参与人
xftime nvarchar(30) not null, 下发时间
finishtime nvarchar(30) null, 完成时间
content text not null, 任务内容
fj nvarchar(10) null, 任务附件
guanlian nvarchar(10) null, 关联部门
atbum nvarchar(10) not null, 所在部门
issp nvarchar(10) not null, 是否审批
rwcj nvarchar(20) not null 任务创建人
)
go
-- 创建表
-- 任务进度表
use oa
go
if exists(select * from sysobjects where name = 'renwu_jind')
drop table renwu_jind
create table renwu_jind
(
jind_id int identity(1,1) not null,
jdcase nvarchar(20) not null,
jdshow text not null,
jdtime nvarchar(20) not null,
fj nvarchar(20) not null,
writer nvarchar(20) not null,
renwu_id nvarchar(20) not null
)
go
-- 创建表
-- 任务意见表
use oa
go
if exists(select * from sysobjects where name = 'oa_yijian')
drop table oa_yijian
create table oa_yijian
(
id int identity(1,1) not null,
yijian text not null,
renw_id nvarchar(20) not null,
yijtime nvarchar(20) not null,
writer nvarchar(20) not null
)
go
-- 创建表
-- 员工日志表
use oa
go
if exists(select * from sysobjects where name = 'oa_rizhi')
drop table oa_rizhi
create table oa_rizhi
(
id int identity(1,1) not null,
title nvarchar(50) not null,
type nvarchar(15) not null,
sercet nvarchar(10) not null,
rctime datetime not null,
content text not null,
writer nvarchar(10) not null,
cjtime datetime not null
)
go
-- 创建表
-- 员工日程表
use oa
go
if exists(select * from sysobjects where name = 'oa_richeng')
drop table oa_richeng
create table oa_richeng
(
id int identity(1,1) not null,
zhuti nvarchar(25) not null,
starttime datetime not null,
endtime datetime not null,
arrtype nvarchar(15) not null,
secret nvarchar(15) not null,
priority nvarchar(15) not null,
finish nvarchar(15) not null,
awake nvarchar(15) not null,
content text not null,
writer nvarchar(20) not null,
cjtime nvarchar(20) not null
)
go
-- 创建表
-- 出差信息表
use oa
go
if exists(select * from sysobjects where name = 'oa_chuchai')
drop table oa_chuchai
create table oa_chuchai
(
id int identity(1,1) not null,
title nvarchar(20) not null,
secret nvarchar(10) not null,
jinj nvarchar(10) not null,
ccr nvarchar(15) not null,
mud nvarchar(20) not null,
cft nvarchar(20) not null,
yft nvarchar(20) not null,
ccs text not null,
ischu nvarchar(10) not null,
yijian nvarchar(30) not null,
ctr nvarchar(10) not null,
ctt nvarchar(20) not null
)
go
-- 创建表
-- 请假信息表
use oa
go
if exists(select * from sysobjects where name = 'oa_qingjia')
drop table oa_qingjia
create table oa_qingjia
(
id int identity(1,1) not null,
title nvarchar(30) not null,
secret nvarchar(10) not null,
jinj nvarchar(10) not null,
type nvarchar(15) not null,
qjr nvarchar(20) not null,
bum nvarchar(20) not null,
starttime nvarchar(20) not null,
endtime nvarchar(20) not null,
reason text not null,
sessn nvarchar(10) not null,
ischu nvarchar(10) not null,
qjt datetime not null,
chuyi nvarchar(20) not null,
)
go
-- 创建表
-- 加班信息表
use oa
go
if exists(select * from sysobjects where name = 'oa_jiaban')
drop table oa_jiaban
create table oa_jiaban
(
id int identity(1,1) not null,
title nvarchar(30) not null,
secret nvarchar(10) not null,
jinj nvarchar(10) not null,
jiac nvarchar(10) not null,
fzr nvarchar(10) not null,
jias text not null,
jiar nvarchar(30) not null,
jiad nvarchar(10) not null,
starttime nvarchar(20) not null,
endtime nvarchar(20) not null,
fad nvarchar(5) not null,
ischu nvarchar(5) not null,
yijian nvarchar(20) not null,
cjr nvarchar(10) not null,
cjt nvarchar(15) not null
)
go
---- 创建表
---- 考勤信息表
--use oa
--go
--if exists(select * from sysobjects where name = 'oa_kaoqin')
-- drop table oa_kaoqin
--create table oa_kaoqin
--(
-- id int identity(1,1) not null,
-- name nvarchar(20) not null,
-- skr datetime not null,
-- skc datetime not null,
-- xkr datetime not null,
-- xkc da
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
oa办公系统(带聊天室功能) (193个子文件)
firework.au 6KB
syu.au 437B
example01.html.bak 2KB
JihuaDao.class 8KB
UserDao.class 7KB
QingjiaDao.class 6KB
NewsDao.class 5KB
jhanabi.class 5KB
ChatDao.class 5KB
MenuDao.class 4KB
alcsnow.class 3KB
Users.class 3KB
Jihua.class 3KB
ChuchaiInfo.class 3KB
jh.class 3KB
QingJia.class 3KB
Renwu.class 3KB
RolesDao.class 3KB
login.class 3KB
Conn.class 3KB
TreeGen.class 2KB
Xinjrw.class 2KB
Chat.class 2KB
RenwuDao.class 2KB
ChuchaiDao.class 2KB
Paper.class 2KB
ConnectionManager.class 1KB
Menu.class 1KB
News.class 1KB
Roles.class 1KB
.classpath 410B
styles.css 6KB
dtree.css 795B
Thumbs.db 21KB
Thumbs.db 13KB
bar024.gif 6KB
globe.gif 1KB
trash.gif 1KB
question.gif 1KB
base.gif 1KB
nolines_plus.gif 870B
nolines_minus.gif 861B
musicfolder.gif 633B
imgfolder.gif 622B
page.gif 582B
folderopen.gif 376B
folder.gif 372B
cd.gif 239B
plus.gif 89B
plusbottom.gif 88B
minus.gif 86B
minusbottom.gif 85B
join.gif 69B
line.gif 66B
joinbottom.gif 66B
empty.gif 62B
index.htm 1KB
merry.htm 780B
zhuce.html 7KB
api.html 5KB
login.html 2KB
example01.html 2KB
menu1.html 995B
index.html 771B
index.html 770B
index.html 764B
ajax.html 671B
rwindex.html 650B
sqljdbc.jar 227KB
JihuaDao.java 8KB
UserDao.java 7KB
NewsDao.java 6KB
QingjiaDao.java 5KB
ChatDao.java 5KB
MenuDao.java 4KB
Conn.java 4KB
RolesDao.java 2KB
jh.java 2KB
Xinjrw.java 2KB
Users.java 2KB
Jihua.java 2KB
ChuchaiInfo.java 2KB
QingJia.java 2KB
Renwu.java 2KB
login.java 2KB
ChuchaiDao.java 1KB
RenwuDao.java 1KB
TreeGen.java 1KB
Paper.java 1KB
ConnectionManager.java 1KB
Chat.java 1KB
Menu.java 686B
News.java 630B
Roles.java 575B
xq05.jpg 255KB
yanhua.jpg 35KB
noel-christmas.jpg 35KB
topic.jpg 26KB
xq02.jpg 3KB
d7.jpg 3KB
共 193 条
- 1
- 2
资源评论
- W_WIN2015-03-30表示不会用+1
- inywatybz2013-01-21我表示不会用,你传的只是文件吧。是基于一般OA软件下运行的是么?
liguangwei
- 粉丝: 2
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功