• 大小: 3.32MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-09
  • 语言: 其他
  • 标签: erp  源码  代码  

资源简介

erp系统源码,采购管理,生产管理,资金控制,财务系统,人力资源等主要模块,用户可以得到免费的软件产 品及所有业务程序源代码,用户或用户指定的开发商可在该 ERP 产品...

资源截图

代码片段和文件信息

package ad.add;
import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import sys.cls.Replace;
import sys.dao.ConnectManager;

/**
 * Servlet implementation class for Servlet: UploadServlet
 *
 */
@SuppressWarnings(“serial“)
public class AddBill extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet
{
protected void doPost(HttpServletRequest request HttpServletResponse response) throws ServletException IOException
{
RequestDispatcher rd = request.getRequestDispatcher(“/succ.jsp“);
String sortid = request.getParameter(“sort“);
String billno = Replace.pep(request.getParameter(“billNo“));
String billtype = Replace.pep(request.getParameter(“billType“));
String billprice = Replace.pep(request.getParameter(“billPrice“));
String billremark = Replace.pep(request.getParameter(“billRemark“));
if (!““.equals(sortid)&&!““.equals(billno)&&!““.equals(billtype)&&!““.equals(billprice)&&!““.equals(billremark))
{
ConnectManager cm = ConnectManager.newInstance();
if (cm.getConnection())
{
try
{
String sql = “insert into bill values(“+sortid+“‘“+billno+“‘“+billtype+““;
sql = sql + billprice +“‘A‘nullnull‘“+billremark+“‘nullnull)“;
cm.executeUpdate(sql);
request.setAttribute(“success“ “添加成功了“);
}
finally
{
cm.close();
}
}
else
{
request.setAttribute(“error“ “添加广告位出错系统问题请联系管理员“);
rd = request.getRequestDispatcher(“/error.jsp“);
}
}
else
{
request.setAttribute(“error“ “添加广告位出错你没填入正确的数据“);
rd = request.getRequestDispatcher(“/error.jsp“);
}
rd.forward(request response);
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-03-10 12:33  .metadata\
     文件           0  2008-01-09 09:18  .metadata\.lock
     文件       55984  2008-01-09 09:18  .metadata\.log
     目录           0  2019-03-10 12:33  .metadata\.mylyn\
     目录           0  2019-03-10 12:33  .metadata\.mylyn\backup\
     文件         735  2008-01-09 09:19  .metadata\.mylyn\backup\mylyndata-2008-01-09.zip
     目录           0  2019-03-10 12:33  .metadata\.mylyn\contexts\
     文件         388  2008-01-09 09:21  .metadata\.mylyn\contexts\activity.xml.zip
     目录           0  2019-03-10 12:33  .metadata\.mylyn\offline\
     文件         373  2008-01-09 09:19  .metadata\.mylyn\repositories.xml.zip
     文件         196  2008-01-09 09:21  .metadata\.mylyn\tasklist.xml.zip
     目录           0  2019-03-10 12:33  .metadata\.plugins\
     目录           0  2019-03-10 12:33  .metadata\.plugins\org.eclipse.core.resources\
     目录           0  2019-03-10 12:33  .metadata\.plugins\org.eclipse.core.resources\.history\
     目录           0  2019-03-10 12:33  .metadata\.plugins\org.eclipse.core.resources\.root\
     目录           0  2019-03-10 12:33  .metadata\.plugins\org.eclipse.core.resources\.root\.indexes\
     文件           1  2008-01-09 09:21  .metadata\.plugins\org.eclipse.core.resources\.root\.indexes\history.version
     文件          57  2008-01-09 09:18  .metadata\.plugins\org.eclipse.core.resources\.root\.indexes\properties.index
     文件           1  2008-01-09 09:21  .metadata\.plugins\org.eclipse.core.resources\.root\.indexes\properties.version
     文件         120  2008-01-09 09:21  .metadata\.plugins\org.eclipse.core.resources\.root\1.tree
     目录           0  2019-03-10 12:33  .metadata\.plugins\org.eclipse.core.resources\.safetable\
     文件         484  2008-01-09 09:21  .metadata\.plugins\org.eclipse.core.resources\.safetable\org.eclipse.core.resources
     目录           0  2019-03-10 12:33  .metadata\.plugins\org.eclipse.core.runtime\
     目录           0  2019-03-10 12:33  .metadata\.plugins\org.eclipse.debug.core\
     目录           0  2019-03-10 12:33  .metadata\.plugins\org.eclipse.debug.ui\
     目录           0  2019-03-10 12:33  .metadata\.plugins\org.eclipse.jdt.core\
     目录           0  2019-03-10 12:33  .metadata\.plugins\org.eclipse.jdt.ui\
     文件         137  2008-01-09 09:21  .metadata\.plugins\org.eclipse.jdt.ui\dialog_settings.xml
     文件          60  2008-01-09 09:21  .metadata\.plugins\org.eclipse.jdt.ui\OpenTypeHistory.xml
     文件          69  2008-01-09 09:21  .metadata\.plugins\org.eclipse.jdt.ui\QualifiedTypeNameHistory.xml
     目录           0  2019-03-10 12:33  .metadata\.plugins\org.eclipse.mylyn.bugzilla.core\
............此处省略383个文件信息

评论

共有 条评论