package com.nian.bean;
import java.util.ArrayList;
import java.util.List;
public class ProductsExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public ProductsExample() {
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));
}
public Criteria andProIdIsNull() {
addCriterion("pro_id is null");
return (Criteria) this;
}
public Criteria andProIdIsNotNull() {
addCriterion("pro_id is not null");
return (Criteria) this;
}
public Criteria andProIdEqualTo(Integer value) {
addCriterion("pro_id =", value, "proId");
return (Criteria) this;
}
public Criteria andProIdNotEqualTo(Integer value) {
addCriterion("pro_id <>", value, "proId");
return (Criteria) this;
}
public Criteria andProIdGreaterThan(Integer value) {
addCriterion("pro_id >", value, "proId");
return (Criteria) this;
}
public Criteria andProIdGreaterThanOrEqualTo(Integer value) {
addCriterion("pro_id >=", value, "proId");
return (Criteria) this;
}
public Criteria andProIdLessThan(Integer value) {
addCriterion("pro_id <", value, "proId");
return (Criteria) this;
}
public Criteria andProIdLessThanOrEqualTo(Integer value) {
addCriterion("pro_id <=", value, "proId");
return (Criteria) this;
}
public Criteria andProIdIn(List<Integer> values) {
addCriterion("pro_id in", values, "proId");
return (Criteria) this;
}
public Criteria andProIdNotIn(List<Integer> values) {
addCriterion("pro_id not in", values, "proId");
return (Criteria) this;
}
public Criteria andProIdBetween(Integer value1, Integer value2) {
addCriterion("pro_id between", value1, value2, "proId");
return (Criteria) this;
}
public Criteria andProIdNotBetween(Integer value1, Integer value2) {
addCriterion("pro_id not between", value1, value2, "proId");
return (Criteria) this;
}
public Criteria andProNameIsNull() {
addCriterion("pro_name is null");
return (Criteria) this;
}
public Criteria andProNameIsNotNull() {
addCriterion("pro_name is not null");
return (Criteria) this;
}
public Criteria andProNameEqualTo(String value) {
addCriterion("pro_name =", value, "proName");
return (Criteria) this;
}
public Criteria andProNameNotEqualTo(String value) {
addCriterion("pro_name <>", value, "proName");
return (Criteria) this;
}
public Criteria andProNameGreaterThan(String value) {
addCriterion("pro_name >", value, "proName");
return (Criteria) this;
}
public Criteria andProNameGreaterThanOrEqualTo(String value) {
addCriterion("pro_name >=", value, "proName");
return (Criteria) this;
}
public Criteria andProNameLessThan(String value) {
addCriterion("pro_name <", value, "proName");
return (Criteria) this;
}
public Criteria andProNameLessThanOrEqualTo(String value) {
addCriterion("pro_name <=", value, "proName");
return (Criteria) this;
}
public Criteria andProNameLike(String value) {
addCriterion("pro_name like", value, "proName");
return (Criteria) this;
}
public Criteria andProNameNotLike(String value) {
addCriterion("pro_name not like", value, "proName");
return (Criteria) this;
}
public Criteria andProNameIn(List<String> values) {
addCriterion("pro_name in", values, "proName");
return (Criteria) this;
}
public Criteria andProNameNotIn(List<String> values) {
addCriterion("pro_name not in", values, "proName");
return (Criteria) this;
}
public Criteria andProNameBetween(String value1, String value2) {
addCriterion("pro_name between", value1, value2, "proName");
return (Criteria) this;
}
public Criteria andProNameNotBetween(String value1, String value2) {
addCriterion("pro_name not between", value1, value2, "proName");
return (Criteria) this;
}
public Criteria andProStateIsNull() {
addCriterion("pro_state is null");
return (Criteria) this;
}
public Criteria andProStateIsNotNull() {
addCriterion("pro_state is not null");
return (Criteria) this;
}
public Criteria andProStateEqualTo(String value) {
addCriterion("pro_state =", value, "proState");
return (Criteria) this;
}
public Criteria andProStateNotEqualTo(String value) {
addCriterion("pro_state <>", value, "proState");
return (Criteria) thi
没有合适的资源?快使用搜索试试~ 我知道了~
java开发的简易商品管理系统.zip
共86个文件
class:19个
xml:16个
java:13个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 98 浏览量
2023-07-19
15:11:47
上传
评论 1
收藏 527KB ZIP 举报
温馨提示
java开发的简易商品管理系统.zip
资源推荐
资源详情
资源评论
收起资源包目录
java开发的简易商品管理系统.zip (86个子文件)
java开发的简易商品管理系统
commodity-management-master
commodity-management-master
.classpath 1KB
.settings
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.jdt.core.prefs 430B
org.eclipse.core.resources.prefs 231B
.jsdtscope 639B
org.eclipse.wst.validation.prefs 50B
org.eclipse.wst.common.component 701B
org.eclipse.wst.common.project.facet.core.xml 252B
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.m2e.core.prefs 90B
pom.xml 6KB
src
main
resources
mapper
CategoryMapper.xml 6KB
ProductsMapper.xml 11KB
logback.xml 497B
dbconfig.properties 138B
mybatis-config.xml 569B
commodity_management.sql 2KB
applicationContext.xml 4KB
java
com
nian
controller
ProductsController.java 6KB
CategoryController.java 804B
dao
ProductsMapper.java 1004B
CategoryMapper.java 875B
service
CategoryService.java 468B
ProductsService.java 2KB
test
MBGTest.java 1KB
MapperTest.java 2KB
bean
Products.java 3KB
ProductsExample.java 21KB
CategoryExample.java 10KB
Msg.java 1015B
Category.java 625B
webapp
WEB-INF
web.xml 3KB
dispatcherServlet-servlet.xml 1KB
views
list.jsp 4KB
index.jsp 21KB
json2.jsp 134B
json1.jsp 133B
static
js
jquery-1.12.4.min.js 95KB
bootstrap-3.3.7-dist
js
bootstrap.js 68KB
npm.js 484B
bootstrap.min.js 36KB
css
bootstrap-theme.min.css.map 25KB
bootstrap.min.css 118KB
bootstrap-theme.css.map 47KB
bootstrap-theme.css 26KB
bootstrap.css.map 380KB
bootstrap.css 143KB
bootstrap-theme.min.css 23KB
bootstrap.min.css.map 529KB
fonts
glyphicons-halflings-regular.svg 106KB
glyphicons-halflings-regular.ttf 44KB
glyphicons-halflings-regular.woff 23KB
glyphicons-halflings-regular.eot 20KB
glyphicons-halflings-regular.woff2 18KB
META-INF
MANIFEST.MF 39B
generatorConfig.xml 2KB
target
classes
mapper
CategoryMapper.xml 6KB
ProductsMapper.xml 11KB
logback.xml 497B
dbconfig.properties 138B
mybatis-config.xml 569B
commodity_management.sql 2KB
applicationContext.xml 4KB
com
nian
controller
ProductsController.class 6KB
CategoryController.class 1KB
dao
CategoryMapper.class 978B
ProductsMapper.class 1KB
service
CategoryService.class 934B
ProductsService.class 3KB
test
MapperTest.class 2KB
MBGTest.class 2KB
bean
CategoryExample$GeneratedCriteria.class 6KB
CategoryExample$Criterion.class 2KB
ProductsExample.class 2KB
Msg.class 2KB
ProductsExample$Criteria.class 9KB
CategoryExample$Criteria.class 3KB
Category.class 1KB
ProductsExample$GeneratedCriteria.class 15KB
CategoryExample.class 2KB
Products.class 3KB
ProductsExample$Criterion.class 2KB
m2e-wtp
web-resources
META-INF
MANIFEST.MF 113B
maven
com.nian
commodity-management
pom.properties 254B
pom.xml 6KB
.project 1KB
共 86 条
- 1
资源评论
GeekyGuru
- 粉丝: 1726
- 资源: 1099
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功