云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > 基于JAVA的餐饮管理系统设计附程序代码

基于JAVA的餐饮管理系统设计附程序代码

  • 62 次阅读
  • 3 次下载
  • 2025/5/23 7:22:56

基于JAVA的餐饮管理系统

}

}

}

catch(InvalidDataException ide) { }

throw new HotelException(\请求的数据不符合格式,请联系管理员\

public String getRecordName() { }

public void checkData() throws InvalidDataException { }

public void getData(ResultSet rs) throws SQLException { }

id = rs.getInt(\name = rs.getString(\typeID = rs.getInt(\workNum = rs.getString(\sex = rs.getInt(\memo = rs.getString(\password = rs.getString(\

birthday = new Date();

birthday.setTime(rs.getLong(\if (name == null) { }

throw new InvalidDataException(\关键字不对\return \

餐桌添加删除

function changeCategory() {

document.location = \

51

基于JAVA的餐饮管理系统

} <%

for (int i = 0; i < dishes.size(); i++) { %> <% %>

dish_show[<%=i%>][<%=j%>] = '<%=dish.name%>'; dish_value[<%=i%>][<%=j%>] = '<%=dish.id%>'; for (int j = 0; j < cat.items.size(); j++) {

System.out.println(cat.items.elementAt(j).getClass()); Dish dish = (Dish) cat.items.elementAt(j); dish_cat_show[<%=i%>] = '<%=cat.name%>'; dish_cat_value[<%=i%>] = '<%=cat.id%>'; dish_show[<%=i%>] = new Array(); dish_value[<%=i%>] = new Array();

DishCategory cat = (DishCategory) dishes.elementAt(i); var dish_cat_show = new Array(); var dish_cat_value = new Array(); var dish_show = new Array(); var dish_value = new Array();

<% } %>

function changeCategory(){

var n, i, m;

m = catList.selectedIndex; n = dishList.length; }

for(i = n - 1; i >= 0; i--)

dishList.options[i] = null;

52

基于JAVA的餐饮管理系统

if (m >= 0) {

for(i = 0; i < dish_show[m].length; i++){

NewOptionName = new Option(dish_show[m][i], dish_value[m][i]); dishList.options[i] = NewOptionName;

}

dishList.options[0].selected = true; }

function AddDish() {

var i, j, h, Code, Text; }

i = dishList.length;

j = bookForm.bookList.length; for (h = 0; h < i; h++) {

if (dishList.options[h].selected ) {

Code = dishList.options[h].value; Text = dishList.options[h].text; j = bookForm.bookList.length;

bookForm.bookList.options[j] = new Option(Text, Code); dishList.options[h].selected = false;

} } }

function DeleteDish() {

minselected = 0;

for (i = bookForm.bookList.length - 1; i >= 0; i--) {

if (bookForm.bookList.options[i].selected) {

if (minselected == 0 || i < minselected)

minselected = i;

bookForm.bookList.options[i] = null;

53

基于JAVA的餐饮管理系统

}

}

i = bookForm.bookList.length; if (i > 0) {

if (minselected >= i) minselected = i - 1;

bookForm.bookList.options[minselected].selected = true; }

function selectAll() {

for (i = bookForm.bookList.length - 1; i >= 0; i--) { } }

bookForm.bookList.options[i].selected = true; }

54

  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

基于JAVA的餐饮管理系统 } } } catch(InvalidDataException ide) { } throw new HotelException(\请求的数据不符合格式,请联系管理员\ public String getRecordName() { } public void checkData() throws InvalidDataException { } public void getData(ResultSet rs) throws SQLException { } id = rs.ge

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com