Documente Academic
Documente Profesional
Documente Cultură
LIU Quan
JIANG Xue-mei
I.
INTRODUCTION
SYSTEM DESIGN
414
fieldname
type
length
null or
not
works id
INTEGER
no
id
sort of works id
INTEGER
no
sortid
works name
VARCHAR
50
no
name
works price
DOUBLE
no
price
sales price
DOUBLE
no
saleprice
worksdescription
TEXT
400
no
descript
works content
TEXT
1000
yes
contents
sales volume
INTEGER
yes
salecount
Database tables can be created in the MySQL database
after having determined the structures of them, and the SQL
scripts of the database tables[5] are given as follows:
description
415
/ * modify the number of goods sold * /
shopCart.getProduct (). setSalecount (shopCart.getProduct
(). getSalecount () + shopCart.getCount ());
db.update (shopCart.getProduct ());
totalPrice = totalPrice + shopCart.getPrice ();
}
return
(mapping.findForward (PageForward));
}
IV.
ACKNOLODGEMENT
package cn.com.shoppingonline;
V.
CONCLUSION
VI.
[1]
[2]
[3]
[4]
[5]
[6]
416
REFERENCE