📄 savestand.jsp
字号:
<%@page contentType="text/html;charset=GBK"%>
<%@include file="/IncludeBegin.jsp"%>
<%
//先从URL取得参数
String sCode = DataConvert.toRealString(iPostChange,CurPage.getParameter("Code"));
String weight = DataConvert.toRealString(iPostChange,CurPage.getParameter("weight"));
System.out.println("weight = " + weight);
System.out.println("sCode = " + sCode);
if (sCode==null || sCode.length()==0 || weight ==null || weight.length()==0){
%>
<script language="javascript">
alert('Wrong Operation.');
</script>
<%
return;
}
String addSql = "insert into stands (standno,standwgt) values ('"+sCode+"',"+weight+")";
System.out.println("addSql = " + addSql);
int count = Sqlca.executeSQL(addSql);
if (count>0){
%>
<script language="javascript">
if (confirm('Add Another Stand?')){
sReturn_isEmpty = PopPage("/ShippingManager/InventoryMaintenance/addStand/EnterCode.jsp?rand="+randomNumber(),"","");
}
</script>
<%
}
%>
<%@include file="/IncludeEnd.jsp"%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -