diff --git a/finalexam/Database/DataInput/CourseGrading.html b/finalexam/Database/DataInput/CourseGrading.html new file mode 100644 index 0000000..4891a8d --- /dev/null +++ b/finalexam/Database/DataInput/CourseGrading.html @@ -0,0 +1,991 @@ + + +
+ + + + + + + + + +MySQL数据库xiaoshou表结构如下:
1.t_yong用户表
yonghuming:用户名
mima:密码(存放密码对应md5编码值)
xingming:姓名
juese:角色(管理员,收银员)
2.t_shouyinmingxi收银明细表
liushuihao:流水号(格式为yyyyMMdd****,如2023年5月18日第一笔收银流水号为2023050180001)
tiaoma:商品条码(6位数字)
mingcheng:商品名称
danjia:商品单价
shuliang:销售数量
shouyinyuan:收银员(系统当前登录用户对应的姓名)
xiaoshoushijian:销售时间(系统当前时间)
3.t_shangping商品表
tiaoma:商品条码(主键,唯一)
mingcheng:商品名称
danjia:商品单价
gongyingshang:供应商
附:数据库连接地址字符串
jdbc:mysql://localhost:3306/xiaoshou?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT
设计程序,完成商品的导入功能
===****超市商品管理维护====
1、从excel中导入数据
2、从文本文件导入数据
3、返回主菜单
请选择(1-3):
当选择1时,程序读取商品信息.xls文件(附件已提供),将所有数据增加到商品表中,增加的时候要检查每条记录的条形码在商品表中是否存在,若存在,则不需要增加到数据库中,所有数据增加完毕后,显示“成功从excel文件导入XXX条商品数据”,返回菜单。
当选择2时,程序读取商品信息.txt文件(附件已提供),将所有数据增加到商品表中,增加的时候要检查每条记录的条形码在商品表中是否存在,若存在,则不需要增加到数据库中,所有数据增加完毕后,显示“成功从文本文件导入XXX条商品数据”,返回菜单。
rar 或者 zip 包提交。
+
+
+ MySQL数据库xiaoshou表结构如下:
1.t_yong用户表
yonghuming:用户名
mima:密码(存放密码对应md5编码值)
xingming:姓名
juese:角色(管理员,收银员)
2.t_shouyinmingxi收银明细表
liushuihao:流水号(格式为yyyyMMdd****,如2023年5月18日第一笔收银流水号为2023050180001)
tiaoma:商品条码(6位数字)
mingcheng:商品名称
danjia:商品单价
shuliang:销售数量
shouyinyuan:收银员(系统当前登录用户对应的姓名)
xiaoshoushijian:销售时间(系统当前时间)
3.t_shangping商品表
tiaoma:商品条码(主键,唯一)
mingcheng:商品名称
danjia:商品单价
gongyingshang:供应商
附:数据库连接地址字符串
jdbc:mysql://localhost:3306/xiaoshou?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT
设计程序,完成商品的导入功能
===****超市商品管理维护====
1、从excel中导入数据
2、从文本文件导入数据
3、返回主菜单
请选择(1-3):
当选择1时,程序读取商品信息.xls文件(附件已提供),将所有数据增加到商品表中,增加的时候要检查每条记录的条形码在商品表中是否存在,若存在,则不需要增加到数据库中,所有数据增加完毕后,显示“成功从excel文件导入XXX条商品数据”,返回菜单。
当选择2时,程序读取商品信息.txt文件(附件已提供),将所有数据增加到商品表中,增加的时候要检查每条记录的条形码在商品表中是否存在,若存在,则不需要增加到数据库中,所有数据增加完毕后,显示“成功从文本文件导入XXX条商品数据”,返回菜单。
rar 或者 zip 包提交。
+
+
+ 
" + tipMsg + "
");
+ showmessageFrame.document.close();
+}
+
+function cgShowDIVLoadingImg(myDivID, tipMsg) {
+ document.getElementById(myDivID).innerHTML=("" + tipMsg + "
");
+}
+
+function cgGetPageY(elem) {
+ return elem.offsetParent ? (elem.offsetTop + cgGetPageY(elem.offsetParent)) : elem.offsetTop;
+}
+
+function cgResizeIframe(ifmID) {
+ var height = document.documentElement.clientHeight;
+ height -= cgGetPageY(document.getElementById(ifmID))+ 55 ;
+ height = (height < 0) ? 0 : height;
+ document.getElementById(ifmID).style.height = height + 'px';
+}
+
+
+function cgResizeModalIframe(ifmID) {
+ var height = document.documentElement.clientHeight;
+ height -= cgGetPageY(document.getElementById(ifmID))+ 8 ;
+ height = (height < 0) ? 0 : height;
+ document.getElementById(ifmID).style.height = height + 'px';
+}
\ No newline at end of file
diff --git a/finalexam/Database/DataInput/CourseGrading_files/logo.png b/finalexam/Database/DataInput/CourseGrading_files/logo.png
new file mode 100644
index 0000000..b83b0bc
Binary files /dev/null and b/finalexam/Database/DataInput/CourseGrading_files/logo.png differ
diff --git a/finalexam/Database/DataInput/CourseGrading_files/popper.min.js.download b/finalexam/Database/DataInput/CourseGrading_files/popper.min.js.download
new file mode 100644
index 0000000..8a17212
--- /dev/null
+++ b/finalexam/Database/DataInput/CourseGrading_files/popper.min.js.download
@@ -0,0 +1,5 @@
+/*
+ Copyright (C) Federico Zivolo 2019
+ Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
+ */(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=e.ownerDocument.defaultView,n=o.getComputedStyle(e,null);return t?n[t]:n}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function n(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var i=t(e),r=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll|overlay)/.test(r+s+p)?e:n(o(e))}function i(e){return e&&e.referenceNode?e.referenceNode:e}function r(e){return 11===e?re:10===e?pe:re||pe}function p(e){if(!e)return document.documentElement;for(var o=r(10)?document.body:null,n=e.offsetParent||null;n===o&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TH','TD','TABLE'].indexOf(n.nodeName)&&'static'===t(n,'position')?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function s(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||p(e.firstElementChild)===e)}function d(e){return null===e.parentNode?e:d(e.parentNode)}function a(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=o?e:t,i=o?t:e,r=document.createRange();r.setStart(n,0),r.setEnd(i,0);var l=r.commonAncestorContainer;if(e!==l&&t!==l||n.contains(i))return s(l)?l:p(l);var f=d(e);return f.host?a(f.host,t):a(e,d(t).host)}function l(e){var t=1|
+
+
+ 得分0.00 最后一次提交时间:2024-05-20 18:58:30
+
+ |
+
|
+
+ + |
+