上传用户表实体类
parent
96d8ffb54f
commit
5891fef705
@ -0,0 +1,333 @@
|
|||||||
|
package com.sztzjy.forex.trading_trading.entity;
|
||||||
|
|
||||||
|
public class StuUser {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column stu_user.user_id
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column stu_user.username
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
private String username;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column stu_user.name
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column stu_user.password
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
private String password;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column stu_user.role_id
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
private Integer roleId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column stu_user.class_id
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
private String classId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column stu_user.class_name
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
private String className;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column stu_user.major
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
private String major;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column stu_user.school_id
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
private String schoolId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database column stu_user.school_name
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
private String schoolName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column stu_user.user_id
|
||||||
|
*
|
||||||
|
* @return the value of stu_user.user_id
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public String getUserId() {
|
||||||
|
return userId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column stu_user.user_id
|
||||||
|
*
|
||||||
|
* @param userId the value for stu_user.user_id
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public void setUserId(String userId) {
|
||||||
|
this.userId = userId == null ? null : userId.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column stu_user.username
|
||||||
|
*
|
||||||
|
* @return the value of stu_user.username
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public String getUsername() {
|
||||||
|
return username;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column stu_user.username
|
||||||
|
*
|
||||||
|
* @param username the value for stu_user.username
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public void setUsername(String username) {
|
||||||
|
this.username = username == null ? null : username.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column stu_user.name
|
||||||
|
*
|
||||||
|
* @return the value of stu_user.name
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column stu_user.name
|
||||||
|
*
|
||||||
|
* @param name the value for stu_user.name
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name == null ? null : name.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column stu_user.password
|
||||||
|
*
|
||||||
|
* @return the value of stu_user.password
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public String getPassword() {
|
||||||
|
return password;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column stu_user.password
|
||||||
|
*
|
||||||
|
* @param password the value for stu_user.password
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public void setPassword(String password) {
|
||||||
|
this.password = password == null ? null : password.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column stu_user.role_id
|
||||||
|
*
|
||||||
|
* @return the value of stu_user.role_id
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public Integer getRoleId() {
|
||||||
|
return roleId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column stu_user.role_id
|
||||||
|
*
|
||||||
|
* @param roleId the value for stu_user.role_id
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public void setRoleId(Integer roleId) {
|
||||||
|
this.roleId = roleId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column stu_user.class_id
|
||||||
|
*
|
||||||
|
* @return the value of stu_user.class_id
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public String getClassId() {
|
||||||
|
return classId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column stu_user.class_id
|
||||||
|
*
|
||||||
|
* @param classId the value for stu_user.class_id
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public void setClassId(String classId) {
|
||||||
|
this.classId = classId == null ? null : classId.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column stu_user.class_name
|
||||||
|
*
|
||||||
|
* @return the value of stu_user.class_name
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public String getClassName() {
|
||||||
|
return className;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column stu_user.class_name
|
||||||
|
*
|
||||||
|
* @param className the value for stu_user.class_name
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public void setClassName(String className) {
|
||||||
|
this.className = className == null ? null : className.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column stu_user.major
|
||||||
|
*
|
||||||
|
* @return the value of stu_user.major
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public String getMajor() {
|
||||||
|
return major;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column stu_user.major
|
||||||
|
*
|
||||||
|
* @param major the value for stu_user.major
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public void setMajor(String major) {
|
||||||
|
this.major = major == null ? null : major.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column stu_user.school_id
|
||||||
|
*
|
||||||
|
* @return the value of stu_user.school_id
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public String getSchoolId() {
|
||||||
|
return schoolId;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column stu_user.school_id
|
||||||
|
*
|
||||||
|
* @param schoolId the value for stu_user.school_id
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public void setSchoolId(String schoolId) {
|
||||||
|
this.schoolId = schoolId == null ? null : schoolId.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method returns the value of the database column stu_user.school_name
|
||||||
|
*
|
||||||
|
* @return the value of stu_user.school_name
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public String getSchoolName() {
|
||||||
|
return schoolName;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method sets the value of the database column stu_user.school_name
|
||||||
|
*
|
||||||
|
* @param schoolName the value for stu_user.school_name
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public void setSchoolName(String schoolName) {
|
||||||
|
this.schoolName = schoolName == null ? null : schoolName.trim();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,991 @@
|
|||||||
|
package com.sztzjy.forex.trading_trading.entity;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class StuUserExample {
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
protected String orderByClause;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
protected boolean distinct;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This field was generated by MyBatis Generator.
|
||||||
|
* This field corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
protected List<Criteria> oredCriteria;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public StuUserExample() {
|
||||||
|
oredCriteria = new ArrayList<>();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public void setOrderByClause(String orderByClause) {
|
||||||
|
this.orderByClause = orderByClause;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public String getOrderByClause() {
|
||||||
|
return orderByClause;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public void setDistinct(boolean distinct) {
|
||||||
|
this.distinct = distinct;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public boolean isDistinct() {
|
||||||
|
return distinct;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public List<Criteria> getOredCriteria() {
|
||||||
|
return oredCriteria;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public void or(Criteria criteria) {
|
||||||
|
oredCriteria.add(criteria);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
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 stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
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 stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
protected Criteria createCriteriaInternal() {
|
||||||
|
Criteria criteria = new Criteria();
|
||||||
|
return criteria;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public void clear() {
|
||||||
|
oredCriteria.clear();
|
||||||
|
orderByClause = null;
|
||||||
|
distinct = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class was generated by MyBatis Generator.
|
||||||
|
* This class corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
protected abstract static class GeneratedCriteria {
|
||||||
|
protected List<Criterion> criteria;
|
||||||
|
|
||||||
|
protected GeneratedCriteria() {
|
||||||
|
super();
|
||||||
|
criteria = new ArrayList<>();
|
||||||
|
}
|
||||||
|
|
||||||
|
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(String value) {
|
||||||
|
addCriterion("user_id =", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdNotEqualTo(String value) {
|
||||||
|
addCriterion("user_id <>", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdGreaterThan(String value) {
|
||||||
|
addCriterion("user_id >", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("user_id >=", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdLessThan(String value) {
|
||||||
|
addCriterion("user_id <", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("user_id <=", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdLike(String value) {
|
||||||
|
addCriterion("user_id like", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdNotLike(String value) {
|
||||||
|
addCriterion("user_id not like", value, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdIn(List<String> values) {
|
||||||
|
addCriterion("user_id in", values, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdNotIn(List<String> values) {
|
||||||
|
addCriterion("user_id not in", values, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdBetween(String value1, String value2) {
|
||||||
|
addCriterion("user_id between", value1, value2, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUserIdNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("user_id not between", value1, value2, "userId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUsernameIsNull() {
|
||||||
|
addCriterion("username is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUsernameIsNotNull() {
|
||||||
|
addCriterion("username is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUsernameEqualTo(String value) {
|
||||||
|
addCriterion("username =", value, "username");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUsernameNotEqualTo(String value) {
|
||||||
|
addCriterion("username <>", value, "username");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUsernameGreaterThan(String value) {
|
||||||
|
addCriterion("username >", value, "username");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUsernameGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("username >=", value, "username");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUsernameLessThan(String value) {
|
||||||
|
addCriterion("username <", value, "username");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUsernameLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("username <=", value, "username");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUsernameLike(String value) {
|
||||||
|
addCriterion("username like", value, "username");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUsernameNotLike(String value) {
|
||||||
|
addCriterion("username not like", value, "username");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUsernameIn(List<String> values) {
|
||||||
|
addCriterion("username in", values, "username");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUsernameNotIn(List<String> values) {
|
||||||
|
addCriterion("username not in", values, "username");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUsernameBetween(String value1, String value2) {
|
||||||
|
addCriterion("username between", value1, value2, "username");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andUsernameNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("username not between", value1, value2, "username");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andNameIsNull() {
|
||||||
|
addCriterion("name is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andNameIsNotNull() {
|
||||||
|
addCriterion("name is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andNameEqualTo(String value) {
|
||||||
|
addCriterion("name =", value, "name");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andNameNotEqualTo(String value) {
|
||||||
|
addCriterion("name <>", value, "name");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andNameGreaterThan(String value) {
|
||||||
|
addCriterion("name >", value, "name");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andNameGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("name >=", value, "name");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andNameLessThan(String value) {
|
||||||
|
addCriterion("name <", value, "name");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andNameLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("name <=", value, "name");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andNameLike(String value) {
|
||||||
|
addCriterion("name like", value, "name");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andNameNotLike(String value) {
|
||||||
|
addCriterion("name not like", value, "name");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andNameIn(List<String> values) {
|
||||||
|
addCriterion("name in", values, "name");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andNameNotIn(List<String> values) {
|
||||||
|
addCriterion("name not in", values, "name");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andNameBetween(String value1, String value2) {
|
||||||
|
addCriterion("name between", value1, value2, "name");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andNameNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("name not between", value1, value2, "name");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPasswordIsNull() {
|
||||||
|
addCriterion("password is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPasswordIsNotNull() {
|
||||||
|
addCriterion("password is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPasswordEqualTo(String value) {
|
||||||
|
addCriterion("password =", value, "password");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPasswordNotEqualTo(String value) {
|
||||||
|
addCriterion("password <>", value, "password");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPasswordGreaterThan(String value) {
|
||||||
|
addCriterion("password >", value, "password");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPasswordGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("password >=", value, "password");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPasswordLessThan(String value) {
|
||||||
|
addCriterion("password <", value, "password");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPasswordLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("password <=", value, "password");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPasswordLike(String value) {
|
||||||
|
addCriterion("password like", value, "password");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPasswordNotLike(String value) {
|
||||||
|
addCriterion("password not like", value, "password");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPasswordIn(List<String> values) {
|
||||||
|
addCriterion("password in", values, "password");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPasswordNotIn(List<String> values) {
|
||||||
|
addCriterion("password not in", values, "password");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPasswordBetween(String value1, String value2) {
|
||||||
|
addCriterion("password between", value1, value2, "password");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andPasswordNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("password not between", value1, value2, "password");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andRoleIdIsNull() {
|
||||||
|
addCriterion("role_id is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andRoleIdIsNotNull() {
|
||||||
|
addCriterion("role_id is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andRoleIdEqualTo(Integer value) {
|
||||||
|
addCriterion("role_id =", value, "roleId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andRoleIdNotEqualTo(Integer value) {
|
||||||
|
addCriterion("role_id <>", value, "roleId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andRoleIdGreaterThan(Integer value) {
|
||||||
|
addCriterion("role_id >", value, "roleId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andRoleIdGreaterThanOrEqualTo(Integer value) {
|
||||||
|
addCriterion("role_id >=", value, "roleId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andRoleIdLessThan(Integer value) {
|
||||||
|
addCriterion("role_id <", value, "roleId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andRoleIdLessThanOrEqualTo(Integer value) {
|
||||||
|
addCriterion("role_id <=", value, "roleId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andRoleIdIn(List<Integer> values) {
|
||||||
|
addCriterion("role_id in", values, "roleId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andRoleIdNotIn(List<Integer> values) {
|
||||||
|
addCriterion("role_id not in", values, "roleId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andRoleIdBetween(Integer value1, Integer value2) {
|
||||||
|
addCriterion("role_id between", value1, value2, "roleId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andRoleIdNotBetween(Integer value1, Integer value2) {
|
||||||
|
addCriterion("role_id not between", value1, value2, "roleId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassIdIsNull() {
|
||||||
|
addCriterion("class_id is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassIdIsNotNull() {
|
||||||
|
addCriterion("class_id is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassIdEqualTo(String value) {
|
||||||
|
addCriterion("class_id =", value, "classId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassIdNotEqualTo(String value) {
|
||||||
|
addCriterion("class_id <>", value, "classId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassIdGreaterThan(String value) {
|
||||||
|
addCriterion("class_id >", value, "classId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassIdGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("class_id >=", value, "classId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassIdLessThan(String value) {
|
||||||
|
addCriterion("class_id <", value, "classId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassIdLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("class_id <=", value, "classId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassIdLike(String value) {
|
||||||
|
addCriterion("class_id like", value, "classId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassIdNotLike(String value) {
|
||||||
|
addCriterion("class_id not like", value, "classId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassIdIn(List<String> values) {
|
||||||
|
addCriterion("class_id in", values, "classId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassIdNotIn(List<String> values) {
|
||||||
|
addCriterion("class_id not in", values, "classId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassIdBetween(String value1, String value2) {
|
||||||
|
addCriterion("class_id between", value1, value2, "classId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassIdNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("class_id not between", value1, value2, "classId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassNameIsNull() {
|
||||||
|
addCriterion("class_name is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassNameIsNotNull() {
|
||||||
|
addCriterion("class_name is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassNameEqualTo(String value) {
|
||||||
|
addCriterion("class_name =", value, "className");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassNameNotEqualTo(String value) {
|
||||||
|
addCriterion("class_name <>", value, "className");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassNameGreaterThan(String value) {
|
||||||
|
addCriterion("class_name >", value, "className");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassNameGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("class_name >=", value, "className");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassNameLessThan(String value) {
|
||||||
|
addCriterion("class_name <", value, "className");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassNameLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("class_name <=", value, "className");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassNameLike(String value) {
|
||||||
|
addCriterion("class_name like", value, "className");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassNameNotLike(String value) {
|
||||||
|
addCriterion("class_name not like", value, "className");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassNameIn(List<String> values) {
|
||||||
|
addCriterion("class_name in", values, "className");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassNameNotIn(List<String> values) {
|
||||||
|
addCriterion("class_name not in", values, "className");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassNameBetween(String value1, String value2) {
|
||||||
|
addCriterion("class_name between", value1, value2, "className");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andClassNameNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("class_name not between", value1, value2, "className");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andMajorIsNull() {
|
||||||
|
addCriterion("major is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andMajorIsNotNull() {
|
||||||
|
addCriterion("major is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andMajorEqualTo(String value) {
|
||||||
|
addCriterion("major =", value, "major");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andMajorNotEqualTo(String value) {
|
||||||
|
addCriterion("major <>", value, "major");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andMajorGreaterThan(String value) {
|
||||||
|
addCriterion("major >", value, "major");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andMajorGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("major >=", value, "major");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andMajorLessThan(String value) {
|
||||||
|
addCriterion("major <", value, "major");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andMajorLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("major <=", value, "major");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andMajorLike(String value) {
|
||||||
|
addCriterion("major like", value, "major");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andMajorNotLike(String value) {
|
||||||
|
addCriterion("major not like", value, "major");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andMajorIn(List<String> values) {
|
||||||
|
addCriterion("major in", values, "major");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andMajorNotIn(List<String> values) {
|
||||||
|
addCriterion("major not in", values, "major");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andMajorBetween(String value1, String value2) {
|
||||||
|
addCriterion("major between", value1, value2, "major");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andMajorNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("major not between", value1, value2, "major");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolIdIsNull() {
|
||||||
|
addCriterion("school_id is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolIdIsNotNull() {
|
||||||
|
addCriterion("school_id is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolIdEqualTo(String value) {
|
||||||
|
addCriterion("school_id =", value, "schoolId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolIdNotEqualTo(String value) {
|
||||||
|
addCriterion("school_id <>", value, "schoolId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolIdGreaterThan(String value) {
|
||||||
|
addCriterion("school_id >", value, "schoolId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolIdGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("school_id >=", value, "schoolId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolIdLessThan(String value) {
|
||||||
|
addCriterion("school_id <", value, "schoolId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolIdLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("school_id <=", value, "schoolId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolIdLike(String value) {
|
||||||
|
addCriterion("school_id like", value, "schoolId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolIdNotLike(String value) {
|
||||||
|
addCriterion("school_id not like", value, "schoolId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolIdIn(List<String> values) {
|
||||||
|
addCriterion("school_id in", values, "schoolId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolIdNotIn(List<String> values) {
|
||||||
|
addCriterion("school_id not in", values, "schoolId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolIdBetween(String value1, String value2) {
|
||||||
|
addCriterion("school_id between", value1, value2, "schoolId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolIdNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("school_id not between", value1, value2, "schoolId");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolNameIsNull() {
|
||||||
|
addCriterion("school_name is null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolNameIsNotNull() {
|
||||||
|
addCriterion("school_name is not null");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolNameEqualTo(String value) {
|
||||||
|
addCriterion("school_name =", value, "schoolName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolNameNotEqualTo(String value) {
|
||||||
|
addCriterion("school_name <>", value, "schoolName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolNameGreaterThan(String value) {
|
||||||
|
addCriterion("school_name >", value, "schoolName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolNameGreaterThanOrEqualTo(String value) {
|
||||||
|
addCriterion("school_name >=", value, "schoolName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolNameLessThan(String value) {
|
||||||
|
addCriterion("school_name <", value, "schoolName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolNameLessThanOrEqualTo(String value) {
|
||||||
|
addCriterion("school_name <=", value, "schoolName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolNameLike(String value) {
|
||||||
|
addCriterion("school_name like", value, "schoolName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolNameNotLike(String value) {
|
||||||
|
addCriterion("school_name not like", value, "schoolName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolNameIn(List<String> values) {
|
||||||
|
addCriterion("school_name in", values, "schoolName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolNameNotIn(List<String> values) {
|
||||||
|
addCriterion("school_name not in", values, "schoolName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolNameBetween(String value1, String value2) {
|
||||||
|
addCriterion("school_name between", value1, value2, "schoolName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Criteria andSchoolNameNotBetween(String value1, String value2) {
|
||||||
|
addCriterion("school_name not between", value1, value2, "schoolName");
|
||||||
|
return (Criteria) this;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class was generated by MyBatis Generator.
|
||||||
|
* This class corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated do_not_delete_during_merge Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public static class Criteria extends GeneratedCriteria {
|
||||||
|
protected Criteria() {
|
||||||
|
super();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class was generated by MyBatis Generator.
|
||||||
|
* This class corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
public static class Criterion {
|
||||||
|
private String condition;
|
||||||
|
|
||||||
|
private Object value;
|
||||||
|
|
||||||
|
private Object secondValue;
|
||||||
|
|
||||||
|
private boolean noValue;
|
||||||
|
|
||||||
|
private boolean singleValue;
|
||||||
|
|
||||||
|
private boolean betweenValue;
|
||||||
|
|
||||||
|
private boolean listValue;
|
||||||
|
|
||||||
|
private String typeHandler;
|
||||||
|
|
||||||
|
public String getCondition() {
|
||||||
|
return condition;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Object getValue() {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Object getSecondValue() {
|
||||||
|
return secondValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isNoValue() {
|
||||||
|
return noValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isSingleValue() {
|
||||||
|
return singleValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isBetweenValue() {
|
||||||
|
return betweenValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isListValue() {
|
||||||
|
return listValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTypeHandler() {
|
||||||
|
return typeHandler;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criterion(String condition) {
|
||||||
|
super();
|
||||||
|
this.condition = condition;
|
||||||
|
this.typeHandler = null;
|
||||||
|
this.noValue = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criterion(String condition, Object value, String typeHandler) {
|
||||||
|
super();
|
||||||
|
this.condition = condition;
|
||||||
|
this.value = value;
|
||||||
|
this.typeHandler = typeHandler;
|
||||||
|
if (value instanceof List<?>) {
|
||||||
|
this.listValue = true;
|
||||||
|
} else {
|
||||||
|
this.singleValue = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criterion(String condition, Object value) {
|
||||||
|
this(condition, value, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||||
|
super();
|
||||||
|
this.condition = condition;
|
||||||
|
this.value = value;
|
||||||
|
this.secondValue = secondValue;
|
||||||
|
this.typeHandler = typeHandler;
|
||||||
|
this.betweenValue = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected Criterion(String condition, Object value, Object secondValue) {
|
||||||
|
this(condition, value, secondValue, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,96 @@
|
|||||||
|
package com.sztzjy.forex.trading_trading.mappers;
|
||||||
|
|
||||||
|
import com.sztzjy.forex.trading_trading.entity.StuUser;
|
||||||
|
import com.sztzjy.forex.trading_trading.entity.StuUserExample;
|
||||||
|
import java.util.List;
|
||||||
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
public interface StuUserMapper {
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
long countByExample(StuUserExample example);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
int deleteByExample(StuUserExample example);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
int deleteByPrimaryKey(String userId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
int insert(StuUser record);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
int insertSelective(StuUser record);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
List<StuUser> selectByExample(StuUserExample example);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
StuUser selectByPrimaryKey(String userId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
int updateByExampleSelective(@Param("record") StuUser record, @Param("example") StuUserExample example);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
int updateByExample(@Param("record") StuUser record, @Param("example") StuUserExample example);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
int updateByPrimaryKeySelective(StuUser record);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method was generated by MyBatis Generator.
|
||||||
|
* This method corresponds to the database table stu_user
|
||||||
|
*
|
||||||
|
* @mbg.generated Thu May 09 15:03:21 CST 2024
|
||||||
|
*/
|
||||||
|
int updateByPrimaryKey(StuUser record);
|
||||||
|
}
|
@ -0,0 +1,366 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.sztzjy.forex.trading_trading.mappers.StuUserMapper">
|
||||||
|
<resultMap id="BaseResultMap" type="com.sztzjy.forex.trading_trading.entity.StuUser">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu May 09 15:03:21 CST 2024.
|
||||||
|
-->
|
||||||
|
<id column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||||
|
<result column="username" jdbcType="VARCHAR" property="username" />
|
||||||
|
<result column="name" jdbcType="VARCHAR" property="name" />
|
||||||
|
<result column="password" jdbcType="VARCHAR" property="password" />
|
||||||
|
<result column="role_id" jdbcType="INTEGER" property="roleId" />
|
||||||
|
<result column="class_id" jdbcType="VARCHAR" property="classId" />
|
||||||
|
<result column="class_name" jdbcType="VARCHAR" property="className" />
|
||||||
|
<result column="major" jdbcType="VARCHAR" property="major" />
|
||||||
|
<result column="school_id" jdbcType="VARCHAR" property="schoolId" />
|
||||||
|
<result column="school_name" jdbcType="VARCHAR" property="schoolName" />
|
||||||
|
</resultMap>
|
||||||
|
<sql id="Example_Where_Clause">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu May 09 15:03:21 CST 2024.
|
||||||
|
-->
|
||||||
|
<where>
|
||||||
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
||||||
|
<if test="criteria.valid">
|
||||||
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
|
<choose>
|
||||||
|
<when test="criterion.noValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.singleValue">
|
||||||
|
and ${criterion.condition} #{criterion.value}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.betweenValue">
|
||||||
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.listValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||||
|
#{listItem}
|
||||||
|
</foreach>
|
||||||
|
</when>
|
||||||
|
</choose>
|
||||||
|
</foreach>
|
||||||
|
</trim>
|
||||||
|
</if>
|
||||||
|
</foreach>
|
||||||
|
</where>
|
||||||
|
</sql>
|
||||||
|
<sql id="Update_By_Example_Where_Clause">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu May 09 15:03:21 CST 2024.
|
||||||
|
-->
|
||||||
|
<where>
|
||||||
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
||||||
|
<if test="criteria.valid">
|
||||||
|
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||||
|
<foreach collection="criteria.criteria" item="criterion">
|
||||||
|
<choose>
|
||||||
|
<when test="criterion.noValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.singleValue">
|
||||||
|
and ${criterion.condition} #{criterion.value}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.betweenValue">
|
||||||
|
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||||
|
</when>
|
||||||
|
<when test="criterion.listValue">
|
||||||
|
and ${criterion.condition}
|
||||||
|
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||||
|
#{listItem}
|
||||||
|
</foreach>
|
||||||
|
</when>
|
||||||
|
</choose>
|
||||||
|
</foreach>
|
||||||
|
</trim>
|
||||||
|
</if>
|
||||||
|
</foreach>
|
||||||
|
</where>
|
||||||
|
</sql>
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu May 09 15:03:21 CST 2024.
|
||||||
|
-->
|
||||||
|
user_id, username, name, password, role_id, class_id, class_name, major, school_id,
|
||||||
|
school_name
|
||||||
|
</sql>
|
||||||
|
<select id="selectByExample" parameterType="com.sztzjy.forex.trading_trading.entity.StuUserExample" resultMap="BaseResultMap">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu May 09 15:03:21 CST 2024.
|
||||||
|
-->
|
||||||
|
select
|
||||||
|
<if test="distinct">
|
||||||
|
distinct
|
||||||
|
</if>
|
||||||
|
<include refid="Base_Column_List" />
|
||||||
|
from stu_user
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
<if test="orderByClause != null">
|
||||||
|
order by ${orderByClause}
|
||||||
|
</if>
|
||||||
|
</select>
|
||||||
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu May 09 15:03:21 CST 2024.
|
||||||
|
-->
|
||||||
|
select
|
||||||
|
<include refid="Base_Column_List" />
|
||||||
|
from stu_user
|
||||||
|
where user_id = #{userId,jdbcType=VARCHAR}
|
||||||
|
</select>
|
||||||
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu May 09 15:03:21 CST 2024.
|
||||||
|
-->
|
||||||
|
delete from stu_user
|
||||||
|
where user_id = #{userId,jdbcType=VARCHAR}
|
||||||
|
</delete>
|
||||||
|
<delete id="deleteByExample" parameterType="com.sztzjy.forex.trading_trading.entity.StuUserExample">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu May 09 15:03:21 CST 2024.
|
||||||
|
-->
|
||||||
|
delete from stu_user
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</delete>
|
||||||
|
<insert id="insert" parameterType="com.sztzjy.forex.trading_trading.entity.StuUser">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu May 09 15:03:21 CST 2024.
|
||||||
|
-->
|
||||||
|
insert into stu_user (user_id, username, name,
|
||||||
|
password, role_id, class_id,
|
||||||
|
class_name, major, school_id,
|
||||||
|
school_name)
|
||||||
|
values (#{userId,jdbcType=VARCHAR}, #{username,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
||||||
|
#{password,jdbcType=VARCHAR}, #{roleId,jdbcType=INTEGER}, #{classId,jdbcType=VARCHAR},
|
||||||
|
#{className,jdbcType=VARCHAR}, #{major,jdbcType=VARCHAR}, #{schoolId,jdbcType=VARCHAR},
|
||||||
|
#{schoolName,jdbcType=VARCHAR})
|
||||||
|
</insert>
|
||||||
|
<insert id="insertSelective" parameterType="com.sztzjy.forex.trading_trading.entity.StuUser">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu May 09 15:03:21 CST 2024.
|
||||||
|
-->
|
||||||
|
insert into stu_user
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="userId != null">
|
||||||
|
user_id,
|
||||||
|
</if>
|
||||||
|
<if test="username != null">
|
||||||
|
username,
|
||||||
|
</if>
|
||||||
|
<if test="name != null">
|
||||||
|
name,
|
||||||
|
</if>
|
||||||
|
<if test="password != null">
|
||||||
|
password,
|
||||||
|
</if>
|
||||||
|
<if test="roleId != null">
|
||||||
|
role_id,
|
||||||
|
</if>
|
||||||
|
<if test="classId != null">
|
||||||
|
class_id,
|
||||||
|
</if>
|
||||||
|
<if test="className != null">
|
||||||
|
class_name,
|
||||||
|
</if>
|
||||||
|
<if test="major != null">
|
||||||
|
major,
|
||||||
|
</if>
|
||||||
|
<if test="schoolId != null">
|
||||||
|
school_id,
|
||||||
|
</if>
|
||||||
|
<if test="schoolName != null">
|
||||||
|
school_name,
|
||||||
|
</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="userId != null">
|
||||||
|
#{userId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="username != null">
|
||||||
|
#{username,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="name != null">
|
||||||
|
#{name,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="password != null">
|
||||||
|
#{password,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="roleId != null">
|
||||||
|
#{roleId,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="classId != null">
|
||||||
|
#{classId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="className != null">
|
||||||
|
#{className,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="major != null">
|
||||||
|
#{major,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="schoolId != null">
|
||||||
|
#{schoolId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="schoolName != null">
|
||||||
|
#{schoolName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
<select id="countByExample" parameterType="com.sztzjy.forex.trading_trading.entity.StuUserExample" resultType="java.lang.Long">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu May 09 15:03:21 CST 2024.
|
||||||
|
-->
|
||||||
|
select count(*) from stu_user
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</select>
|
||||||
|
<update id="updateByExampleSelective" parameterType="map">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu May 09 15:03:21 CST 2024.
|
||||||
|
-->
|
||||||
|
update stu_user
|
||||||
|
<set>
|
||||||
|
<if test="record.userId != null">
|
||||||
|
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.username != null">
|
||||||
|
username = #{record.username,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.name != null">
|
||||||
|
name = #{record.name,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.password != null">
|
||||||
|
password = #{record.password,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.roleId != null">
|
||||||
|
role_id = #{record.roleId,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="record.classId != null">
|
||||||
|
class_id = #{record.classId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.className != null">
|
||||||
|
class_name = #{record.className,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.major != null">
|
||||||
|
major = #{record.major,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.schoolId != null">
|
||||||
|
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="record.schoolName != null">
|
||||||
|
school_name = #{record.schoolName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByExample" parameterType="map">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu May 09 15:03:21 CST 2024.
|
||||||
|
-->
|
||||||
|
update stu_user
|
||||||
|
set user_id = #{record.userId,jdbcType=VARCHAR},
|
||||||
|
username = #{record.username,jdbcType=VARCHAR},
|
||||||
|
name = #{record.name,jdbcType=VARCHAR},
|
||||||
|
password = #{record.password,jdbcType=VARCHAR},
|
||||||
|
role_id = #{record.roleId,jdbcType=INTEGER},
|
||||||
|
class_id = #{record.classId,jdbcType=VARCHAR},
|
||||||
|
class_name = #{record.className,jdbcType=VARCHAR},
|
||||||
|
major = #{record.major,jdbcType=VARCHAR},
|
||||||
|
school_id = #{record.schoolId,jdbcType=VARCHAR},
|
||||||
|
school_name = #{record.schoolName,jdbcType=VARCHAR}
|
||||||
|
<if test="_parameter != null">
|
||||||
|
<include refid="Update_By_Example_Where_Clause" />
|
||||||
|
</if>
|
||||||
|
</update>
|
||||||
|
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.forex.trading_trading.entity.StuUser">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu May 09 15:03:21 CST 2024.
|
||||||
|
-->
|
||||||
|
update stu_user
|
||||||
|
<set>
|
||||||
|
<if test="username != null">
|
||||||
|
username = #{username,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="name != null">
|
||||||
|
name = #{name,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="password != null">
|
||||||
|
password = #{password,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="roleId != null">
|
||||||
|
role_id = #{roleId,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
|
<if test="classId != null">
|
||||||
|
class_id = #{classId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="className != null">
|
||||||
|
class_name = #{className,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="major != null">
|
||||||
|
major = #{major,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="schoolId != null">
|
||||||
|
school_id = #{schoolId,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
<if test="schoolName != null">
|
||||||
|
school_name = #{schoolName,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
|
</set>
|
||||||
|
where user_id = #{userId,jdbcType=VARCHAR}
|
||||||
|
</update>
|
||||||
|
<update id="updateByPrimaryKey" parameterType="com.sztzjy.forex.trading_trading.entity.StuUser">
|
||||||
|
<!--
|
||||||
|
WARNING - @mbg.generated
|
||||||
|
This element is automatically generated by MyBatis Generator, do not modify.
|
||||||
|
This element was generated on Thu May 09 15:03:21 CST 2024.
|
||||||
|
-->
|
||||||
|
update stu_user
|
||||||
|
set username = #{username,jdbcType=VARCHAR},
|
||||||
|
name = #{name,jdbcType=VARCHAR},
|
||||||
|
password = #{password,jdbcType=VARCHAR},
|
||||||
|
role_id = #{roleId,jdbcType=INTEGER},
|
||||||
|
class_id = #{classId,jdbcType=VARCHAR},
|
||||||
|
class_name = #{className,jdbcType=VARCHAR},
|
||||||
|
major = #{major,jdbcType=VARCHAR},
|
||||||
|
school_id = #{schoolId,jdbcType=VARCHAR},
|
||||||
|
school_name = #{schoolName,jdbcType=VARCHAR}
|
||||||
|
where user_id = #{userId,jdbcType=VARCHAR}
|
||||||
|
</update>
|
||||||
|
</mapper>
|
Loading…
Reference in New Issue