10066基于SSM开发的企业合同订单管理系统
代码
鏈-椄:https://pan@baidu@com/s/1b_CCWhXdhnaGAwT6DNsLFA (把@换成 . 就可正常访问)
趧-紶-碼:5345
f/u枝此段-吶傛打开baidu網盤手机App,caozuo更方便哦
技术
Spring + SpringMVC + Mybatis
工具
eclipse + tomact + mysql + jdk
功能详情
功能详情 |
---|
档案管理 |
员工档案管理 |
部门档案管理 |
客户档案管理 |
产品档案管理 |
订单管理 |
合同管理 |
合同信息管理 |
订单图表管理 |
按员工统计订单 |
关于系统 |
系统相关截图
● 系统首页
package com.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.daoImpl.DeptDaoImpl;
import com.daoImpl.EmploeDaoImpl;
import com.entity.Dept;
public class ManagerDeptAdd extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String did = request.getParameter(“did”);
String dname = request.getParameter(“dname”);
String dnumber = request.getParameter(“dnumber”);
String daddr = request.getParameter(“daddr”);
String eid = request.getParameter(“eid”);
Dept dept = new Dept();
dept.setDid(Integer.parseInt(did));
dept.setDname(dname);
dept.setDnumber(Integer.parseInt(dnumber));
dept.setDaddr(daddr);
dept.setEid(Integer.parseInt(eid));
DeptDaoImpl ddi = new DeptDaoImpl();
boolean flag = ddi.insertDept(dept);
if(flag){
EmploeDaoImpl edi = new EmploeDaoImpl();
boolean flag2 = edi.updatePidByEid(Integer.parseInt(eid), 2011);
if(flag2){
response.sendRedirect(“ManagerDeptTable”);
}
}
}
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
this.doGet(request, response);
}
}
package com.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.daoImpl.DeptDaoImpl;
import com.entity.Dept;
import com.entity.Message;
public class ManagerDeptTable extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
DeptDaoImpl ddi = new DeptDaoImpl();
String pageNow =request.getParameter("n");
if(pageNow==null||pageNow.equals("")){
pageNow="1";
}
if(Integer.parseInt(pageNow)<1){
pageNow="1";
}
int pageCount =1;
if(request.getSession().getAttribute("pageCount")!=null&&!request.getSession().getAttribute("pageCount").equals("")){
pageCount =(Integer)request.getSession