📄 guanli_0005fppm_0005fedit1_0002ejsp_jsp.java
字号:
package guanli;
import java.util.*;
import zhaobiao.db.*;
import zhaobiao.data.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class guanli_0005fppm_0005fedit1_0002ejsp_jsp extends HttpJspBase {
static {
}
public guanli_0005fppm_0005fedit1_0002ejsp_jsp( ) {
}
private static boolean _jspx_inited = false;
public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
String _value = null;
try {
if (_jspx_inited == false) {
synchronized (this) {
if (_jspx_inited == false) {
_jspx_init();
_jspx_inited = true;
}
}
}
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file="/guanli/guanli_ppm_edit1.jsp";from=(0,48);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/guanli/guanli_ppm_edit1.jsp";from=(1,31);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/guanli/guanli_ppm_edit1.jsp";from=(2,49);to=(3,0)]
out.write("\r\n");
// end
// begin [file="/guanli/guanli_ppm_edit1.jsp";from=(3,2);to=(72,0)]
request.setCharacterEncoding("GBK");
long ppmid=0;
if(request.getParameter("ppmid")!=null)
ppmid=Long.parseLong(request.getParameter("ppmid").trim());
boolean zhongbiao=false;
if(request.getParameter("zhongbiao")!=null)
if(Long.parseLong(request.getParameter("zhongbiao"))==1)
zhongbiao=true;
String shebei="0.00";
if(request.getParameter("shebei")!=null)
shebei=request.getParameter("shebei").trim();
String beijian="0.00";
if(request.getParameter("beijian")!=null)
beijian=request.getParameter("beijian").trim();
String jishu="0.00";
if(request.getParameter("jishu")!=null)
jishu=request.getParameter("jishu").trim();
String xuanxiang="0.00";
if(request.getParameter("xuanxiang")!=null)
xuanxiang=request.getParameter("xuanxiang").trim();
String peitao="0.00";
if(request.getParameter("peitao")!=null)
peitao =request.getParameter("peitao").trim();
String guonei="0.00";
if(request.getParameter("guonei")!=null)
guonei=request.getParameter("guonei").trim();
String toubiao="0.00";
if(request.getParameter("toubiao")!=null)
toubiao=request.getParameter("toubiao").trim();
String jiaohuo="0000-00-00";
if(request.getParameter("jiaohuo")!=null)
jiaohuo=request.getParameter("jiaohuo").trim();
NewPPM newppm=new NewPPM();
Basic basic=new Basic();
Price price=new Price();
PPM ppm=new PPM();
NewPrice newprice=new NewPrice();
ppm=basic.getPPM(ppmid);
ppm.setZhongbiao(zhongbiao);
price.setPrice_id(ppm.getPrice_id());
price.setDevice_price(shebei);
price.setTool_price(beijian);
price.setService_price(jishu);
price.setOptional_price(xuanxiang);
price.setRePro_price(peitao);
price.setInter_price(guonei);
price.setEnsure_price(toubiao);
price.setDeliver_time(jiaohuo);
newprice.updatePrice(price);
newppm.updatePPM(ppm);
basic.freeCon();
newppm.freeCon();
newprice.freeCon();
// end
// HTML // begin [file="/guanli/guanli_ppm_edit1.jsp";from=(72,2);to=(91,13)]
out.write("\r\n<html>\r\n <head>\r\n <title>\r\n guanli_typeadd1\r\n </title>\r\n <script lanugage=\"javascript\">\r\n function closewin()\r\n{\r\n window.opener.location.reload();\r\n window.close();\r\n}\r\n</script>\r\n </head>\r\n <body>\r\n <p><p align=\"center\"><font size=\"2\">\r\n淇
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -