package com.laver.bookstore.domain;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
public class BookExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public BookExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
protected void addCriterionForJDBCDate(String condition, Date value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
addCriterion(condition, new java.sql.Date(value.getTime()), property);
}
protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
if (values == null || values.size() == 0) {
throw new RuntimeException("Value list for " + property + " cannot be null or empty");
}
List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
Iterator<Date> iter = values.iterator();
while (iter.hasNext()) {
dateList.add(new java.sql.Date(iter.next().getTime()));
}
addCriterion(condition, dateList, property);
}
protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
}
public Criteria andBidIsNull() {
addCriterion("bid is null");
return (Criteria) this;
}
public Criteria andBidIsNotNull() {
addCriterion("bid is not null");
return (Criteria) this;
}
public Criteria andBidEqualTo(Integer value) {
addCriterion("bid =", value, "bid");
return (Criteria) this;
}
public Criteria andBidNotEqualTo(Integer value) {
addCriterion("bid <>", value, "bid");
return (Criteria) this;
}
public Criteria andBidGreaterThan(Integer value) {
addCriterion("bid >", value, "bid");
return (Criteria) this;
}
public Criteria andBidGreaterThanOrEqualTo(Integer value) {
addCriterion("bid >=", value, "bid");
return (Criteria) this;
}
public Criteria andBidLessThan(Integer value) {
addCriterion("bid <", value, "bid");
return (Criteria) this;
}
public Criteria andBidLessThanOrEqualTo(Integer value) {
addCriterion("bid <=", value, "bid");
return (Criteria) this;
}
public Criteria andBidIn(List<Integer> values) {
addCriterion("bid in", values, "bid");
return (Criteria) this;
}
public Criteria andBidNotIn(List<Integer> values) {
addCriterion("bid not in", values, "bid");
return (Criteria) this;
}
public Criteria andBidBetween(Integer value1, Integer value2) {
addCriterion("bid between", value1, value2, "bid");
return (Criteria) this;
}
public Criteria andBidNotBetween(Integer value1, Integer value2) {
addCriterion("bid not between", value1, value2, "bid");
return (Criteria) this;
}
public Criteria andBnameIsNull() {
addCriterion("bname is null");
return (Criteria) this;
}
public Criteria andBnameIsNotNull() {
addCriterion("bname is not null");
return (Criteria) this;
}
public Criteria andBnameEqualTo(String value) {
addCriterion("bname =", value, "bname");
return (Criteria) this;
}
public Criteria andBnameNotEqualTo(String value) {
addCriterion("bname <>", value, "bname");
return (Criteria) this;
}
public Criteria andBnameGreaterThan(String value) {
addCriterion("bname >", value, "bname");
return (Criteria) this;
}
public Criteria andBnameGreaterThanOrEqualTo(String value) {
addCriterion("bname >=", value, "bname");
return (Criteria) this;
}
public Criteria andBnameLessThan(String value) {
addCriterion("bname <", value, "bname");
return (Criteria) this;
}
public Criteria andBnameLessThanOrEqualTo(String value) {
addCriterion("bname <=", value, "bname");
return (Criteria) this;
}
public Criteria andBnameLike(String value) {
addCriterion("bname like", value, "bname");
return (Criteria) this;
}
public Criteria andBnameNotLike(String value) {
addCriterion("bname not like", value, "bname");
return (Criteria) this;
}
public Criteria andBnameIn(List<String> values) {
addCriterion("bname in", values, "bname");
return (Criteria) this;
}
public Criteria andBnameNotIn(List<String> values) {
addCriterion("bname not in", values, "bname");
return (Criteria) this;
}
public Criteria andBnameBet
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
用户登录:用户输入用户名和密码,选择身份登录,验证用户名和密码是否正确。如果验证成功,要记录登录的用户名和登录类型。 2、新用户注册:新用户填写用户名、密码、邮箱、手机号码,完成注册。 3、查看图书信息:用户登录成功后,能够按分类或者查找浏览图书信息进行购买。 4、加入购物车:用户登陆成功后,可以把喜欢的图书添加到购物车。 5、在线购买:用户进行登录成功后,可以挑选图书,种类,数量,点击购买。 6、评价已购图书:用户购买收到货以后可以登录对图书进行评价 。 7、首页内容管理:管理员登录以后,可以对信息进行增删改查。 8、图书信息管理:管理员通过选择图书信息管理对商品名称、商品描述、商品价格、所属分类、作者、出版社、出版日期、商品图片、库存进行增删改查。 9、订单管理:管理员对图书进行发货,订单进行管理。 10.我的收藏 11、图书销量排行榜 用户登录:用户输入用户名和密码,选择身份登录,验证用户名和密码是否正确。如果验证成功,要记录登录的用户名和登录类型。 2、新用户注册:新用户填写用户名、密码、邮箱、手机号码,完成注册。 3、查看图书信息:用户登录成功后,能够按分类或者查找浏览图书信
资源推荐
资源详情
资源评论
收起资源包目录
基于SSM框架+jsp+mysql实现的网上书店系统【源码+数据库】
(1145个子文件)
BookExample$GeneratedCriteria.class 21KB
BookExample$GeneratedCriteria.class 21KB
UserExample$GeneratedCriteria.class 15KB
UserExample$GeneratedCriteria.class 15KB
BookController.class 14KB
BookController.class 14KB
BookExample$Criteria.class 13KB
BookExample$Criteria.class 13KB
BookOrderExample$GeneratedCriteria.class 13KB
BookOrderExample$GeneratedCriteria.class 13KB
CommentExample$GeneratedCriteria.class 11KB
CommentExample$GeneratedCriteria.class 11KB
OrderDetailExample$GeneratedCriteria.class 11KB
OrderDetailExample$GeneratedCriteria.class 11KB
BookOrderController.class 10KB
BookOrderController.class 10KB
UserExample$Criteria.class 10KB
UserExample$Criteria.class 10KB
UserController.class 10KB
UserController.class 10KB
BookOrderExample$Criteria.class 8KB
BookOrderExample$Criteria.class 8KB
CommentExample$Criteria.class 7KB
CommentExample$Criteria.class 7KB
OrderDetailExample$Criteria.class 7KB
OrderDetailExample$Criteria.class 7KB
CartController.class 7KB
CartController.class 7KB
UserService.class 4KB
UserService.class 4KB
BookService.class 4KB
BookService.class 4KB
Book.class 3KB
Book.class 3KB
BookOrderService.class 3KB
BookOrderService.class 3KB
CommentController.class 3KB
CommentController.class 3KB
MD5Utils.class 3KB
MD5Utils.class 3KB
Cart.class 3KB
Cart.class 3KB
BookOrder.class 3KB
BookOrder.class 3KB
CartService.class 3KB
CartService.class 3KB
User.class 2KB
User.class 2KB
LoginFilter.class 2KB
LoginFilter.class 2KB
OrderDetailExample.class 2KB
OrderDetailExample.class 2KB
OrderDetailExample$Criterion.class 2KB
OrderDetailExample$Criterion.class 2KB
BookOrderExample.class 2KB
BookOrderExample.class 2KB
BookOrderExample$Criterion.class 2KB
BookOrderExample$Criterion.class 2KB
CommentExample$Criterion.class 2KB
CommentExample$Criterion.class 2KB
CommentExample.class 2KB
CommentExample.class 2KB
BookExample$Criterion.class 2KB
UserExample$Criterion.class 2KB
UserExample$Criterion.class 2KB
BookExample$Criterion.class 2KB
Sc.class 2KB
Sc.class 2KB
UserExample.class 2KB
BookExample.class 2KB
UserExample.class 2KB
BookExample.class 2KB
OrderDetailService.class 2KB
OrderDetailService.class 2KB
CommentService.class 2KB
CommentService.class 2KB
ScService.class 2KB
ScService.class 2KB
GuideController.class 2KB
GuideController.class 2KB
Comment.class 2KB
Comment.class 2KB
Constant.class 1KB
Constant.class 1KB
OrderDetail.class 1KB
OrderDetail.class 1KB
BookMapper.class 1KB
BookMapper.class 1KB
BookOrderMapper.class 1KB
BookOrderMapper.class 1KB
OrderDetailMapper.class 1KB
OrderDetailMapper.class 1KB
CommentMapper.class 1KB
CommentMapper.class 1KB
UserMapper.class 1019B
UserMapper.class 1019B
IBookService.class 967B
IBookService.class 967B
IBookOrderService.class 691B
IBookOrderService.class 691B
共 1145 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12
资源评论
程序猿小D
- 粉丝: 3936
- 资源: 543
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功