📄 modifyproduct_do.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" errorPage="../../error.jsp" %>
<%@ include file="../../jstl.inc"%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../../hellking.css" type=text/css rel=stylesheet>
</head>
<body>
<sql:update var="product" dataSource="${jspdev}" sql="update product set category='${param.category}',name='${param.name}',descn='${param.desc}',isPromot='${param.isPromot}',registerTime=getdate() where productId='${param.productId}'"/>
<sql:update var="item" dataSource="${jspdev}" sql="update item set productId='${param.productId}',listPrice='${param.listPrice}',unitCost='${param.unitPrice}',supplier='${param.supplier}',status='${param.status}',attr1='${param.attr1}',attr2='${param.attr2}',attr3='${param.attr3}',attr4='${param.attr4}',attr5='${param.attr5}' where productId='${param.productId}'"/>
<sql:update var="inventory" dataSource="${jspdev}" sql="update inventory set qty='${param.qty}' where itemid='${param.isbn}'"/>
更改商品成功!<br>
<a href="viewAllProduct.jsp">返回</a>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -