Git Product home page Git Product logo

java0709's Introduction

User  Goods   Type 三个表
建表sql如下 ,DAOsql语句中 表名注意 用``引起。

1.说明:三表无外键联系
2.同桌两人一组 负责一个表的 daoimpl 及对应的servlet,jsp页面,  
3.目标:user  goods  type 在jsp页面的增删改查即可
4.分页不用做
5.各po的Service接口没有定义,请自行按习惯定义即可
6.jstl  el表达式  jdbc  jar包已加

分工如下:
王楠 刘伟强: User
杜凯 刘贵状: Goods
韩少鹏 王涛: type


CREATE TABLE `user` (

`uid` int NOT NULL AUTO_INCREMENT,

`uname` varchar(20) NULL,

`password` varchar(50) NULL,

PRIMARY KEY (`uid`) 

);



CREATE TABLE `goods` (

`gid` int NOT NULL AUTO_INCREMENT,

`gname` varchar(20) NULL,

`gprice` varchar(20) NULL,

`quantity` int NULL,

`gphoto` varchar(64) NULL,

`gdesc` varchar(32) NULL,

`gtype` int NULL,

PRIMARY KEY (`gid`) 

);



CREATE TABLE `type` (

`tid` int NOT NULL AUTO_INCREMENT,

`tname` varchar(20) NULL,

`tphoto` varchar(64) NULL,

`tdesc` varchar(20) NULL,

PRIMARY KEY (`tid`) 

);

java0709's People

Contributors

kkoma0110 avatar wqliugit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.