package com.example.demo.pojo;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
public class TpUsersExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table tp_users
*
* @mbggenerated Fri Nov 30 11:13:56 CST 2018
*/
protected String orderByClause;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table tp_users
*
* @mbggenerated Fri Nov 30 11:13:56 CST 2018
*/
protected boolean distinct;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table tp_users
*
* @mbggenerated Fri Nov 30 11:13:56 CST 2018
*/
protected List<Criteria> oredCriteria;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table tp_users
*
* @mbggenerated Fri Nov 30 11:13:56 CST 2018
*/
public TpUsersExample() {
oredCriteria = new ArrayList<Criteria>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table tp_users
*
* @mbggenerated Fri Nov 30 11:13:56 CST 2018
*/
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table tp_users
*
* @mbggenerated Fri Nov 30 11:13:56 CST 2018
*/
public String getOrderByClause() {
return orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table tp_users
*
* @mbggenerated Fri Nov 30 11:13:56 CST 2018
*/
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table tp_users
*
* @mbggenerated Fri Nov 30 11:13:56 CST 2018
*/
public boolean isDistinct() {
return distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table tp_users
*
* @mbggenerated Fri Nov 30 11:13:56 CST 2018
*/
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table tp_users
*
* @mbggenerated Fri Nov 30 11:13:56 CST 2018
*/
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table tp_users
*
* @mbggenerated Fri Nov 30 11:13:56 CST 2018
*/
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table tp_users
*
* @mbggenerated Fri Nov 30 11:13:56 CST 2018
*/
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table tp_users
*
* @mbggenerated Fri Nov 30 11:13:56 CST 2018
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table tp_users
*
* @mbggenerated Fri Nov 30 11:13:56 CST 2018
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table tp_users
*
* @mbggenerated Fri Nov 30 11:13:56 CST 2018
*/
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 andUserIdIsNull() {
addCriterion("user_id is null");
return (Criteria) this;
}
public Criteria andUserIdIsNotNull() {
addCriterion("user_id is not null");
return (Criteria) this;
}
public Criteria andUserIdEqualTo(Integer value) {
addCriterion("user_id =", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotEqualTo(Integer value) {
addCriterion("user_id <>", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdGreaterThan(Integer value) {
addCriterion("user_id >", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
addCriterion("user_id >=", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdLessThan(Integer value) {
addCriterion("user_id <", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdLessThanOrEqualTo(Integer value) {
addCriterion("user_id <=", value, "userId");
return (Criteria) this;
}
public Criteria andUserIdIn(List<Integer> values) {
addCriterion("user_id in", values, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotIn(List<Integer> values) {
addCriterion("user_id not in", values, "userId");
return (Criteria) this;
}
public Criteria andUserIdBetween(Integer value1, Integer value2) {
addCriterion("user_id between", value1, value2, "userId");
return (Criteria) this;
}
public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
addCriterion("user_id not between", value1, value2, "userId");
return (Criteria) this;
}
public Criteria andEmailIsNull() {
ad
没有合适的资源?快使用搜索试试~ 我知道了~
springboot文件上传路径保存数据库并且可以复制路径网页访问图片
共40个文件
class:15个
java:12个
yml:2个
1星 需积分: 45 86 下载量 77 浏览量
2018-12-14
10:52:39
上传
评论 3
收藏 114KB ZIP 举报
温馨提示
里面是完整的案例 自己项目里面摘出来的 项目亲测有效
资源推荐
资源详情
资源评论
收起资源包目录
filedemo.zip (40个子文件)
filedemo
.project 1KB
mvnw.cmd 6KB
mvnw 9KB
src
test
java
com
example
demo
FiledemoApplicationTests.java 336B
main
resources
img
templates
static
application.yml 378B
java
com
example
demo
service
TpUsersService.java 950B
pojo
TpUsersExample.java 102KB
TpUsers.java 40KB
FiledemoApplication.java 314B
controller
FileController.java 2KB
mapper
TpUsersMapper.java 3KB
util
UUIDUtils.java 216B
FileNameUtils.java 514B
FileUtils.java 3KB
R.java 2KB
config
MyWebMvcConfigurerAdapter.java 871B
target
classes
com
example
demo
service
TpUsersService.class 1KB
pojo
TpUsersExample$Criteria.class 47KB
TpUsersExample$Criterion.class 2KB
TpUsers.class 10KB
TpUsersExample$GeneratedCriteria.class 80KB
TpUsersExample.class 2KB
controller
FileController.class 3KB
mapper
TpUsersMapper.class 1KB
util
FileNameUtils.class 1KB
UUIDUtils.class 600B
R.class 2KB
FileUtils.class 3KB
config
MyWebMvcConfigurerAdapter.class 1KB
FiledemoApplication.class 745B
META-INF
MANIFEST.MF 327B
maven
com.example
filedemo
pom.properties 265B
pom.xml 2KB
application.yml 763B
test-classes
com
example
demo
FiledemoApplicationTests.class 634B
.mvn
wrapper
maven-wrapper.jar 47KB
maven-wrapper.properties 116B
pom.xml 2KB
.classpath 1KB
.gitignore 268B
共 40 条
- 1
资源评论
- weixin_422325242023-03-18啥跟啥呀,还45分
Java小后生
- 粉丝: 28
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于python实现的基于PyQt5和爬虫的小说阅读系统.zip
- 机械设计整经机上纱自动化sw20非常好的设计图纸100%好用.zip
- Screenshot_20240427_031602.jpg
- 网页PDF_2024年04月26日 23-46-14_QQ浏览器网页保存_QQ浏览器转格式(6).docx
- 直接插入排序,冒泡排序,直接选择排序.zip
- 在排序2的基础上,再次对快排进行优化,其次增加快排非递归,归并排序,归并排序非递归版.zip
- 实现了7种排序算法.三种复杂度排序.三种nlogn复杂度排序(堆排序,归并排序,快速排序)一种线性复杂度的排序.zip
- 冒泡排序 直接选择排序 直接插入排序 随机快速排序 归并排序 堆排序.zip
- 课设-内部排序算法比较 包括冒泡排序、直接插入排序、简单选择排序、快速排序、希尔排序、归并排序和堆排序.zip
- Python排序算法.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功