91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 13.05MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-30
  • 語言: Java
  • 標簽: struts2??Hibernate??Java??

資源簡介

資源包括一個基于SSH框架的自助點餐系統。數據庫采用MySql(sql腳本打包在資源中)。本人自己在學習J2EE的時候搭建并實現的系統,配置好可以直接運行。 系統主要實現以下功能:1)自助點菜、訂餐 ;2)智能上菜;3)消費者信息、餐桌信息、商品信息、訂單信息等的后臺管理

資源截圖

代碼片段和文件信息

package?com.jiangchuan.action;

import?java.util.List;
import?com.jiangchuan.bean.FOrder;
import?com.jiangchuan.form.OrderDetailedInfo;
import?com.jiangchuan.service.FOrderService;
import?com.opensymphony.xwork2.ActionContext;
import?com.opensymphony.xwork2.ActionSupport;
import?com.opensymphony.xwork2.ModelDriven;

public?class?FOrderAction?extends?ActionSupport?implements?ModelDriven{

/**
?*?
?*/
private?static?final?long?serialVersionUID?=?1L;
private?FOrder?forder;
private?FOrderService?forderService;
public?FOrder?getForder()?{
return?forder;
}
public?void?setForder(FOrder?forder)?{
this.forder?=?forder;
}
public?FOrderService?getForderService()?{
return?forderService;
}
public?void?setForderService(FOrderService?forderService)?{
this.forderService?=?forderService;
}

public?String?list()?throws?Exception{
//調用service方法,返回從數據庫取出的數據
List?infolist=forderService.getAll();
//放入session
ActionContext.getContext().put(“orderlist“?infolist);
//返回視圖,list對應struts.xml對應的jsp或action
return?“list“;
}

public?String?updateUI()?throws?Exception{
FOrder?infos=forderService.getById(forder.getOid());
ActionContext.getContext().getValueStack().push(infos);
return?“updateUI“;
}
public?String?update()?throws?Exception{
forderService.update(forder);
return?“admin“;
}
public?String?delete()?throws?Exception{
forderService.delete(forder.getOid());
return?“admin“;
}
public?String?detailedInfo()?throws?Exception{
List?list?=?forderService.getInfoByOrderID(forder.getOid());
ActionContext.getContext().put(“orderDetailedInfo“?list);
return?“infoUI“;
}


public?FOrder?getModel()?{
//?TODO?Auto-generated?method?stub
forder?=?new?FOrder();
return?forder;
}

}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????3483??2017-03-15?11:46??SSH\.classpath

?????文件????????282??2017-04-02?17:49??SSH\.mymetadata

?????文件???????2001??2017-04-02?17:50??SSH\.project

?????文件????????500??2016-06-05?21:12??SSH\.settings\.jsdtscope

?????文件????????139??2017-04-02?23:51??SSH\.settings\com.genuitec.eclipse.core.prefs

?????文件????????295??2017-03-15?11:46??SSH\.settings\com.genuitec.eclipse.migration.prefs

?????文件????????320??2017-04-09?12:15??SSH\.settings\org.eclipse.core.resources.prefs

?????文件????????395??2016-06-05?21:12??SSH\.settings\org.eclipse.jdt.core.prefs

?????文件????????535??2017-03-15?11:46??SSH\.settings\org.eclipse.wst.common.component

?????文件????????172??2017-03-15?11:46??SSH\.settings\org.eclipse.wst.common.project.facet.core.prefs.xml

?????文件????????407??2017-03-15?11:46??SSH\.settings\org.eclipse.wst.common.project.facet.core.xml

?????文件?????????49??2016-06-05?21:12??SSH\.settings\org.eclipse.wst.jsdt.ui.superType.container

?????文件??????????6??2016-06-05?21:12??SSH\.settings\org.eclipse.wst.jsdt.ui.superType.name

?????文件????????411??2017-03-15?11:48??SSH\.springBeans

?????文件?????????66??2017-03-15?11:46??SSH\.tern-project

?????文件???????5842??2017-04-09?10:50??SSH\src\applicationContext.xml

?????文件???????1908??2017-04-08?15:35??SSH\src\com\jiangchuan\action\FOrderAction.java

?????文件???????2408??2017-04-07?16:38??SSH\src\com\jiangchuan\action\FTableAction.java

?????文件???????1839??2017-04-07?22:48??SSH\src\com\jiangchuan\action\InfoAction.java

?????文件???????2386??2017-04-09?12:13??SSH\src\com\jiangchuan\action\MyAction.java

?????文件???????1843??2017-04-07?16:39??SSH\src\com\jiangchuan\action\ProductAction.java

?????文件???????2523??2017-04-08?00:22??SSH\src\com\jiangchuan\action\UserAction.java

?????文件????????609??2017-04-03?10:05??SSH\src\com\jiangchuan\action\WebPageSkippingAction.java

?????文件???????2938??2017-04-09?11:57??SSH\src\com\jiangchuan\bean\Bean.hbm.xml

?????文件???????2350??2017-04-05?17:56??SSH\src\com\jiangchuan\bean\FOrder.java

?????文件???????1009??2017-04-05?17:56??SSH\src\com\jiangchuan\bean\FTable.java

?????文件????????725??2017-04-09?12:06??SSH\src\com\jiangchuan\bean\Order_Product.java

?????文件???????1423??2017-04-05?17:57??SSH\src\com\jiangchuan\bean\Product.java

?????文件???????1412??2017-04-07?23:04??SSH\src\com\jiangchuan\bean\User.java

?????文件???????1255??2017-04-09?11:21??SSH\src\com\jiangchuan\form\FOrderForm.java

............此處省略158個文件信息

評論

共有 條評論