├── .classpath
├── .project
├── .settings
├── .jsdtscope
├── org.eclipse.core.resources.prefs
├── org.eclipse.jdt.core.prefs
├── org.eclipse.wst.common.component
├── org.eclipse.wst.common.project.facet.core.xml
├── org.eclipse.wst.jsdt.ui.superType.container
└── org.eclipse.wst.jsdt.ui.superType.name
├── Supermarket.sql
├── WebRoot
├── CSS
│ ├── bootstrap-theme.css
│ ├── bootstrap-theme.css.map
│ ├── bootstrap-theme.min.css
│ ├── bootstrap-theme.min.css.map
│ ├── bootstrap.css
│ ├── bootstrap.css.map
│ ├── bootstrap.min.css
│ ├── bootstrap.min.css.map
│ ├── css_img
│ │ ├── login-bg-blur.jpg
│ │ └── login-bg.jpg
│ ├── font-awesome.css
│ ├── img_style.css
│ ├── input.css
│ ├── jquery-accordion-menu.css
│ ├── loginstyle.css
│ ├── mdialog.css
│ ├── playground.css
│ └── style.css
├── Frame
│ ├── NoJsp.jsp
│ ├── blank.jsp
│ ├── blank2.jsp
│ ├── bottom.jsp
│ ├── brief.jsp
│ ├── chat.jsp
│ ├── infinity_left.jsp
│ ├── kcjb.jsp
│ ├── main.jsp
│ ├── top.jsp
│ └── top1.jsp
├── META-INF
│ ├── MANIFEST.MF
│ └── context.xml
├── WEB-INF
│ ├── classes
│ │ └── com
│ │ │ └── infinity
│ │ │ ├── chinese
│ │ │ └── ToChinese.class
│ │ │ ├── dbconn
│ │ │ └── DBConn.class
│ │ │ ├── info
│ │ │ ├── GysRegist.class
│ │ │ ├── GysinfoBean.class
│ │ │ ├── KhRegist.class
│ │ │ ├── KhinfoBean.class
│ │ │ ├── Quest.class
│ │ │ ├── QuestString.class
│ │ │ ├── SpRegist.class
│ │ │ └── SpinfoBean.class
│ │ │ ├── servlet
│ │ │ └── LoginServlet.class
│ │ │ └── showtime
│ │ │ ├── CalendarBean.class
│ │ │ └── ShowTime.class
│ ├── lib
│ │ ├── jcommon-1.0.9.jar
│ │ ├── jfreechart-1.0.9.jar
│ │ ├── org.json.jar
│ │ └── sqljdbc41.jar
│ └── web.xml
├── bgmusic
│ └── 1.mp3
├── cxtj
│ ├── delete
│ │ └── cxdelete.jsp
│ ├── main.jsp
│ ├── search
│ │ ├── sprkquest_dosearch.jsp
│ │ ├── spxsphquest_dosearch.jsp
│ │ ├── spyearquest_dosearch.jsp
│ │ └── xsxxquest_dosearch.jsp
│ ├── sprkchat.jsp
│ ├── sprkquest.jsp
│ ├── spxsphchat.jsp
│ ├── spxsphquest.jsp
│ ├── spyearchat.jsp
│ ├── spyearquest.jsp
│ ├── xsxxchat.jsp
│ └── xsxxquest.jsp
├── extend
│ └── contact.jsp
├── favicon.ico
├── fonts
│ ├── FontAwesome.otf
│ ├── fontawesome-webfont.eot
│ ├── fontawesome-webfont.svg
│ ├── fontawesome-webfont.ttf
│ ├── fontawesome-webfont.woff
│ ├── fontawesome-webfont.woff2
│ ├── glyphicons-halflings-regular.eot
│ ├── glyphicons-halflings-regular.svg
│ ├── glyphicons-halflings-regular.ttf
│ ├── glyphicons-halflings-regular.woff
│ └── glyphicons-halflings-regular.woff2
├── images
│ ├── Imgmenu1_1.gif
│ ├── Imgmenu1_2.gif
│ ├── Thumbs.db
│ ├── blank.jpg
│ ├── blank2.jpg
│ ├── cup.GIF
│ ├── datetime.gif
│ ├── dmwaste.gif
│ ├── ed-item.gif
│ ├── email.GIF
│ ├── home.gif
│ ├── homepage.GIF
│ ├── jobPane.gif
│ ├── left_top.GIF
│ ├── login_bottom.jpg
│ ├── login_btn_bg.gif
│ ├── login_btn_bg.jpg
│ ├── login_top.jpg
│ ├── logo.jpg
│ ├── mainframepics
│ │ ├── 1.jpg
│ │ ├── 2.jpg
│ │ ├── 3.jpg
│ │ ├── 4.jpg
│ │ ├── 5.jpg
│ │ └── 新建文件夹
│ │ │ ├── 1.jpg
│ │ │ ├── 2.jpg
│ │ │ ├── 3.jpg
│ │ │ ├── 4.jpg
│ │ │ └── 5.jpg
│ ├── menu_1.JPG
│ ├── menu_1a.JPG
│ ├── menu_3.JPG
│ ├── menu_4.JPG
│ ├── menu_5.JPG
│ ├── menu_6.JPG
│ ├── menu_7.JPG
│ ├── revigate.GIF
│ ├── speaker.bmp
│ └── subMenu_ico.GIF
├── index.jsp
├── jcxx
│ ├── add
│ │ ├── addgysinfo.jsp
│ │ ├── addkhinfo.jsp
│ │ └── addspinfo.jsp
│ ├── delete
│ │ └── jcxxdelete.jsp
│ ├── gyschat.jsp
│ ├── gysinfo.jsp
│ ├── gysquest.jsp
│ ├── khchat.jsp
│ ├── khinfo.jsp
│ ├── khquest.jsp
│ ├── main.jsp
│ ├── search
│ │ ├── gysquest_dosearch.jsp
│ │ ├── khquest_dosearch.jsp
│ │ └── spquest_dosearch.jsp
│ ├── spchat.jsp
│ ├── spinfo.jsp
│ └── spquest.jsp
├── js
│ ├── bootstrap.js
│ ├── bootstrap.min.js
│ ├── input.js
│ ├── jquery-1.11.2.min.js
│ ├── jquery-3.2.1.min.js
│ ├── jquery-accordion-menu.js
│ ├── mdialog.js
│ ├── npm.js
│ └── zepto.min.js
├── kcgl
│ ├── change
│ │ ├── jgChange.jsp
│ │ ├── spChange.jsp
│ │ └── sprkthChange.jsp
│ ├── delete
│ │ └── kcdatadelete.jsp
│ ├── kcchat.jsp
│ ├── kcjb.jsp
│ ├── kcjbchat.jsp
│ ├── kcjbtop.jsp
│ ├── kcquest.jsp
│ ├── main.jsp
│ ├── modifyPrice.jsp
│ ├── search
│ │ └── kcquest_dosearch.jsp
│ ├── sprk.jsp
│ └── sprkth.jsp
├── layui
│ ├── css
│ │ ├── layui.css
│ │ ├── layui.mobile.css
│ │ └── modules
│ │ │ ├── code.css
│ │ │ ├── laydate
│ │ │ └── default
│ │ │ │ └── laydate.css
│ │ │ └── layer
│ │ │ └── default
│ │ │ ├── icon-ext.png
│ │ │ ├── icon.png
│ │ │ ├── layer.css
│ │ │ ├── loading-0.gif
│ │ │ ├── loading-1.gif
│ │ │ └── loading-2.gif
│ ├── font
│ │ ├── iconfont.eot
│ │ ├── iconfont.svg
│ │ ├── iconfont.ttf
│ │ └── iconfont.woff
│ ├── images
│ │ └── face
│ │ │ ├── 0.gif
│ │ │ ├── 1.gif
│ │ │ ├── 10.gif
│ │ │ ├── 11.gif
│ │ │ ├── 12.gif
│ │ │ ├── 13.gif
│ │ │ ├── 14.gif
│ │ │ ├── 15.gif
│ │ │ ├── 16.gif
│ │ │ ├── 17.gif
│ │ │ ├── 18.gif
│ │ │ ├── 19.gif
│ │ │ ├── 2.gif
│ │ │ ├── 20.gif
│ │ │ ├── 21.gif
│ │ │ ├── 22.gif
│ │ │ ├── 23.gif
│ │ │ ├── 24.gif
│ │ │ ├── 25.gif
│ │ │ ├── 26.gif
│ │ │ ├── 27.gif
│ │ │ ├── 28.gif
│ │ │ ├── 29.gif
│ │ │ ├── 3.gif
│ │ │ ├── 30.gif
│ │ │ ├── 31.gif
│ │ │ ├── 32.gif
│ │ │ ├── 33.gif
│ │ │ ├── 34.gif
│ │ │ ├── 35.gif
│ │ │ ├── 36.gif
│ │ │ ├── 37.gif
│ │ │ ├── 38.gif
│ │ │ ├── 39.gif
│ │ │ ├── 4.gif
│ │ │ ├── 40.gif
│ │ │ ├── 41.gif
│ │ │ ├── 42.gif
│ │ │ ├── 43.gif
│ │ │ ├── 44.gif
│ │ │ ├── 45.gif
│ │ │ ├── 46.gif
│ │ │ ├── 47.gif
│ │ │ ├── 48.gif
│ │ │ ├── 49.gif
│ │ │ ├── 5.gif
│ │ │ ├── 50.gif
│ │ │ ├── 51.gif
│ │ │ ├── 52.gif
│ │ │ ├── 53.gif
│ │ │ ├── 54.gif
│ │ │ ├── 55.gif
│ │ │ ├── 56.gif
│ │ │ ├── 57.gif
│ │ │ ├── 58.gif
│ │ │ ├── 59.gif
│ │ │ ├── 6.gif
│ │ │ ├── 60.gif
│ │ │ ├── 61.gif
│ │ │ ├── 62.gif
│ │ │ ├── 63.gif
│ │ │ ├── 64.gif
│ │ │ ├── 65.gif
│ │ │ ├── 66.gif
│ │ │ ├── 67.gif
│ │ │ ├── 68.gif
│ │ │ ├── 69.gif
│ │ │ ├── 7.gif
│ │ │ ├── 70.gif
│ │ │ ├── 71.gif
│ │ │ ├── 8.gif
│ │ │ └── 9.gif
│ ├── lay
│ │ └── modules
│ │ │ ├── carousel.js
│ │ │ ├── code.js
│ │ │ ├── element.js
│ │ │ ├── flow.js
│ │ │ ├── form.js
│ │ │ ├── jquery.js
│ │ │ ├── laydate.js
│ │ │ ├── layedit.js
│ │ │ ├── layer.js
│ │ │ ├── laypage.js
│ │ │ ├── laytpl.js
│ │ │ ├── mobile.js
│ │ │ ├── table.js
│ │ │ ├── tree.js
│ │ │ ├── upload.js
│ │ │ └── util.js
│ ├── layui.all.js
│ └── layui.js
├── login.jsp
├── rsgl
│ ├── add
│ │ └── zginfoadd.jsp
│ ├── search
│ │ └── zgquest_dosearch.jsp
│ ├── zginfo.jsp
│ └── zgquest.jsp
├── spxs
│ ├── change
│ │ ├── xsChange.jsp
│ │ └── xsthChange.jsp
│ ├── spxs.jsp
│ └── spxsth.jsp
├── supermarketinfo
│ ├── addmoney.jsp
│ ├── info.jsp
│ └── zhigong
│ │ ├── showData.jsp
│ │ └── zhigongdata.jsp
└── xtsz
│ ├── addUser.jsp
│ ├── advancedsetting.jsp
│ ├── updateUser.jsp
│ ├── userexit.jsp
│ ├── usermanager.jsp
│ └── usermodify.jsp
├── readme.md
└── src
└── com
└── infinity
├── chinese
└── ToChinese.java
├── dbconn
└── DBConn.java
├── info
├── GysRegist.java
├── GysinfoBean.java
├── KhRegist.java
├── KhinfoBean.java
├── Quest.java
├── QuestString.java
├── SpRegist.java
└── SpinfoBean.java
├── servlet
└── LoginServlet.java
└── showtime
├── CalendarBean.java
└── ShowTime.java
/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | supermarket
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.wst.common.project.facet.core.builder
15 |
16 |
17 |
18 |
19 | org.eclipse.wst.validation.validationbuilder
20 |
21 |
22 |
23 |
24 | com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator
25 |
26 |
27 |
28 |
29 |
30 | org.eclipse.jem.workbench.JavaEMFNature
31 | org.eclipse.wst.common.modulecore.ModuleCoreNature
32 | org.eclipse.wst.common.project.facet.core.nature
33 | org.eclipse.jdt.core.javanature
34 | org.eclipse.wst.jsdt.core.jsNature
35 |
36 |
37 |
--------------------------------------------------------------------------------
/.settings/.jsdtscope:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding//WebRoot/Frame/NoJsp.jsp=UTF-8
3 | encoding//WebRoot/Frame/bottom.jsp=UTF-8
4 | encoding//WebRoot/Frame/infinity_left.jsp=UTF-8
5 | encoding//WebRoot/Frame/kcjb.jsp=UTF-8
6 | encoding//WebRoot/Frame/main.jsp=UTF-8
7 | encoding//WebRoot/cxtj/delete/cxdelete.jsp=UTF-8
8 | encoding//WebRoot/cxtj/main.jsp=UTF-8
9 | encoding//WebRoot/cxtj/search/sprkquest_dosearch.jsp=UTF-8
10 | encoding//WebRoot/cxtj/search/spxsphquest_dosearch.jsp=UTF-8
11 | encoding//WebRoot/cxtj/search/spyearquest_dosearch.jsp=UTF-8
12 | encoding//WebRoot/cxtj/sprkchat.jsp=UTF-8
13 | encoding//WebRoot/cxtj/sprkquest.jsp=UTF-8
14 | encoding//WebRoot/cxtj/spxsphchat.jsp=UTF-8
15 | encoding//WebRoot/cxtj/spxsphquest.jsp=UTF-8
16 | encoding//WebRoot/cxtj/spyearchat.jsp=UTF-8
17 | encoding//WebRoot/cxtj/xsxxchat.jsp=UTF-8
18 | encoding//WebRoot/extend/contact.jsp=UTF-8
19 | encoding//WebRoot/jcxx/add/addgysinfo.jsp=UTF-8
20 | encoding//WebRoot/jcxx/add/addspinfo.jsp=UTF-8
21 | encoding//WebRoot/jcxx/gyschat.jsp=UTF-8
22 | encoding//WebRoot/jcxx/gysinfo.jsp=UTF-8
23 | encoding//WebRoot/jcxx/search/gysquest_dosearch.jsp=UTF-8
24 | encoding//WebRoot/jcxx/search/khquest_dosearch.jsp=UTF-8
25 | encoding//WebRoot/jcxx/search/spquest_dosearch.jsp=UTF-8
26 | encoding//WebRoot/jcxx/spchat.jsp=UTF-8
27 | encoding//WebRoot/kcgl/change/spChange.jsp=UTF-8
28 | encoding//WebRoot/kcgl/change/sprkthChange.jsp=UTF-8
29 | encoding//WebRoot/kcgl/delete/kcdatadelete.jsp=UTF-8
30 | encoding//WebRoot/kcgl/kcchat.jsp=UTF-8
31 | encoding//WebRoot/kcgl/kcjb.jsp=UTF-8
32 | encoding//WebRoot/kcgl/kcjbchat.jsp=UTF-8
33 | encoding//WebRoot/kcgl/modifyPrice.jsp=UTF-8
34 | encoding//WebRoot/kcgl/sprk.jsp=UTF-8
35 | encoding//WebRoot/kcgl/sprkth.jsp=UTF-8
36 | encoding//WebRoot/rsgl/add/zginfoadd.jsp=UTF-8
37 | encoding//WebRoot/rsgl/search/zgquest_dosearch.jsp=UTF-8
38 | encoding//WebRoot/rsgl/zginfo.jsp=UTF-8
39 | encoding//WebRoot/rsgl/zgquest.jsp=UTF-8
40 | encoding//WebRoot/spxs/change/xsChange.jsp=UTF-8
41 | encoding//WebRoot/spxs/change/xsthChange.jsp=UTF-8
42 | encoding//WebRoot/spxs/spxsth.jsp=UTF-8
43 | encoding//WebRoot/supermarketinfo/info.jsp=UTF-8
44 | encoding//WebRoot/supermarketinfo/zhigong=UTF-8
45 | encoding//WebRoot/supermarketinfo/zhigong/zhigongdata.jsp=UTF-8
46 | encoding//WebRoot/xtsz/addUser.jsp=UTF-8
47 | encoding//WebRoot/xtsz/advancedsetting.jsp=UTF-8
48 | encoding//WebRoot/xtsz/usermanager.jsp=UTF-8
49 | encoding//src/com/infinity/chinese/ToChinese.java=UTF-8
50 | encoding//src/com/infinity/info/Quest.java=UTF-8
51 | encoding//src/com/infinity/info/QuestString.java=UTF-8
52 |
--------------------------------------------------------------------------------
/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
4 | org.eclipse.jdt.core.compiler.compliance=1.7
5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7 | org.eclipse.jdt.core.compiler.source=1.7
8 |
--------------------------------------------------------------------------------
/.settings/org.eclipse.wst.common.component:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/.settings/org.eclipse.wst.common.project.facet.core.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/.settings/org.eclipse.wst.jsdt.ui.superType.container:
--------------------------------------------------------------------------------
1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary
--------------------------------------------------------------------------------
/.settings/org.eclipse.wst.jsdt.ui.superType.name:
--------------------------------------------------------------------------------
1 | Window
--------------------------------------------------------------------------------
/Supermarket.sql:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/Supermarket.sql
--------------------------------------------------------------------------------
/WebRoot/CSS/css_img/login-bg-blur.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/CSS/css_img/login-bg-blur.jpg
--------------------------------------------------------------------------------
/WebRoot/CSS/css_img/login-bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/CSS/css_img/login-bg.jpg
--------------------------------------------------------------------------------
/WebRoot/CSS/input.css:
--------------------------------------------------------------------------------
1 | input {
2 | border: 2px solid #5E6C77;
3 | font-size: 1.5em;
4 | padding: .25em .5em .3125em;
5 | color: #5E6C77;
6 | border-radius: .25em;
7 | background: transparent;
8 | -webkit-transition: all .100s;
9 | transition: all .100s;
10 | margin:80px auto;
11 | }
12 | input:focus {
13 | outline: none;
14 | color: #A2ACB3;
15 | border-color: #A2ACB3;
16 | }
17 | input.keyup {
18 | color: white;
19 | border-color: white;
20 | text-shadow: 0 0 .125em white;
21 | box-shadow: 0 0 .25em white,inset 0 0 .25em white;
22 | }
23 |
24 | body {
25 | -webkit-box-align: center;
26 | -webkit-align-items: center;
27 | -ms-flex-align: center;
28 | align-items: center;
29 | -webkit-box-pack: center;
30 | -webkit-justify-content: center;
31 | -ms-flex-pack: center;
32 | justify-content: center;
33 | }
34 |
35 | canvas {
36 | position: absolute;
37 | left: 0;
38 | right: 0;
39 | top: 0;
40 | bottom: 0;
41 | pointer-events: none;
42 | }
43 |
44 | input {
45 | font-family: "Arial Rounded MT Bold","Helvetica Rounded",Arial,sans-serif;
46 | }
47 |
48 | ::-webkit-input-placeholder {
49 | color: #5E6C77;
50 | text-shadow: 0 0 .125em transparent;
51 | -webkit-transition: all .25s;
52 | transition: all .25s;
53 | }
54 |
55 | input:focus::-webkit-input-placeholder {
56 | opacity: .5;
57 | }
58 |
59 | ::-moz-placeholder {
60 | color: #5E6C77;
61 | text-shadow: 0 0 .125em transparent;
62 | -webkit-transition: all .25s;
63 | transition: all .25s;
64 | }
65 |
66 | input:focus::-moz-placeholder {
67 | opacity: .5;
68 | }
69 |
70 | :-ms-input-placeholder {
71 | color: #5E6C77;
72 | text-shadow: 0 0 .125em transparent;
73 | -webkit-transition: all .25s;
74 | transition: all .25s;
75 | }
76 |
77 | input:focus:-ms-input-placeholder {
78 | opacity: .5;
79 | }
80 |
81 | html, body {
82 | height: 100%;
83 | overflow: hidden;
84 | }
85 |
86 | html {
87 | background: #282E33;
88 | }
89 |
--------------------------------------------------------------------------------
/WebRoot/CSS/playground.css:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | .button { background: #222 url(overlay-button.png) repeat-x 0 0; display: inline-block; padding: 5px 15px 6px; color: #fff !important; font-size: 13px; font-weight: bold; line-height: 1; text-decoration: none; -moz-border-radius: 5px; -webkit-border-radius: 5px; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.25); -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.25); text-shadow: 0 -1px 1px rgba(0,0,0,0.25); border-bottom: 1px solid rgba(0,0,0,0.25); position: relative; cursor: pointer; overflow: visible; width: auto; }
6 | button::-moz-focus-inner { border: 0; padding: 0; }
7 |
8 | .button:hover { background-color: #111; color: #fff; }
9 | .button:active { -webkit-transform: translateY(1px); -moz-transform: translateY(1px); }
10 | /* Small Buttons */
11 | .small.button { font-size: 11px; }
12 | /* Large Buttons */
13 | .large.button { font-size: 14px; padding: 8px 19px 9px; }
14 | /* Colors for our beloved buttons */
15 | .green.button { background-color: #91bd09; }
16 | .green.button:hover { background-color: #749a02; }
17 | .blue.button { background-color: #2daebf; }
18 | .blue.button:hover { background-color: #007d9a; }
19 | .red.button { background-color: #e33100; }
20 | .red.button:hover { background-color: #872300; }
21 | .magenta.button{ background-color: #a9014b; }
22 | .magenta.button:hover { background-color: #630030; }
23 | .orange.button { background-color: #ff5c00; }
24 | .orange.button:hover { background-color: #d45500; }
25 | .orangellow.button { background-color: #ffb515; }
26 | .orangellow.button:hover { background-color: #fc9200; }
27 | .white.button { background-color: #fff; border: 1px solid #ccc; color: #666 !important; font-weight: normal; text-shadow: 0 1px 1px rgba(255,255,255,1); }
28 | .white.button:hover { background-color: #eee; }
29 |
30 | /*Strike button*/
31 | .strike.button {background-color: #4ADFC1}
32 | .strike.button:hover {background-color: #39ceb0}
33 |
34 | /* Secondary buttons (perfect for Cancels or other secondary actions */
35 | .secondary.button { background: #fff url(/images/gradients/36px-black.png) repeat-x 0 0; color: #555 !important; text-shadow: 0 1px 1px rgba(255,255,255,0.5); border: 1px solid #bbb; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.1); -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
36 | .secondary.button:hover { background-color: #eee; color: #444 !important; border-color: #999; }
37 |
38 | /* Make the buttons super awesomer */
39 | .super.button { background-image: url(/images/super-button-overlay.png); font-size: 13px; padding: 0; border: 1px solid rgba(0,0,0,.25); -webkit-border-radius: 15px; -moz-border-radius: 15px; }
40 | .super.button span { display: block; padding: 4px 15px 6px; -webkit-border-radius: 14px; -moz-border-radius: 14px; border-top: 1px solid rgba(255,255,255,.2); line-height: 1; }
41 | .small.super.button { font-size: 11px; -webkit-border-radius: 12px; -moz-border-radius: 12px; }
42 | .small.super.button span { padding: 2px 12px 6px; -webkit-border-radius: 11px; -moz-border-radius: 11px; }
43 | .small.white.super.button span { padding: 3px 12px 5px; }
44 | .large.super.button { background-position: left bottom; -webkit-border-radius: 18px; -moz-border-radius: 18px; }
45 | .large.super.button span { font-size: 14px; padding: 7px 20px 9px; -webkit-border-radius: 17px; -moz-border-radius: 17px; }
46 |
--------------------------------------------------------------------------------
/WebRoot/CSS/style.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/CSS/style.css
--------------------------------------------------------------------------------
/WebRoot/Frame/NoJsp.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
2 | <%
3 | String path = request.getContextPath();
4 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
5 | %>
6 |
7 |
8 |
9 |
10 | 警告
11 |
12 |
13 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/WebRoot/Frame/blank.jsp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/WebRoot/Frame/blank2.jsp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/WebRoot/Frame/bottom.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
2 | <%
3 | String path = request.getContextPath();
4 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
5 | %>
6 |
7 |
8 |
9 |
10 |
11 | bottom
12 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 | |
42 |
43 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/WebRoot/Frame/brief.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
2 |
3 |
4 |
5 | <%
6 | String path = request.getContextPath();
7 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
8 | %>
9 |
10 |
11 |
12 |
13 |
14 | 信息
15 |
16 |
19 |
46 |
47 |
48 |
49 |
64 |
65 |
153 |
154 |
155 |
--------------------------------------------------------------------------------
/WebRoot/Frame/chat.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" %>
2 | <% request.setCharacterEncoding("UTF-8"); %>
3 |
4 |
5 |
6 |
12 |
37 |
38 | Home
39 |
40 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
66 |
--------------------------------------------------------------------------------
/WebRoot/Frame/kcjb.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
2 | <%@ page import="java.io.*,java.sql.*"%>
3 |
4 |
5 |
6 | <%
7 | request.setCharacterEncoding("UTF-8");
8 | String q = request.getParameter("q");
9 | String SQLStr = "SELECT * FROM tb_kucun where kcsl < "+q;
10 | ResultSet rs=rst.getResult(SQLStr);
11 | if(!rs.next()){
12 | out.print("无缺货状态");
13 | }else{
14 | out.print("");
15 | out.print("有缺货,点击查看!");
16 | out.print("");
17 | }
18 | %>
19 |
20 |
--------------------------------------------------------------------------------
/WebRoot/Frame/main.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
25 |
26 |
27 |
28 |
43 |
44 |
45 |
46 |
47 |
48 |
63 |
64 |
--------------------------------------------------------------------------------
/WebRoot/Frame/top.jsp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/Frame/top.jsp
--------------------------------------------------------------------------------
/WebRoot/Frame/top1.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.io.*,java.sql.*,java.util.*"%>
3 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
--------------------------------------------------------------------------------
/WebRoot/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Class-Path:
3 |
4 |
--------------------------------------------------------------------------------
/WebRoot/META-INF/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/classes/com/infinity/chinese/ToChinese.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/classes/com/infinity/chinese/ToChinese.class
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/classes/com/infinity/dbconn/DBConn.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/classes/com/infinity/dbconn/DBConn.class
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/classes/com/infinity/info/GysRegist.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/classes/com/infinity/info/GysRegist.class
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/classes/com/infinity/info/GysinfoBean.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/classes/com/infinity/info/GysinfoBean.class
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/classes/com/infinity/info/KhRegist.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/classes/com/infinity/info/KhRegist.class
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/classes/com/infinity/info/KhinfoBean.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/classes/com/infinity/info/KhinfoBean.class
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/classes/com/infinity/info/Quest.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/classes/com/infinity/info/Quest.class
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/classes/com/infinity/info/QuestString.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/classes/com/infinity/info/QuestString.class
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/classes/com/infinity/info/SpRegist.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/classes/com/infinity/info/SpRegist.class
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/classes/com/infinity/info/SpinfoBean.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/classes/com/infinity/info/SpinfoBean.class
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/classes/com/infinity/servlet/LoginServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/classes/com/infinity/servlet/LoginServlet.class
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/classes/com/infinity/showtime/CalendarBean.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/classes/com/infinity/showtime/CalendarBean.class
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/classes/com/infinity/showtime/ShowTime.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/classes/com/infinity/showtime/ShowTime.class
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/lib/jcommon-1.0.9.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/lib/jcommon-1.0.9.jar
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/lib/jfreechart-1.0.9.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/lib/jfreechart-1.0.9.jar
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/lib/org.json.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/lib/org.json.jar
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/lib/sqljdbc41.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/WEB-INF/lib/sqljdbc41.jar
--------------------------------------------------------------------------------
/WebRoot/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 | DisplayChart
10 |
11 | org.jfree.chart.servlet.DisplayChart
12 |
13 |
14 |
15 | LoginServlet
16 | com.infinity.servlet.LoginServlet
17 |
18 |
19 |
20 |
21 |
22 | DisplayChart
23 | /servlet/DisplayChart
24 |
25 |
26 | LoginServlet
27 | /LoginServlet
28 |
29 |
30 |
31 |
32 | index.jsp
33 |
34 |
35 |
--------------------------------------------------------------------------------
/WebRoot/bgmusic/1.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/bgmusic/1.mp3
--------------------------------------------------------------------------------
/WebRoot/cxtj/delete/cxdelete.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
2 |
3 |
4 | <%
5 | String DeleteSql = request.getParameter("DeleteSql");//用request得到url中传的sql语句
6 | rst.doExecute(DeleteSql);
7 | out.flush();
8 | out.println("");
12 | %>
13 |
14 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/WebRoot/cxtj/main.jsp:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/WebRoot/cxtj/search/sprkquest_dosearch.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.io.*,java.sql.*"%>
3 |
4 |
5 |
6 |
7 | 入库信息查询
8 |
9 |
10 |
11 |
12 |
13 |
32 |
33 |
34 | <%
35 | request.setCharacterEncoding("UTF-8");
36 | String table="tb_ruku",httpFile="sprkquest_dosearch.jsp";
37 | String date="rkdate";
38 | String pages=request.getParameter("pages");
39 | String cif=request.getParameter("cif");
40 | String ccif=request.getParameter("ccif");
41 | String qvalue = request.getParameter("qvalue");
42 | //String qvalue=trans.trans(request.getParameter("qvalue"));
43 | String andor=request.getParameter("andor");
44 | String sdate=request.getParameter("sdate");//获得表单中查询起始时间
45 | String edate=request.getParameter("edate");//获得表单中查询截止时间
46 | qu.setCcif(ccif);qu.setCif(cif);qu.setQValue(qvalue);
47 | qu.setAndor(andor); qu.setSdate(sdate); qu.setEdate(edate);
48 | //String strCount=qu.getCount(table);
49 | //调用Bean中getDateCount()方法来获得在用户调教的时间段里查询到的记录总数
50 | String strCount=qu.getDateCount(table,date);
51 | if(pages==null||pages.equals("null")){
52 | pages="0";
53 | }
54 | qu.setQuerySql(httpFile,pages,strCount);
55 | //用来获得在表tb_sell中在用户提交的时间段里查询到的记录的结果集
56 | ResultSet rs=rst.getResult((String)qu.getDateString(table,date));
57 | int i=0,Page=qu.getCurPage(),pagesize=qu.getPageSize();
58 | while(rs.next()){
59 | if(i>(Page-1)*pagesize-1){
60 | %>
61 |
62 |
63 |
64 | 入库票号:
65 | <%=rs.getString("ID")%> |
66 | 商品编号:
67 | <%=rs.getString("spid")%> |
68 | 商品名称:
69 | <%=rs.getString("spname")%> |
70 |
71 |
72 | 简称:
73 | <%=rs.getString("jc")%> |
74 | 产地:
75 | <%=rs.getString("cd")%> |
76 | 规格:
77 | <%=rs.getString("gg")%> |
78 |
79 |
80 | 包装:
81 | <%=rs.getString("bz")%> |
82 | 单价:
83 | <%=rs.getString("dj")%> |
84 | 数量:
85 | <%=rs.getString("sl")%> |
86 |
87 |
88 | 金额:
89 | <%=rs.getString("je")%> |
90 | 供应商全称:
91 | <%=rs.getString("gysname")%> |
92 | 入库日期:
93 | <%=rs.getString("rkdate").substring(0,10)%> |
94 |
95 |
96 | 操作员:
97 | <%=rs.getString("czy")%> |
98 | 经手人:
99 | <%=rs.getString("jsr")%> |
100 | 结算方式:
101 | <%=rs.getString("jsfs")%> |
102 |
103 |
104 |
105 | |
106 |
107 | |
108 |
109 |
112 | |
113 |
114 |
115 |
116 | <%}i++;}
117 | rs.close();
118 | String str_parameter="&cif="+qu.getCif()+"&ccif="+qu.getCcif()+"&qvalue="+qu.getQValue()+
119 | "&andor="+qu.getAndor()+"&sdate="+qu.getSdate()+"&edate="+qu.getEdate();
120 | qu.setStr_parameter(str_parameter);
121 | %>
122 | <%=qu.pageFooter()%>
123 |
124 |
125 |
126 |
127 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
--------------------------------------------------------------------------------
/WebRoot/cxtj/search/spxsphquest_dosearch.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.sql.*,java.io.*"%>
3 |
4 |
5 |
6 | 商品销售排行
7 |
8 |
9 |
10 |
11 |
12 |
31 |
32 |
33 |
34 |
35 |
36 | 商品编号 |
37 |
38 | 商品名称 |
39 |
40 | 产地 |
41 |
42 | 规格 |
43 |
44 | 包装 |
45 |
46 | 数量 |
47 |
48 | 金额 |
49 |
50 | <%
51 | request.setCharacterEncoding("UTF-8");
52 | String table="tb_sell"; String httpFile="spxsphquest_dosearch.jsp";
53 | String date="xsdate";
54 | String pages=request.getParameter("pages");
55 | String sdate=request.getParameter("sdate");
56 | String edate=request.getParameter("edate");
57 | String orderby=request.getParameter("orderby");
58 | String paixu=request.getParameter("paixu");
59 | qu.setSdate(sdate);qu.setEdate(edate);
60 | qu.setOrderby(orderby);qu.setPaixu(paixu);
61 | qu.setPageSize(10);
62 | String strCount=qu.getOrderCount(table,date);
63 | if(pages==null||pages.equals("")){
64 | pages="0";
65 | }
66 | qu.setQuerySql(httpFile,pages,strCount);
67 | ResultSet rs=rst.getResult((String)qu.getOrderString(table,date));
68 | int i=0,Page=qu.getCurPage(),pagesize=qu.getPageSize();
69 | while(rs.next()){
70 | if(i>(Page-1)*pagesize-1){
71 | %>
72 |
73 |
74 | <%=rs.getString("spid")%> |
75 |
76 | <%=rs.getString("spname")%> |
77 |
78 | <%=rs.getString("cd")%> |
79 |
80 | <%=rs.getString("gg")%> |
81 |
82 | <%=rs.getString("bz")%> |
83 |
84 | <%=rs.getString("sl")%>(<%=rs.getString("dw")%>) |
85 |
86 | <%=rs.getString("je")%> |
87 |
88 |
89 |
90 | <%
91 | }i++;}
92 | rs.close();
93 | String str_parameter="&sdate="+qu.getSdate()+"&edate="+qu.getEdate()+
94 | "&orderby="+qu.getOrderby()+"&paixu="+qu.getPaixu();
95 | //session.setAttribute("str_parameter",str_parameter);
96 | qu.setStr_parameter(str_parameter);
97 | %>
98 |
99 |
100 | <%=qu.pageFooter()%>
101 |
102 |
103 |
104 |
105 |
--------------------------------------------------------------------------------
/WebRoot/cxtj/search/spyearquest_dosearch.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
3 | <%@ page import="org.jfree.chart.ChartFactory" %>
4 | <%@ page import="org.jfree.chart.JFreeChart" %>
5 | <%@ page import="org.jfree.data.category.DefaultCategoryDataset" %>
6 | <%@ page import="org.jfree.chart.plot.PlotOrientation" %>
7 | <%@ page import="org.jfree.chart.entity.StandardEntityCollection" %>
8 | <%@ page import="org.jfree.chart.ChartRenderingInfo" %>
9 | <%@ page import="org.jfree.chart.servlet.ServletUtilities" %>
10 |
11 | <%@ page import="java.io.*,java.sql.*"%>
12 |
13 |
14 |
15 |
16 |
17 | <%
18 | String year=request.getParameter("year");
19 | String url="";
20 | //获得某年按月份分组的总销售额的SQL语句
21 | String strSql="select sum(je) as sumje,month(xsdate) as xsmonth from tb_sell"+
22 | " where year(xsdate)='"+year+"' group by month(xsdate)";
23 | ResultSet rs=rst.getResult(strSql);
24 | int counts=0;
25 | while(rs.next()){
26 | counts++;
27 | }
28 | if(counts!=12){
29 | counts=0;
30 | out.flush();
31 | out.println("");
35 | }
36 | else
37 | {
38 | rs=rst.getResult(strSql);
39 | rs.next();
40 | DefaultCategoryDataset dataset1=new DefaultCategoryDataset();
41 | for(int j=1;j<=12;j++){ //循环从1循环到12
42 | float sumje=Float.valueOf(rs.getString("sumje"));
43 | int y=rs.getInt("xsmonth");
44 | dataset1.addValue(sumje,y+"月",y+"月");
45 | rs.next();
46 | }
47 | //创建JFreeChart组件的图表对象
48 | JFreeChart chart=ChartFactory.createBarChart3D(
49 | year+"年销售额分析图", //图表标题
50 | "月份", //x轴的显示标题
51 | "销量", //y轴的显示标题
52 | dataset1, //数据集
53 | PlotOrientation.VERTICAL,//图表方向(垂直)
54 | true, //是否包含图例
55 | false, //是否包含提示
56 | false //是否包含URL
57 | );
58 | //设置图表的文件名
59 | // 固定用法
60 | ChartRenderingInfo info = new ChartRenderingInfo(new StandardEntityCollection());
61 | String fileName=ServletUtilities.saveChartAsPNG(chart,500,300,info,session);
62 | url=request.getContextPath()+"/servlet/DisplayChart?filename="+fileName;
63 | System.out.println(url);
64 | }
65 | %>
66 |
67 | 年销售额分析
68 |
69 |
70 |
71 |
72 |
73 |
89 |
90 |
91 |
92 |  |
93 |
94 |
95 |
96 |
97 |
--------------------------------------------------------------------------------
/WebRoot/cxtj/sprkchat.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" %>
2 | <% request.setCharacterEncoding("UTF-8"); %>
3 |
4 |
5 |
6 | 商品入库查询框架
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/WebRoot/cxtj/spxsphchat.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" %>
2 |
3 | <% request.setCharacterEncoding("UTF-8"); %>
4 | <% request.setCharacterEncoding("UTF-8"); %>
5 |
6 |
7 |
8 | 商品销售排行
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/WebRoot/cxtj/spxsphquest.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 |
3 |
4 | 商品销售排行
5 |
6 |
7 |
8 |
9 |
25 |
26 |
27 |
28 | 当前位置:查询统计 >商品销售排行>>>
29 |
30 |
31 |
65 |
66 |
67 |
68 |
69 |
70 |
165 |
--------------------------------------------------------------------------------
/WebRoot/cxtj/spyearchat.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" %>
2 | <% request.setCharacterEncoding("UTF-8"); %>
3 |
4 |
5 |
6 | 年销售额分析
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/WebRoot/cxtj/spyearquest.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 |
3 |
4 | 商品销售排行
5 |
6 |
7 |
8 |
9 |
25 |
26 |
27 |
28 | 当前位置:查询统计 >年销售额分析>>>
29 |
30 |
31 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/WebRoot/cxtj/xsxxchat.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" %>
2 |
3 | <% request.setCharacterEncoding("UTF-8"); %>
4 |
5 |
6 |
7 |
8 | 商品信息查询框架
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/WebRoot/extend/contact.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
2 |
3 |
4 |
5 |
6 |
7 |
8 | 联系信息页面
9 |
10 |
11 |
12 |
13 |
14 |
15 |
18 |
19 |
20 |
21 | <%
22 | out.flush();
23 | out.println("");
27 | %>
28 |
29 | This is my JSP page.
30 |
31 |
32 |
--------------------------------------------------------------------------------
/WebRoot/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/favicon.ico
--------------------------------------------------------------------------------
/WebRoot/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/WebRoot/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/WebRoot/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/WebRoot/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/WebRoot/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/WebRoot/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/WebRoot/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/WebRoot/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/WebRoot/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/WebRoot/images/Imgmenu1_1.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/Imgmenu1_1.gif
--------------------------------------------------------------------------------
/WebRoot/images/Imgmenu1_2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/Imgmenu1_2.gif
--------------------------------------------------------------------------------
/WebRoot/images/Thumbs.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/Thumbs.db
--------------------------------------------------------------------------------
/WebRoot/images/blank.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/blank.jpg
--------------------------------------------------------------------------------
/WebRoot/images/blank2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/blank2.jpg
--------------------------------------------------------------------------------
/WebRoot/images/cup.GIF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/cup.GIF
--------------------------------------------------------------------------------
/WebRoot/images/datetime.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/datetime.gif
--------------------------------------------------------------------------------
/WebRoot/images/dmwaste.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/dmwaste.gif
--------------------------------------------------------------------------------
/WebRoot/images/ed-item.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/ed-item.gif
--------------------------------------------------------------------------------
/WebRoot/images/email.GIF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/email.GIF
--------------------------------------------------------------------------------
/WebRoot/images/home.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/home.gif
--------------------------------------------------------------------------------
/WebRoot/images/homepage.GIF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/homepage.GIF
--------------------------------------------------------------------------------
/WebRoot/images/jobPane.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/jobPane.gif
--------------------------------------------------------------------------------
/WebRoot/images/left_top.GIF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/left_top.GIF
--------------------------------------------------------------------------------
/WebRoot/images/login_bottom.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/login_bottom.jpg
--------------------------------------------------------------------------------
/WebRoot/images/login_btn_bg.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/login_btn_bg.gif
--------------------------------------------------------------------------------
/WebRoot/images/login_btn_bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/login_btn_bg.jpg
--------------------------------------------------------------------------------
/WebRoot/images/login_top.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/login_top.jpg
--------------------------------------------------------------------------------
/WebRoot/images/logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/logo.jpg
--------------------------------------------------------------------------------
/WebRoot/images/mainframepics/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/mainframepics/1.jpg
--------------------------------------------------------------------------------
/WebRoot/images/mainframepics/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/mainframepics/2.jpg
--------------------------------------------------------------------------------
/WebRoot/images/mainframepics/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/mainframepics/3.jpg
--------------------------------------------------------------------------------
/WebRoot/images/mainframepics/4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/mainframepics/4.jpg
--------------------------------------------------------------------------------
/WebRoot/images/mainframepics/5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/mainframepics/5.jpg
--------------------------------------------------------------------------------
/WebRoot/images/mainframepics/新建文件夹/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/mainframepics/新建文件夹/1.jpg
--------------------------------------------------------------------------------
/WebRoot/images/mainframepics/新建文件夹/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/mainframepics/新建文件夹/2.jpg
--------------------------------------------------------------------------------
/WebRoot/images/mainframepics/新建文件夹/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/mainframepics/新建文件夹/3.jpg
--------------------------------------------------------------------------------
/WebRoot/images/mainframepics/新建文件夹/4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/mainframepics/新建文件夹/4.jpg
--------------------------------------------------------------------------------
/WebRoot/images/mainframepics/新建文件夹/5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/mainframepics/新建文件夹/5.jpg
--------------------------------------------------------------------------------
/WebRoot/images/menu_1.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/menu_1.JPG
--------------------------------------------------------------------------------
/WebRoot/images/menu_1a.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/menu_1a.JPG
--------------------------------------------------------------------------------
/WebRoot/images/menu_3.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/menu_3.JPG
--------------------------------------------------------------------------------
/WebRoot/images/menu_4.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/menu_4.JPG
--------------------------------------------------------------------------------
/WebRoot/images/menu_5.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/menu_5.JPG
--------------------------------------------------------------------------------
/WebRoot/images/menu_6.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/menu_6.JPG
--------------------------------------------------------------------------------
/WebRoot/images/menu_7.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/menu_7.JPG
--------------------------------------------------------------------------------
/WebRoot/images/revigate.GIF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/revigate.GIF
--------------------------------------------------------------------------------
/WebRoot/images/speaker.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/speaker.bmp
--------------------------------------------------------------------------------
/WebRoot/images/subMenu_ico.GIF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/images/subMenu_ico.GIF
--------------------------------------------------------------------------------
/WebRoot/jcxx/add/addgysinfo.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.sql.*,java.io.*"%>
3 |
4 | <% request.setCharacterEncoding("UTF-8");%>
5 |
6 |
7 |
8 |
9 |
10 |
11 |
13 | <%
14 | regist.setGysinfo(gysinfo);
15 | regist.regist();//调用regist()方法来对数据库操作
16 | out.flush();
17 | out.println("");
21 |
22 | %>
23 |
24 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/WebRoot/jcxx/add/addkhinfo.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.sql.*,java.io.*"%>
3 |
4 | <% request.setCharacterEncoding("UTF-8");%>
5 |
6 |
7 |
8 |
9 |
10 |
11 |
13 | <%
14 | regist.setKhinfo(khinfo);
15 | regist.regist();//调用regist()方法来对数据库操作
16 | out.flush();
17 | out.println("");
22 |
23 | %>
24 |
25 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/WebRoot/jcxx/add/addspinfo.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.sql.*,java.io.*"%>
3 |
4 | <% request.setCharacterEncoding("UTF-8");%>
5 |
6 |
7 |
8 |
9 |
10 |
11 |
13 | <%
14 | regist.setSpinfo(spinfo);
15 | regist.regist();//调用regist()方法来对数据库操作
16 | out.flush();
17 | out.println("");
21 |
22 | %>
23 |
24 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/WebRoot/jcxx/delete/jcxxdelete.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
2 |
3 |
4 | <%
5 | String DeleteSql = request.getParameter("DeleteSql");//用request得到url中传的sql语句
6 | rst.doExecute(DeleteSql);
7 | out.flush();
8 | out.println("");
12 | %>
13 |
14 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/WebRoot/jcxx/gyschat.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.sql.*" %>
3 | <% request.setCharacterEncoding("UTF-8"); %>
4 |
5 |
6 |
7 | 供应商信息查询框架
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/WebRoot/jcxx/gysquest.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 |
3 |
4 | 供应商信息查询
5 |
6 |
7 |
8 |
9 |
25 |
26 |
27 |
28 | 当前位置:基础信息管理 >供应商信息查询>>>
29 |
30 |
31 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
96 |
97 |
--------------------------------------------------------------------------------
/WebRoot/jcxx/khchat.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.sql.*" %>
3 | <% request.setCharacterEncoding("UTF-8"); %>
4 |
5 |
6 |
7 | 客户信息查询框架
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/WebRoot/jcxx/khquest.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 |
3 |
4 | 客户信息查询
5 |
6 |
7 |
8 |
9 |
25 |
26 |
27 |
28 | 当前位置:基础信息管理 >客户信息查询>>>
29 |
30 |
31 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
96 |
97 |
--------------------------------------------------------------------------------
/WebRoot/jcxx/main.jsp:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/WebRoot/jcxx/search/gysquest_dosearch.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.io.*,java.sql.*"%>
3 |
4 |
5 |
6 |
7 |
8 |
9 | 供应商查询结果并分页显示
10 |
11 |
12 |
13 |
14 |
15 |
34 |
35 |
36 |
37 | <%
38 | request.setCharacterEncoding("UTF-8");
39 | String table="tb_supplier";//设置所要查询的表名;
40 | String httpFile="gysquest_dosearch.jsp";//设置处理请求的JSP文件
41 | String pages=request.getParameter("pages");//接收当前是第几页
42 | String qvalue = request.getParameter("qvalue");
43 | String cif=request.getParameter("cif");//保存查询字段
44 | String ccif=request.getParameter("ccif");//保存查询运算符
45 | //查询关键字,并将其值通过中文处理,即用户输入中文可以正确识别
46 | //qvalue=trans.trans(request.getParameter("qvalue"));
47 |
48 | //向QuestString中设置属性值
49 | qu.setCcif(ccif);qu.setCif(cif);qu.setQValue(qvalue);
50 | //调用QuestString的getCount(String table)方法,并根据查询条件得出所要查询记录的总数量
51 | String strCount=qu.getCount(table);
52 | //判断pages是否为null,如果为null将pages的值设为"0"
53 | if(pages==null||pages.equals("null")){
54 | pages="0";
55 | }
56 | //调用QuestString的setQuerySql()方法来设置Bean中的属性
57 | qu.setQuerySql(httpFile,pages,strCount);
58 | //调用QuestString的getString()方法来获得可执行的SQL语句,并获得ResultSet
59 | ResultSet rs=rst.getResult((String)qu.getString(table));
60 | //从QuestString中取出当前页和每页显示的记录数
61 | int i=0,Page=qu.getCurPage(),pagesize=qu.getPageSize();
62 | while(rs.next()){
63 | //定义整型变量i用来将记录指针定位到待显示页的第一条记录上
64 | if(i>(Page-1)*pagesize-1){
65 | %>
66 |
67 |
68 |
69 | 供应商全称:
70 | <%=rs.getString("gysname")%> |
71 | 简称:
72 | <%=rs.getString("jc")%> |
73 | 地址:
74 | <%=rs.getString("address")%> |
75 |
76 |
77 | 邮政编码:
78 | <%=rs.getString("postcode")%> |
79 | 电话:
80 | <%=rs.getString("tel")%> |
81 | 传真:
82 | <%=rs.getString("fax")%> |
83 |
84 |
85 | 联系人:
86 | <%=rs.getString("lxr")%> |
87 | 联系人电话:
88 | <%=rs.getString("lxrtel")%> |
89 | 开户银行:
90 | <%=rs.getString("khyh")%> |
91 |
92 |
93 | E-Mail:
94 | <%=rs.getString("email")%> |
95 |
96 |
97 | 供应商编号:
98 | <%=rs.getString("ID")%> |
99 |
100 | |
101 |
102 |
105 | |
106 |
107 |
108 | <%}i++;}
109 | rs.close();
110 | String str_parameter="&cif="+qu.getCif()+"&ccif="+qu.getCcif()+"&qvalue="+qu.getQValue()+"";
111 | //设置分页栏中连接标签的参数
112 | qu.setStr_parameter(str_parameter);
113 | %>
114 |
115 | <%=qu.pageFooter()%>
116 |
117 |
118 |
119 |
120 |
--------------------------------------------------------------------------------
/WebRoot/jcxx/search/khquest_dosearch.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.io.*,java.sql.*"%>
3 |
4 |
5 |
6 |
7 |
8 |
9 | 客户查询结果并分页显示
10 |
11 |
12 |
13 |
14 |
15 |
34 |
35 |
36 |
37 | <%
38 | request.setCharacterEncoding("UTF-8");
39 | String table="tb_customer";//设置所要查询的表名;
40 | String httpFile="khquest_dosearch.jsp";//设置处理请求的JSP文件
41 | String pages=request.getParameter("pages");//接收当前是第几页
42 | String qvalue = request.getParameter("qvalue");
43 | String cif=request.getParameter("cif");//保存查询字段
44 | String ccif=request.getParameter("ccif");//保存查询运算符
45 | //查询关键字,并将其值通过中文处理,即用户输入中文可以正确识别
46 | //qvalue=trans.trans(request.getParameter("qvalue"));
47 |
48 | //向QuestString中设置属性值
49 | qu.setCcif(ccif);qu.setCif(cif);qu.setQValue(qvalue);
50 | //调用QuestString的getCount(String table)方法,并根据查询条件得出所要查询记录的总数量
51 | String strCount=qu.getCount(table);
52 | //判断pages是否为null,如果为null将pages的值设为"0"
53 | if(pages==null||pages.equals("null")){
54 | pages="0";
55 | }
56 | //调用QuestString的setQuerySql()方法来设置Bean中的属性
57 | qu.setQuerySql(httpFile,pages,strCount);
58 | //调用QuestString的getString()方法来获得可执行的SQL语句,并获得ResultSet
59 | ResultSet rs=rst.getResult((String)qu.getString(table));
60 | //从QuestString中取出当前页和每页显示的记录数
61 | int i=0,Page=qu.getCurPage(),pagesize=qu.getPageSize();
62 | while(rs.next()){
63 | //定义整型变量i用来将记录指针定位到待显示页的第一条记录上
64 | if(i>(Page-1)*pagesize-1){
65 | %>
66 |
67 |
68 |
69 | 客户全称:
70 | <%=rs.getString("khqc")%> |
71 | 简称:
72 | <%=rs.getString("khjc")%> |
73 | 地址:
74 | <%=rs.getString("khdz")%> |
75 |
76 |
77 | 邮政编码:
78 | <%=rs.getString("khyb")%> |
79 | 电话:
80 | <%=rs.getString("khdh")%> |
81 | 传真:
82 | <%=rs.getString("khcz")%> |
83 |
84 |
85 | 联系人电话:
86 | <%=rs.getString("khlxrdh")%> |
87 | 联系人:
88 | <%=rs.getString("khlxr")%> |
89 | 开户银行:
90 | <%=rs.getString("khkhyh")%> |
91 |
92 |
93 | 银行账号:
94 | <%=rs.getString("khyhzh")%> |
95 | E-Mail:
96 | <%=rs.getString("khyx")%> |
97 |
98 |
99 | 客户编号:
100 | <%=rs.getString("ID")%> |
101 |
102 | |
103 |
104 |
107 | |
108 |
109 |
110 |
111 | <%}i++;}
112 | rs.close();
113 | String str_parameter="&cif="+qu.getCif()+"&ccif="+qu.getCcif()+"&qvalue="+qu.getQValue()+"";
114 | //设置分页栏中连接标签的参数
115 | qu.setStr_parameter(str_parameter);
116 | %>
117 |
118 | <%=qu.pageFooter()%>
119 |
120 |
121 |
122 |
123 |
150 |
--------------------------------------------------------------------------------
/WebRoot/jcxx/search/spquest_dosearch.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.io.*,java.sql.*"%>
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | 商品查询
11 |
12 |
13 |
14 |
15 |
16 |
35 |
36 |
37 |
38 | <%
39 | request.setCharacterEncoding("UTF-8");
40 | String table="tb_brand";//设置所要查询的表名;
41 | String httpFile="spquest_dosearch.jsp";//设置处理请求的JSP文件
42 | String pages=request.getParameter("pages");//接收当前是第几页
43 | String qvalue = request.getParameter("qvalue");
44 | String cif=request.getParameter("cif");//保存查询字段
45 | String ccif=request.getParameter("ccif");//保存查询运算符
46 | //查询关键字,并将其值通过中文处理,即用户输入中文可以正确识别
47 | //qvalue=trans.trans(request.getParameter("qvalue"));
48 |
49 | //向QuestString中设置属性值
50 | qu.setCcif(ccif);qu.setCif(cif);qu.setQValue(qvalue);
51 | //调用QuestString的getCount(String table)方法,并根据查询条件得出所要查询记录的总数量
52 | String strCount=qu.getCount(table);
53 | //判断pages是否为null,如果为null将pages的值设为"0"
54 | if(pages==null||pages.equals("null")){
55 | pages="0";
56 | }
57 | //调用QuestString的setQuerySql()方法来设置Bean中的属性
58 | qu.setQuerySql(httpFile,pages,strCount);
59 | //调用QuestString的getString()方法来获得可执行的SQL语句,并获得ResultSet
60 | ResultSet rs=rst.getResult((String)qu.getString(table));
61 | //从QuestString中取出当前页和每页显示的记录数
62 | int i=0,Page=qu.getCurPage(),pagesize=qu.getPageSize();
63 | while(rs.next()){
64 | //定义整型变量i用来将记录指针定位到待显示页的第一条记录上
65 | if(i>(Page-1)*pagesize-1){
66 | %>
67 |
68 |
69 |
70 | 商品编号:
71 | <%=rs.getString("ID")%> |
72 | 规格:
73 | <%=rs.getString("gg")%> |
74 | 简称:
75 | <%=rs.getString("jc")%> |
76 |
77 |
78 | 商品名称:
79 | <%=rs.getString("spname")%> |
80 | 包装:
81 | <%=rs.getString("bz")%> |
82 | 产地:
83 | <%=rs.getString("cd")%> |
84 |
85 |
86 | 批号:
87 | <%=rs.getString("ph")%> |
88 | 供应商全称:
89 | <%=rs.getString("gysname")%> |
90 | 计量单位:
91 | <%=rs.getString("dw")%> |
92 |
93 |
94 | 批准文号:
95 | <%=rs.getString("pzwh")%> |
96 | 备注:
97 | <%=rs.getString("memo")%> |
98 |
99 |
100 |
101 | 商品编号:
102 | <%=rs.getString("ID")%> |
103 |
104 | |
105 |
106 |
109 | |
110 |
111 |
112 |
113 | <%}i++;}
114 | rs.close();
115 | String str_parameter="&cif="+qu.getCif()+"&ccif="+qu.getCcif()+"&qvalue="+qu.getQValue()+"";
116 | //设置分页栏中连接标签的参数
117 | qu.setStr_parameter(str_parameter);
118 | %>
119 |
120 | <%=qu.pageFooter()%>
121 |
122 |
123 |
124 |
125 |
126 |
--------------------------------------------------------------------------------
/WebRoot/jcxx/spchat.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.sql.*" %>
3 | <% request.setCharacterEncoding("UTF-8"); %>
4 |
5 |
6 |
7 | 商品信息查询框架
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/WebRoot/jcxx/spquest.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 |
3 |
4 | 商品信息查询
5 |
6 |
7 |
8 |
9 |
25 |
26 |
27 |
28 | 当前位置:基础信息管理 >商品信息查询>>>
29 |
30 |
31 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
99 |
--------------------------------------------------------------------------------
/WebRoot/js/jquery-accordion-menu.js:
--------------------------------------------------------------------------------
1 | (function($, window, document, undefined) {
2 | var pluginName = "jqueryAccordionMenu";
3 | var defaults = {
4 | speed: 300,
5 | showDelay: 0,
6 | hideDelay: 0,
7 | singleOpen: true,
8 | clickEffect: true
9 | };
10 | function Plugin(element, options) {
11 | this.element = element;
12 | this.settings = $.extend({},
13 | defaults, options);
14 | this._defaults = defaults;
15 | this._name = pluginName;
16 | this.init()
17 | };
18 | $.extend(Plugin.prototype, {
19 | init: function() {
20 | this.openSubmenu();
21 | this.submenuIndicators();
22 | if (defaults.clickEffect) {
23 | this.addClickEffect()
24 | }
25 | },
26 | openSubmenu: function() {
27 | $(this.element).children("ul").find("li").bind("click touchstart",
28 | function(e) {
29 | e.stopPropagation();
30 | e.preventDefault();
31 | if ($(this).children(".submenu").length > 0) {
32 | if ($(this).children(".submenu").css("display") == "none") {
33 | $(this).children(".submenu").delay(defaults.showDelay).slideDown(defaults.speed);
34 | $(this).children(".submenu").siblings("a").addClass("submenu-indicator-minus");
35 | if (defaults.singleOpen) {
36 | $(this).siblings().children(".submenu").slideUp(defaults.speed);
37 | $(this).siblings().children(".submenu").siblings("a").removeClass("submenu-indicator-minus")
38 | }
39 | return false
40 | } else {
41 | $(this).children(".submenu").delay(defaults.hideDelay).slideUp(defaults.speed)
42 | }
43 | if ($(this).children(".submenu").siblings("a").hasClass("submenu-indicator-minus")) {
44 | $(this).children(".submenu").siblings("a").removeClass("submenu-indicator-minus")
45 | }
46 | }
47 | if($(this).children("a").attr("href")=="#"){
48 | }else
49 | window.open ($(this).children("a").attr("href"),"mainFrame");
50 |
51 |
52 |
53 | })
54 | },
55 | submenuIndicators: function() {
56 | if ($(this.element).find(".submenu").length > 0) {
57 | $(this.element).find(".submenu").siblings("a").append("")
58 | }
59 | },
60 | addClickEffect: function() {
61 | var ink, d, x, y;
62 | $(this.element).find("a").bind("click touchstart",
63 | function(e) {
64 | $(".ink").remove();
65 | if ($(this).children(".ink").length === 0) {
66 | $(this).prepend("")
67 | }
68 | ink = $(this).find(".ink");
69 | ink.removeClass("animate-ink");
70 | if (!ink.height() && !ink.width()) {
71 | d = Math.max($(this).outerWidth(), $(this).outerHeight());
72 | ink.css({
73 | height: d,
74 | width: d
75 | })
76 | }
77 | x = e.pageX - $(this).offset().left - ink.width() / 2;
78 | y = e.pageY - $(this).offset().top - ink.height() / 2;
79 | ink.css({
80 | top: y + 'px',
81 | left: x + 'px'
82 | }).addClass("animate-ink")
83 | })
84 | }
85 | });
86 | $.fn[pluginName] = function(options) {
87 | this.each(function() {
88 | if (!$.data(this, "plugin_" + pluginName)) {
89 | $.data(this, "plugin_" + pluginName, new Plugin(this, options))
90 | }
91 | });
92 | return this
93 | }
94 | })(jQuery, window, document);
95 |
--------------------------------------------------------------------------------
/WebRoot/js/npm.js:
--------------------------------------------------------------------------------
1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
2 | require('../../js/transition.js')
3 | require('../../js/alert.js')
4 | require('../../js/button.js')
5 | require('../../js/carousel.js')
6 | require('../../js/collapse.js')
7 | require('../../js/dropdown.js')
8 | require('../../js/modal.js')
9 | require('../../js/tooltip.js')
10 | require('../../js/popover.js')
11 | require('../../js/scrollspy.js')
12 | require('../../js/tab.js')
13 | require('../../js/affix.js')
--------------------------------------------------------------------------------
/WebRoot/kcgl/change/jgChange.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.io.*,java.sql.*"%>
3 |
4 |
5 |
6 |
7 | 价格调整
8 |
9 |
10 |
11 |
12 | <%
13 | request.setCharacterEncoding("UTF-8");
14 | String hid=request.getParameter("hid");
15 | String hkcje=request.getParameter("hkcje");
16 | String hdj=request.getParameter("hdj");
17 | String strSql="update tb_kucun set kcje="+hkcje+
18 | ", dj="+hdj+" where id='"+hid+"'";
19 | rst.doExecute(strSql);
20 |
21 |
22 | out.flush();
23 | out.println("");
27 | %>
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/WebRoot/kcgl/change/spChange.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.sql.*,java.io.*"%>
3 | <%@ page import="com.infinity.dbconn.DBConn"%>
4 |
5 |
6 |
7 | <%
8 | request.setCharacterEncoding("UTF-8");//解决表单提交中的中文乱码问题
9 | //获取表单数据
10 | String jc=(String)session.getAttribute("jc"); String spname=(String)session.getAttribute("spname");
11 | String gg=(String)session.getAttribute("gg"); String rkid=(String)session.getAttribute("rkbh");
12 | String bz=(String)session.getAttribute("bz"); String gysname=(String)session.getAttribute("gysname");
13 | String cd=(String)session.getAttribute("cd"); String spid=(String)session.getAttribute("spid");
14 | String dw=(String)session.getAttribute("dw");
15 | String sl=(String)request.getParameter("sl"); String czy=(String)request.getParameter("czy");
16 | String je=(String)request.getParameter("je"); String jsr=(String)request.getParameter("jsr");
17 | String dj=(String)request.getParameter("dj"); String rkdate=(String)request.getParameter("rkdate");
18 | String yf=(String)request.getParameter("yf"); String jsfs=(String)request.getParameter("jsfs");
19 | String sf=(String)request.getParameter("sf"); String wf=(String)request.getParameter("wf");
20 | String whether="";
21 |
22 | if(wf.equals("0")){//记录商品入库时是否有未付款
23 | whether="是";
24 | }else{
25 | whether="否";
26 | }
27 | String theMax="";
28 |
29 | //资金查看
30 | String ldzjckSql="SELECT ldzj FROM tb_supermarket WHERE ID = '1'";
31 | ResultSet cszj=rst.getResult(ldzjckSql);
32 | cszj.next();
33 | float zj = cszj.getFloat("ldzj");
34 | if(zj < Float.valueOf(sf)){
35 | out.flush();
36 | out.println("");
40 | }else{
41 | //保存入库信息
42 | String rukuSql="insert into tb_ruku values('"+rkid+"','"+spid+"','"+spname+"',"+
43 | "'"+jc+"','"+cd+"','"+gg+"','"+bz+"','"+dw+"',"+dj+",'"+sl+"',"+je+","+
44 | "'"+gysname+"','"+rkdate+"','"+czy+"','"+jsr+"','"+jsfs+"')";
45 | //保存入库票号信息
46 | String rkphSql="insert into tb_rkph values('"+rkid+"','"+sl+"',"+yf+","+sf+","+
47 | ""+wf+",'"+gysname+"','"+rkdate+"','"+czy+"','"+jsr+"','"+jsfs+"','"+whether+"')";
48 |
49 | //资金变化
50 | String ldzjSql="UPDATE tb_supermarket SET ldzj = ldzj -"+sf;
51 |
52 | //保存或修改库存信息
53 | String rkkcSelect="select * from tb_kucun where id='"+spid+"'";
54 | ResultSet rkkc=rst.getResult(rkkcSelect);
55 | String rkkcSql="";
56 | //判断库存中是否有该商品,如果有则修改库存信息,否则插入库存记录。
57 | if(rkkc.next()){
58 | rkkcSql="update tb_kucun set kcsl=kcsl+"+sl+",dj="+dj+","+
59 | "kcje=(kcsl+"+sl+")*"+dj+" where id='"+spid+"'";
60 | }else{
61 | rkkcSql="insert into tb_kucun values('"+spid+"','"+spname+"','"+jc+"','"+cd+"',"+
62 | "'"+gg+"','"+bz+"','"+dw+"',"+dj+","+sl+","+je+")";
63 | }
64 | rst.doExecute(rkkcSql);
65 | rst.doExecute(rukuSql);
66 | rst.doExecute(rkphSql);
67 | rst.doExecute(ldzjSql);
68 |
69 | out.flush();
70 | out.println("");
74 | }
75 | %>
--------------------------------------------------------------------------------
/WebRoot/kcgl/change/sprkthChange.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.sql.*,java.io.*"%>
3 | <%@ page import="com.infinity.dbconn.DBConn"%>
4 |
5 |
6 |
7 | <%
8 | request.setCharacterEncoding("UTF-8");//解决表单提交中的中文乱码问题
9 | //获取表单数据
10 | String jc=(String)session.getAttribute("jc"); String spname=(String)session.getAttribute("spname");
11 | String gg=(String)session.getAttribute("gg"); String rkthid=(String)session.getAttribute("rkthbh");
12 | String bz=(String)session.getAttribute("bz"); String gysname=(String)session.getAttribute("gysname");
13 | String cd=(String)session.getAttribute("cd"); String spid=(String)session.getAttribute("spid");
14 | String dw=(String)session.getAttribute("dw");
15 | String sl=(String)request.getParameter("sl"); String czy=(String)request.getParameter("czy");
16 | String je=(String)request.getParameter("je"); String jsr=(String)request.getParameter("jsr");
17 | String dj=(String)request.getParameter("dj"); String thdate=(String)request.getParameter("thdate");
18 | String ys=(String)request.getParameter("ys"); String jsfs=(String)request.getParameter("jsfs");
19 | String ss=(String)request.getParameter("ss"); String ws=(String)request.getParameter("ws");
20 | String whether="";
21 |
22 | if(ws.equals("0")){//记录商品入库时是否有未收款
23 | whether="是";
24 | }else{
25 | whether="否";
26 | }
27 | String theMax="";
28 | //保存入库信息
29 | String rukuthSql="insert into tb_rukuth values('"+rkthid+"','"+spid+"','"+spname+"',"+
30 | "'"+jc+"','"+cd+"','"+gg+"','"+bz+"','"+dw+"',"+dj+",'"+sl+"',"+je+","+
31 | "'"+gysname+"','"+ thdate +"','"+czy+"','"+jsr+"','"+jsfs+"')";
32 | //保存入库票号信息
33 | String rkthphSql="insert into tb_thph_rk values('"+rkthid+"','"+sl+"',"+ys+","+ss+","+
34 | ""+ws+",'"+gysname+"','"+thdate+"','"+czy+"','"+jsr+"','"+jsfs+"','"+whether+"')";
35 |
36 | //保存或修改库存信息
37 | String kcSelect="select * from tb_kucun where id='"+spid+"'";
38 | ResultSet rkkc=rst.getResult(kcSelect);
39 | String thkcSql="";
40 | //判断库存中是否有该商品,如果有则修改库存信息,否则插入库存记录。
41 | if(rkkc.next()){
42 | float thissl = rkkc.getFloat("kcsl");
43 | if(thissl==Float.parseFloat(sl)){
44 | thkcSql = "delete from tb_kucun where id='"+spid+"'";
45 | }else{
46 | thkcSql="update tb_kucun set kcsl=kcsl+"+sl+",dj="+dj+","+
47 | "kcje=(kcsl+"+sl+")*"+dj+" where id='"+spid+"'";
48 | }
49 | }else{
50 | //不存在该情况。因为是从库存中选择的
51 | }
52 | rst.doExecute(thkcSql);
53 | rst.doExecute(rukuthSql);
54 | rst.doExecute(rkthphSql);
55 |
56 |
57 | out.flush();
58 | out.println("");
62 | %>
--------------------------------------------------------------------------------
/WebRoot/kcgl/delete/kcdatadelete.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
2 |
3 |
4 | <%
5 | String DeleteSql = request.getParameter("DeleteSql");//用request得到url中传的sql语句
6 | rst.doExecute(DeleteSql);
7 | out.flush();
8 | out.println("");
12 | %>
13 |
14 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/WebRoot/kcgl/kcchat.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" %>
2 | <% request.setCharacterEncoding("UTF-8"); %>
3 |
4 |
5 |
6 | 库存框架
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/WebRoot/kcgl/kcjb.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.io.*,java.sql.*"%>
3 |
4 |
5 |
6 |
7 |
8 |
9 | 库存警报
10 |
11 |
12 |
13 |
14 |
15 |
16 |
32 |
33 |
34 |
35 | <%
36 | String table="tb_kucun",httpFile="kcjb.jsp";
37 | String pages=request.getParameter("pages");
38 | String qvalue=request.getParameter("qvalue");
39 | String cif="kcsl";
40 | String ccif="<";
41 | qu.setCcif(ccif);
42 | qu.setCif(cif);
43 | qu.setQValue(qvalue);
44 | String strCount=qu.getCount(table);
45 | if(pages==null||pages.equals("null")){
46 | pages="0";
47 | }
48 | qu.setQuerySql(httpFile,pages,strCount);
49 | ResultSet rs=rst.getResult((String)qu.getString(table));
50 | int i=0,Page=qu.getCurPage(),pagesize=qu.getPageSize();
51 | while(rs.next()){
52 | if(i>(Page-1)*pagesize-1){
53 | %>
54 |
55 |
56 |
57 |
58 | 商品名称:
59 | <%=rs.getString("spname")%> |
60 | 简称:
61 | <%=rs.getString("jc")%> |
62 | 产地:
63 | <%=rs.getString("cd")%> |
64 |
65 |
66 | 规格:
67 | <%=rs.getString("gg")%> |
68 | 包装:
69 | <%=rs.getString("bz")%> |
70 | 计量单位:
71 | <%=rs.getString("dw")%> |
72 |
73 |
74 | 单价:
75 | <%=rs.getString("dj")%> |
76 | 库存数量:
77 | <%=rs.getString("kcsl")%> |
78 | 库存金额:
79 | <%=rs.getString("kcje")%> |
80 |
81 |
82 |
83 | <%}i++;}
84 | rs.close();
85 | String str_parameter="&cif="+qu.getCif()+"&ccif="+qu.getCcif()+"&qvalue="+qu.getQValue()+"";
86 | session.setAttribute("str_parameter",str_parameter);
87 | qu.setStr_parameter(str_parameter);
88 | %>
89 | <%=qu.pageFooter()%>
90 |
91 |
92 |
--------------------------------------------------------------------------------
/WebRoot/kcgl/kcjbchat.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" %>
2 | <% request.setCharacterEncoding("UTF-8"); %>
3 |
4 |
5 |
6 | 库存警报框架
7 |
8 | <%
9 | String qvalue=request.getParameter("qvalue");
10 | String dic = "kcjb.jsp?qvalue="+qvalue;
11 | %>
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/WebRoot/kcgl/kcjbtop.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
2 |
3 |
4 |
5 |
6 |
7 |
8 | 库存预警头部框架
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | 当前位置:库存预警列表 >>>
48 |
49 |
50 |
--------------------------------------------------------------------------------
/WebRoot/kcgl/kcquest.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 |
3 |
4 | 库存信息查询
5 |
6 |
7 |
8 |
9 |
25 |
26 |
27 |
28 | 当前位置:库存管理 >库存信息查询>>>
29 |
30 |
31 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
99 |
100 |
--------------------------------------------------------------------------------
/WebRoot/kcgl/main.jsp:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/WebRoot/kcgl/search/kcquest_dosearch.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.io.*,java.sql.*"%>
3 |
4 |
5 |
6 |
7 |
8 |
9 | 库存查询
10 |
11 |
12 |
13 |
14 |
15 |
34 |
35 |
36 |
37 | <%
38 | String table="tb_kucun",httpFile="kcquest_dosearch.jsp";
39 | String pages=request.getParameter("pages");
40 | String cif=request.getParameter("cif");
41 | String ccif=request.getParameter("ccif");
42 | String qvalue=trans.trans(request.getParameter("qvalue"));
43 | qu.setCcif(ccif);qu.setCif(cif);qu.setQValue(qvalue);
44 | String strCount=qu.getCount(table);
45 | if(pages==null||pages.equals("null")){
46 | pages="0";
47 | }
48 | qu.setQuerySql(httpFile,pages,strCount);
49 | ResultSet rs=rst.getResult((String)qu.getString(table));
50 | int i=0,Page=qu.getCurPage(),pagesize=qu.getPageSize();
51 | while(rs.next()){
52 | if(i>(Page-1)*pagesize-1){
53 | %>
54 |
55 |
56 |
57 | 商品名称:
58 | <%=rs.getString("spname")%> |
59 | 简称:
60 | <%=rs.getString("jc")%> |
61 | 产地:
62 | <%=rs.getString("cd")%> |
63 |
64 |
65 | 规格:
66 | <%=rs.getString("gg")%> |
67 | 包装:
68 | <%=rs.getString("bz")%> |
69 | 计量单位:
70 | <%=rs.getString("dw")%> |
71 |
72 |
73 | 单价:
74 | <%=rs.getString("dj")%> |
75 | 库存数量:
76 | <%=rs.getString("kcsl")%> |
77 | 库存金额:
78 | <%=rs.getString("kcje")%> |
79 |
80 |
81 | 商品编号:
82 | <%=rs.getString("ID")%> |
83 |
84 | |
85 |
86 |
89 | |
90 |
91 |
92 |
93 | <%}i++;}
94 | rs.close();
95 | String str_parameter="&cif="+qu.getCif()+"&ccif="+qu.getCcif()+"&qvalue="+qu.getQValue()+"";
96 | session.setAttribute("str_parameter",str_parameter);
97 | qu.setStr_parameter(str_parameter);
98 | %>
99 | <%=qu.pageFooter()%>
100 |
101 |
102 |
103 |
104 |
136 |
137 |
--------------------------------------------------------------------------------
/WebRoot/layui/css/modules/code.css:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.45 MIT License By http://www.layui.com */
2 | html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none}
--------------------------------------------------------------------------------
/WebRoot/layui/css/modules/layer/default/icon-ext.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/css/modules/layer/default/icon-ext.png
--------------------------------------------------------------------------------
/WebRoot/layui/css/modules/layer/default/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/css/modules/layer/default/icon.png
--------------------------------------------------------------------------------
/WebRoot/layui/css/modules/layer/default/loading-0.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/css/modules/layer/default/loading-0.gif
--------------------------------------------------------------------------------
/WebRoot/layui/css/modules/layer/default/loading-1.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/css/modules/layer/default/loading-1.gif
--------------------------------------------------------------------------------
/WebRoot/layui/css/modules/layer/default/loading-2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/css/modules/layer/default/loading-2.gif
--------------------------------------------------------------------------------
/WebRoot/layui/font/iconfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/font/iconfont.eot
--------------------------------------------------------------------------------
/WebRoot/layui/font/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/font/iconfont.ttf
--------------------------------------------------------------------------------
/WebRoot/layui/font/iconfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/font/iconfont.woff
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/0.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/0.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/1.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/1.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/10.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/10.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/11.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/11.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/12.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/12.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/13.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/13.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/14.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/14.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/15.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/15.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/16.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/16.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/17.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/17.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/18.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/18.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/19.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/19.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/2.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/20.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/20.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/21.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/21.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/22.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/22.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/23.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/23.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/24.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/24.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/25.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/25.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/26.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/26.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/27.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/27.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/28.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/28.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/29.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/29.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/3.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/3.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/30.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/30.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/31.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/31.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/32.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/32.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/33.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/33.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/34.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/34.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/35.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/35.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/36.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/36.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/37.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/37.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/38.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/38.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/39.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/39.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/4.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/4.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/40.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/40.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/41.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/41.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/42.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/42.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/43.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/43.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/44.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/44.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/45.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/45.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/46.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/46.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/47.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/47.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/48.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/48.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/49.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/49.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/5.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/5.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/50.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/50.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/51.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/51.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/52.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/52.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/53.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/53.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/54.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/54.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/55.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/55.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/56.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/56.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/57.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/57.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/58.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/58.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/59.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/59.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/6.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/6.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/60.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/60.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/61.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/61.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/62.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/62.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/63.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/63.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/64.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/64.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/65.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/65.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/66.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/66.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/67.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/67.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/68.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/68.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/69.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/69.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/7.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/7.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/70.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/70.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/71.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/71.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/8.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/8.gif
--------------------------------------------------------------------------------
/WebRoot/layui/images/face/9.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WKJay/supermarket/0de114a066ff903c0253d61701dcc3b586864938/WebRoot/layui/images/face/9.gif
--------------------------------------------------------------------------------
/WebRoot/layui/lay/modules/carousel.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.45 MIT License By http://www.layui.com */
2 | ;layui.define("jquery",function(e){"use strict";var i=layui.$,n=(layui.hint(),layui.device(),{config:{},set:function(e){var n=this;return n.config=i.extend({},n.config,e),n},on:function(e,i){return layui.onevent.call(this,t,e,i)}}),t="carousel",a="layui-this",l=">*[carousel-item]>*",o="layui-carousel-left",r="layui-carousel-right",d="layui-carousel-prev",s="layui-carousel-next",u="layui-carousel-arrow",c="layui-carousel-ind",m=function(e){var t=this;t.config=i.extend({},t.config,n.config,e),t.render()};m.prototype.config={width:"600px",height:"280px",full:!1,arrow:"hover",indicator:"inside",autoplay:!0,interval:3e3,anim:"",trigger:"click",index:0},m.prototype.render=function(){var e=this,n=e.config;n.elem=i(n.elem),n.elem[0]&&(e.elemItem=n.elem.find(l),n.index<0&&(n.index=0),n.index>=e.elemItem.length&&(n.index=e.elemItem.length-1),n.interval<800&&(n.interval=800),n.full?n.elem.css({position:"fixed",width:"100%",height:"100%",zIndex:9999}):n.elem.css({width:n.width,height:n.height}),n.elem.attr("lay-anim",n.anim),e.elemItem.eq(n.index).addClass(a),e.elemItem.length<=1||(e.indicator(),e.arrow(),e.autoplay(),e.events()))},m.prototype.reload=function(e){var n=this;clearInterval(n.timer),n.config=i.extend({},n.config,e),n.render()},m.prototype.prevIndex=function(){var e=this,i=e.config,n=i.index-1;return n<0&&(n=e.elemItem.length-1),n},m.prototype.nextIndex=function(){var e=this,i=e.config,n=i.index+1;return n>=e.elemItem.length&&(n=0),n},m.prototype.addIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index+e,n.index>=i.elemItem.length&&(n.index=0)},m.prototype.subIndex=function(e){var i=this,n=i.config;e=e||1,n.index=n.index-e,n.index<0&&(n.index=i.elemItem.length-1)},m.prototype.autoplay=function(){var e=this,i=e.config;i.autoplay&&(e.timer=setInterval(function(){e.slide()},i.interval))},m.prototype.arrow=function(){var e=this,n=e.config,t=i(['",'"].join(""));n.elem.attr("lay-arrow",n.arrow),n.elem.find("."+u)[0]&&n.elem.find("."+u).remove(),n.elem.append(t),t.on("click",function(){var n=i(this),t=n.attr("lay-type");e.slide(t)})},m.prototype.indicator=function(){var e=this,n=e.config,t=e.elemInd=i(['',function(){var i=[];return layui.each(e.elemItem,function(e){i.push("")}),i.join("")}(),"
"].join(""));n.elem.attr("lay-indicator",n.indicator),n.elem.find("."+c)[0]&&n.elem.find("."+c).remove(),n.elem.append(t),"updown"===n.anim&&t.css("margin-top",-(t.height()/2)),t.find("li").on("hover"===n.trigger?"mouseover":n.trigger,function(){var t=i(this),a=t.index();a>n.index?e.slide("add",a-n.index):a/g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('- '+o.replace(/[\r\t\n]+/g,"
- ")+"
"),c.find(">.layui-code-h3")[0]||c.prepend(''+(c.attr("lay-title")||e.title||"code")+(e.about?'layui.code':"")+"
");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss");
--------------------------------------------------------------------------------
/WebRoot/layui/lay/modules/flow.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.45 MIT License By http://www.layui.com */
2 | ;layui.define("jquery",function(e){"use strict";var l=layui.$,o=function(e){},t='';o.prototype.load=function(e){var o,i,n,r,a=this,c=0;e=e||{};var f=l(e.elem);if(f[0]){var m=l(e.scrollElem||document),u=e.mb||50,s=!("isAuto"in e)||e.isAuto,v=e.end||"没有更多了",y=e.scrollElem&&e.scrollElem!==document,d="加载更多",h=l('");f.find(".layui-flow-more")[0]||f.append(h);var p=function(e,t){e=l(e),h.before(e),t=0==t||null,t?h.html(v):h.find("a").html(d),i=t,o=null,n&&n()},g=function(){o=!0,h.find("a").html(t),"function"==typeof e.done&&e.done(++c,p)};if(g(),h.find("a").on("click",function(){l(this);i||o||g()}),e.isLazyimg)var n=a.lazyimg({elem:e.elem+" img",scrollElem:e.scrollElem});return s?(m.on("scroll",function(){var e=l(this),t=e.scrollTop();r&&clearTimeout(r),i||(r=setTimeout(function(){var i=y?e.height():l(window).height(),n=y?e.prop("scrollHeight"):document.documentElement.scrollHeight;n-t-i<=u&&(o||g())},100))}),a):a}},o.prototype.lazyimg=function(e){var o,t=this,i=0;e=e||{};var n=l(e.scrollElem||document),r=e.elem||"img",a=e.scrollElem&&e.scrollElem!==document,c=function(e,l){var o=n.scrollTop(),r=o+l,c=a?function(){return e.offset().top-n.offset().top+o}():e.offset().top;if(c>=o&&c<=r&&!e.attr("src")){var m=e.attr("lay-src");layui.img(m,function(){var l=t.lazyimg.elem.eq(i);e.attr("src",m).removeAttr("lay-src"),l[0]&&f(l),i++})}},f=function(e,o){var f=a?(o||n).height():l(window).height(),m=n.scrollTop(),u=m+f;if(t.lazyimg.elem=l(r),e)c(e,f);else for(var s=0;su)break}};if(f(),!o){var m;n.on("scroll",function(){var e=l(this);m&&clearTimeout(m),m=setTimeout(function(){f(null,e)},50)}),o=!0}return f},e("flow",new o)});
--------------------------------------------------------------------------------
/WebRoot/layui/lay/modules/laypage.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.45 MIT License By http://www.layui.com */
2 | ;layui.define(function(e){"use strict";var a=document,t="getElementById",n="getElementsByTagName",i="laypage",r="layui-disabled",u=function(e){var a=this;a.config=e||{},a.config.index=++s.index,a.render(!0)};u.prototype.type=function(){var e=this.config;if("object"==typeof e.elem)return void 0===e.elem.length?2:3},u.prototype.view=function(){var e=this,a=e.config,t=a.groups="groups"in a?0|a.groups:5;a.layout="object"==typeof a.layout?a.layout:["prev","page","next"],a.count=0|a.count,a.curr=0|a.curr||1,a.limits="object"==typeof a.limits?a.limits:[10,20,30,40,50],a.limit=0|a.limit||10,a.pages=Math.ceil(a.count/a.limit)||1,a.curr>a.pages&&(a.curr=a.pages),t<0?t=1:t>a.pages&&(t=a.pages),a.prev="prev"in a?a.prev:"上一页",a.next="next"in a?a.next:"下一页";var n=a.pages>t?Math.ceil((a.curr+(t>1?1:0))/(t>0?t:1)):1,i={prev:function(){return a.prev?''+a.prev+"":""}(),page:function(){var e=[];if(a.count<1)return"";n>1&&a.first!==!1&&0!==t&&e.push(''+(a.first||1)+"");var i=Math.floor((t-1)/2),r=n>1?a.curr-i:1,u=n>1?function(){var e=a.curr+(t-i-1);return e>a.pages?a.pages:e}():t;for(u-r2&&e.push('…');r<=u;r++)r===a.curr?e.push('"+r+""):e.push(''+r+"");return a.pages>t&&a.pages>u&&a.last!==!1&&(u+1…'),0!==t&&e.push(''+(a.last||a.pages)+"")),e.join("")}(),next:function(){return a.next?''+a.next+"":""}(),count:'共 '+a.count+" 条",limit:function(){var e=['"}(),skip:function(){return['到第','','页',""].join("")}()};return['',function(){var e=[];return layui.each(a.layout,function(a,t){i[t]&&e.push(i[t])}),e.join("")}(),"
"].join("")},u.prototype.jump=function(e,a){if(e){var t=this,i=t.config,r=e.children,u=e[n]("button")[0],l=e[n]("input")[0],p=e[n]("select")[0],c=function(){var e=0|l.value.replace(/\s|\D/g,"");e&&(i.curr=e,t.render())};if(a)return c();for(var o=0,y=r.length;oi.pages||(i.curr=e,t.render())});p&&s.on(p,"change",function(){var e=this.value;i.curr*e>i.count&&(i.curr=Math.ceil(i.count/e)),i.limit=e,t.render()}),u&&s.on(u,"click",function(){c()})}},u.prototype.skip=function(e){if(e){var a=this,t=e[n]("input")[0];t&&s.on(t,"keyup",function(t){var n=this.value,i=t.keyCode;/^(37|38|39|40)$/.test(i)||(/\D/.test(n)&&(this.value=n.replace(/\D/,"")),13===i&&a.jump(e,!0))})}},u.prototype.render=function(e){var n=this,i=n.config,r=n.type(),u=n.view();2===r?i.elem&&(i.elem.innerHTML=u):3===r?i.elem.html(u):a[t](i.elem)&&(a[t](i.elem).innerHTML=u),i.jump&&i.jump(i,e);var s=a[t]("layui-laypage-"+i.index);n.jump(s),i.hash&&!e&&(location.hash="!"+i.hash+"="+i.curr),n.skip(s)};var s={render:function(e){var a=new u(e);return a.index},index:layui.laypage?layui.laypage.index+1e4:0,on:function(e,a,t){return e.attachEvent?e.attachEvent("on"+a,function(a){a.target=a.srcElement,t.call(e,a)}):e.addEventListener(a,t,!1),this}};e(i,s)});
--------------------------------------------------------------------------------
/WebRoot/layui/lay/modules/laytpl.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.45 MIT License By http://www.layui.com */
2 | ;layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error:";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)});
--------------------------------------------------------------------------------
/WebRoot/layui/lay/modules/tree.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.45 MIT License By http://www.layui.com */
2 | ;layui.define("jquery",function(e){"use strict";var o=layui.$,a=layui.hint(),i="layui-tree-enter",r=function(e){this.options=e},t={arrow:["",""],checkbox:["",""],radio:["",""],branch:["",""],leaf:""};r.prototype.init=function(e){var o=this;e.addClass("layui-box layui-tree"),o.options.skin&&e.addClass("layui-tree-skin-"+o.options.skin),o.tree(e),o.on(e)},r.prototype.tree=function(e,a){var i=this,r=i.options,n=a||r.nodes;layui.each(n,function(a,n){var l=n.children&&n.children.length>0,c=o(''),s=o(["",function(){return l?''+(n.spread?t.arrow[1]:t.arrow[0])+"":""}(),function(){return r.check?''+("checkbox"===r.check?t.checkbox[0]:"radio"===r.check?t.radio[0]:"")+"":""}(),function(){return'"+(''+(l?n.spread?t.branch[1]:t.branch[0]:t.leaf)+"")+(""+(n.name||"未命名")+"")}(),""].join(""));l&&(s.append(c),i.tree(c,n.children)),e.append(s),"function"==typeof r.click&&i.click(s,n),i.spread(s,n),r.drag&&i.drag(s,n)})},r.prototype.click=function(e,o){var a=this,i=a.options;e.children("a").on("click",function(e){layui.stope(e),i.click(o)})},r.prototype.spread=function(e,o){var a=this,i=(a.options,e.children(".layui-tree-spread")),r=e.children("ul"),n=e.children("a"),l=function(){e.data("spread")?(e.data("spread",null),r.removeClass("layui-show"),i.html(t.arrow[0]),n.find(".layui-icon").html(t.branch[0])):(e.data("spread",!0),r.addClass("layui-show"),i.html(t.arrow[1]),n.find(".layui-icon").html(t.branch[1]))};r[0]&&(i.on("click",l),n.on("dblclick",l))},r.prototype.on=function(e){var a=this,r=a.options,t="layui-tree-drag";e.find("i").on("selectstart",function(e){return!1}),r.drag&&o(document).on("mousemove",function(e){var i=a.move;if(i.from){var r=(i.to,o(''));e.preventDefault(),o("."+t)[0]||o("body").append(r);var n=o("."+t)[0]?o("."+t):r;n.addClass("layui-show").html(i.from.elem.children("a").html()),n.css({left:e.pageX+10,top:e.pageY+10})}}).on("mouseup",function(){var e=a.move;e.from&&(e.from.elem.children("a").removeClass(i),e.to&&e.to.elem.children("a").removeClass(i),a.move={},o("."+t).remove())})},r.prototype.move={},r.prototype.drag=function(e,a){var r=this,t=(r.options,e.children("a")),n=function(){var t=o(this),n=r.move;n.from&&(n.to={item:a,elem:e},t.addClass(i))};t.on("mousedown",function(){var o=r.move;o.from={item:a,elem:e}}),t.on("mouseenter",n).on("mousemove",n).on("mouseleave",function(){var e=o(this),a=r.move;a.from&&(delete a.to,e.removeClass(i))})},e("tree",function(e){var i=new r(e=e||{}),t=o(e.elem);return t[0]?void i.init(t):a.error("layui.tree 没有找到"+e.elem+"元素")})});
--------------------------------------------------------------------------------
/WebRoot/layui/lay/modules/util.js:
--------------------------------------------------------------------------------
1 | /** layui-v2.2.45 MIT License By http://www.layui.com */
2 | ;layui.define("jquery",function(e){"use strict";var t=layui.$,i={fixbar:function(e){var i,o,a="layui-fixbar",r="layui-fixbar-top",n=t(document),l=t("body");e=t.extend({showHeight:200},e),e.bar1=e.bar1===!0?"":e.bar1,e.bar2=e.bar2===!0?"":e.bar2,e.bgcolor=e.bgcolor?"background-color:"+e.bgcolor:"";var c=[e.bar1,e.bar2,""],g=t(['',e.bar1?'- '+c[0]+"
":"",e.bar2?'- '+c[1]+"
":"",'- '+c[2]+"
","
"].join("")),s=g.find("."+r),u=function(){var t=n.scrollTop();t>=e.showHeight?i||(s.show(),i=1):i&&(s.hide(),i=0)};t("."+a)[0]||("object"==typeof e.css&&g.css(e.css),l.append(g),u(),g.find("li").on("click",function(){var i=t(this),o=i.attr("lay-type");"top"===o&&t("html,body").animate({scrollTop:0},200),e.click&&e.click.call(this,o)}),n.on("scroll",function(){clearTimeout(o),o=setTimeout(function(){u()},100)}))},countdown:function(e,t,i){var o=this,a="function"==typeof t,r=new Date(e).getTime(),n=new Date(!t||a?(new Date).getTime():t).getTime(),l=r-n,c=[Math.floor(l/864e5),Math.floor(l/36e5)%24,Math.floor(l/6e4)%60,Math.floor(l/1e3)%60];a&&(i=t);var g=setTimeout(function(){o.countdown(e,n+1e3,i)},1e3);return i&&i(l>0?c:[0,0,0,0],t,g),l<=0&&clearTimeout(g),g},timeAgo:function(e,t){var i=this,o=[[],[]],a=(new Date).getTime()-new Date(e).getTime();return a>6912e5?(a=new Date(e),o[0][0]=i.digit(a.getFullYear(),4),o[0][1]=i.digit(a.getMonth()+1),o[0][2]=i.digit(a.getDate()),t||(o[1][0]=i.digit(a.getHours()),o[1][1]=i.digit(a.getMinutes()),o[1][2]=i.digit(a.getSeconds())),o[0].join("-")+" "+o[1].join(":")):a>=864e5?(a/1e3/60/60/24|0)+"天前":a>=36e5?(a/1e3/60/60|0)+"小时前":a>=12e4?(a/1e3/60|0)+"分钟前":a<0?"未来":"刚刚"},digit:function(e,t){var i="";e=String(e),t=t||2;for(var o=e.length;o
2 | <%@ page import="java.io.*,java.sql.*"%>
3 |
4 |
5 | <%
6 | request.setCharacterEncoding("UTF-8");//对请求进行统一编码,能正常接收中文
7 | String username=request.getParameter("username"); //接收表单中的username属性
8 | String password=request.getParameter("password");//接收表单中的password属性
9 | String str="select * from tb_user where "+
10 | "username='"+username+"' and password='"+password+"'";
11 | ResultSet rs=rst.getResult(str);//执行SQL语句获得结果集对象
12 | session.setAttribute("isLog",new String("0"));//判断用户是否登录,当isLog的属性为0时,说明用户并没有登录
13 | if(!rs.next())//结果集没有找到所要查找的行
14 | {
15 | out.println("");
17 | }
18 | else
19 | {
20 | session.setAttribute("username",rs.getString("username"));//保存登录信息到session对象中
21 | session.setAttribute("zgxm",rs.getString("zgxm"));
22 | session.setAttribute("password",rs.getString("password"));
23 | session.setAttribute("isLog",new String("1"));//将isLog属性设置为1
24 | //获得用户上次登录系统的时间
25 | session.setAttribute("userLastLogTime",rs.getString("userLastLogTime"));
26 | String strsql=calendar.getDate();
27 | //将该用户本次登录系统的时间在用户信息表中更新
28 | String strUpdate="update tb_user set userLastLogTime='"+strsql+"' where username="+username+"";
29 | rst.getResult(strUpdate);//执行SQL语句
30 | response.sendRedirect("Frame/chat.jsp");//登录成功后转到系统主页面
31 | }
32 | %>
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/WebRoot/rsgl/add/zginfoadd.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
2 | <%
3 | String path = request.getContextPath();
4 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
5 | %>
6 |
7 |
8 |
9 |
10 |
11 |
12 | My JSP 'zginfoadd.jsp' starting page
13 |
14 |
15 |
16 |
17 |
18 |
19 |
22 |
23 |
24 |
25 |
26 | This is my JSP page.
27 |
28 |
29 |
--------------------------------------------------------------------------------
/WebRoot/rsgl/search/zgquest_dosearch.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
2 | <%
3 | String path = request.getContextPath();
4 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
5 | %>
6 |
7 |
8 |
9 |
10 |
11 |
12 | My JSP 'zgsearch_dosearch.jsp' starting page
13 |
14 |
15 |
16 |
17 |
18 |
19 |
22 |
23 |
24 |
25 |
26 | This is my JSP page.
27 |
28 |
29 |
--------------------------------------------------------------------------------
/WebRoot/rsgl/zginfo.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
2 | <%
3 | String path = request.getContextPath();
4 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
5 | %>
6 |
7 |
8 |
9 |
10 |
11 |
12 | My JSP 'zginfo.jsp' starting page
13 |
14 |
15 |
16 |
17 |
18 |
19 |
22 |
23 |
24 |
25 |
26 | This is my JSP page.
27 |
28 |
29 |
--------------------------------------------------------------------------------
/WebRoot/rsgl/zgquest.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
2 | <%
3 | String path = request.getContextPath();
4 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
5 | %>
6 |
7 |
8 |
9 |
10 |
11 |
12 | My JSP 'zgsearch.jsp' starting page
13 |
14 |
15 |
16 |
17 |
18 |
19 |
22 |
23 |
24 |
25 |
26 | This is my JSP page.
27 |
28 |
29 |
--------------------------------------------------------------------------------
/WebRoot/spxs/change/xsChange.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.sql.*,java.io.*"%>
3 | <%@ page import="com.infinity.dbconn.DBConn"%>
4 |
5 |
6 |
7 | <%
8 | request.setCharacterEncoding("UTF-8");//解决表单提交中的中文乱码问题
9 | //获取表单数据
10 | String jc=(String)session.getAttribute("jc"); String spname=(String)session.getAttribute("spname");
11 | String gg=(String)session.getAttribute("gg"); String xsid=(String)session.getAttribute("xsph");
12 | String bz=(String)session.getAttribute("bz");
13 | String cd=(String)session.getAttribute("cd"); String spid=(String)session.getAttribute("spid");
14 | String dw=(String)session.getAttribute("dw");
15 | String sl=(String)request.getParameter("sl"); String czy=(String)request.getParameter("czy");
16 | String je=(String)request.getParameter("je"); String jsr=(String)request.getParameter("jsr");
17 | String dj=(String)request.getParameter("dj"); String xsdate=(String)request.getParameter("xsdate");
18 | String ys=(String)request.getParameter("ys"); String jsfs=(String)request.getParameter("jsfs");
19 | String ss=(String)request.getParameter("ss"); String ws=(String)request.getParameter("ws");
20 | String xskhname=(String)request.getParameter("khqc");
21 | String whether="";
22 | if(ws.equals("0")){
23 | whether="是";
24 | }else{
25 | whether="否";
26 | }
27 | %>
28 | <%
29 | //保存销售信息
30 | String xsSql="insert into tb_sell values('"+xsid+"','"+spid+"','"+spname+"',"+
31 | "'"+jc+"','"+cd+"','"+gg+"','"+bz+"','"+dw+"',"+dj+",'"+sl+"',"+je+","+
32 | "'"+xskhname+"','"+xsdate+"','"+czy+"','"+jsr+"','"+jsfs+"')";
33 | //保存销售票号信息
34 | String xsphSql="insert into tb_sellph values('"+xsid+"','"+sl+"',"+ys+","+ss+","+
35 | ""+ws+",'"+xskhname+"','"+xsdate+"','"+czy+"','"+jsr+"','"+jsfs+"','"+whether+"')";
36 |
37 | //更新库存信息
38 | //String rkkcSql="update tb_kucun set kcsl=kcsl-"+sl+",dj="+dj+","+
39 | //"kcje=(kcsl+"+sl+")*"+dj+" where id='"+spid+"'";
40 | String rkkcSql="update tb_kucun set kcsl = kcsl-"+sl+","+
41 | "kcje=(kcsl-"+sl+")* dj where id='"+spid+"'";
42 |
43 | //更新超市资金
44 | String ldzjSql="UPDATE tb_supermarket SET ldzj = ldzj +"+ss;
45 |
46 | rst.doExecute(rkkcSql);
47 | rst.doExecute(xsSql);
48 | rst.doExecute(xsphSql);
49 | rst.doExecute(ldzjSql);
50 |
51 | out.flush();
52 | out.println("");
56 | %>
--------------------------------------------------------------------------------
/WebRoot/spxs/change/xsthChange.jsp:
--------------------------------------------------------------------------------
1 | <%@ page contentType="text/html;charset=UTF-8" language="java"%>
2 | <%@ page import="java.sql.*,java.io.*"%>
3 | <%@ page import="com.infinity.dbconn.DBConn"%>
4 |
5 |
6 |
7 | <%
8 | request.setCharacterEncoding("UTF-8");//解决表单提交中的中文乱码问题
9 | //获取表单数据
10 | String jc=(String)session.getAttribute("jc"); String spname=(String)session.getAttribute("spname");
11 | String gg=(String)session.getAttribute("gg"); String xsthid=(String)session.getAttribute("xsthph");
12 | String bz=(String)session.getAttribute("bz");
13 | String cd=(String)session.getAttribute("cd"); String spid=(String)session.getAttribute("spid");
14 | String dw=(String)session.getAttribute("dw");
15 | String sl=(String)request.getParameter("thsl"); String czy=(String)request.getParameter("czy");
16 | String je=(String)request.getParameter("je"); String jsr=(String)request.getParameter("jsr");
17 | String dj=(String)request.getParameter("dj"); String xsthdate=(String)request.getParameter("xsthdate");
18 | String yt=(String)request.getParameter("yt"); String jsfs=(String)request.getParameter("jsfs");
19 | String st=(String)request.getParameter("st"); String wt=(String)request.getParameter("wt");
20 | String xskhname=(String)request.getParameter("khqc");
21 | String whether="";
22 | if(wt.equals("0")){
23 | whether="是";
24 | }else{
25 | whether="否";
26 | }
27 | %>
28 | <%
29 | //保存销售信息
30 | String xsthSql="insert into tb_sellth values('"+xsthid+"','"+spid+"','"+spname+"',"+
31 | "'"+jc+"','"+cd+"','"+gg+"','"+bz+"','"+dw+"',"+dj+",'"+sl+"',"+je+","+
32 | "'"+xskhname+"','"+xsthdate+"','"+czy+"','"+jsr+"','"+jsfs+"')";
33 | //保存销售票号信息
34 | String xsthphSql="insert into tb_sellph values('"+xsthid+"','"+sl+"',"+yt+","+st+","+
35 | ""+wt+",'"+xskhname+"','"+xsthdate+"','"+czy+"','"+jsr+"','"+jsfs+"','"+whether+"')";
36 |
37 | //更新库存信息
38 | //String rkkcSql="update tb_kucun set kcsl=kcsl-"+sl+",dj="+dj+","+
39 | //"kcje=(kcsl+"+sl+")*"+dj+" where id='"+spid+"'";
40 | String rkkcSql="update tb_kucun set kcsl = kcsl+"+sl+","+
41 | "kcje=(kcsl+"+sl+")* dj where id='"+spid+"'";
42 |
43 | String ldzjSql="UPDATE tb_supermarket SET ldzj = ldzj +"+st;
44 |
45 | rst.doExecute(rkkcSql);
46 | rst.doExecute(xsthSql);
47 | rst.doExecute(xsthphSql);
48 | rst.doExecute(ldzjSql);
49 |
50 | out.flush();
51 | out.println("");
55 | %>
--------------------------------------------------------------------------------
/WebRoot/supermarketinfo/addmoney.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
2 | <%@ page import="java.io.*,java.sql.*"%>
3 |
4 |
5 |
6 |
7 |
8 |
9 | ADDMONEY
10 |
11 |
12 |
13 |
14 |
15 |
16 |
19 |
20 |
29 |
30 |
31 |
32 |
33 | <%
34 | request.setCharacterEncoding("UTF-8");
35 | String Money = request.getParameter("money");
36 | float money = Float.valueOf(Money);
37 | String strUpdate="update tb_supermarket set ldzj = ldzj + "+money+"where ID = 1";
38 | rst.doExecute(strUpdate);
39 | out.println("");
43 | %>
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/WebRoot/supermarketinfo/info.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
2 | <%@ page import="java.sql.*,java.io.*"%>
3 |
4 |
5 |
6 |
7 |
8 |
9 | 超市信息
10 |
11 |
12 |
13 |
14 |
15 |
16 |
31 |
32 |
33 |
34 |
35 |
36 | <%
37 | request.setCharacterEncoding("UTF-8");
38 | String strSql="select * from tb_supermarket";
39 | ResultSet rs=rst.getResult(strSql);//在下拉列表中显示销售商品名称
40 | String ldzj = "0";
41 | if(!rs.next()){
42 | }else{
43 | ldzj = rs.getString("ldzj");
44 | }
45 | %>
46 |
47 | 当前位置:超市管理 >超市信息 >>>
48 |
49 |
50 |