此系统同时支持mysql,sqlserver,sqlite三种数据库,有javaswing窗体和C#窗体两套代码
数据库文件说明
数据库设计
关系模型
管理员(主键,用户名,密码,创建时间,姓名)
部门(主键,名称,联系电话)
员工(主键,姓名,电话,性别,部门)
物料(主键,物料名称,编号,价格,类型)
出入库(主键,物料,操作人员,数量(出库为负))
数据字典
删改查sql语句示范
------------------
-- 这是删改查语句,每次选中其中一句执行即可,新增数据语句在另一个sql里面
------------------
-- 管理员 删除语句
delete from tb_admin where id = ''; -- 根据id删除
-- 管理员 更新语句
update tb_admin set id='' where id=''; -- 根据id更新
-- 管理员 查询语句
select * from tb_admin where 1=1 ; -- 根据查询条件查询
-- 部门 删除语句
delete from tb_dept where id = ''; -- 根据id删除
-- 部门 更新语句
update tb_dept set id='' where id=''; -- 根据id更新
-- 部门 查询语句
select * from tb_dept where 1=1 ; -- 根据查询条件查询
-- 员工 删除语句
delete from tb_user where id = ''; -- 根据id删除
-- 员工 更新语句
update tb_user set id='' where id=''; -- 根据id更新
-- 员工 查询语句
select * from tb_user where 1=1 ; -- 根据查询条件查询
-- 物料 删除语句
delete from tb_goods where id = ''; -- 根据id删除
-- 物料 更新语句
update tb_goods set id='' where id=''; -- 根据id更新
-- 物料 查询语句
select * from tb_goods where 1=1 ; -- 根据查询条件查询
-- 出入库 删除语句
delete from tb_inout where id = ''; -- 根据id删除
-- 出入库 更新语句
update tb_inout set id='' where id=''; -- 根据id更新
-- 出入库 查询语句
select * from tb_inout where 1=1 ; -- 根据查询条件查询
系统截图