招标系统,使用java 开发阿斯顿发沙发沙发
源代码在线查看: guanli_ppm_qx.jsp~10~~1~
request.setCharacterEncoding("GBK");
long pjid=0;
if(request.getParameter("pjid")!=null)
pjid=Long.parseLong(request.getParameter("pjid").trim());
out.print("pjid="+pjid);
long typeid=0;
if(request.getParameter("typeid")!=null)
typeid=Long.parseLong(request.getParameter("typeid").trim());
out.print("typeid="+typeid);
String[] pdidlist;
pdidlist=request.getParameterValues("pdidlist");
NewPPM newppm=new NewPPM();
newppm.delPPMProjectidTypeid(pjid,typeid);
long pdid;
if(pdidlist!=null)
{
for(int i=0;i {
boolean isok=false;
Basic basic=new Basic();
PPM ppm=new PPM();
pdid=Long.parseLong(pdidlist[i]);
Product pd=new Product();
pd=basic.getProduct(pdid);
ppm.setProject_id(pjid);
ppm.setProduct_id(pd.getProduct_id());
ppm.setMaker_id(pd.getMaker_id());
ppm.setZhongbiao(isok);
ppm.setPrice_id(i);
newppm.addPPM(ppm);
}
}
//basic.freeCon();
newppm.freeCon();
%>
guanli_ppm_qx
JBuilder Generated JSP