1700java进销存管理系统Myeclipse开发sqlserver数据库web结构java编程计算机网页项目

embedded/2024/11/13 9:13:27/

一、源码特点
     java web进销存管理系统是一套完善的java web信息管理系统,对理解JSP java编程开发语言有帮助,系统具有完整的源代码和数据库,系统主要采用B/S模式开发。开发环境为 TOMCAT7.0,Myeclipse8.5开发,数据库为sqlserver2008,使用java语言开发。

java 进销存管理系统


二、功能介绍

(1)用户管理:对用户信息进行添加、删除、修改和查看
(2)材料管理:对材料信息进行添加、删除、修改和查看
(3)采购申请管理:对采购申请信息进行添加、删除、修改和查看
(4)入库申请管理:对入库申请信息进行添加、删除、修改和查看
(5)材料入库管理:对材料入库信息进行添加、删除、修改和查看
(6)材料领用申请管理:对材料领用申请信息进行添加、删除、修改和查看
(7)材料出库管理:对材料出库信息进行添加、删除、修改和查看
(8)采购退货管理:对采购退货信息进行添加、删除、修改和查看
(9)产品管理:对产品信息进行添加、删除、修改和查看
(10)销售订单管理:对销售订单信息进行添加、删除、修改和查看
(11)销售退货管理:对销售退货信息进行添加、删除、修改和查看

数据库设计

BEGIN
CREATE TABLE [dbo].[yonghu]([yhid] [int] IDENTITY(1,1) NOT NULL,
[yhm] [VARCHAR](40),
[mm] [VARCHAR](40),
[xm] [VARCHAR](40),
[qx] [VARCHAR](40),
[lxdh] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'yonghu', @level2type=N'COLUMN', @level2name=N'yhm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'密码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'yonghu', @level2type=N'COLUMN', @level2name=N'mm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'姓名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'yonghu', @level2type=N'COLUMN', @level2name=N'xm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'权限' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'yonghu', @level2type=N'COLUMN', @level2name=N'qx'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'联系电话' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'yonghu', @level2type=N'COLUMN', @level2name=N'lxdh'
BEGIN
CREATE TABLE [dbo].[cailiao]([clid] [int] IDENTITY(1,1) NOT NULL,
[clmc] [VARCHAR](40),
[js] [VARCHAR](40),
[cd] [VARCHAR](40),
[yt] [VARCHAR](40),
[sl] [VARCHAR](40),
[jg] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'材料名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cailiao', @level2type=N'COLUMN', @level2name=N'clmc'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'介绍' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cailiao', @level2type=N'COLUMN', @level2name=N'js'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'产地' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cailiao', @level2type=N'COLUMN', @level2name=N'cd'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用途' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cailiao', @level2type=N'COLUMN', @level2name=N'yt'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cailiao', @level2type=N'COLUMN', @level2name=N'sl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'价格' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cailiao', @level2type=N'COLUMN', @level2name=N'jg'
BEGIN
CREATE TABLE [dbo].[cgsq]([cgsqid] [int] IDENTITY(1,1) NOT NULL,
[cgls] [VARCHAR](40),
[bt] [VARCHAR](40),
[nr] [VARCHAR](40),
[gys] [VARCHAR](40),
[cl] [VARCHAR](40),
[sl] [VARCHAR](40),
[yh] [VARCHAR](40),
[sqsj] [VARCHAR](40),
[zt] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'采购流水' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cgsq', @level2type=N'COLUMN', @level2name=N'cgls'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'标题' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cgsq', @level2type=N'COLUMN', @level2name=N'bt'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cgsq', @level2type=N'COLUMN', @level2name=N'nr'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'供应商' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cgsq', @level2type=N'COLUMN', @level2name=N'gys'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'材料' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cgsq', @level2type=N'COLUMN', @level2name=N'cl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cgsq', @level2type=N'COLUMN', @level2name=N'sl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cgsq', @level2type=N'COLUMN', @level2name=N'yh'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cgsq', @level2type=N'COLUMN', @level2name=N'sqsj'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cgsq', @level2type=N'COLUMN', @level2name=N'zt'
BEGIN
CREATE TABLE [dbo].[rksq]([rksqid] [int] IDENTITY(1,1) NOT NULL,
[sqbt] [VARCHAR](40),
[sqnr] [VARCHAR](40),
[cl] [VARCHAR](40),
[sl] [VARCHAR](40),
[sqr] [VARCHAR](40),
[sqsj] [VARCHAR](40),
[zt] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请标题' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'rksq', @level2type=N'COLUMN', @level2name=N'sqbt'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请内容' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'rksq', @level2type=N'COLUMN', @level2name=N'sqnr'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'材料' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'rksq', @level2type=N'COLUMN', @level2name=N'cl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'rksq', @level2type=N'COLUMN', @level2name=N'sl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请人' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'rksq', @level2type=N'COLUMN', @level2name=N'sqr'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'rksq', @level2type=N'COLUMN', @level2name=N'sqsj'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'rksq', @level2type=N'COLUMN', @level2name=N'zt'
BEGIN
CREATE TABLE [dbo].[clrk]([clrkid] [int] IDENTITY(1,1) NOT NULL,
[rkls] [VARCHAR](40),
[cl] [VARCHAR](40),
[rksl] [VARCHAR](40),
[czr] [VARCHAR](40),
[czsj] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'入库流水' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'clrk', @level2type=N'COLUMN', @level2name=N'rkls'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'材料' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'clrk', @level2type=N'COLUMN', @level2name=N'cl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'入库数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'clrk', @level2type=N'COLUMN', @level2name=N'rksl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作人' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'clrk', @level2type=N'COLUMN', @level2name=N'czr'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'clrk', @level2type=N'COLUMN', @level2name=N'czsj'
BEGIN
CREATE TABLE [dbo].[cllysq]([cllysqid] [int] IDENTITY(1,1) NOT NULL,
[bt] [VARCHAR](40),
[cl] [VARCHAR](40),
[sqnr] [VARCHAR](40),
[sqsj] [VARCHAR](40),
[sqr] [VARCHAR](40),
[zt] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'标题' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cllysq', @level2type=N'COLUMN', @level2name=N'bt'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'材料' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cllysq', @level2type=N'COLUMN', @level2name=N'cl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请内容' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cllysq', @level2type=N'COLUMN', @level2name=N'sqnr'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cllysq', @level2type=N'COLUMN', @level2name=N'sqsj'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请人' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cllysq', @level2type=N'COLUMN', @level2name=N'sqr'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cllysq', @level2type=N'COLUMN', @level2name=N'zt'
BEGIN
CREATE TABLE [dbo].[clck]([clckid] [int] IDENTITY(1,1) NOT NULL,
[ckls] [VARCHAR](40),
[cksj] [VARCHAR](40),
[cl] [VARCHAR](40),
[cksl] [VARCHAR](40),
[ckr] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'出库流水' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'clck', @level2type=N'COLUMN', @level2name=N'ckls'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'出库时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'clck', @level2type=N'COLUMN', @level2name=N'cksj'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'材料' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'clck', @level2type=N'COLUMN', @level2name=N'cl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'出库数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'clck', @level2type=N'COLUMN', @level2name=N'cksl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'出库人' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'clck', @level2type=N'COLUMN', @level2name=N'ckr'
BEGIN
CREATE TABLE [dbo].[cgth]([cgthid] [int] IDENTITY(1,1) NOT NULL,
[sq] [VARCHAR](40),
[cl] [VARCHAR](40),
[thsl] [VARCHAR](40),
[thyy] [VARCHAR](40),
[sm] [VARCHAR](40),
[thsj] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cgth', @level2type=N'COLUMN', @level2name=N'sq'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'材料' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cgth', @level2type=N'COLUMN', @level2name=N'cl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'退货数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cgth', @level2type=N'COLUMN', @level2name=N'thsl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'退货原因' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cgth', @level2type=N'COLUMN', @level2name=N'thyy'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cgth', @level2type=N'COLUMN', @level2name=N'sm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'退货时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'cgth', @level2type=N'COLUMN', @level2name=N'thsj'
BEGIN
CREATE TABLE [dbo].[chanpin]([cpid] [int] IDENTITY(1,1) NOT NULL,
[cpmc] [VARCHAR](40),
[js] [VARCHAR](40),
[gg] [VARCHAR](40),
[yt] [VARCHAR](40),
[sl] [VARCHAR](40),
[jg] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'产品名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'chanpin', @level2type=N'COLUMN', @level2name=N'cpmc'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'介绍' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'chanpin', @level2type=N'COLUMN', @level2name=N'js'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'规格' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'chanpin', @level2type=N'COLUMN', @level2name=N'gg'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用途' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'chanpin', @level2type=N'COLUMN', @level2name=N'yt'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'chanpin', @level2type=N'COLUMN', @level2name=N'sl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'价格' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'chanpin', @level2type=N'COLUMN', @level2name=N'jg'
BEGIN
CREATE TABLE [dbo].[xsdd]([xsddid] [int] IDENTITY(1,1) NOT NULL,
[ddls] [VARCHAR](40),
[cp] [VARCHAR](40),
[sl] [VARCHAR](40),
[xssj] [VARCHAR](40),
[sm] [VARCHAR](40),
[kh] [VARCHAR](40),
[lxdh] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订单流水' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xsdd', @level2type=N'COLUMN', @level2name=N'ddls'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'产品' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xsdd', @level2type=N'COLUMN', @level2name=N'cp'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xsdd', @level2type=N'COLUMN', @level2name=N'sl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'销售时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xsdd', @level2type=N'COLUMN', @level2name=N'xssj'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xsdd', @level2type=N'COLUMN', @level2name=N'sm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'客户' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xsdd', @level2type=N'COLUMN', @level2name=N'kh'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'联系电话' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xsdd', @level2type=N'COLUMN', @level2name=N'lxdh'
BEGIN
CREATE TABLE [dbo].[xsth]([xsthid] [int] IDENTITY(1,1) NOT NULL,
[dd] [VARCHAR](40),
[cp] [VARCHAR](40),
[thsl] [VARCHAR](40),
[thsj] [VARCHAR](40),
[sm] [VARCHAR](40),
[djr] [VARCHAR](40),
) ON [PRIMARY]
END
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订单' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xsth', @level2type=N'COLUMN', @level2name=N'dd'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'产品' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xsth', @level2type=N'COLUMN', @level2name=N'cp'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'退货数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xsth', @level2type=N'COLUMN', @level2name=N'thsl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'退货时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xsth', @level2type=N'COLUMN', @level2name=N'thsj'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xsth', @level2type=N'COLUMN', @level2name=N'sm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'登记人' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'xsth', @level2type=N'COLUMN', @level2name=N'djr'

代码设计

esultSet rs=null;//声明结果集String keyid =(String)request.getParameter("keyid");
String cpmc=(String)request.getParameter("cpmc");//变量:产品名称
String js=(String)request.getParameter("js");//变量:介绍
String gg=(String)request.getParameter("gg");//变量:规格
String yt=(String)request.getParameter("yt");//变量:用途
String sl=(String)request.getParameter("sl");//变量:数量
String jg=(String)request.getParameter("jg");//变量:价格String sql="";//声明sqlsql="insert into chanpin(cpmc,js,gg,yt,sl,jg) values('"+cpmc+"','"+js+"','"+gg+"','"+yt+"','"+sl+"','"+jg+"')";
;//产品SQL 语句
int row=1;///定义执行结果try{//int row =0;row=db.update(sql);
}catch(Exception e){
System.out.println(e.toString());}
if(row==1){

三、注意事项
    1、管理员账号:admin密码:admin 数据库配置文件DBO.java
     2、开发环境为TOMCAT7.0,Myeclipse8.5开发,数据库为sqlserver2008,使用java语言开发。
    3、数据库文件名是jspjxc.mdf,系统名称jxc
    4、系统首页地址:http://127.0.0.1:8080/jxc/login.jsp

四 系统实现

代码下载

https://download.csdn.net/download/qq_41221322/89248352

需要源码 其他的定制服务  下方联系卡片↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ 或者私信作者


http://www.ppmy.cn/embedded/34501.html

相关文章

不同屏幕尺寸下显示不同的图片

使用<picture>元素实现 ​​​​​​​<picture> 元素用于包裹一组 <source> 元素和一个 <img> 元素&#xff0c;它们提供了多个图片源供浏览器选择。<source> 元素包含了不同尺寸或者分辨率的图片源&#xff0c;其中的 srcset 属性指定了图片的…

未授权访问

未授权访问是系统对用户限制不全&#xff0c;或者无限制&#xff0c;可以让任意用户或者限制访问用户&#xff0c;访问到需要权限认证的地址。未授权访问通常是会泄露用户信息&#xff0c;系统信息。某些服务和系统中&#xff0c;未授权访问还可以执行系统命令&#xff0c;操作…

第23章 微内核架构软件测试(下午题)

一、微内核架构概述 &#xff08;一&#xff09;概念 1、微内核架构 微内核&#xff1a;精简的内核 宏内核&#xff1a;中央集权控制中心 核心系统 能运行的最小模块插件模块 专业处理&#xff0c;额外特性的独立组件增加/扩展核心系统的业务逻辑能力连接方式 OSGI、消息机…

Python语言例题集(013)

#!/usr/bin/python3 #建立循环链表。 class Node(): def init(self,dataNone): self.datadata self.nextNone n1Node(5) n2Node(15) n3Node(25) n1.nextn2 n2.nextn3 n3.nextn1 ptrn1 counter1 while counter<6: print(ptr.data) ptrptr.next counter1

病毒防护的基础知识

目录 1.震网病毒Stuxnet是蠕虫病毒 2.宏病毒Macro virus 3.X卧底Phishing 4.钓鱼网站 5.病毒类型 1.震网病毒Stuxnet是蠕虫病毒 Stuxnet蠕虫病毒&#xff08;超级工厂病毒&#xff09;是世界上首个专门针对工业控制系统编写的破坏性病毒&#xff0c;能够利用对windows系统…

AnaTraf网络流量分析仪:全面把控网络运行现状,智慧诊断网络性能瓶颈

背景 在当今瞬息万变的数字时代,网络流量的高效监控和精准分析已成为企业、学校等各个行业不可或缺的基本需求。作为专业的网络流量分析设备,AnaTraf网络流量分析仪凭借其优异的性能,正成为网络管理者的得力助手。 全流量回溯分析,全方位掌握网络运行现状 网络是一个复杂的有…

你对后端系统的安全性有何理解

人生难免经受挫折 风雨过后就是彩虹 生活难免遭受苦难 雨过天晴终有阳光 一、后端安全性 后端安全性是指在开发和运行后端应用程序时&#xff0c;确保应用程序和其中存储的数据免受恶意攻击和不当访问的能力。以下是我对后端安全性的理解&#xff1a; 1. 认证和授权&#xff1a…

设计模式: 责任链模式

目录 一&#xff0c;责任链模式 二&#xff0c;特点 四&#xff0c;实现步骤 五&#xff0c;代码 一&#xff0c;责任链模式 责任链模式&#xff08;Chain of Responsibility Pattern&#xff09;是一种软件设计模式&#xff0c;它属于行为型模式。在这种模式中&#xff0c…