基于javaweb+mysql的springboot医院管理系统(java+springboot+ssm+mysql+maven+thymeleaf+html)
私信源码获取及调试交流
运行环境
Java≥8、MySQL≥5.7
开发工具
eclipse/idea/myeclipse/sts等均可配置运行
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
功能说明
基于javaweb的SpringBoot医院管理系统(java+springboot+ssm+mysql+maven+thymeleaf+html)
一、项目简述
功能:该项目是用springboot+layui+shiro写的医院管理系 统,该系统的业务比较复杂,数据库一共有36张表。
项目分为门诊管理、住院管理、系统管理、统计管理、数 据中心、排班管理、仓库管理、药房管理
本系统重点是门诊和住院管理 填写患者的详细信息,如姓名,年龄、手机号、性别、身 份证号、选择科室挂号类型医生、会出来相对的挂号费, 点击提交的时候会判断你输入的各项信息是否正确,如果 该手机号或者该身份证号正在就诊,则会提示该手机号或 者该身份证号正在就诊。挂号页面会根据单选按钮来查询 全部的挂号,当天的挂号和预细勺挂号,并且可以针对当 天的挂号去给用户进行一系列操作,如转入住院,如果该 病人有正在进行的项目则不能转入住院,需要把相关费用 交完后才能转入住院
门诊管理的功能: 用户挂号、处方划价、项目划价、项目缴费、项目检查、 药品缴费、门诊患者库
住院管理的功能: 入院登记、缴费管理、药品记账、项目记账、出院结算
系统管理功能: 菜单管理、角色管理、用户管理、图标管理、数据源监控 管理,其中数据源的登陆账号和密码是:admin/admin
统计管理: 门诊月度统计、住院月度统计、门诊年度统计、住院年度 统计、医生统计、门诊当天统计 数据中心
科室中心管理、医生列表管理、药品产地管理、项目大类 管理、挂号类型管理、仓库管理、经办人管理、供货商管 理、药品分类管理、药品字典管理
排班: 医生排班U里 仓库管理: 入库单管理、库存查询、出库单管理、操作记录管理等
药房管理: 药房详情管理、门诊取药管理、住院取药管理
二、项目运行
环境配置: Jdk1.8 + mysql + Eclispe (IntelliJ IDEA,Eclispe,MyEclispe,Sts 都支持)
项目技术: JSP +Springboot+ SpringMVC + MyBatis + html+ css + JavaScript + JQuery + Ajax + Layui+ maven等等
Integer seltymo = creportService.seltymo(cRegisteredtype);
return seltymo;
}
//添加新的挂号
@RequestMapping("addre")
@ResponseBody
public Object addre(CReport cReport){
int addre = creportService.addre(cReport);
if(addre==1){
return "添加成功";
}else{
return "添加失败,请联系管理员";
}
}
//根据id删除某个患者信息
@RequestMapping("delre")
@ResponseBody
public Object delre(Integer id){
int delre = creportService.delre(id);
if(delre==1){
return "删除成功";
}else{
return "删除失败";
}
}
//根据id删除某个患者信息
@RequestMapping("selById")
@ResponseBody
public Object selById(Integer reportId){
List<ReportVo> reportVos = creportService.selById(reportId);
return reportVos;
}
//判断就诊用户电话身份证号唯一
@RequestMapping("phone")
@ResponseBody
public Object phone(CReport cReport){
int carid = creportService.carid(cReport);
int phone = creportService.phone(cReport);
if(carid>=1){
return 2;
}else if(phone>=1){
return 1;
@RequestMapping("findAllInoutpatienttype")
@ResponseBody
public Object InoutpatienttypeList(Inoutpatienttype inoutpatienttype, Integer page, Integer limit){
PageHelper.startPage(page, limit);
List<Inoutpatienttype> listAll = prjectTypeService.findAllInoutpatienttype(inoutpatienttype);
PageInfo pageInfo = new PageInfo(listAll);
Map<String, Object> tableData = new HashMap<String, Object>();
//这是layui要求返回的json数据格式
tableData.put("code", 0);
tableData.put("msg", "");
//将全部数据的条数作为count传给前台(一共多少条)
tableData.put("count", pageInfo.getTotal());
//将分页后的数据返回(每页要显示的数据)
tableData.put("data", pageInfo.getList());
return tableData;
}
/*
* 查询计量单位
* */
@RequestMapping("findAllUnit1")
@ResponseBody
public Object findAllUnit1(){
List<Unit> listAll = unitService.findAllUnit(null);
return listAll;
}
@RequestMapping("findAllProjecttype2")
@ResponseBody
public Object findAllProjecttype2(){
List<Projecttype> listAll = prjectTypeService.findAllProjecttype(null);
return listAll;
}
/*
* 添加住院收费项
* */
@RequestMapping("addInoutpatienttype")
@ResponseBody
public Object addInoutpatienttype(Inoutpatienttype inoutpatienttype,Integer projectId,Integer unitId){
inoutpatienttype.setBigprojectId(projectId);
inoutpatienttype.setUnit(unitId);
int i1 = prjectTypeService.count3(inoutpatienttype);
if(i1==0){
int i = prjectTypeService.addInoutpatienttype(inoutpatienttype);
if(i==1){
return "添加成功";
}else{
return "添加失败";
}
}else {
}
/*
* 跳转加载角色
* */
@RequestMapping("toLoadAllRole")
public String toLoadAllRole() {
return "view/role/roleManager";
}
/*
* 跳转加载用户
* */
@RequestMapping("toLoadAllUser")
public String toLoadAllUser() {
return "view/user/userManager";
}
/*
* 跳转加载doctor.html
* */
@RequestMapping("toDoctor")
public String toDoctor() {
return "view/center/doctor";
}
/*
* 跳转加载departments.html
* */
@RequestMapping("toDepartments")
public String toDepartments() {
return "view/center/departments";
}
/*
* 跳转加载registeredtype.html
* */
@RequestMapping("toRegisteredType")
public String toRegisteredtype() {
return "view/center/registeredType";
}
/*
* 跳转加载icon.html
* */
@RequestMapping("icon")
public String icon() {
return "view/center/icon";
}
/*
* 跳转加载type.html
* */
@RequestMapping("toType")
public String toType() {
return "view/center/type";
userService.saveUserRole(userRole);
return "分配成功";
} /*
* 修改资料
* */
@RequestMapping("editLogin")
@ResponseBody
public Object editLogin(User user){
int i = userService.editLogin(user);
if(i==1){
return "修改成功";
}else{
return "修改失败";
}
}
@Autowired
private MenuService menuService;
@RequestMapping("editPwd")
@ResponseBody
public Object editPwd(User user,String loginname,String pwd,String pwd1){
//第一步:建立subject
Subject subject = SecurityUtils.getSubject();
//第二步:封装token 凭证
UsernamePasswordToken token = new UsernamePasswordToken(loginname, pwd);
try {
//只要能通过认证就能通过了
subject.login(token);
//加盐
String salt = UserCredentialsMatcher.generateSalt(6);
//MD5加密迭代两次
user.setPwd(UserCredentialsMatcher.encryptPassword("md5", pwd1, salt, 2));
user.setSalt(salt);
userService.editPwd(user);
return "1";//修改成功
} catch (IncorrectCredentialsException e) {
return "0";//密码错误
}
}
public Object seldoctor(CDoctor cDoctor){
Calendar calendar = Calendar.getInstance();
Integer data=calendar.get(Calendar.DAY_OF_WEEK)-1;//获取当前是星期几
if(data==1){
List<ReportVo> one = creportService.one(cDoctor);
return one;
}else if(data==2){
List<ReportVo> two = creportService.two(cDoctor);
return two;
}else if(data==3){
List<ReportVo> three = creportService.three(cDoctor);
return three;
}else if(data==4){
List<ReportVo> four = creportService.four(cDoctor);
return four;
}else if(data==5){
System.out.println(data);
List<ReportVo> five = creportService.five(cDoctor);
return five;
}else if(data==6){
List<ReportVo> six = creportService.six(cDoctor);
return six;
}else{
List<ReportVo> seven = creportService.seven(cDoctor);
return seven;
}
}
//根据挂号类型查找该类型的价格
@RequestMapping("seltymo")
@ResponseBody
public Object seltymo(CRegisteredtype cRegisteredtype){
Integer seltymo = creportService.seltymo(cRegisteredtype);
return seltymo;
}
//添加新的挂号
@RequestMapping("addre")
@ResponseBody
public Object addre(CReport cReport){
int addre = creportService.addre(cReport);
if(addre==1){
return "添加成功";
}else{
return "添加失败,请联系管理员";
}
}
//根据id删除某个患者信息
Map<String, Object> drugstoresData = new HashMap<String, Object>();
//这是layui要求返回的json数据格式
drugstoresData.put("code", 0);
drugstoresData.put("msg", "");
//将全部数据的条数作为count传给前台(一共多少条)
drugstoresData.put("count", pageInfo.getTotal());
//将分页后的数据返回(每页要显示的数据)
drugstoresData.put("data", pageInfo.getList());
return drugstoresData;
}
//添加一条药品采到报缺单
@RequestMapping("addbaoque")
@ResponseBody
public Integer addbaoque( Baoque baoque) {
Integer selbaoqueName = pharmacyService.selbaoqueName(baoque);//查询报缺单是否已经有此条药品
if(selbaoqueName==0){
int addbaoque =pharmacyService.addbaoque(baoque);//添加药品
return addbaoque;
}else {
int upbaoquenum = pharmacyService.upbaoquenum(baoque);//修改药品数量
return upbaoquenum;
}
}
@RequestMapping("delpharymary")
@ResponseBody
public Integer delpharymary(Ypharmacy ypharmacy,Huishou huishou){
//删除药房此药(回收给库房)
System.out.println("进入回收");
int delpharymacy = pharmacyService.delpharymacy(ypharmacy);
if(delpharymacy==1){
pharmacyService.addhuishou(huishou);
}
System.out.println(delpharymacy);
return delpharymacy;
}
//查询药品仓库
@RequestMapping("selecthuishou")
@ResponseBody
public Object selecthuishou(Huishou huishou, Integer page, Integer limit) {
System.out.print("进去查询药房方法");
PageHelper.startPage(page, limit);
List<Huishou> drugstores = pharmacyService.selhuishou(huishou);
PageInfo pageInfo = new PageInfo(drugstores);
Map<String, Object> drugstoresData = new HashMap<String, Object>();
//这是layui要求返回的json数据格式
drugstoresData.put("code", 0);
PageHelper.startPage(page, limit);
List<Register> selDoor=ladminService.selDoor();
PageInfo pageInfo = new PageInfo(selDoor);
Map<String, Object> tableData = new HashMap<String, Object>();
//这是layui要求返回的json数据格式
tableData.put("code", 0);
tableData.put("msg", "");
//将全部数据的条数作为count传给前台(一共多少条)
tableData.put("count", pageInfo.getTotal());
//将分页后的数据返回(每页要显示的数据)
tableData.put("data", pageInfo.getList());
return tableData;
}
//转科室
@RequestMapping("/updKe")
@ResponseBody
public Object updKe(Register register){
//把用户要住的床改成已住
ladminService.updBed(register);
//把用户的曾经床位改成空床
lleaveService.updBstate(register);
//把用户的信息进行更改
int i = ladminService.updKe(register);
if(i==1){
return "变更成功";
}else{
return "变更失败";
}
}
}
@Controller
@RequestMapping("caoout")
public class COutController {
@Autowired
private COutService cOutService;
//进入处方划价页面
@RequestMapping("xiang")
public Object xiang(Model model){
return "cao/Cxiangmu";
}
//进入收费页面
@RequestMapping("out")
public Object look(Model model){
return "cao/Ctoll";
}
//查询药品所有信息
@RequestMapping("selout")
@ResponseBody
public Object seldrug(Coutpatienttype coutpatienttype, Integer page, Integer limit,String projectName){
coutpatienttype.setProjectName(projectName);
PageHelper.startPage(page, limit);
List<CPharmacy> selout = cOutService.selout(coutpatienttype);
PageInfo pageInfo = new PageInfo(selout);
Map<String, Object> tableData = new HashMap<String, Object>();
//这是layui要求返回的json数据格式,如果后台没有加上这句话的话需要在前台页面手动设置
tableData.put("code", 0);
tableData.put("msg", "");
//将全部数据的条数作为count传给前台(一共多少条)
tableData.put("count", pageInfo.getTotal());
//将分页后的数据返回(每页要显示的数据)
tableData.put("data", pageInfo.getList());
@Controller
@RequestMapping("prjectType")
public class PrjectTypeController {
@Autowired
private PrjectTypeService prjectTypeService;
/*
* 查询生产项目大类
* */
@RequestMapping("findAllProjecttype")
@ResponseBody
public Object ProjecttypeList(Projecttype projecttype, Integer page, Integer limit){
PageHelper.startPage(page, limit);
List<Projecttype> listAll = prjectTypeService.findAllProjecttype(projecttype);
PageInfo pageInfo = new PageInfo(listAll);
Map<String, Object> tableData = new HashMap<String, Object>();
//这是layui要求返回的json数据格式
tableData.put("code", 0);
tableData.put("msg", "");
//将全部数据的条数作为count传给前台(一共多少条)
tableData.put("count", pageInfo.getTotal());
//将分页后的数据返回(每页要显示的数据)
tableData.put("data", pageInfo.getList());
return tableData;
}
/*
* 添加生产项目大类
* */
@RequestMapping("addProjecttype")
@ResponseBody
public Object addProjecttype(Projecttype projecttype){
int i1 = prjectTypeService.count1(projecttype);
if(i1==0){
public Object bpisselupplier(Upplier upplier, Model model) {
List<Upplier> selupplier = storeService.selupplier(upplier);
return "drugstore/c_beputinstorage";
}
//查询药品清单
@RequestMapping("selectdgty")
@ResponseBody
public Object selectdgty(Drugdictionary drugdictionary, Integer page, Integer limit) {
PageHelper.startPage(page, limit);
List<Drugdictionary> drugdictiona = putinService.seldcy(drugdictionary);
PageInfo pageInfo = new PageInfo(drugdictiona);
Map<String, Object> drugstoresData = new HashMap<String, Object>();
//这是layui要求返回的json数据格式
drugstoresData.put("code", 0);
drugstoresData.put("msg", "");
//将全部数据的条数作为count传给前台(一共多少条)
drugstoresData.put("count", pageInfo.getTotal());
//将分页后的数据返回(每页要显示的数据)
drugstoresData.put("data", pageInfo.getList());
return drugstoresData;
}
//添加一条药品入库
@RequestMapping("adddrugs")
@ResponseBody
public Integer adddrugs(Drugstore drugstore,Record record) {
System.out.print("查询方法");
Integer updrugnumber=0;
Integer adddrugstore=0;
int seldrugname = putinService.seldrugname(drugstore);
System.out.println(seldrugname+"yyyyyyyyyyyyyyyyyyyyyyyy");
if(seldrugname==1){
System.out.print("进入修改方法");
updrugnumber = putinService.updrugnumber(drugstore);
System.out.print("添加记录表0");
int addjilu = rs.addjilu(record);//添加一条记录
}
if (seldrugname!=1){
System.out.print("进入添加方法");
adddrugstore = putinService.adddrugstore(drugstore);
System.out.print("添加记录表1");
int addjilu = rs.addjilu(record);//添加一条记录
}
return adddrugstore+updrugnumber;
}
//查询选中的药品的库存数量
@RequestMapping("selnumber")
@ResponseBody
public int selnumber(Drugstore drugstore) {
//这是layui要求返回的json数据格式
tableData.put("code", 0);
tableData.put("msg", "");
//将全部数据的条数作为count传给前台(一共多少条)
tableData.put("count", pageInfo.getTotal());
//将分页后的数据返回(每页要显示的数据)
tableData.put("data", pageInfo.getList());
return tableData;
}
//查询药品库存数量
@RequestMapping("/selNum")
@ResponseBody
public Object selNum(Integer pharmacyId){
Lpharmacy lpharmacy=new Lpharmacy();
lpharmacy.setPharmacyId(pharmacyId);
List<Lpharmacy> listAll =ldrugService.selDrug(lpharmacy);
return listAll;
}
//添加药品清单
@RequestMapping("/addDrug")
@ResponseBody
@Transactional
public Object addDrug(Lrecord lrecord) {
//查询是否添加过该药品
lrecord.setState(0);
int rel = 0;
//查询是否添加过但未取出该药品
List<Lrecord> lrecords = ldrugService.selDrugs(lrecord);
for (int i = 0; i < lrecords.size(); i++) {
if (lrecords.get(i).getDurgname().equals(lrecord.getDurgname())) {
rel = 1;
break;
}
}
if (rel == 1) {
//修改患者药品数量
int j = ldrugService.updDrug(lrecord);
if (j == 1) {
//减少药品数量
int o = ldrugService.updNum(lrecord);
if (o == 1) {
return "添加成功";
} else {
return "添加失败";
}
} else {
return "添加失败";
}
} else {
//计算总价
Double qian = lrecord.getRepiceprice();
/*------------------------------------------------------------*/
/*
* 查询床位
* */
@RequestMapping("findAllBed")
@ResponseBody
public Object BedList(Bed bed, Integer page, Integer limit){
System.out.println(bed.getBedname());
PageHelper.startPage(page, limit);
List<Bed> listAll = prjectTypeService.findAllBed(bed);
PageInfo pageInfo = new PageInfo(listAll);
Map<String, Object> tableData = new HashMap<String, Object>();
//这是layui要求返回的json数据格式
tableData.put("code", 0);
tableData.put("msg", "");
//将全部数据的条数作为count传给前台(一共多少条)
tableData.put("count", pageInfo.getTotal());
//将分页后的数据返回(每页要显示的数据)
tableData.put("data", pageInfo.getList());
return tableData;
}
/*
* 添加床位
* */
@RequestMapping("addBed")
@ResponseBody
public Object addBed(Bed bed){
int i1 = prjectTypeService.count5(bed);
if(i1==0){
int i = prjectTypeService.addBed(bed);
if(i==1){
return "添加成功";
}else{
return "添加失败";
}
}else {
return bed.getBedname()+"已存在";
}
}
/*
* 修改床位
* */
@RequestMapping("editBed")
@ResponseBody
public Object editBed(Bed bed){
int i = prjectTypeService.editBed(bed);
if(i==1){
return "修改成功";
}else{
return "修改失败";
//添加处方药品
@RequestMapping("addchuo")
@ResponseBody
public Object addchuo(CCashier cCashier,Integer ostate){
System.out.println(123);
System.out.println(ostate);
cCashier.setOstate(ostate);
System.out.println(cCashier.getOstate());
//向处方添加药品
Integer addchuo = cOutService.addchuo(cCashier);
return addchuo;
}
//如果处方中有该药品则修改该药品的数量和价钱
@RequestMapping("updchuo")
@ResponseBody
public Object updchuo(CCashier cCashier,CPharmacy cPharmacy){
//修改处方中药品的数量
Integer updchuo = cOutService.updchuo(cCashier);
String pharmacyName=cCashier.getDurgname();
cPharmacy.setPharmacyName(pharmacyName);
return updchuo;
}
//删除处方中的药品
@RequestMapping("delo")
@ResponseBody
public Object del(CCashier cCashier){
Integer del = cOutService.delo(cCashier);
if(del==0){
return "删除失败";
}else{
return "删除成功";
}
}
//查询处方的总价钱
@RequestMapping("selch")
@ResponseBody
public Object selch(CCashier cCashier){
Double selch = cOutService.selch(cCashier);
return selch;
}
@RequestMapping("shoufei")
@ResponseBody
public Object shoufei(ReportVo reportVo){
Integer shoufei = cOutService.shoufei(reportVo);
//把挂号费添加到收费表上
@Controller
@RequestMapping("xpay")
public class CXiangmuPayController {
@Autowired
private CXiangmuPayService cXiangmuPayService;
//进入项目收费页面
@RequestMapping("xiangpay")
public String xiangpay(){
return "cao/xaingmupay";
}
//选择患者后对该患者的项目进行查询
@RequestMapping("selxiang")
@ResponseBody
public Object selxiang(Integer page,Integer limit,Integer perid){
PageHelper.startPage(page, limit);
List<CCashier> mohu = cXiangmuPayService.selxiang(perid);
PageInfo pageInfo = new PageInfo(mohu);
Map<String, Object> tableData = new HashMap<String, Object>();
//这是layui要求返回的json数据格式,如果后台没有加上这句话的话需要在前台页面手动设置
tableData.put("code", 0);
tableData.put("msg", "");
//将全部数据的条数作为count传给前台(一共多少条)
tableData.put("count", pageInfo.getTotal());
//将分页后的数据返回(每页要显示的数据)
tableData.put("data", pageInfo.getList());
return tableData;
}
//点击确认收费前确定该患者有没有收费项目
if(i1==0){
int i = prjectTypeService.addProjecttype(projecttype);
if(i==1){
return "添加成功";
}else{
return "添加失败";
}
}else{
return projecttype.getProjectName()+"已存在";
}
}
/*
* 删除生产项目大类
* */
@RequestMapping("deleteProjecttype")
@ResponseBody
public Object deleteProjecttype(Integer projectId){
int i = prjectTypeService.deleteProjecttype(projectId);
if(i==1){
return "删除成功";
}else{
return "删除失败";
}
}
/*------------------------------------------------------------*/
/*
* 查询收费类型
* */
@RequestMapping("findAllMoneytype")
@ResponseBody
public Object MoneytypeList(Moneytype moneytype, Integer page, Integer limit){
PageHelper.startPage(page, limit);
List<Moneytype> listAll = prjectTypeService.findAllMoneytype(moneytype);
PageInfo pageInfo = new PageInfo(listAll);
Map<String, Object> tableData = new HashMap<String, Object>();
//这是layui要求返回的json数据格式
tableData.put("code", 0);
tableData.put("msg", "");
//将全部数据的条数作为count传给前台(一共多少条)
tableData.put("count", pageInfo.getTotal());
//将分页后的数据返回(每页要显示的数据)
tableData.put("data", pageInfo.getList());
return tableData;
}
/*
* 添加收费类型
* */
@RequestMapping("addMoneytype")
@ResponseBody
public Object addMoneytype(Moneytype moneytype){
int i1 = prjectTypeService.count4(moneytype);
if(i1==0){
* 跳转加载reportManage.html
* */
@RequestMapping("toReportFinance")
public String toReportFinance() {
return "view/finance/reportManage";
}
/*
* 跳转加载zhuYuanManage.html
* */
@RequestMapping("toZhuYaunManage")
public String toZhuYaunManage() {
return "view/finance/zhuYuanManage";
}
/*
* 跳转加载zhuYuanManage.html
* */
@RequestMapping("toBingYear")
public String toBingYear() {
return "view/finance/reportBing";
}
/*
* 跳转加载zhuYuanBing.html
* */
@RequestMapping("toBing2")
public String toBing2() {
return "view/finance/zhuYuanBing";
}
/*
* 跳转加载doctorDuibi.html
* */
@RequestMapping("toDoctorDuibi")
public String toDoctorDuibi() {
return "view/finance/doctorDuibi";
}
/*
* 跳转加载current.html
* */
@RequestMapping("toCurrent")
public String toCurrenti() {
return "view/finance/current";
PageHelper.startPage(page, limit);
List<Litem> listAll =litemService.selItems(litem);
PageInfo pageInfo = new PageInfo(listAll);
Map<String, Object> tableData = new HashMap<String, Object>();
//这是layui要求返回的json数据格式
tableData.put("code", 0);
tableData.put("msg", "");
//将全部数据的条数作为count传给前台(一共多少条)
tableData.put("count", pageInfo.getTotal());
//将分页后的数据返回(每页要显示的数据)
tableData.put("data", pageInfo.getList());
return tableData;
}
//添加收费项目
@RequestMapping("/addItem")
@ResponseBody
public Object updItem(Lrecord lrecord){
lrecord.setDurgnum(1);
lrecord.setState(1);
lrecord.setRepicetotal(lrecord.getRepiceprice()*lrecord.getDurgnum());
Integer integer = ldrugService.addDrug(lrecord);
if(integer==1){
return "添加成功";
}else{
return "添加失败";
}
}
//查询患者收费项目
@RequestMapping("/selItem")
@ResponseBody
public Object selItem(Integer page, Integer limit, Lrecord lrecord){
lrecord.setState(1);
PageHelper.startPage(page, limit);
List<Lrecord> listAll =ldrugService.selDrugs(lrecord);
PageInfo pageInfo = new PageInfo(listAll);
Map<String, Object> tableData = new HashMap<String, Object>();
//这是layui要求返回的json数据格式
tableData.put("code", 0);
tableData.put("msg", "");
* */
@RequestMapping("toWarehuose")
public String toWarehuose() {
return "view/center/warehuose";
}
/*
* 跳转加载supplyManage.html
* */
@RequestMapping("toSupplyManage")
public String toSupplyManage() {
return "view/center/supplyManage";
}
/*
* 跳转加载supply.html
* */
@RequestMapping("toSupply")
public String toSupply() {
return "view/center/supply";
}
/*
* 跳转加载unit.html
* */
@RequestMapping("toUnit")
public String toUnit() {
return "view/center/unit";
}
/*
* 跳转加载updateLogin.html
* */
@RequestMapping("toUpdateLogin")
public String toUpdateLogin(User user, Integer userid, Model model) {
List<User> users = userService.updateLogin(user);
model.addAttribute("usersLogin",users);
return "view/user/updateLogin";
}
/*
* 跳转加载projectTypeManage.html
* */
@RequestMapping("toProjectTypeManage")
public String toProjectTypeManage() {
return "view/center/projectTypeManage";
}
/*
* 跳转加载paiban.html
* */
@RequestMapping("toPaiban")
public String toPaiban() {
return "view/center/paiban";