package com.stalary.pf.recruit.data.dto; import com.stalary.pf.recruit.data.vo.HR; import lombok.Data; /** * @model User * @description 用户对象 * @field userId 用户id * @field nickname 昵称 * @field username 用户名 * @field password 密码 * @field companyId 关联的公司Id * @field phone 手机号 * @field email 邮箱 * @field projectId 项目id * @field role 角色,1为hr,2为求职者 * @field firstId 关联Id * @field code 验证码(注册时使用) **/ @Data public class User { private Long id; private String username; private String nickname; private String phone; private String password; private String email; private Long projectId; private Integer role; private Long firstId; private String code; public User(HR hr) { this.username = hr.getUsername(); this.nickname = hr.getNickname(); this.password = hr.getPassword(); this.phone = hr.getPhone(); this.email = hr.getEmail(); this.firstId = hr.getCompanyId(); this.code = hr.getCode(); this.role = 1; } public User() { } }
package com.stalary.pf.user.data.dto; import lombok.Data; /** * @model User * @description 用户对象 * @field userId 用户id * @field nickname 昵称 * @field username 用户名 * @field password 密码 * @field companyId 关联的公司Id * @field phone 手机号 * @field email 邮箱 * @field projectId 项目id * @field role 角色,1为hr,2为求职者 * @field firstId 关联Id * @field code 验证码(注册时使用) **/ @Data public class User { private Long id; private String username; private String nickname; private String phone; private String password; private String email; private Long projectId; private Integer role; private Long firstId; private String code; public User(Applicant applicant) { this.username = applicant.getUsername(); this.password = applicant.getPassword(); this.phone = applicant.getPhone(); this.email = applicant.getEmail(); this.code = applicant.getCode(); this.role = 2; } public User(HR hr) { this.username = hr.getUsername(); this.nickname = hr.getNickname(); this.password = hr.getPassword(); this.phone = hr.getPhone(); this.email = hr.getEmail(); this.firstId = hr.getCompanyId(); this.code = hr.getCode(); this.role = 1; } public User() { } }
package adminbasic.entity; import lombok.Data; import lombok.ToString; import java.io.Serializable; import java.util.UUID; /** * @author fdse */ @ToString @Data public class Contacts implements Serializable { private UUID id; private UUID accountId; private String name; private int documentType; private String documentNumber; private String phoneNumber; @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Contacts other = (Contacts) obj; return name.equals(other.getName()) && accountId.equals(other.getAccountId()) && documentNumber.equals(other.getDocumentNumber()) && phoneNumber.equals(other.getPhoneNumber()) && documentType == other.getDocumentType(); } @Override public int hashCode() { int result = 17; result = 31 * result + (id == null ? 0 : id.hashCode()); return result; } }
package adminorder.entity; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.ToString; import java.util.Date; import java.util.UUID; /** * @author fdse */ @ToString @Data @NoArgsConstructor @AllArgsConstructor public class Order { private UUID id; private Date boughtDate; private Date travelDate; private Date travelTime; /** * Which Account Bought it */ private UUID accountId; /** * Tickets bought for whom */ private String contactsName; private int documentType; private String contactsDocumentNumber; private String trainNumber; private int coachNumber; private int seatClass; private String seatNumber; private String from; private String to; private int status; private String price; @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Order other = (Order) obj; return boughtDate.equals(other.getBoughtDate()) && travelDate.equals(other.getTravelDate()) && travelTime.equals(other.getTravelTime()) && accountId.equals(other.getAccountId()) && contactsName.equals(other.getContactsName()) && contactsDocumentNumber.equals(other.getContactsDocumentNumber()) && documentType == other.getDocumentType() && trainNumber.equals(other.getTrainNumber()) && coachNumber == other.getCoachNumber() && seatClass == other.getSeatClass() && seatNumber.equals(other.getSeatNumber()) && from.equals(other.getFrom()) && to.equals(other.getTo()) && status == other.getStatus() && price.equals(other.price); } @Override public int hashCode() { int result = 17; result = 31 * result + (id == null ? 0 : id.hashCode()); return result; } }
package admintravel.entity; import lombok.Data; import java.io.Serializable; /** * @author fdse */ @Data public class TripId implements Serializable{ private Type type; private String number; public TripId(){ //Default Constructor } public TripId(String trainNumber){ char type0 = trainNumber.charAt(0); switch(type0){ case 'G': this.type = Type.G; break; case 'D': this.type = Type.D; break; case 'Z': this.type = Type.Z; break; case 'T': this.type = Type.T; break; case 'K': this.type = Type.K; break; default:break; } this.number = trainNumber.substring(1); } @Override public String toString(){ return type.getName() + number; } }
package fdse.microservice.entity; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.UUID; /** * @author fdse */ @Data @NoArgsConstructor @AllArgsConstructor @JsonIgnoreProperties(ignoreUnknown = true) public class Contacts { private UUID id; private UUID accountId; private String name; private int documentType; private String documentNumber; private String phoneNumber; @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Contacts other = (Contacts) obj; return name.equals(other.getName()) && accountId .equals( other.getAccountId() ) && documentNumber.equals(other.getDocumentNumber()) && phoneNumber.equals(other.getPhoneNumber()) && documentType == other.getDocumentType(); } @Override public int hashCode() { int result = 17; result = 31 * result + (id == null ? 0 : id.hashCode()); return result; } }
package fdse.microservice.entity; import lombok.Data; import java.io.Serializable; /** * @author fdse */ @Data public class TripId implements Serializable{ private Type type; private String number; public TripId(){} public TripId(String trainNumber){ char type0 = trainNumber.charAt(0); switch(type0){ case 'G': this.type = Type.G; break; case 'D': this.type = Type.D; break; case 'Z': this.type = Type.Z; break; case 'T': this.type = Type.T; break; case 'K': this.type = Type.K; break; default:break; } this.number = trainNumber.substring(1); } @Override public String toString(){ return type.getName() + number; } }
package cancel.entity; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import java.util.Date; import java.util.UUID; /** * @author fdse */ @Data @JsonIgnoreProperties(ignoreUnknown = true) public class Order { private UUID id; private Date boughtDate; private Date travelDate; private Date travelTime; /** * Which Account Bought it */ private UUID accountId; /** * Tickets bought for whom */ private String contactsName; private int documentType; private String contactsDocumentNumber; private String trainNumber; private int coachNumber; private int seatClass; private String seatNumber; private String from; private String to; private int status; private String price; public Order(){ boughtDate = new Date(System.currentTimeMillis()); travelDate = new Date(123456789); trainNumber = "G1235"; coachNumber = 5; seatClass = SeatClass.FIRSTCLASS.getCode(); seatNumber = "5A"; from = "shanghai"; to = "taiyuan"; status = OrderStatus.PAID.getCode(); price = "0.0"; } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Order other = (Order) obj; return boughtDate.equals(other.getBoughtDate()) && travelDate.equals(other.getTravelDate()) && travelTime.equals(other.getTravelTime()) && accountId .equals( other.getAccountId() ) && contactsName.equals(other.getContactsName()) && contactsDocumentNumber.equals(other.getContactsDocumentNumber()) && documentType == other.getDocumentType() && trainNumber.equals(other.getTrainNumber()) && coachNumber == other.getCoachNumber() && seatClass == other.getSeatClass() && seatNumber .equals(other.getSeatNumber()) && from.equals(other.getFrom()) && to.equals(other.getTo()) && status == other.getStatus() && price.equals(other.price); } @Override public int hashCode() { int result = 17; result = 31 * result + (id == null ? 0 : id.hashCode()); return result; } public void setTravelDate(int year,int month,int day){ Date date = new Date(year,month,day,0,0,0); //NOSONAR this.travelDate = date; } }
package contacts.entity; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.AllArgsConstructor; import lombok.Data; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import java.util.UUID; /** * @author fdse */ @Data @AllArgsConstructor @Document(collection = "contacts") @JsonIgnoreProperties(ignoreUnknown = true) public class Contacts { @Id private UUID id; private UUID accountId; private String name; private int documentType; private String documentNumber; private String phoneNumber; public Contacts() { //Default Constructor } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Contacts other = (Contacts) obj; return name.equals(other.getName()) && accountId .equals( other.getAccountId() ) && documentNumber.equals(other.getDocumentNumber()) && phoneNumber.equals(other.getPhoneNumber()) && documentType == other.getDocumentType(); } @Override public int hashCode() { int result = 17; result = 31 * result + (id == null ? 0 : id.hashCode()); return result; } }
package execute.entity; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import java.util.Date; import java.util.UUID; /** * @author fdse */ @Data @JsonIgnoreProperties(ignoreUnknown = true) public class Order { private UUID id; private Date boughtDate; private Date travelDate; private Date travelTime; /** * Which Account Bought it */ private UUID accountId; /** * Tickets bought for whom.... */ private String contactsName; private int documentType; private String contactsDocumentNumber; private String trainNumber; private int coachNumber; private int seatClass; private String seatNumber; private String from; private String to; private int status; private String price; public Order(){ boughtDate = new Date(System.currentTimeMillis()); travelDate = new Date(123456789); trainNumber = "G1235"; coachNumber = 5; seatClass = SeatClass.FIRSTCLASS.getCode(); seatNumber = "5A"; from = "上海"; to = "太原"; status = OrderStatus.PAID.getCode(); price = "0.0"; } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Order other = (Order) obj; return boughtDate.equals(other.getBoughtDate()) && travelDate.equals(other.getTravelDate()) && travelTime.equals(other.getTravelTime()) && accountId .equals( other.getAccountId() ) && contactsName.equals(other.getContactsName()) && contactsDocumentNumber.equals(other.getContactsDocumentNumber()) && documentType == other.getDocumentType() && trainNumber.equals(other.getTrainNumber()) && coachNumber == other.getCoachNumber() && seatClass == other.getSeatClass() && seatNumber .equals(other.getSeatNumber()) && from.equals(other.getFrom()) && to.equals(other.getTo()) && status == other.getStatus() && price.equals(other.price); } @Override public int hashCode() { int result = 17; result = 31 * result + (id == null ? 0 : id.hashCode()); return result; } public void setTravelDate(int year,int month,int day){ Date date = new Date(year,month,day,0,0,0); //NOSONAR this.travelDate = date; } }
package inside_payment.entity; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import java.util.Date; import java.util.UUID; /** * @author fdse */ @Data @JsonIgnoreProperties(ignoreUnknown = true) public class Order { private UUID id; private Date boughtDate; private Date travelDate; private Date travelTime; /** * Which Account Bought it */ private UUID accountId; /** * Tickets bought for whom.... */ private String contactsName; private int documentType; private String contactsDocumentNumber; private String trainNumber; private int coachNumber; private int seatClass; private String seatNumber; private String from; private String to; private int status; private String price; public Order(){ boughtDate = new Date(System.currentTimeMillis()); travelDate = new Date(123456789); trainNumber = "G1235"; coachNumber = 5; seatClass = SeatClass.FIRSTCLASS.getCode(); seatNumber = "5A"; from = "shanghai"; to = "太原"; status = OrderStatus.PAID.getCode(); price = "0.0"; } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Order other = (Order) obj; return boughtDate.equals(other.getBoughtDate()) && travelDate.equals(other.getTravelDate()) && travelTime.equals(other.getTravelTime()) && accountId .equals( other.getAccountId() ) && contactsName.equals(other.getContactsName()) && contactsDocumentNumber.equals(other.getContactsDocumentNumber()) && documentType == other.getDocumentType() && trainNumber.equals(other.getTrainNumber()) && coachNumber == other.getCoachNumber() && seatClass == other.getSeatClass() && seatNumber .equals(other.getSeatNumber()) && from.equals(other.getFrom()) && to.equals(other.getTo()) && status == other.getStatus() && price.equals(other.price); } @Override public int hashCode() { int result = 17; result = 31 * result + (id == null ? 0 : id.hashCode()); return result; } public void setTravelDate(int year,int month,int day){ Date date = new Date(year,month,day,0,0,0); //NOSONAR this.travelDate = date; } }
package order.entity; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import lombok.ToString; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import java.util.Date; import java.util.UUID; /** * @author fdse */ @Data @Document(collection = "orders") @ToString @JsonIgnoreProperties(ignoreUnknown = true) public class Order { @Id private UUID id; private Date boughtDate; private Date travelDate; private Date travelTime; /** * Which Account Bought it */ private UUID accountId; /** * Tickets bought for whom.... */ private String contactsName; private int documentType; private String contactsDocumentNumber; private String trainNumber; private int coachNumber; private int seatClass; private String seatNumber; private String from; private String to; private int status; private String price; public Order(){ boughtDate = new Date(System.currentTimeMillis()); travelDate = new Date(123456789); trainNumber = "G1235"; coachNumber = 5; seatClass = SeatClass.FIRSTCLASS.getCode(); seatNumber = "1"; from = "shanghai"; to = "taiyuan"; status = OrderStatus.PAID.getCode(); price = "0.0"; } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Order other = (Order) obj; return boughtDate.equals(other.getBoughtDate()) && travelDate.equals(other.getTravelDate()) && travelTime.equals(other.getTravelTime()) && accountId .equals( other.getAccountId() ) && contactsName.equals(other.getContactsName()) && contactsDocumentNumber.equals(other.getContactsDocumentNumber()) && documentType == other.getDocumentType() && trainNumber.equals(other.getTrainNumber()) && coachNumber == other.getCoachNumber() && seatClass == other.getSeatClass() && seatNumber .equals(other.getSeatNumber()) && from.equals(other.getFrom()) && to.equals(other.getTo()) && status == other.getStatus() && price.equals(other.price); } @Override public int hashCode() { int result = 17; result = 31 * result + (id == null ? 0 : id.hashCode()); return result; } public void setTravelDate(int year,int month,int day){ Date date = new Date(year,month,day,0,0,0); //NOSONAR this.travelDate = date; } }
package order.entity; import lombok.Data; import java.util.Date; /** * @author fdse */ @Data public class SoldTicket { private Date travelDate; private String trainNumber; private int noSeat; private int businessSeat; private int firstClassSeat; private int secondClassSeat; private int hardSeat; private int softSeat; private int hardBed; private int softBed; private int highSoftBed; public SoldTicket(){ noSeat = 0; businessSeat = 0; firstClassSeat = 0; secondClassSeat = 0; hardSeat = 0; softSeat = 0; hardBed = 0; softBed = 0; highSoftBed = 0; } }
package preserve.entity; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import java.util.UUID; /** * @author fdse */ @Data @JsonIgnoreProperties(ignoreUnknown = true) public class Contacts { private UUID id; private UUID accountId; private String name; private int documentType; private String documentNumber; private String phoneNumber; public Contacts() { //Default Constructor } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Contacts other = (Contacts) obj; return name.equals(other.getName()) && accountId .equals( other.getAccountId() ) && documentNumber.equals(other.getDocumentNumber()) && phoneNumber.equals(other.getPhoneNumber()) && documentType == other.getDocumentType(); } @Override public int hashCode() { int result = 17; result = 31 * result + (id == null ? 0 : id.hashCode()); return result; } }
package preserve.entity; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import java.util.Date; import java.util.UUID; /** * @author fdse */ @Data @JsonIgnoreProperties(ignoreUnknown = true) public class Order { private UUID id; private Date boughtDate; private Date travelDate; private Date travelTime; /** * Which Account Bought it */ private UUID accountId; /** * Tickets bought for whom... */ private String contactsName; private int documentType; private String contactsDocumentNumber; private String trainNumber; private int coachNumber; private int seatClass; private String seatNumber; private String from; private String to; private int status; private String price; public Order(){ boughtDate = new Date(System.currentTimeMillis()); travelDate = new Date(123456789); trainNumber = "G1235"; coachNumber = 5; seatClass = SeatClass.FIRSTCLASS.getCode(); seatNumber = "5A"; from = "shanghai"; to = "taiyuan"; status = OrderStatus.PAID.getCode(); price = "0.0"; } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Order other = (Order) obj; return boughtDate.equals(other.getBoughtDate()) && travelDate.equals(other.getTravelDate()) && travelTime.equals(other.getTravelTime()) && accountId .equals( other.getAccountId() ) && contactsName.equals(other.getContactsName()) && contactsDocumentNumber.equals(other.getContactsDocumentNumber()) && documentType == other.getDocumentType() && trainNumber.equals(other.getTrainNumber()) && coachNumber == other.getCoachNumber() && seatClass == other.getSeatClass() && seatNumber .equals(other.getSeatNumber()) && from.equals(other.getFrom()) && to.equals(other.getTo()) && status == other.getStatus() && price == other.price; } @Override public int hashCode() { int result = 17; result = 31 * result + (id == null ? 0 : id.hashCode()); return result; } }
package preserve.entity; import lombok.Data; import java.io.Serializable; /** * @author fdse */ @Data public class TripId implements Serializable{ private Type type; private String number; public TripId(){} public TripId(String trainNumber){ char type0 = trainNumber.charAt(0); switch(type0){ case 'G': this.type = Type.G; break; case 'D': this.type = Type.D; break; case 'Z': this.type = Type.Z; break; case 'T': this.type = Type.T; break; case 'K': this.type = Type.K; break; default:break; } this.number = trainNumber.substring(1); } @Override public String toString(){ return type.getName() + number; } }
package rebook.entity; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import java.util.UUID; /** * @author fdse */ @Data @JsonIgnoreProperties(ignoreUnknown = true) public class Contacts { private UUID id; private UUID accountId; private String name; private int documentType; private String documentNumber; private String phoneNumber; public Contacts() { //Default Constructor } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Contacts other = (Contacts) obj; return name.equals(other.getName()) && accountId .equals( other.getAccountId() ) && documentNumber.equals(other.getDocumentNumber()) && phoneNumber.equals(other.getPhoneNumber()) && documentType == other.getDocumentType(); } @Override public int hashCode() { int result = 17; result = 31 * result + (id == null ? 0 : id.hashCode()); return result; } }
package rebook.entity; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import java.util.Date; import java.util.UUID; /** * @author fdse */ @Data @JsonIgnoreProperties(ignoreUnknown = true) public class Order { private UUID id; private Date boughtDate; private Date travelDate; private Date travelTime; /** * Which Account Bought it */ private UUID accountId; /** * Tickets bought for whom.... */ private String contactsName; private int documentType; private String contactsDocumentNumber; private String trainNumber; private int coachNumber; private int seatClass; private String seatNumber; private String from; private String to; private int status; private String price; private String differenceMoney; public Order(){ boughtDate = new Date(System.currentTimeMillis()); travelDate = new Date(123456789); trainNumber = "G1235"; coachNumber = 5; seatClass = SeatClass.FIRSTCLASS.getCode(); seatNumber = "5A"; from = "shanghai"; to = "taiyuan"; status = OrderStatus.PAID.getCode(); price = "0.0"; differenceMoney ="0.0"; } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Order other = (Order) obj; return boughtDate.equals(other.getBoughtDate()) && travelDate.equals(other.getTravelDate()) && travelTime.equals(other.getTravelTime()) && accountId .equals( other.getAccountId() ) && contactsName.equals(other.getContactsName()) && contactsDocumentNumber.equals(other.getContactsDocumentNumber()) && documentType == other.getDocumentType() && trainNumber.equals(other.getTrainNumber()) && coachNumber == other.getCoachNumber() && seatClass == other.getSeatClass() && seatNumber .equals(other.getSeatNumber()) && from.equals(other.getFrom()) && to.equals(other.getTo()) && status == other.getStatus() && price == other.price; } @Override public int hashCode() { int result = 17; result = 31 * result + (id == null ? 0 : id.hashCode()); return result; } public void setTravelDate(int year,int month,int day){ Date date = new Date(year,month,day,0,0,0); //NOSONAR this.travelDate = date; } }
package rebook.entity; import lombok.Data; import java.io.Serializable; /** * @author fdse */ @Data public class TripId implements Serializable{ private Type type; private String number; public TripId(){ //Default Constructor } public TripId(String trainNumber){ char type0 = trainNumber.charAt(0); switch(type0){ case 'G': this.type = Type.G; break; case 'D': this.type = Type.D; break; case 'Z': this.type = Type.Z; break; case 'T': this.type = Type.T; break; case 'K': this.type = Type.K; break; default:break; } this.number = trainNumber.substring(1); } @Override public String toString(){ return type.getName() + number; } }
package plan.entity; import lombok.Data; import java.io.Serializable; /** * @author fdse */ @Data public class TripId implements Serializable{ private Type type; private String number; public TripId(){ //Default Constructor } public TripId(String trainNumber){ char type0 = trainNumber.charAt(0); switch(type0){ case 'Z': this.type = Type.Z; break; case 'T': this.type = Type.T; break; case 'K': this.type = Type.K; break; default:break; } this.number = trainNumber.substring(1); } @Override public String toString(){ return type.getName() + number; } }
package security.entity; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import java.util.Date; import java.util.UUID; /** * @author fdse */ @Data @JsonIgnoreProperties(ignoreUnknown = true) public class Order { private UUID id; private Date boughtDate; private Date travelDate; private Date travelTime; /** * Which Account Bought it */ private UUID accountId; /** * Tickets bought for whom.... */ private String contactsName; private int documentType; private String contactsDocumentNumber; private String trainNumber; private int coachNumber; private int seatClass; private String seatNumber; private String from; private String to; private int status; private String price; public Order(){ boughtDate = new Date(System.currentTimeMillis()); travelDate = new Date(123456789); trainNumber = "G1235"; coachNumber = 5; seatClass = SeatClass.FIRSTCLASS.getCode(); seatNumber = "5A"; from = "上海"; to = "太原"; status = OrderStatus.PAID.getCode(); price = "0.0"; } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } Order other = (Order) obj; return boughtDate.equals(other.getBoughtDate()) && travelDate.equals(other.getTravelDate()) && travelTime.equals(other.getTravelTime()) && accountId .equals( other.getAccountId() ) && contactsName.equals(other.getContactsName()) && contactsDocumentNumber.equals(other.getContactsDocumentNumber()) && documentType == other.getDocumentType() && trainNumber.equals(other.getTrainNumber()) && coachNumber == other.getCoachNumber() && seatClass == other.getSeatClass() && seatNumber .equals(other.getSeatNumber()) && from.equals(other.getFrom()) && to.equals(other.getTo()) && status == other.getStatus() && price == other.price; } @Override public int hashCode() { int result = 17; result = 31 * result + (id == null ? 0 : id.hashCode()); return result; } public void setTravelDate(int year,int month,int day){ Date date = new Date(year,month,day,0,0,0); //NOSONAR this.travelDate = date; } }
package ticketinfo.entity; import lombok.Data; import java.io.Serializable; @Data public class TripId implements Serializable{ private Type type; private String number; public TripId(){ //Default Constructor } public TripId(String trainNumber){ char type0 = trainNumber.charAt(0); switch(type0){ case 'G': this.type = Type.G; break; case 'D': this.type = Type.D; break; case 'Z': this.type = Type.Z; break; case 'T': this.type = Type.T; break; case 'K': this.type = Type.K; break; default:break; } this.number = trainNumber.substring(1); } @Override public String toString(){ return type.getName() + number; } }
package travelplan.entity; import lombok.Data; import java.io.Serializable; /** * @author fdse */ @Data public class TripId implements Serializable{ private TrainTypeEnum type; private String number; public TripId(){ //Default Constructor } public TripId(String trainNumber){ char type0 = trainNumber.charAt(0); switch(type0){ case 'G': this.type = TrainTypeEnum.G; break; case 'D': this.type = TrainTypeEnum.D; break; case 'Z': this.type = TrainTypeEnum.Z; break; case 'T': this.type = TrainTypeEnum.T; break; case 'K': this.type = TrainTypeEnum.K; break; default:break; } this.number = trainNumber.substring(1); } @Override public String toString(){ return type.getName() + number; } }
package travel.entity; import lombok.Data; import java.util.Date; /** * @author fdse */ @Data public class SoldTicket { private Date travelDate; private String trainNumber; private int noSeat; private int businessSeat; private int firstClassSeat; private int secondClassSeat; private int hardSeat; private int softSeat; private int hardBed; private int softBed; private int highSoftBed; public SoldTicket(){ noSeat = 0; businessSeat = 0; firstClassSeat = 0; secondClassSeat = 0; hardSeat = 0; softSeat = 0; hardBed = 0; softBed = 0; highSoftBed = 0; } }
package travel.entity; import lombok.Data; import java.io.Serializable; /** * @author fdse */ @Data public class TripId implements Serializable { private Type type; private String number; public TripId(Type type, String number) { this.type = type; this.number = number; } public TripId() { //Default Constructor } public TripId(String trainNumber) { char type0 = trainNumber.charAt(0); switch (type0) { case 'G': this.type = Type.G; break; case 'D': this.type = Type.D; break; default: break; } this.number = trainNumber.substring(1); } @Override public String toString() { return type.getName() + number; } }
package com.zheng.cms.dao.model; import java.io.Serializable; public class CmsArticle implements Serializable { /** * 文章编号 * * @mbg.generated */ private Integer articleId; /** * 所属专题 * * @mbg.generated */ private Integer topicId; /** * 文章标题 * * @mbg.generated */ private String title; /** * 文章原作者 * * @mbg.generated */ private String author; /** * 转载来源网址 * * @mbg.generated */ private String fromurl; /** * 封面图 * * @mbg.generated */ private String image; /** * 关键字 * * @mbg.generated */ private String keywords; /** * 简介 * * @mbg.generated */ private String description; /** * 类型(1:普通,2:热门...) * * @mbg.generated */ private Byte type; /** * 是否允许评论(0:不允许,1:允许) * * @mbg.generated */ private Byte allowcomments; /** * 状态(-1:不通过,0未审核,1:通过) * * @mbg.generated */ private Byte status; /** * 发布人id * * @mbg.generated */ private Integer userId; /** * 阅读数量 * * @mbg.generated */ private Integer readnumber; /** * 置顶等级 * * @mbg.generated */ private Integer top; /** * 所属系统 * * @mbg.generated */ private Integer systemId; /** * 创建时间 * * @mbg.generated */ private Long ctime; /** * 排序 * * @mbg.generated */ private Long orders; /** * 内容 * * @mbg.generated */ private String content; private static final long serialVersionUID = 1L; public Integer getArticleId() { return articleId; } public void setArticleId(Integer articleId) { this.articleId = articleId; } public Integer getTopicId() { return topicId; } public void setTopicId(Integer topicId) { this.topicId = topicId; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getAuthor() { return author; } public void setAuthor(String author) { this.author = author; } public String getFromurl() { return fromurl; } public void setFromurl(String fromurl) { this.fromurl = fromurl; } public String getImage() { return image; } public void setImage(String image) { this.image = image; } public String getKeywords() { return keywords; } public void setKeywords(String keywords) { this.keywords = keywords; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Byte getType() { return type; } public void setType(Byte type) { this.type = type; } public Byte getAllowcomments() { return allowcomments; } public void setAllowcomments(Byte allowcomments) { this.allowcomments = allowcomments; } public Byte getStatus() { return status; } public void setStatus(Byte status) { this.status = status; } public Integer getUserId() { return userId; } public void setUserId(Integer userId) { this.userId = userId; } public Integer getReadnumber() { return readnumber; } public void setReadnumber(Integer readnumber) { this.readnumber = readnumber; } public Integer getTop() { return top; } public void setTop(Integer top) { this.top = top; } public Integer getSystemId() { return systemId; } public void setSystemId(Integer systemId) { this.systemId = systemId; } public Long getCtime() { return ctime; } public void setCtime(Long ctime) { this.ctime = ctime; } public Long getOrders() { return orders; } public void setOrders(Long orders) { this.orders = orders; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", articleId=").append(articleId); sb.append(", topicId=").append(topicId); sb.append(", title=").append(title); sb.append(", author=").append(author); sb.append(", fromurl=").append(fromurl); sb.append(", image=").append(image); sb.append(", keywords=").append(keywords); sb.append(", description=").append(description); sb.append(", type=").append(type); sb.append(", allowcomments=").append(allowcomments); sb.append(", status=").append(status); sb.append(", userId=").append(userId); sb.append(", readnumber=").append(readnumber); sb.append(", top=").append(top); sb.append(", systemId=").append(systemId); sb.append(", ctime=").append(ctime); sb.append(", orders=").append(orders); sb.append(", content=").append(content); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } CmsArticle other = (CmsArticle) that; return (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId())) && (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId())) && (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle())) && (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor())) && (this.getFromurl() == null ? other.getFromurl() == null : this.getFromurl().equals(other.getFromurl())) && (this.getImage() == null ? other.getImage() == null : this.getImage().equals(other.getImage())) && (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords())) && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription())) && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType())) && (this.getAllowcomments() == null ? other.getAllowcomments() == null : this.getAllowcomments().equals(other.getAllowcomments())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getReadnumber() == null ? other.getReadnumber() == null : this.getReadnumber().equals(other.getReadnumber())) && (this.getTop() == null ? other.getTop() == null : this.getTop().equals(other.getTop())) && (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId())) && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime())) && (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders())) && (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getArticleId() == null) ? 0 : getArticleId().hashCode()); result = prime * result + ((getTopicId() == null) ? 0 : getTopicId().hashCode()); result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode()); result = prime * result + ((getAuthor() == null) ? 0 : getAuthor().hashCode()); result = prime * result + ((getFromurl() == null) ? 0 : getFromurl().hashCode()); result = prime * result + ((getImage() == null) ? 0 : getImage().hashCode()); result = prime * result + ((getKeywords() == null) ? 0 : getKeywords().hashCode()); result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode()); result = prime * result + ((getType() == null) ? 0 : getType().hashCode()); result = prime * result + ((getAllowcomments() == null) ? 0 : getAllowcomments().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getReadnumber() == null) ? 0 : getReadnumber().hashCode()); result = prime * result + ((getTop() == null) ? 0 : getTop().hashCode()); result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode()); result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode()); result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode()); result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode()); return result; } }
package com.zheng.cms.dao.model; import java.io.Serializable; public class CmsArticleCategory implements Serializable { /** * 编号 * * @mbg.generated */ private Integer articleCategoryId; /** * 文章编号 * * @mbg.generated */ private Integer articleId; /** * 类目编号 * * @mbg.generated */ private Integer categoryId; private static final long serialVersionUID = 1L; public Integer getArticleCategoryId() { return articleCategoryId; } public void setArticleCategoryId(Integer articleCategoryId) { this.articleCategoryId = articleCategoryId; } public Integer getArticleId() { return articleId; } public void setArticleId(Integer articleId) { this.articleId = articleId; } public Integer getCategoryId() { return categoryId; } public void setCategoryId(Integer categoryId) { this.categoryId = categoryId; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", articleCategoryId=").append(articleCategoryId); sb.append(", articleId=").append(articleId); sb.append(", categoryId=").append(categoryId); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } CmsArticleCategory other = (CmsArticleCategory) that; return (this.getArticleCategoryId() == null ? other.getArticleCategoryId() == null : this.getArticleCategoryId().equals(other.getArticleCategoryId())) && (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId())) && (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getArticleCategoryId() == null) ? 0 : getArticleCategoryId().hashCode()); result = prime * result + ((getArticleId() == null) ? 0 : getArticleId().hashCode()); result = prime * result + ((getCategoryId() == null) ? 0 : getCategoryId().hashCode()); return result; } }
package com.zheng.cms.dao.model; import java.io.Serializable; public class CmsArticleTag implements Serializable { /** * 编号 * * @mbg.generated */ private Integer articleTagId; /** * 文章编号 * * @mbg.generated */ private Integer articleId; /** * 标签编号 * * @mbg.generated */ private Integer tagId; private static final long serialVersionUID = 1L; public Integer getArticleTagId() { return articleTagId; } public void setArticleTagId(Integer articleTagId) { this.articleTagId = articleTagId; } public Integer getArticleId() { return articleId; } public void setArticleId(Integer articleId) { this.articleId = articleId; } public Integer getTagId() { return tagId; } public void setTagId(Integer tagId) { this.tagId = tagId; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", articleTagId=").append(articleTagId); sb.append(", articleId=").append(articleId); sb.append(", tagId=").append(tagId); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } CmsArticleTag other = (CmsArticleTag) that; return (this.getArticleTagId() == null ? other.getArticleTagId() == null : this.getArticleTagId().equals(other.getArticleTagId())) && (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId())) && (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getArticleTagId() == null) ? 0 : getArticleTagId().hashCode()); result = prime * result + ((getArticleId() == null) ? 0 : getArticleId().hashCode()); result = prime * result + ((getTagId() == null) ? 0 : getTagId().hashCode()); return result; } }
package com.zheng.cms.dao.model; import java.io.Serializable; public class CmsCategory implements Serializable { /** * 类目编号 * * @mbg.generated */ private Integer categoryId; /** * 上级编号 * * @mbg.generated */ private Integer pid; /** * 层级 * * @mbg.generated */ private Byte level; /** * 名称 * * @mbg.generated */ private String name; /** * 描述 * * @mbg.generated */ private String description; /** * 图标 * * @mbg.generated */ private String icon; /** * 类型(1:普通,2:热门...) * * @mbg.generated */ private Byte type; /** * 别名 * * @mbg.generated */ private String alias; /** * 所属系统 * * @mbg.generated */ private Integer systemId; /** * 创建时间 * * @mbg.generated */ private Long ctime; /** * 排序 * * @mbg.generated */ private Long orders; private static final long serialVersionUID = 1L; public Integer getCategoryId() { return categoryId; } public void setCategoryId(Integer categoryId) { this.categoryId = categoryId; } public Integer getPid() { return pid; } public void setPid(Integer pid) { this.pid = pid; } public Byte getLevel() { return level; } public void setLevel(Byte level) { this.level = level; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getIcon() { return icon; } public void setIcon(String icon) { this.icon = icon; } public Byte getType() { return type; } public void setType(Byte type) { this.type = type; } public String getAlias() { return alias; } public void setAlias(String alias) { this.alias = alias; } public Integer getSystemId() { return systemId; } public void setSystemId(Integer systemId) { this.systemId = systemId; } public Long getCtime() { return ctime; } public void setCtime(Long ctime) { this.ctime = ctime; } public Long getOrders() { return orders; } public void setOrders(Long orders) { this.orders = orders; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", categoryId=").append(categoryId); sb.append(", pid=").append(pid); sb.append(", level=").append(level); sb.append(", name=").append(name); sb.append(", description=").append(description); sb.append(", icon=").append(icon); sb.append(", type=").append(type); sb.append(", alias=").append(alias); sb.append(", systemId=").append(systemId); sb.append(", ctime=").append(ctime); sb.append(", orders=").append(orders); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } CmsCategory other = (CmsCategory) that; return (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId())) && (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid())) && (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel())) && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription())) && (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon())) && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType())) && (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias())) && (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId())) && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime())) && (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getCategoryId() == null) ? 0 : getCategoryId().hashCode()); result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode()); result = prime * result + ((getLevel() == null) ? 0 : getLevel().hashCode()); result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode()); result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode()); result = prime * result + ((getType() == null) ? 0 : getType().hashCode()); result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode()); result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode()); result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode()); result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode()); return result; } }
package com.zheng.cms.dao.model; import java.io.Serializable; public class CmsCategoryTag implements Serializable { /** * 编号 * * @mbg.generated */ private Integer categoryTagId; /** * 类目编号 * * @mbg.generated */ private Integer categoryId; /** * 标签编号 * * @mbg.generated */ private Integer tagId; private static final long serialVersionUID = 1L; public Integer getCategoryTagId() { return categoryTagId; } public void setCategoryTagId(Integer categoryTagId) { this.categoryTagId = categoryTagId; } public Integer getCategoryId() { return categoryId; } public void setCategoryId(Integer categoryId) { this.categoryId = categoryId; } public Integer getTagId() { return tagId; } public void setTagId(Integer tagId) { this.tagId = tagId; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", categoryTagId=").append(categoryTagId); sb.append(", categoryId=").append(categoryId); sb.append(", tagId=").append(tagId); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } CmsCategoryTag other = (CmsCategoryTag) that; return (this.getCategoryTagId() == null ? other.getCategoryTagId() == null : this.getCategoryTagId().equals(other.getCategoryTagId())) && (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId())) && (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getCategoryTagId() == null) ? 0 : getCategoryTagId().hashCode()); result = prime * result + ((getCategoryId() == null) ? 0 : getCategoryId().hashCode()); result = prime * result + ((getTagId() == null) ? 0 : getTagId().hashCode()); return result; } }
package com.zheng.cms.dao.model; import java.io.Serializable; public class CmsComment implements Serializable { /** * 编号 * * @mbg.generated */ private Integer commentId; /** * 回复楼中楼编号回复楼中楼编号 * * @mbg.generated */ private Integer pid; /** * 文章编号 * * @mbg.generated */ private Integer articleId; /** * 用户编号 * * @mbg.generated */ private Integer userId; /** * 状态(-1:不通过,0:未审核,1:通过) * * @mbg.generated */ private Byte status; /** * 评论人ip地址 * * @mbg.generated */ private String ip; /** * 评论人终端信息 * * @mbg.generated */ private String agent; /** * 所属系统 * * @mbg.generated */ private Integer systemId; /** * 创建时间 * * @mbg.generated */ private Long ctime; /** * 评论内容 * * @mbg.generated */ private String content; private static final long serialVersionUID = 1L; public Integer getCommentId() { return commentId; } public void setCommentId(Integer commentId) { this.commentId = commentId; } public Integer getPid() { return pid; } public void setPid(Integer pid) { this.pid = pid; } public Integer getArticleId() { return articleId; } public void setArticleId(Integer articleId) { this.articleId = articleId; } public Integer getUserId() { return userId; } public void setUserId(Integer userId) { this.userId = userId; } public Byte getStatus() { return status; } public void setStatus(Byte status) { this.status = status; } public String getIp() { return ip; } public void setIp(String ip) { this.ip = ip; } public String getAgent() { return agent; } public void setAgent(String agent) { this.agent = agent; } public Integer getSystemId() { return systemId; } public void setSystemId(Integer systemId) { this.systemId = systemId; } public Long getCtime() { return ctime; } public void setCtime(Long ctime) { this.ctime = ctime; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", commentId=").append(commentId); sb.append(", pid=").append(pid); sb.append(", articleId=").append(articleId); sb.append(", userId=").append(userId); sb.append(", status=").append(status); sb.append(", ip=").append(ip); sb.append(", agent=").append(agent); sb.append(", systemId=").append(systemId); sb.append(", ctime=").append(ctime); sb.append(", content=").append(content); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } CmsComment other = (CmsComment) that; return (this.getCommentId() == null ? other.getCommentId() == null : this.getCommentId().equals(other.getCommentId())) && (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid())) && (this.getArticleId() == null ? other.getArticleId() == null : this.getArticleId().equals(other.getArticleId())) && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp())) && (this.getAgent() == null ? other.getAgent() == null : this.getAgent().equals(other.getAgent())) && (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId())) && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime())) && (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getCommentId() == null) ? 0 : getCommentId().hashCode()); result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode()); result = prime * result + ((getArticleId() == null) ? 0 : getArticleId().hashCode()); result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode()); result = prime * result + ((getAgent() == null) ? 0 : getAgent().hashCode()); result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode()); result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode()); result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode()); return result; } }
package com.zheng.cms.dao.model; import java.io.Serializable; public class CmsMenu implements Serializable { /** * 编号 * * @mbg.generated */ private Integer menuId; /** * 父菜单 * * @mbg.generated */ private Integer pid; /** * 名称 * * @mbg.generated */ private String name; /** * 链接 * * @mbg.generated */ private String url; /** * 打开方式 * * @mbg.generated */ private String target; /** * 排序 * * @mbg.generated */ private Long orders; private static final long serialVersionUID = 1L; public Integer getMenuId() { return menuId; } public void setMenuId(Integer menuId) { this.menuId = menuId; } public Integer getPid() { return pid; } public void setPid(Integer pid) { this.pid = pid; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getTarget() { return target; } public void setTarget(String target) { this.target = target; } public Long getOrders() { return orders; } public void setOrders(Long orders) { this.orders = orders; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", menuId=").append(menuId); sb.append(", pid=").append(pid); sb.append(", name=").append(name); sb.append(", url=").append(url); sb.append(", target=").append(target); sb.append(", orders=").append(orders); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } CmsMenu other = (CmsMenu) that; return (this.getMenuId() == null ? other.getMenuId() == null : this.getMenuId().equals(other.getMenuId())) && (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid())) && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) && (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl())) && (this.getTarget() == null ? other.getTarget() == null : this.getTarget().equals(other.getTarget())) && (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getMenuId() == null) ? 0 : getMenuId().hashCode()); result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode()); result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode()); result = prime * result + ((getTarget() == null) ? 0 : getTarget().hashCode()); result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode()); return result; } }
package com.zheng.cms.dao.model; import java.io.Serializable; public class CmsPage implements Serializable { /** * 编码 * * @mbg.generated */ private Integer pageId; /** * 父页面 * * @mbg.generated */ private Integer pid; /** * 标题 * * @mbg.generated */ private String title; /** * 别名 * * @mbg.generated */ private String alias; /** * 关键字 * * @mbg.generated */ private String keywords; /** * 描述 * * @mbg.generated */ private String description; /** * 创建时间 * * @mbg.generated */ private Long ctime; /** * 排序 * * @mbg.generated */ private Long orders; /** * 页面内容 * * @mbg.generated */ private String content; private static final long serialVersionUID = 1L; public Integer getPageId() { return pageId; } public void setPageId(Integer pageId) { this.pageId = pageId; } public Integer getPid() { return pid; } public void setPid(Integer pid) { this.pid = pid; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getAlias() { return alias; } public void setAlias(String alias) { this.alias = alias; } public String getKeywords() { return keywords; } public void setKeywords(String keywords) { this.keywords = keywords; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Long getCtime() { return ctime; } public void setCtime(Long ctime) { this.ctime = ctime; } public Long getOrders() { return orders; } public void setOrders(Long orders) { this.orders = orders; } public String getContent() { return content; } public void setContent(String content) { this.content = content; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", pageId=").append(pageId); sb.append(", pid=").append(pid); sb.append(", title=").append(title); sb.append(", alias=").append(alias); sb.append(", keywords=").append(keywords); sb.append(", description=").append(description); sb.append(", ctime=").append(ctime); sb.append(", orders=").append(orders); sb.append(", content=").append(content); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } CmsPage other = (CmsPage) that; return (this.getPageId() == null ? other.getPageId() == null : this.getPageId().equals(other.getPageId())) && (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid())) && (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle())) && (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias())) && (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords())) && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription())) && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime())) && (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders())) && (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getPageId() == null) ? 0 : getPageId().hashCode()); result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode()); result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode()); result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode()); result = prime * result + ((getKeywords() == null) ? 0 : getKeywords().hashCode()); result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode()); result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode()); result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode()); result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode()); return result; } }
package com.zheng.cms.dao.model; import java.io.Serializable; public class CmsSetting implements Serializable { private Integer settingId; private String settingKey; private String settingValue; private static final long serialVersionUID = 1L; public Integer getSettingId() { return settingId; } public void setSettingId(Integer settingId) { this.settingId = settingId; } public String getSettingKey() { return settingKey; } public void setSettingKey(String settingKey) { this.settingKey = settingKey; } public String getSettingValue() { return settingValue; } public void setSettingValue(String settingValue) { this.settingValue = settingValue; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", settingId=").append(settingId); sb.append(", settingKey=").append(settingKey); sb.append(", settingValue=").append(settingValue); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } CmsSetting other = (CmsSetting) that; return (this.getSettingId() == null ? other.getSettingId() == null : this.getSettingId().equals(other.getSettingId())) && (this.getSettingKey() == null ? other.getSettingKey() == null : this.getSettingKey().equals(other.getSettingKey())) && (this.getSettingValue() == null ? other.getSettingValue() == null : this.getSettingValue().equals(other.getSettingValue())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getSettingId() == null) ? 0 : getSettingId().hashCode()); result = prime * result + ((getSettingKey() == null) ? 0 : getSettingKey().hashCode()); result = prime * result + ((getSettingValue() == null) ? 0 : getSettingValue().hashCode()); return result; } }
package com.zheng.cms.dao.model; import java.io.Serializable; public class CmsSystem implements Serializable { /** * 编号 * * @mbg.generated */ private Integer systemId; /** * 系统名称 * * @mbg.generated */ private String name; /** * 别名 * * @mbg.generated */ private String code; /** * 描述 * * @mbg.generated */ private String description; /** * 创建时间 * * @mbg.generated */ private Long ctime; /** * 排序 * * @mbg.generated */ private Long orders; private static final long serialVersionUID = 1L; public Integer getSystemId() { return systemId; } public void setSystemId(Integer systemId) { this.systemId = systemId; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Long getCtime() { return ctime; } public void setCtime(Long ctime) { this.ctime = ctime; } public Long getOrders() { return orders; } public void setOrders(Long orders) { this.orders = orders; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", systemId=").append(systemId); sb.append(", name=").append(name); sb.append(", code=").append(code); sb.append(", description=").append(description); sb.append(", ctime=").append(ctime); sb.append(", orders=").append(orders); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } CmsSystem other = (CmsSystem) that; return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId())) && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) && (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode())) && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription())) && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime())) && (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode()); result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode()); result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode()); result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode()); result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode()); return result; } }
package com.zheng.cms.dao.model; import java.io.Serializable; public class CmsTag implements Serializable { /** * 标签编号 * * @mbg.generated */ private Integer tagId; /** * 名称 * * @mbg.generated */ private String name; /** * 描述 * * @mbg.generated */ private String description; /** * 图标 * * @mbg.generated */ private String icon; /** * 类型(1:普通,2:热门...) * * @mbg.generated */ private Byte type; /** * 别名 * * @mbg.generated */ private String alias; /** * 所属系统 * * @mbg.generated */ private Integer systemId; /** * 创建时间 * * @mbg.generated */ private Long ctime; /** * 排序 * * @mbg.generated */ private Long orders; private static final long serialVersionUID = 1L; public Integer getTagId() { return tagId; } public void setTagId(Integer tagId) { this.tagId = tagId; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getIcon() { return icon; } public void setIcon(String icon) { this.icon = icon; } public Byte getType() { return type; } public void setType(Byte type) { this.type = type; } public String getAlias() { return alias; } public void setAlias(String alias) { this.alias = alias; } public Integer getSystemId() { return systemId; } public void setSystemId(Integer systemId) { this.systemId = systemId; } public Long getCtime() { return ctime; } public void setCtime(Long ctime) { this.ctime = ctime; } public Long getOrders() { return orders; } public void setOrders(Long orders) { this.orders = orders; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", tagId=").append(tagId); sb.append(", name=").append(name); sb.append(", description=").append(description); sb.append(", icon=").append(icon); sb.append(", type=").append(type); sb.append(", alias=").append(alias); sb.append(", systemId=").append(systemId); sb.append(", ctime=").append(ctime); sb.append(", orders=").append(orders); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } CmsTag other = (CmsTag) that; return (this.getTagId() == null ? other.getTagId() == null : this.getTagId().equals(other.getTagId())) && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription())) && (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon())) && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType())) && (this.getAlias() == null ? other.getAlias() == null : this.getAlias().equals(other.getAlias())) && (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId())) && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime())) && (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getTagId() == null) ? 0 : getTagId().hashCode()); result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode()); result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode()); result = prime * result + ((getType() == null) ? 0 : getType().hashCode()); result = prime * result + ((getAlias() == null) ? 0 : getAlias().hashCode()); result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode()); result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode()); result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode()); return result; } }
package com.zheng.cms.dao.model; import java.io.Serializable; public class CmsTopic implements Serializable { /** * 编号 * * @mbg.generated */ private Integer topicId; /** * 标题 * * @mbg.generated */ private String title; /** * 描述 * * @mbg.generated */ private String description; /** * 链接 * * @mbg.generated */ private String url; /** * 创建时间 * * @mbg.generated */ private Long ctime; private static final long serialVersionUID = 1L; public Integer getTopicId() { return topicId; } public void setTopicId(Integer topicId) { this.topicId = topicId; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public Long getCtime() { return ctime; } public void setCtime(Long ctime) { this.ctime = ctime; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", topicId=").append(topicId); sb.append(", title=").append(title); sb.append(", description=").append(description); sb.append(", url=").append(url); sb.append(", ctime=").append(ctime); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } CmsTopic other = (CmsTopic) that; return (this.getTopicId() == null ? other.getTopicId() == null : this.getTopicId().equals(other.getTopicId())) && (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle())) && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription())) && (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl())) && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getTopicId() == null) ? 0 : getTopicId().hashCode()); result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode()); result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode()); result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode()); result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode()); return result; } }
package com.zheng.pay.dao.model; import java.io.Serializable; public class PayInOrder implements Serializable { private Integer payInOrderId; private Integer payVendorId; private Integer payMchId; private Long amount; private Byte status; private Long ctime; private static final long serialVersionUID = 1L; public Integer getPayInOrderId() { return payInOrderId; } public void setPayInOrderId(Integer payInOrderId) { this.payInOrderId = payInOrderId; } public Integer getPayVendorId() { return payVendorId; } public void setPayVendorId(Integer payVendorId) { this.payVendorId = payVendorId; } public Integer getPayMchId() { return payMchId; } public void setPayMchId(Integer payMchId) { this.payMchId = payMchId; } public Long getAmount() { return amount; } public void setAmount(Long amount) { this.amount = amount; } public Byte getStatus() { return status; } public void setStatus(Byte status) { this.status = status; } public Long getCtime() { return ctime; } public void setCtime(Long ctime) { this.ctime = ctime; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", payInOrderId=").append(payInOrderId); sb.append(", payVendorId=").append(payVendorId); sb.append(", payMchId=").append(payMchId); sb.append(", amount=").append(amount); sb.append(", status=").append(status); sb.append(", ctime=").append(ctime); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } PayInOrder other = (PayInOrder) that; return (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId())) && (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId())) && (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId())) && (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode()); result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode()); result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode()); result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode()); return result; } }
package com.zheng.pay.dao.model; import java.io.Serializable; public class PayInOrderDetail implements Serializable { private Integer payInOrderDetailId; private Integer payInOrderId; private String productId; private String productName; private Long productPrice; private Integer productCount; private String remark; private static final long serialVersionUID = 1L; public Integer getPayInOrderDetailId() { return payInOrderDetailId; } public void setPayInOrderDetailId(Integer payInOrderDetailId) { this.payInOrderDetailId = payInOrderDetailId; } public Integer getPayInOrderId() { return payInOrderId; } public void setPayInOrderId(Integer payInOrderId) { this.payInOrderId = payInOrderId; } public String getProductId() { return productId; } public void setProductId(String productId) { this.productId = productId; } public String getProductName() { return productName; } public void setProductName(String productName) { this.productName = productName; } public Long getProductPrice() { return productPrice; } public void setProductPrice(Long productPrice) { this.productPrice = productPrice; } public Integer getProductCount() { return productCount; } public void setProductCount(Integer productCount) { this.productCount = productCount; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", payInOrderDetailId=").append(payInOrderDetailId); sb.append(", payInOrderId=").append(payInOrderId); sb.append(", productId=").append(productId); sb.append(", productName=").append(productName); sb.append(", productPrice=").append(productPrice); sb.append(", productCount=").append(productCount); sb.append(", remark=").append(remark); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } PayInOrderDetail other = (PayInOrderDetail) that; return (this.getPayInOrderDetailId() == null ? other.getPayInOrderDetailId() == null : this.getPayInOrderDetailId().equals(other.getPayInOrderDetailId())) && (this.getPayInOrderId() == null ? other.getPayInOrderId() == null : this.getPayInOrderId().equals(other.getPayInOrderId())) && (this.getProductId() == null ? other.getProductId() == null : this.getProductId().equals(other.getProductId())) && (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName())) && (this.getProductPrice() == null ? other.getProductPrice() == null : this.getProductPrice().equals(other.getProductPrice())) && (this.getProductCount() == null ? other.getProductCount() == null : this.getProductCount().equals(other.getProductCount())) && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getPayInOrderDetailId() == null) ? 0 : getPayInOrderDetailId().hashCode()); result = prime * result + ((getPayInOrderId() == null) ? 0 : getPayInOrderId().hashCode()); result = prime * result + ((getProductId() == null) ? 0 : getProductId().hashCode()); result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode()); result = prime * result + ((getProductPrice() == null) ? 0 : getProductPrice().hashCode()); result = prime * result + ((getProductCount() == null) ? 0 : getProductCount().hashCode()); result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode()); return result; } }
package com.zheng.pay.dao.model; import java.io.Serializable; public class PayMch implements Serializable { private Integer payMchId; private String mchId; private String name; private String reqkey; private String reskey; private static final long serialVersionUID = 1L; public Integer getPayMchId() { return payMchId; } public void setPayMchId(Integer payMchId) { this.payMchId = payMchId; } public String getMchId() { return mchId; } public void setMchId(String mchId) { this.mchId = mchId; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getReqkey() { return reqkey; } public void setReqkey(String reqkey) { this.reqkey = reqkey; } public String getReskey() { return reskey; } public void setReskey(String reskey) { this.reskey = reskey; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", payMchId=").append(payMchId); sb.append(", mchId=").append(mchId); sb.append(", name=").append(name); sb.append(", reqkey=").append(reqkey); sb.append(", reskey=").append(reskey); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } PayMch other = (PayMch) that; return (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId())) && (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId())) && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) && (this.getReqkey() == null ? other.getReqkey() == null : this.getReqkey().equals(other.getReqkey())) && (this.getReskey() == null ? other.getReskey() == null : this.getReskey().equals(other.getReskey())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode()); result = prime * result + ((getMchId() == null) ? 0 : getMchId().hashCode()); result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); result = prime * result + ((getReqkey() == null) ? 0 : getReqkey().hashCode()); result = prime * result + ((getReskey() == null) ? 0 : getReskey().hashCode()); return result; } }
package com.zheng.pay.dao.model; import java.io.Serializable; public class PayOutOrder implements Serializable { private Integer payOutOrderId; private Integer payMchId; private Integer payVendorId; private Long amount; private Byte status; private Long ctime; private static final long serialVersionUID = 1L; public Integer getPayOutOrderId() { return payOutOrderId; } public void setPayOutOrderId(Integer payOutOrderId) { this.payOutOrderId = payOutOrderId; } public Integer getPayMchId() { return payMchId; } public void setPayMchId(Integer payMchId) { this.payMchId = payMchId; } public Integer getPayVendorId() { return payVendorId; } public void setPayVendorId(Integer payVendorId) { this.payVendorId = payVendorId; } public Long getAmount() { return amount; } public void setAmount(Long amount) { this.amount = amount; } public Byte getStatus() { return status; } public void setStatus(Byte status) { this.status = status; } public Long getCtime() { return ctime; } public void setCtime(Long ctime) { this.ctime = ctime; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", payOutOrderId=").append(payOutOrderId); sb.append(", payMchId=").append(payMchId); sb.append(", payVendorId=").append(payVendorId); sb.append(", amount=").append(amount); sb.append(", status=").append(status); sb.append(", ctime=").append(ctime); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } PayOutOrder other = (PayOutOrder) that; return (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId())) && (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId())) && (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId())) && (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getPayOutOrderId() == null) ? 0 : getPayOutOrderId().hashCode()); result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode()); result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode()); result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode()); return result; } }
package com.zheng.pay.dao.model; import java.io.Serializable; public class PayOutOrderDetail implements Serializable { private Integer payOutOrderDetailId; private Integer payOutOrderId; private String remark; private static final long serialVersionUID = 1L; public Integer getPayOutOrderDetailId() { return payOutOrderDetailId; } public void setPayOutOrderDetailId(Integer payOutOrderDetailId) { this.payOutOrderDetailId = payOutOrderDetailId; } public Integer getPayOutOrderId() { return payOutOrderId; } public void setPayOutOrderId(Integer payOutOrderId) { this.payOutOrderId = payOutOrderId; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", payOutOrderDetailId=").append(payOutOrderDetailId); sb.append(", payOutOrderId=").append(payOutOrderId); sb.append(", remark=").append(remark); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } PayOutOrderDetail other = (PayOutOrderDetail) that; return (this.getPayOutOrderDetailId() == null ? other.getPayOutOrderDetailId() == null : this.getPayOutOrderDetailId().equals(other.getPayOutOrderDetailId())) && (this.getPayOutOrderId() == null ? other.getPayOutOrderId() == null : this.getPayOutOrderId().equals(other.getPayOutOrderId())) && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getPayOutOrderDetailId() == null) ? 0 : getPayOutOrderDetailId().hashCode()); result = prime * result + ((getPayOutOrderId() == null) ? 0 : getPayOutOrderId().hashCode()); result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode()); return result; } }
package com.zheng.pay.dao.model; import java.io.Serializable; public class PayPay implements Serializable { private Integer payPayId; private Integer payTypeId; private String param; private static final long serialVersionUID = 1L; public Integer getPayPayId() { return payPayId; } public void setPayPayId(Integer payPayId) { this.payPayId = payPayId; } public Integer getPayTypeId() { return payTypeId; } public void setPayTypeId(Integer payTypeId) { this.payTypeId = payTypeId; } public String getParam() { return param; } public void setParam(String param) { this.param = param; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", payPayId=").append(payPayId); sb.append(", payTypeId=").append(payTypeId); sb.append(", param=").append(param); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } PayPay other = (PayPay) that; return (this.getPayPayId() == null ? other.getPayPayId() == null : this.getPayPayId().equals(other.getPayPayId())) && (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId())) && (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getPayPayId() == null) ? 0 : getPayPayId().hashCode()); result = prime * result + ((getPayTypeId() == null) ? 0 : getPayTypeId().hashCode()); result = prime * result + ((getParam() == null) ? 0 : getParam().hashCode()); return result; } }
package com.zheng.pay.dao.model; import java.io.Serializable; public class PayType implements Serializable { private Integer payTypeId; private Integer payVendorId; private Integer payMchId; private static final long serialVersionUID = 1L; public Integer getPayTypeId() { return payTypeId; } public void setPayTypeId(Integer payTypeId) { this.payTypeId = payTypeId; } public Integer getPayVendorId() { return payVendorId; } public void setPayVendorId(Integer payVendorId) { this.payVendorId = payVendorId; } public Integer getPayMchId() { return payMchId; } public void setPayMchId(Integer payMchId) { this.payMchId = payMchId; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", payTypeId=").append(payTypeId); sb.append(", payVendorId=").append(payVendorId); sb.append(", payMchId=").append(payMchId); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } PayType other = (PayType) that; return (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId())) && (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId())) && (this.getPayMchId() == null ? other.getPayMchId() == null : this.getPayMchId().equals(other.getPayMchId())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getPayTypeId() == null) ? 0 : getPayTypeId().hashCode()); result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode()); result = prime * result + ((getPayMchId() == null) ? 0 : getPayMchId().hashCode()); return result; } }
package com.zheng.pay.dao.model; import java.io.Serializable; public class PayVendor implements Serializable { private Integer payVendorId; private String name; private String appid; private String appsecret; private String config; private static final long serialVersionUID = 1L; public Integer getPayVendorId() { return payVendorId; } public void setPayVendorId(Integer payVendorId) { this.payVendorId = payVendorId; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getAppid() { return appid; } public void setAppid(String appid) { this.appid = appid; } public String getAppsecret() { return appsecret; } public void setAppsecret(String appsecret) { this.appsecret = appsecret; } public String getConfig() { return config; } public void setConfig(String config) { this.config = config; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", payVendorId=").append(payVendorId); sb.append(", name=").append(name); sb.append(", appid=").append(appid); sb.append(", appsecret=").append(appsecret); sb.append(", config=").append(config); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } PayVendor other = (PayVendor) that; return (this.getPayVendorId() == null ? other.getPayVendorId() == null : this.getPayVendorId().equals(other.getPayVendorId())) && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) && (this.getAppid() == null ? other.getAppid() == null : this.getAppid().equals(other.getAppid())) && (this.getAppsecret() == null ? other.getAppsecret() == null : this.getAppsecret().equals(other.getAppsecret())) && (this.getConfig() == null ? other.getConfig() == null : this.getConfig().equals(other.getConfig())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getPayVendorId() == null) ? 0 : getPayVendorId().hashCode()); result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); result = prime * result + ((getAppid() == null) ? 0 : getAppid().hashCode()); result = prime * result + ((getAppsecret() == null) ? 0 : getAppsecret().hashCode()); result = prime * result + ((getConfig() == null) ? 0 : getConfig().hashCode()); return result; } }
package com.zheng.pay.dao.model; import java.io.Serializable; public class PayVest implements Serializable { private Integer payVestId; private Integer payTypeId; private String prefix; private String param; private static final long serialVersionUID = 1L; public Integer getPayVestId() { return payVestId; } public void setPayVestId(Integer payVestId) { this.payVestId = payVestId; } public Integer getPayTypeId() { return payTypeId; } public void setPayTypeId(Integer payTypeId) { this.payTypeId = payTypeId; } public String getPrefix() { return prefix; } public void setPrefix(String prefix) { this.prefix = prefix; } public String getParam() { return param; } public void setParam(String param) { this.param = param; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", payVestId=").append(payVestId); sb.append(", payTypeId=").append(payTypeId); sb.append(", prefix=").append(prefix); sb.append(", param=").append(param); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } PayVest other = (PayVest) that; return (this.getPayVestId() == null ? other.getPayVestId() == null : this.getPayVestId().equals(other.getPayVestId())) && (this.getPayTypeId() == null ? other.getPayTypeId() == null : this.getPayTypeId().equals(other.getPayTypeId())) && (this.getPrefix() == null ? other.getPrefix() == null : this.getPrefix().equals(other.getPrefix())) && (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getPayVestId() == null) ? 0 : getPayVestId().hashCode()); result = prime * result + ((getPayTypeId() == null) ? 0 : getPayTypeId().hashCode()); result = prime * result + ((getPrefix() == null) ? 0 : getPrefix().hashCode()); result = prime * result + ((getParam() == null) ? 0 : getParam().hashCode()); return result; } }
package com.zheng.ucenter.dao.model; import java.io.Serializable; public class UcenterOauth implements Serializable { /** * 编号 * * @mbg.generated */ private Integer oauthId; /** * 认证方式名称 * * @mbg.generated */ private String name; private static final long serialVersionUID = 1L; public Integer getOauthId() { return oauthId; } public void setOauthId(Integer oauthId) { this.oauthId = oauthId; } public String getName() { return name; } public void setName(String name) { this.name = name; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", oauthId=").append(oauthId); sb.append(", name=").append(name); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } UcenterOauth other = (UcenterOauth) that; return (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId())) && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getOauthId() == null) ? 0 : getOauthId().hashCode()); result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); return result; } }
package com.zheng.ucenter.dao.model; import java.io.Serializable; import java.util.Date; public class UcenterUser implements Serializable { /** * 编号 * * @mbg.generated */ private Integer userId; /** * 密码(MD5(密码+盐)) * * @mbg.generated */ private String password; /** * 盐 * * @mbg.generated */ private String salt; /** * 昵称 * * @mbg.generated */ private String nickname; /** * 性别(0:未知,1:男,2:女) * * @mbg.generated */ private Byte sex; /** * 头像 * * @mbg.generated */ private String avatar; /** * 注册时间 * * @mbg.generated */ private Date createTime; /** * 注册IP地址 * * @mbg.generated */ private String createIp; /** * 最后登录时间 * * @mbg.generated */ private Date lastLoginTime; /** * 最后登录IP地址 * * @mbg.generated */ private String lastLoginIp; private static final long serialVersionUID = 1L; public Integer getUserId() { return userId; } public void setUserId(Integer userId) { this.userId = userId; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public String getSalt() { return salt; } public void setSalt(String salt) { this.salt = salt; } public String getNickname() { return nickname; } public void setNickname(String nickname) { this.nickname = nickname; } public Byte getSex() { return sex; } public void setSex(Byte sex) { this.sex = sex; } public String getAvatar() { return avatar; } public void setAvatar(String avatar) { this.avatar = avatar; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public String getCreateIp() { return createIp; } public void setCreateIp(String createIp) { this.createIp = createIp; } public Date getLastLoginTime() { return lastLoginTime; } public void setLastLoginTime(Date lastLoginTime) { this.lastLoginTime = lastLoginTime; } public String getLastLoginIp() { return lastLoginIp; } public void setLastLoginIp(String lastLoginIp) { this.lastLoginIp = lastLoginIp; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", userId=").append(userId); sb.append(", password=").append(password); sb.append(", salt=").append(salt); sb.append(", nickname=").append(nickname); sb.append(", sex=").append(sex); sb.append(", avatar=").append(avatar); sb.append(", createTime=").append(createTime); sb.append(", createIp=").append(createIp); sb.append(", lastLoginTime=").append(lastLoginTime); sb.append(", lastLoginIp=").append(lastLoginIp); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } UcenterUser other = (UcenterUser) that; return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword())) && (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt())) && (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname())) && (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex())) && (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar())) && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) && (this.getCreateIp() == null ? other.getCreateIp() == null : this.getCreateIp().equals(other.getCreateIp())) && (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime())) && (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode()); result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode()); result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode()); result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode()); result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode()); result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); result = prime * result + ((getCreateIp() == null) ? 0 : getCreateIp().hashCode()); result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode()); result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode()); return result; } }
package com.zheng.ucenter.dao.model; import java.io.Serializable; import java.util.Date; public class UcenterUserDetails implements Serializable { /** * 编号 * * @mbg.generated */ private Integer userId; /** * 个性签名 * * @mbg.generated */ private String signature; /** * 真实姓名 * * @mbg.generated */ private String realName; /** * 出生日期 * * @mbg.generated */ private Date birthday; /** * 帐号安全问题 * * @mbg.generated */ private String question; /** * 帐号安全答案 * * @mbg.generated */ private String answer; private static final long serialVersionUID = 1L; public Integer getUserId() { return userId; } public void setUserId(Integer userId) { this.userId = userId; } public String getSignature() { return signature; } public void setSignature(String signature) { this.signature = signature; } public String getRealName() { return realName; } public void setRealName(String realName) { this.realName = realName; } public Date getBirthday() { return birthday; } public void setBirthday(Date birthday) { this.birthday = birthday; } public String getQuestion() { return question; } public void setQuestion(String question) { this.question = question; } public String getAnswer() { return answer; } public void setAnswer(String answer) { this.answer = answer; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", userId=").append(userId); sb.append(", signature=").append(signature); sb.append(", realName=").append(realName); sb.append(", birthday=").append(birthday); sb.append(", question=").append(question); sb.append(", answer=").append(answer); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } UcenterUserDetails other = (UcenterUserDetails) that; return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature())) && (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName())) && (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday())) && (this.getQuestion() == null ? other.getQuestion() == null : this.getQuestion().equals(other.getQuestion())) && (this.getAnswer() == null ? other.getAnswer() == null : this.getAnswer().equals(other.getAnswer())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode()); result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode()); result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode()); result = prime * result + ((getQuestion() == null) ? 0 : getQuestion().hashCode()); result = prime * result + ((getAnswer() == null) ? 0 : getAnswer().hashCode()); return result; } }
package com.zheng.ucenter.dao.model; import java.io.Serializable; import java.util.Arrays; import java.util.Date; public class UcenterUserLog implements Serializable { /** * 编号 * * @mbg.generated */ private Integer userLogId; /** * 用户编号 * * @mbg.generated */ private Integer userId; /** * 操作IP地址 * * @mbg.generated */ private String ip; /** * 操作时间 * * @mbg.generated */ private Date createTime; /** * 内容 * * @mbg.generated */ private byte[] content; /** * 操作环境 * * @mbg.generated */ private byte[] agent; private static final long serialVersionUID = 1L; public Integer getUserLogId() { return userLogId; } public void setUserLogId(Integer userLogId) { this.userLogId = userLogId; } public Integer getUserId() { return userId; } public void setUserId(Integer userId) { this.userId = userId; } public String getIp() { return ip; } public void setIp(String ip) { this.ip = ip; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public byte[] getContent() { return content; } public void setContent(byte[] content) { this.content = content; } public byte[] getAgent() { return agent; } public void setAgent(byte[] agent) { this.agent = agent; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", userLogId=").append(userLogId); sb.append(", userId=").append(userId); sb.append(", ip=").append(ip); sb.append(", createTime=").append(createTime); sb.append(", content=").append(content); sb.append(", agent=").append(agent); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } UcenterUserLog other = (UcenterUserLog) that; return (this.getUserLogId() == null ? other.getUserLogId() == null : this.getUserLogId().equals(other.getUserLogId())) && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp())) && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) && (Arrays.equals(this.getContent(), other.getContent())) && (Arrays.equals(this.getAgent(), other.getAgent())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getUserLogId() == null) ? 0 : getUserLogId().hashCode()); result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode()); result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); result = prime * result + (Arrays.hashCode(getContent())); result = prime * result + (Arrays.hashCode(getAgent())); return result; } }
package com.zheng.ucenter.dao.model; import java.io.Serializable; import java.util.Arrays; import java.util.Date; public class UcenterUserOauth implements Serializable { /** * 编号 * * @mbg.generated */ private Integer userOauthId; /** * 帐号编号 * * @mbg.generated */ private Integer userId; /** * 认证方式编号 * * @mbg.generated */ private Integer oauthId; /** * 绑定状态(0:解绑,1:绑定) * * @mbg.generated */ private Byte status; /** * 创建时间 * * @mbg.generated */ private Date createTime; /** * 第三方ID * * @mbg.generated */ private byte[] openId; private static final long serialVersionUID = 1L; public Integer getUserOauthId() { return userOauthId; } public void setUserOauthId(Integer userOauthId) { this.userOauthId = userOauthId; } public Integer getUserId() { return userId; } public void setUserId(Integer userId) { this.userId = userId; } public Integer getOauthId() { return oauthId; } public void setOauthId(Integer oauthId) { this.oauthId = oauthId; } public Byte getStatus() { return status; } public void setStatus(Byte status) { this.status = status; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public byte[] getOpenId() { return openId; } public void setOpenId(byte[] openId) { this.openId = openId; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", userOauthId=").append(userOauthId); sb.append(", userId=").append(userId); sb.append(", oauthId=").append(oauthId); sb.append(", status=").append(status); sb.append(", createTime=").append(createTime); sb.append(", openId=").append(openId); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } UcenterUserOauth other = (UcenterUserOauth) that; return (this.getUserOauthId() == null ? other.getUserOauthId() == null : this.getUserOauthId().equals(other.getUserOauthId())) && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getOauthId() == null ? other.getOauthId() == null : this.getOauthId().equals(other.getOauthId())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) && (Arrays.equals(this.getOpenId(), other.getOpenId())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getUserOauthId() == null) ? 0 : getUserOauthId().hashCode()); result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getOauthId() == null) ? 0 : getOauthId().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); result = prime * result + (Arrays.hashCode(getOpenId())); return result; } }
package com.zheng.upms.dao.model; import java.io.Serializable; public class UpmsLog implements Serializable { /** * 编号 * * @mbg.generated */ private Integer logId; /** * 操作描述 * * @mbg.generated */ private String description; /** * 操作用户 * * @mbg.generated */ private String username; /** * 操作时间 * * @mbg.generated */ private Long startTime; /** * 消耗时间 * * @mbg.generated */ private Integer spendTime; /** * 根路径 * * @mbg.generated */ private String basePath; /** * URI * * @mbg.generated */ private String uri; /** * URL * * @mbg.generated */ private String url; /** * 请求类型 * * @mbg.generated */ private String method; /** * 用户标识 * * @mbg.generated */ private String userAgent; /** * IP地址 * * @mbg.generated */ private String ip; /** * 权限值 * * @mbg.generated */ private String permissions; private String parameter; private String result; private static final long serialVersionUID = 1L; public Integer getLogId() { return logId; } public void setLogId(Integer logId) { this.logId = logId; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public Long getStartTime() { return startTime; } public void setStartTime(Long startTime) { this.startTime = startTime; } public Integer getSpendTime() { return spendTime; } public void setSpendTime(Integer spendTime) { this.spendTime = spendTime; } public String getBasePath() { return basePath; } public void setBasePath(String basePath) { this.basePath = basePath; } public String getUri() { return uri; } public void setUri(String uri) { this.uri = uri; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getMethod() { return method; } public void setMethod(String method) { this.method = method; } public String getUserAgent() { return userAgent; } public void setUserAgent(String userAgent) { this.userAgent = userAgent; } public String getIp() { return ip; } public void setIp(String ip) { this.ip = ip; } public String getPermissions() { return permissions; } public void setPermissions(String permissions) { this.permissions = permissions; } public String getParameter() { return parameter; } public void setParameter(String parameter) { this.parameter = parameter; } public String getResult() { return result; } public void setResult(String result) { this.result = result; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", logId=").append(logId); sb.append(", description=").append(description); sb.append(", username=").append(username); sb.append(", startTime=").append(startTime); sb.append(", spendTime=").append(spendTime); sb.append(", basePath=").append(basePath); sb.append(", uri=").append(uri); sb.append(", url=").append(url); sb.append(", method=").append(method); sb.append(", userAgent=").append(userAgent); sb.append(", ip=").append(ip); sb.append(", permissions=").append(permissions); sb.append(", parameter=").append(parameter); sb.append(", result=").append(result); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } UpmsLog other = (UpmsLog) that; return (this.getLogId() == null ? other.getLogId() == null : this.getLogId().equals(other.getLogId())) && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription())) && (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername())) && (this.getStartTime() == null ? other.getStartTime() == null : this.getStartTime().equals(other.getStartTime())) && (this.getSpendTime() == null ? other.getSpendTime() == null : this.getSpendTime().equals(other.getSpendTime())) && (this.getBasePath() == null ? other.getBasePath() == null : this.getBasePath().equals(other.getBasePath())) && (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri())) && (this.getUrl() == null ? other.getUrl() == null : this.getUrl().equals(other.getUrl())) && (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod())) && (this.getUserAgent() == null ? other.getUserAgent() == null : this.getUserAgent().equals(other.getUserAgent())) && (this.getIp() == null ? other.getIp() == null : this.getIp().equals(other.getIp())) && (this.getPermissions() == null ? other.getPermissions() == null : this.getPermissions().equals(other.getPermissions())) && (this.getParameter() == null ? other.getParameter() == null : this.getParameter().equals(other.getParameter())) && (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getLogId() == null) ? 0 : getLogId().hashCode()); result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode()); result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode()); result = prime * result + ((getStartTime() == null) ? 0 : getStartTime().hashCode()); result = prime * result + ((getSpendTime() == null) ? 0 : getSpendTime().hashCode()); result = prime * result + ((getBasePath() == null) ? 0 : getBasePath().hashCode()); result = prime * result + ((getUri() == null) ? 0 : getUri().hashCode()); result = prime * result + ((getUrl() == null) ? 0 : getUrl().hashCode()); result = prime * result + ((getMethod() == null) ? 0 : getMethod().hashCode()); result = prime * result + ((getUserAgent() == null) ? 0 : getUserAgent().hashCode()); result = prime * result + ((getIp() == null) ? 0 : getIp().hashCode()); result = prime * result + ((getPermissions() == null) ? 0 : getPermissions().hashCode()); result = prime * result + ((getParameter() == null) ? 0 : getParameter().hashCode()); result = prime * result + ((getResult() == null) ? 0 : getResult().hashCode()); return result; } }
package com.zheng.upms.dao.model; import java.io.Serializable; public class UpmsOrganization implements Serializable { /** * 编号 * * @mbg.generated */ private Integer organizationId; /** * 所属上级 * * @mbg.generated */ private Integer pid; /** * 组织名称 * * @mbg.generated */ private String name; /** * 组织描述 * * @mbg.generated */ private String description; /** * 创建时间 * * @mbg.generated */ private Long ctime; private static final long serialVersionUID = 1L; public Integer getOrganizationId() { return organizationId; } public void setOrganizationId(Integer organizationId) { this.organizationId = organizationId; } public Integer getPid() { return pid; } public void setPid(Integer pid) { this.pid = pid; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Long getCtime() { return ctime; } public void setCtime(Long ctime) { this.ctime = ctime; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", organizationId=").append(organizationId); sb.append(", pid=").append(pid); sb.append(", name=").append(name); sb.append(", description=").append(description); sb.append(", ctime=").append(ctime); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } UpmsOrganization other = (UpmsOrganization) that; return (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId())) && (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid())) && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription())) && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getOrganizationId() == null) ? 0 : getOrganizationId().hashCode()); result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode()); result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode()); result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode()); return result; } }
package com.zheng.upms.dao.model; import java.io.Serializable; public class UpmsPermission implements Serializable { /** * 编号 * * @mbg.generated */ private Integer permissionId; /** * 所属系统 * * @mbg.generated */ private Integer systemId; /** * 所属上级 * * @mbg.generated */ private Integer pid; /** * 名称 * * @mbg.generated */ private String name; /** * 类型(1:目录,2:菜单,3:按钮) * * @mbg.generated */ private Byte type; /** * 权限值 * * @mbg.generated */ private String permissionValue; /** * 路径 * * @mbg.generated */ private String uri; /** * 图标 * * @mbg.generated */ private String icon; /** * 状态(0:禁止,1:正常) * * @mbg.generated */ private Byte status; /** * 创建时间 * * @mbg.generated */ private Long ctime; /** * 排序 * * @mbg.generated */ private Long orders; private static final long serialVersionUID = 1L; public Integer getPermissionId() { return permissionId; } public void setPermissionId(Integer permissionId) { this.permissionId = permissionId; } public Integer getSystemId() { return systemId; } public void setSystemId(Integer systemId) { this.systemId = systemId; } public Integer getPid() { return pid; } public void setPid(Integer pid) { this.pid = pid; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Byte getType() { return type; } public void setType(Byte type) { this.type = type; } public String getPermissionValue() { return permissionValue; } public void setPermissionValue(String permissionValue) { this.permissionValue = permissionValue; } public String getUri() { return uri; } public void setUri(String uri) { this.uri = uri; } public String getIcon() { return icon; } public void setIcon(String icon) { this.icon = icon; } public Byte getStatus() { return status; } public void setStatus(Byte status) { this.status = status; } public Long getCtime() { return ctime; } public void setCtime(Long ctime) { this.ctime = ctime; } public Long getOrders() { return orders; } public void setOrders(Long orders) { this.orders = orders; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", permissionId=").append(permissionId); sb.append(", systemId=").append(systemId); sb.append(", pid=").append(pid); sb.append(", name=").append(name); sb.append(", type=").append(type); sb.append(", permissionValue=").append(permissionValue); sb.append(", uri=").append(uri); sb.append(", icon=").append(icon); sb.append(", status=").append(status); sb.append(", ctime=").append(ctime); sb.append(", orders=").append(orders); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } UpmsPermission other = (UpmsPermission) that; return (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId())) && (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId())) && (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid())) && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType())) && (this.getPermissionValue() == null ? other.getPermissionValue() == null : this.getPermissionValue().equals(other.getPermissionValue())) && (this.getUri() == null ? other.getUri() == null : this.getUri().equals(other.getUri())) && (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime())) && (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getPermissionId() == null) ? 0 : getPermissionId().hashCode()); result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode()); result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode()); result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); result = prime * result + ((getType() == null) ? 0 : getType().hashCode()); result = prime * result + ((getPermissionValue() == null) ? 0 : getPermissionValue().hashCode()); result = prime * result + ((getUri() == null) ? 0 : getUri().hashCode()); result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode()); result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode()); return result; } }
package com.zheng.upms.dao.model; import java.io.Serializable; public class UpmsRole implements Serializable { /** * 编号 * * @mbg.generated */ private Integer roleId; /** * 角色名称 * * @mbg.generated */ private String name; /** * 角色标题 * * @mbg.generated */ private String title; /** * 角色描述 * * @mbg.generated */ private String description; /** * 创建时间 * * @mbg.generated */ private Long ctime; /** * 排序 * * @mbg.generated */ private Long orders; private static final long serialVersionUID = 1L; public Integer getRoleId() { return roleId; } public void setRoleId(Integer roleId) { this.roleId = roleId; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Long getCtime() { return ctime; } public void setCtime(Long ctime) { this.ctime = ctime; } public Long getOrders() { return orders; } public void setOrders(Long orders) { this.orders = orders; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", roleId=").append(roleId); sb.append(", name=").append(name); sb.append(", title=").append(title); sb.append(", description=").append(description); sb.append(", ctime=").append(ctime); sb.append(", orders=").append(orders); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } UpmsRole other = (UpmsRole) that; return (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId())) && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) && (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle())) && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription())) && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime())) && (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode()); result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode()); result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode()); result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode()); result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode()); return result; } }
package com.zheng.upms.dao.model; import java.io.Serializable; public class UpmsRolePermission implements Serializable { /** * 编号 * * @mbg.generated */ private Integer rolePermissionId; /** * 角色编号 * * @mbg.generated */ private Integer roleId; /** * 权限编号 * * @mbg.generated */ private Integer permissionId; private static final long serialVersionUID = 1L; public Integer getRolePermissionId() { return rolePermissionId; } public void setRolePermissionId(Integer rolePermissionId) { this.rolePermissionId = rolePermissionId; } public Integer getRoleId() { return roleId; } public void setRoleId(Integer roleId) { this.roleId = roleId; } public Integer getPermissionId() { return permissionId; } public void setPermissionId(Integer permissionId) { this.permissionId = permissionId; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", rolePermissionId=").append(rolePermissionId); sb.append(", roleId=").append(roleId); sb.append(", permissionId=").append(permissionId); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } UpmsRolePermission other = (UpmsRolePermission) that; return (this.getRolePermissionId() == null ? other.getRolePermissionId() == null : this.getRolePermissionId().equals(other.getRolePermissionId())) && (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId())) && (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getRolePermissionId() == null) ? 0 : getRolePermissionId().hashCode()); result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode()); result = prime * result + ((getPermissionId() == null) ? 0 : getPermissionId().hashCode()); return result; } }
package com.zheng.upms.dao.model; import java.io.Serializable; public class UpmsSystem implements Serializable { /** * 编号 * * @mbg.generated */ private Integer systemId; /** * 图标 * * @mbg.generated */ private String icon; /** * 背景 * * @mbg.generated */ private String banner; /** * 主题 * * @mbg.generated */ private String theme; /** * 根目录 * * @mbg.generated */ private String basepath; /** * 状态(-1:黑名单,1:正常) * * @mbg.generated */ private Byte status; /** * 系统名称 * * @mbg.generated */ private String name; /** * 系统标题 * * @mbg.generated */ private String title; /** * 系统描述 * * @mbg.generated */ private String description; /** * 创建时间 * * @mbg.generated */ private Long ctime; /** * 排序 * * @mbg.generated */ private Long orders; private static final long serialVersionUID = 1L; public Integer getSystemId() { return systemId; } public void setSystemId(Integer systemId) { this.systemId = systemId; } public String getIcon() { return icon; } public void setIcon(String icon) { this.icon = icon; } public String getBanner() { return banner; } public void setBanner(String banner) { this.banner = banner; } public String getTheme() { return theme; } public void setTheme(String theme) { this.theme = theme; } public String getBasepath() { return basepath; } public void setBasepath(String basepath) { this.basepath = basepath; } public Byte getStatus() { return status; } public void setStatus(Byte status) { this.status = status; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Long getCtime() { return ctime; } public void setCtime(Long ctime) { this.ctime = ctime; } public Long getOrders() { return orders; } public void setOrders(Long orders) { this.orders = orders; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", systemId=").append(systemId); sb.append(", icon=").append(icon); sb.append(", banner=").append(banner); sb.append(", theme=").append(theme); sb.append(", basepath=").append(basepath); sb.append(", status=").append(status); sb.append(", name=").append(name); sb.append(", title=").append(title); sb.append(", description=").append(description); sb.append(", ctime=").append(ctime); sb.append(", orders=").append(orders); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } UpmsSystem other = (UpmsSystem) that; return (this.getSystemId() == null ? other.getSystemId() == null : this.getSystemId().equals(other.getSystemId())) && (this.getIcon() == null ? other.getIcon() == null : this.getIcon().equals(other.getIcon())) && (this.getBanner() == null ? other.getBanner() == null : this.getBanner().equals(other.getBanner())) && (this.getTheme() == null ? other.getTheme() == null : this.getTheme().equals(other.getTheme())) && (this.getBasepath() == null ? other.getBasepath() == null : this.getBasepath().equals(other.getBasepath())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) && (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle())) && (this.getDescription() == null ? other.getDescription() == null : this.getDescription().equals(other.getDescription())) && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime())) && (this.getOrders() == null ? other.getOrders() == null : this.getOrders().equals(other.getOrders())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getSystemId() == null) ? 0 : getSystemId().hashCode()); result = prime * result + ((getIcon() == null) ? 0 : getIcon().hashCode()); result = prime * result + ((getBanner() == null) ? 0 : getBanner().hashCode()); result = prime * result + ((getTheme() == null) ? 0 : getTheme().hashCode()); result = prime * result + ((getBasepath() == null) ? 0 : getBasepath().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode()); result = prime * result + ((getDescription() == null) ? 0 : getDescription().hashCode()); result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode()); result = prime * result + ((getOrders() == null) ? 0 : getOrders().hashCode()); return result; } }
package com.zheng.upms.dao.model; import java.io.Serializable; public class UpmsUser implements Serializable { /** * 编号 * * @mbg.generated */ private Integer userId; /** * 帐号 * * @mbg.generated */ private String username; /** * 密码MD5(密码+盐) * * @mbg.generated */ private String password; /** * 盐 * * @mbg.generated */ private String salt; /** * 姓名 * * @mbg.generated */ private String realname; /** * 头像 * * @mbg.generated */ private String avatar; /** * 电话 * * @mbg.generated */ private String phone; /** * 邮箱 * * @mbg.generated */ private String email; /** * 性别 * * @mbg.generated */ private Byte sex; /** * 状态(0:正常,1:锁定) * * @mbg.generated */ private Byte locked; /** * 创建时间 * * @mbg.generated */ private Long ctime; private static final long serialVersionUID = 1L; public Integer getUserId() { return userId; } public void setUserId(Integer userId) { this.userId = userId; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public String getSalt() { return salt; } public void setSalt(String salt) { this.salt = salt; } public String getRealname() { return realname; } public void setRealname(String realname) { this.realname = realname; } public String getAvatar() { return avatar; } public void setAvatar(String avatar) { this.avatar = avatar; } public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public Byte getSex() { return sex; } public void setSex(Byte sex) { this.sex = sex; } public Byte getLocked() { return locked; } public void setLocked(Byte locked) { this.locked = locked; } public Long getCtime() { return ctime; } public void setCtime(Long ctime) { this.ctime = ctime; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", userId=").append(userId); sb.append(", username=").append(username); sb.append(", password=").append(password); sb.append(", salt=").append(salt); sb.append(", realname=").append(realname); sb.append(", avatar=").append(avatar); sb.append(", phone=").append(phone); sb.append(", email=").append(email); sb.append(", sex=").append(sex); sb.append(", locked=").append(locked); sb.append(", ctime=").append(ctime); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } UpmsUser other = (UpmsUser) that; return (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername())) && (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword())) && (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt())) && (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname())) && (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar())) && (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone())) && (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail())) && (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex())) && (this.getLocked() == null ? other.getLocked() == null : this.getLocked().equals(other.getLocked())) && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode()); result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode()); result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode()); result = prime * result + ((getRealname() == null) ? 0 : getRealname().hashCode()); result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode()); result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode()); result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode()); result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode()); result = prime * result + ((getLocked() == null) ? 0 : getLocked().hashCode()); result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode()); return result; } }
package com.zheng.upms.dao.model; import java.io.Serializable; public class UpmsUserOrganization implements Serializable { /** * 编号 * * @mbg.generated */ private Integer userOrganizationId; /** * 用户编号 * * @mbg.generated */ private Integer userId; /** * 组织编号 * * @mbg.generated */ private Integer organizationId; private static final long serialVersionUID = 1L; public Integer getUserOrganizationId() { return userOrganizationId; } public void setUserOrganizationId(Integer userOrganizationId) { this.userOrganizationId = userOrganizationId; } public Integer getUserId() { return userId; } public void setUserId(Integer userId) { this.userId = userId; } public Integer getOrganizationId() { return organizationId; } public void setOrganizationId(Integer organizationId) { this.organizationId = organizationId; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", userOrganizationId=").append(userOrganizationId); sb.append(", userId=").append(userId); sb.append(", organizationId=").append(organizationId); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } UpmsUserOrganization other = (UpmsUserOrganization) that; return (this.getUserOrganizationId() == null ? other.getUserOrganizationId() == null : this.getUserOrganizationId().equals(other.getUserOrganizationId())) && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getOrganizationId() == null ? other.getOrganizationId() == null : this.getOrganizationId().equals(other.getOrganizationId())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getUserOrganizationId() == null) ? 0 : getUserOrganizationId().hashCode()); result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getOrganizationId() == null) ? 0 : getOrganizationId().hashCode()); return result; } }
package com.zheng.upms.dao.model; import java.io.Serializable; public class UpmsUserPermission implements Serializable { /** * 编号 * * @mbg.generated */ private Integer userPermissionId; /** * 用户编号 * * @mbg.generated */ private Integer userId; /** * 权限编号 * * @mbg.generated */ private Integer permissionId; /** * 权限类型(-1:减权限,1:增权限) * * @mbg.generated */ private Byte type; private static final long serialVersionUID = 1L; public Integer getUserPermissionId() { return userPermissionId; } public void setUserPermissionId(Integer userPermissionId) { this.userPermissionId = userPermissionId; } public Integer getUserId() { return userId; } public void setUserId(Integer userId) { this.userId = userId; } public Integer getPermissionId() { return permissionId; } public void setPermissionId(Integer permissionId) { this.permissionId = permissionId; } public Byte getType() { return type; } public void setType(Byte type) { this.type = type; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", userPermissionId=").append(userPermissionId); sb.append(", userId=").append(userId); sb.append(", permissionId=").append(permissionId); sb.append(", type=").append(type); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } UpmsUserPermission other = (UpmsUserPermission) that; return (this.getUserPermissionId() == null ? other.getUserPermissionId() == null : this.getUserPermissionId().equals(other.getUserPermissionId())) && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getPermissionId() == null ? other.getPermissionId() == null : this.getPermissionId().equals(other.getPermissionId())) && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getUserPermissionId() == null) ? 0 : getUserPermissionId().hashCode()); result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getPermissionId() == null) ? 0 : getPermissionId().hashCode()); result = prime * result + ((getType() == null) ? 0 : getType().hashCode()); return result; } }
package com.zheng.upms.dao.model; import java.io.Serializable; public class UpmsUserRole implements Serializable { /** * 编号 * * @mbg.generated */ private Integer userRoleId; /** * 用户编号 * * @mbg.generated */ private Integer userId; /** * 角色编号 * * @mbg.generated */ private Integer roleId; private static final long serialVersionUID = 1L; public Integer getUserRoleId() { return userRoleId; } public void setUserRoleId(Integer userRoleId) { this.userRoleId = userRoleId; } public Integer getUserId() { return userId; } public void setUserId(Integer userId) { this.userId = userId; } public Integer getRoleId() { return roleId; } public void setRoleId(Integer roleId) { this.roleId = roleId; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", userRoleId=").append(userRoleId); sb.append(", userId=").append(userId); sb.append(", roleId=").append(roleId); sb.append("]"); return sb.toString(); } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } UpmsUserRole other = (UpmsUserRole) that; return (this.getUserRoleId() == null ? other.getUserRoleId() == null : this.getUserRoleId().equals(other.getUserRoleId())) && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) && (this.getRoleId() == null ? other.getRoleId() == null : this.getRoleId().equals(other.getRoleId())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getUserRoleId() == null) ? 0 : getUserRoleId().hashCode()); result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); result = prime * result + ((getRoleId() == null) ? 0 : getRoleId().hashCode()); return result; } }
package com.mall4j.cloud.api.dto; import com.mall4j.cloud.common.util.PrincipalUtil; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.NotNull; import java.util.Arrays; /** * @author FrozenWatermelon * @date 2020/11/16 */ public class EsPageDTO{ public static final String ASC = "ASC"; public static final String DESC = "DESC"; /** * 最大分页大小,如果分页大小大于500,则用500作为分页的大小。防止有人直接传入一个较大的数,导致服务器内存溢出宕机 */ public static final Integer MAX_PAGE_SIZE = 500; /** * 当前页 */ @NotNull(message = "pageNum 不能为空") @ApiModelProperty(value = "当前页", required = true) private Integer pageNum; @NotNull(message = "pageSize 不能为空") @ApiModelProperty(value = "每页大小", required = true) private Integer pageSize; @ApiModelProperty(value = "排序字段数组,用逗号分割") private String[] columns; @ApiModelProperty(value = "排序字段方式,用逗号分割,ASC正序,DESC倒序") private String[] orders; public Integer getPageNum() { return pageNum; } public void setPageNum(Integer pageNum) { this.pageNum = pageNum; } public Integer getPageSize() { return pageSize; } public void setPageSize(Integer pageSize) { if (pageSize > MAX_PAGE_SIZE) { this.pageSize = MAX_PAGE_SIZE; return; } this.pageSize = pageSize; } public String getOrderBy() { return order(this.columns, this.orders); } public String[] getColumns() { return columns; } public void setColumns(String[] columns) { this.columns = columns; } public String[] getOrders() { return orders; } public void setOrders(String[] orders) { this.orders = orders; } public static String order(String[] columns, String[] orders) { if (columns == null || columns.length == 0) { return ""; } StringBuilder stringBuilder = new StringBuilder(); for (int x = 0; x < columns.length; x++) { String column = columns[x]; String order; if (orders != null && orders.length > x) { order = orders[x].toUpperCase(); if (!(order.equals(ASC) || order.equals(DESC))) { throw new IllegalArgumentException("非法的排序策略:" + column); } }else { order = ASC; } // 判断列名称的合法性,防止SQL注入。只能是【字母,数字,下划线】 if (PrincipalUtil.isField(column)) { throw new IllegalArgumentException("非法的排序字段名称:" + column); } // 驼峰转换为下划线 column = humpConversionUnderscore(column); if (x != 0) { stringBuilder.append(", "); } stringBuilder.append("`").append(column).append("` ").append(order); } return stringBuilder.toString(); } public static String humpConversionUnderscore(String value) { StringBuilder stringBuilder = new StringBuilder(); char[] chars = value.toCharArray(); for (char character : chars) { if (Character.isUpperCase(character)) { stringBuilder.append("_"); character = Character.toLowerCase(character); } stringBuilder.append(character); } return stringBuilder.toString(); } @Override public String toString() { return "EsPageDTO{" + "pageNum=" + pageNum + ", pageSize=" + pageSize + ", columns=" + Arrays.toString(columns) + ", orders=" + Arrays.toString(orders) + '}'; } }
package com.mall4j.cloud.common.database.dto; import com.github.pagehelper.IPage; import com.mall4j.cloud.common.util.PrincipalUtil; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.NotNull; import java.util.Arrays; /** * @author FrozenWatermelon * @date 2020/9/8 */ public class PageDTO implements IPage { public static final String ASC = "ASC"; public static final String DESC = "DESC"; /** * 最大分页大小,如果分页大小大于500,则用500作为分页的大小。防止有人直接传入一个较大的数,导致服务器内存溢出宕机 */ public static final Integer MAX_PAGE_SIZE = 500; /** * 当前页 */ @NotNull(message = "pageNum 不能为空") @ApiModelProperty(value = "当前页", required = true) private Integer pageNum; @NotNull(message = "pageSize 不能为空") @ApiModelProperty(value = "每页大小", required = true) private Integer pageSize; @ApiModelProperty(value = "排序字段数组,用逗号分割") private String[] columns; @ApiModelProperty(value = "排序字段方式,用逗号分割,ASC正序,DESC倒序") private String[] orders; @Override public Integer getPageNum() { return pageNum; } public void setPageNum(Integer pageNum) { this.pageNum = pageNum; } @Override public Integer getPageSize() { return pageSize; } public void setPageSize(Integer pageSize) { if (pageSize > MAX_PAGE_SIZE) { this.pageSize = MAX_PAGE_SIZE; return; } this.pageSize = pageSize; } @Override public String getOrderBy() { return order(this.columns, this.orders); } public String[] getColumns() { return columns; } public void setColumns(String[] columns) { this.columns = columns; } public String[] getOrders() { return orders; } public void setOrders(String[] orders) { this.orders = orders; } public static String order(String[] columns, String[] orders) { if (columns == null || columns.length == 0) { return ""; } StringBuilder stringBuilder = new StringBuilder(); for (int x = 0; x < columns.length; x++) { String column = columns[x]; String order; if (orders != null && orders.length > x) { order = orders[x].toUpperCase(); if (!(order.equals(ASC) || order.equals(DESC))) { throw new IllegalArgumentException("非法的排序策略:" + column); } }else { order = ASC; } // 判断列名称的合法性,防止SQL注入。只能是【字母,数字,下划线】 if (PrincipalUtil.isField(column)) { throw new IllegalArgumentException("非法的排序字段名称:" + column); } // 驼峰转换为下划线 column = humpConversionUnderscore(column); if (x != 0) { stringBuilder.append(", "); } stringBuilder.append("`").append(column).append("` ").append(order); } return stringBuilder.toString(); } public static String humpConversionUnderscore(String value) { StringBuilder stringBuilder = new StringBuilder(); char[] chars = value.toCharArray(); for (char character : chars) { if (Character.isUpperCase(character)) { stringBuilder.append("_"); character = Character.toLowerCase(character); } stringBuilder.append(character); } return stringBuilder.toString(); } @Override public String toString() { return "PageDTO{" + "pageNum=" + pageNum + ", pageSize=" + pageSize + ", columns=" + Arrays.toString(columns) + ", orders=" + Arrays.toString(orders) + '}'; } }
package com.simplemall.micro.serv.common.bean.account; import java.util.ArrayList; import java.util.Date; import java.util.List; public class AccAddressCriteria { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_acc_address * * @MBG Generated Wed Aug 16 15:54:11 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_acc_address * * @MBG Generated Wed Aug 16 15:54:11 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_acc_address * * @MBG Generated Wed Aug 16 15:54:11 CST 2017 */ protected List<Criteria> oredCriteria; /** * */ public AccAddressCriteria() { oredCriteria = new ArrayList<Criteria>(); } /** * * @param orderByClause */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * */ public String getOrderByClause() { return orderByClause; } /** * * @param distinct */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * */ public boolean isDistinct() { return distinct; } /** * */ public List<Criteria> getOredCriteria() { return oredCriteria; } /** * * @param criteria */ 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; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_acc_address * * @MBG Generated Wed Aug 16 15:54:11 CST 2017 */ 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 andTidIsNull() { addCriterion("tid is null"); return (Criteria) this; } public Criteria andTidIsNotNull() { addCriterion("tid is not null"); return (Criteria) this; } public Criteria andTidEqualTo(String value) { addCriterion("tid =", value, "tid"); return (Criteria) this; } public Criteria andTidNotEqualTo(String value) { addCriterion("tid <>", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThan(String value) { addCriterion("tid >", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThanOrEqualTo(String value) { addCriterion("tid >=", value, "tid"); return (Criteria) this; } public Criteria andTidLessThan(String value) { addCriterion("tid <", value, "tid"); return (Criteria) this; } public Criteria andTidLessThanOrEqualTo(String value) { addCriterion("tid <=", value, "tid"); return (Criteria) this; } public Criteria andTidLike(String value) { addCriterion("tid like", value, "tid"); return (Criteria) this; } public Criteria andTidNotLike(String value) { addCriterion("tid not like", value, "tid"); return (Criteria) this; } public Criteria andTidIn(List<String> values) { addCriterion("tid in", values, "tid"); return (Criteria) this; } public Criteria andTidNotIn(List<String> values) { addCriterion("tid not in", values, "tid"); return (Criteria) this; } public Criteria andTidBetween(String value1, String value2) { addCriterion("tid between", value1, value2, "tid"); return (Criteria) this; } public Criteria andTidNotBetween(String value1, String value2) { addCriterion("tid not between", value1, value2, "tid"); return (Criteria) this; } public Criteria andAccountIdIsNull() { addCriterion("account_id is null"); return (Criteria) this; } public Criteria andAccountIdIsNotNull() { addCriterion("account_id is not null"); return (Criteria) this; } public Criteria andAccountIdEqualTo(String value) { addCriterion("account_id =", value, "accountId"); return (Criteria) this; } public Criteria andAccountIdNotEqualTo(String value) { addCriterion("account_id <>", value, "accountId"); return (Criteria) this; } public Criteria andAccountIdGreaterThan(String value) { addCriterion("account_id >", value, "accountId"); return (Criteria) this; } public Criteria andAccountIdGreaterThanOrEqualTo(String value) { addCriterion("account_id >=", value, "accountId"); return (Criteria) this; } public Criteria andAccountIdLessThan(String value) { addCriterion("account_id <", value, "accountId"); return (Criteria) this; } public Criteria andAccountIdLessThanOrEqualTo(String value) { addCriterion("account_id <=", value, "accountId"); return (Criteria) this; } public Criteria andAccountIdLike(String value) { addCriterion("account_id like", value, "accountId"); return (Criteria) this; } public Criteria andAccountIdNotLike(String value) { addCriterion("account_id not like", value, "accountId"); return (Criteria) this; } public Criteria andAccountIdIn(List<String> values) { addCriterion("account_id in", values, "accountId"); return (Criteria) this; } public Criteria andAccountIdNotIn(List<String> values) { addCriterion("account_id not in", values, "accountId"); return (Criteria) this; } public Criteria andAccountIdBetween(String value1, String value2) { addCriterion("account_id between", value1, value2, "accountId"); return (Criteria) this; } public Criteria andAccountIdNotBetween(String value1, String value2) { addCriterion("account_id not between", value1, value2, "accountId"); return (Criteria) this; } public Criteria andRealNameIsNull() { addCriterion("real_name is null"); return (Criteria) this; } public Criteria andRealNameIsNotNull() { addCriterion("real_name is not null"); return (Criteria) this; } public Criteria andRealNameEqualTo(String value) { addCriterion("real_name =", value, "realName"); return (Criteria) this; } public Criteria andRealNameNotEqualTo(String value) { addCriterion("real_name <>", value, "realName"); return (Criteria) this; } public Criteria andRealNameGreaterThan(String value) { addCriterion("real_name >", value, "realName"); return (Criteria) this; } public Criteria andRealNameGreaterThanOrEqualTo(String value) { addCriterion("real_name >=", value, "realName"); return (Criteria) this; } public Criteria andRealNameLessThan(String value) { addCriterion("real_name <", value, "realName"); return (Criteria) this; } public Criteria andRealNameLessThanOrEqualTo(String value) { addCriterion("real_name <=", value, "realName"); return (Criteria) this; } public Criteria andRealNameLike(String value) { addCriterion("real_name like", value, "realName"); return (Criteria) this; } public Criteria andRealNameNotLike(String value) { addCriterion("real_name not like", value, "realName"); return (Criteria) this; } public Criteria andRealNameIn(List<String> values) { addCriterion("real_name in", values, "realName"); return (Criteria) this; } public Criteria andRealNameNotIn(List<String> values) { addCriterion("real_name not in", values, "realName"); return (Criteria) this; } public Criteria andRealNameBetween(String value1, String value2) { addCriterion("real_name between", value1, value2, "realName"); return (Criteria) this; } public Criteria andRealNameNotBetween(String value1, String value2) { addCriterion("real_name not between", value1, value2, "realName"); return (Criteria) this; } public Criteria andDetailAddressIsNull() { addCriterion("detail_address is null"); return (Criteria) this; } public Criteria andDetailAddressIsNotNull() { addCriterion("detail_address is not null"); return (Criteria) this; } public Criteria andDetailAddressEqualTo(String value) { addCriterion("detail_address =", value, "detailAddress"); return (Criteria) this; } public Criteria andDetailAddressNotEqualTo(String value) { addCriterion("detail_address <>", value, "detailAddress"); return (Criteria) this; } public Criteria andDetailAddressGreaterThan(String value) { addCriterion("detail_address >", value, "detailAddress"); return (Criteria) this; } public Criteria andDetailAddressGreaterThanOrEqualTo(String value) { addCriterion("detail_address >=", value, "detailAddress"); return (Criteria) this; } public Criteria andDetailAddressLessThan(String value) { addCriterion("detail_address <", value, "detailAddress"); return (Criteria) this; } public Criteria andDetailAddressLessThanOrEqualTo(String value) { addCriterion("detail_address <=", value, "detailAddress"); return (Criteria) this; } public Criteria andDetailAddressLike(String value) { addCriterion("detail_address like", value, "detailAddress"); return (Criteria) this; } public Criteria andDetailAddressNotLike(String value) { addCriterion("detail_address not like", value, "detailAddress"); return (Criteria) this; } public Criteria andDetailAddressIn(List<String> values) { addCriterion("detail_address in", values, "detailAddress"); return (Criteria) this; } public Criteria andDetailAddressNotIn(List<String> values) { addCriterion("detail_address not in", values, "detailAddress"); return (Criteria) this; } public Criteria andDetailAddressBetween(String value1, String value2) { addCriterion("detail_address between", value1, value2, "detailAddress"); return (Criteria) this; } public Criteria andDetailAddressNotBetween(String value1, String value2) { addCriterion("detail_address not between", value1, value2, "detailAddress"); return (Criteria) this; } public Criteria andIsFluIsNull() { addCriterion("is_flu is null"); return (Criteria) this; } public Criteria andIsFluIsNotNull() { addCriterion("is_flu is not null"); return (Criteria) this; } public Criteria andIsFluEqualTo(String value) { addCriterion("is_flu =", value, "isFlu"); return (Criteria) this; } public Criteria andIsFluNotEqualTo(String value) { addCriterion("is_flu <>", value, "isFlu"); return (Criteria) this; } public Criteria andIsFluGreaterThan(String value) { addCriterion("is_flu >", value, "isFlu"); return (Criteria) this; } public Criteria andIsFluGreaterThanOrEqualTo(String value) { addCriterion("is_flu >=", value, "isFlu"); return (Criteria) this; } public Criteria andIsFluLessThan(String value) { addCriterion("is_flu <", value, "isFlu"); return (Criteria) this; } public Criteria andIsFluLessThanOrEqualTo(String value) { addCriterion("is_flu <=", value, "isFlu"); return (Criteria) this; } public Criteria andIsFluLike(String value) { addCriterion("is_flu like", value, "isFlu"); return (Criteria) this; } public Criteria andIsFluNotLike(String value) { addCriterion("is_flu not like", value, "isFlu"); return (Criteria) this; } public Criteria andIsFluIn(List<String> values) { addCriterion("is_flu in", values, "isFlu"); return (Criteria) this; } public Criteria andIsFluNotIn(List<String> values) { addCriterion("is_flu not in", values, "isFlu"); return (Criteria) this; } public Criteria andIsFluBetween(String value1, String value2) { addCriterion("is_flu between", value1, value2, "isFlu"); return (Criteria) this; } public Criteria andIsFluNotBetween(String value1, String value2) { addCriterion("is_flu not between", value1, value2, "isFlu"); return (Criteria) this; } public Criteria andCreateByIsNull() { addCriterion("create_by is null"); return (Criteria) this; } public Criteria andCreateByIsNotNull() { addCriterion("create_by is not null"); return (Criteria) this; } public Criteria andCreateByEqualTo(String value) { addCriterion("create_by =", value, "createBy"); return (Criteria) this; } public Criteria andCreateByNotEqualTo(String value) { addCriterion("create_by <>", value, "createBy"); return (Criteria) this; } public Criteria andCreateByGreaterThan(String value) { addCriterion("create_by >", value, "createBy"); return (Criteria) this; } public Criteria andCreateByGreaterThanOrEqualTo(String value) { addCriterion("create_by >=", value, "createBy"); return (Criteria) this; } public Criteria andCreateByLessThan(String value) { addCriterion("create_by <", value, "createBy"); return (Criteria) this; } public Criteria andCreateByLessThanOrEqualTo(String value) { addCriterion("create_by <=", value, "createBy"); return (Criteria) this; } public Criteria andCreateByLike(String value) { addCriterion("create_by like", value, "createBy"); return (Criteria) this; } public Criteria andCreateByNotLike(String value) { addCriterion("create_by not like", value, "createBy"); return (Criteria) this; } public Criteria andCreateByIn(List<String> values) { addCriterion("create_by in", values, "createBy"); return (Criteria) this; } public Criteria andCreateByNotIn(List<String> values) { addCriterion("create_by not in", values, "createBy"); return (Criteria) this; } public Criteria andCreateByBetween(String value1, String value2) { addCriterion("create_by between", value1, value2, "createBy"); return (Criteria) this; } public Criteria andCreateByNotBetween(String value1, String value2) { addCriterion("create_by not between", value1, value2, "createBy"); return (Criteria) this; } public Criteria andCreateDateIsNull() { addCriterion("create_date is null"); return (Criteria) this; } public Criteria andCreateDateIsNotNull() { addCriterion("create_date is not null"); return (Criteria) this; } public Criteria andCreateDateEqualTo(Date value) { addCriterion("create_date =", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotEqualTo(Date value) { addCriterion("create_date <>", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThan(Date value) { addCriterion("create_date >", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThanOrEqualTo(Date value) { addCriterion("create_date >=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThan(Date value) { addCriterion("create_date <", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThanOrEqualTo(Date value) { addCriterion("create_date <=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateIn(List<Date> values) { addCriterion("create_date in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotIn(List<Date> values) { addCriterion("create_date not in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateBetween(Date value1, Date value2) { addCriterion("create_date between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotBetween(Date value1, Date value2) { addCriterion("create_date not between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andUpdateByIsNull() { addCriterion("update_by is null"); return (Criteria) this; } public Criteria andUpdateByIsNotNull() { addCriterion("update_by is not null"); return (Criteria) this; } public Criteria andUpdateByEqualTo(String value) { addCriterion("update_by =", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotEqualTo(String value) { addCriterion("update_by <>", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThan(String value) { addCriterion("update_by >", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThanOrEqualTo(String value) { addCriterion("update_by >=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThan(String value) { addCriterion("update_by <", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThanOrEqualTo(String value) { addCriterion("update_by <=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLike(String value) { addCriterion("update_by like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotLike(String value) { addCriterion("update_by not like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByIn(List<String> values) { addCriterion("update_by in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotIn(List<String> values) { addCriterion("update_by not in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByBetween(String value1, String value2) { addCriterion("update_by between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotBetween(String value1, String value2) { addCriterion("update_by not between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateDateIsNull() { addCriterion("update_date is null"); return (Criteria) this; } public Criteria andUpdateDateIsNotNull() { addCriterion("update_date is not null"); return (Criteria) this; } public Criteria andUpdateDateEqualTo(Date value) { addCriterion("update_date =", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotEqualTo(Date value) { addCriterion("update_date <>", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThan(Date value) { addCriterion("update_date >", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) { addCriterion("update_date >=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThan(Date value) { addCriterion("update_date <", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThanOrEqualTo(Date value) { addCriterion("update_date <=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateIn(List<Date> values) { addCriterion("update_date in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotIn(List<Date> values) { addCriterion("update_date not in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateBetween(Date value1, Date value2) { addCriterion("update_date between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotBetween(Date value1, Date value2) { addCriterion("update_date not between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andRemarkIsNull() { addCriterion("remark is null"); return (Criteria) this; } public Criteria andRemarkIsNotNull() { addCriterion("remark is not null"); return (Criteria) this; } public Criteria andRemarkEqualTo(String value) { addCriterion("remark =", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotEqualTo(String value) { addCriterion("remark <>", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThan(String value) { addCriterion("remark >", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("remark >=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThan(String value) { addCriterion("remark <", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("remark <=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLike(String value) { addCriterion("remark like", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotLike(String value) { addCriterion("remark not like", value, "remark"); return (Criteria) this; } public Criteria andRemarkIn(List<String> values) { addCriterion("remark in", values, "remark"); return (Criteria) this; } public Criteria andRemarkNotIn(List<String> values) { addCriterion("remark not in", values, "remark"); return (Criteria) this; } public Criteria andRemarkBetween(String value1, String value2) { addCriterion("remark between", value1, value2, "remark"); return (Criteria) this; } public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("remark not between", value1, value2, "remark"); return (Criteria) this; } public Criteria andVersionIsNull() { addCriterion("version is null"); return (Criteria) this; } public Criteria andVersionIsNotNull() { addCriterion("version is not null"); return (Criteria) this; } public Criteria andVersionEqualTo(Integer value) { addCriterion("version =", value, "version"); return (Criteria) this; } public Criteria andVersionNotEqualTo(Integer value) { addCriterion("version <>", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThan(Integer value) { addCriterion("version >", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThanOrEqualTo(Integer value) { addCriterion("version >=", value, "version"); return (Criteria) this; } public Criteria andVersionLessThan(Integer value) { addCriterion("version <", value, "version"); return (Criteria) this; } public Criteria andVersionLessThanOrEqualTo(Integer value) { addCriterion("version <=", value, "version"); return (Criteria) this; } public Criteria andVersionIn(List<Integer> values) { addCriterion("version in", values, "version"); return (Criteria) this; } public Criteria andVersionNotIn(List<Integer> values) { addCriterion("version not in", values, "version"); return (Criteria) this; } public Criteria andVersionBetween(Integer value1, Integer value2) { addCriterion("version between", value1, value2, "version"); return (Criteria) this; } public Criteria andVersionNotBetween(Integer value1, Integer value2) { addCriterion("version not between", value1, value2, "version"); return (Criteria) this; } public Criteria andStateIsNull() { addCriterion("state is null"); return (Criteria) this; } public Criteria andStateIsNotNull() { addCriterion("state is not null"); return (Criteria) this; } public Criteria andStateEqualTo(Integer value) { addCriterion("state =", value, "state"); return (Criteria) this; } public Criteria andStateNotEqualTo(Integer value) { addCriterion("state <>", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThan(Integer value) { addCriterion("state >", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThanOrEqualTo(Integer value) { addCriterion("state >=", value, "state"); return (Criteria) this; } public Criteria andStateLessThan(Integer value) { addCriterion("state <", value, "state"); return (Criteria) this; } public Criteria andStateLessThanOrEqualTo(Integer value) { addCriterion("state <=", value, "state"); return (Criteria) this; } public Criteria andStateIn(List<Integer> values) { addCriterion("state in", values, "state"); return (Criteria) this; } public Criteria andStateNotIn(List<Integer> values) { addCriterion("state not in", values, "state"); return (Criteria) this; } public Criteria andStateBetween(Integer value1, Integer value2) { addCriterion("state between", value1, value2, "state"); return (Criteria) this; } public Criteria andStateNotBetween(Integer value1, Integer value2) { addCriterion("state not between", value1, value2, "state"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_acc_address * * @MBG Generated do_not_delete_during_merge Wed Aug 16 15:54:11 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_acc_address * * @MBG Generated Wed Aug 16 15:54:11 CST 2017 */ 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); } } }
package com.simplemall.micro.serv.common.bean.account; import java.util.ArrayList; import java.util.Date; import java.util.List; public class AccountCriteria { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_acc_account * * @MBG Generated Tue Aug 15 11:57:16 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_acc_account * * @MBG Generated Tue Aug 15 11:57:16 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_acc_account * * @MBG Generated Tue Aug 15 11:57:16 CST 2017 */ protected List<Criteria> oredCriteria; /** * */ public AccountCriteria() { oredCriteria = new ArrayList<Criteria>(); } /** * * @param orderByClause */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * */ public String getOrderByClause() { return orderByClause; } /** * * @param distinct */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * */ public boolean isDistinct() { return distinct; } /** * */ public List<Criteria> getOredCriteria() { return oredCriteria; } /** * * @param criteria */ 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; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_acc_account * * @MBG Generated Tue Aug 15 11:57:16 CST 2017 */ 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 andTidIsNull() { addCriterion("tid is null"); return (Criteria) this; } public Criteria andTidIsNotNull() { addCriterion("tid is not null"); return (Criteria) this; } public Criteria andTidEqualTo(String value) { addCriterion("tid =", value, "tid"); return (Criteria) this; } public Criteria andTidNotEqualTo(String value) { addCriterion("tid <>", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThan(String value) { addCriterion("tid >", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThanOrEqualTo(String value) { addCriterion("tid >=", value, "tid"); return (Criteria) this; } public Criteria andTidLessThan(String value) { addCriterion("tid <", value, "tid"); return (Criteria) this; } public Criteria andTidLessThanOrEqualTo(String value) { addCriterion("tid <=", value, "tid"); return (Criteria) this; } public Criteria andTidLike(String value) { addCriterion("tid like", value, "tid"); return (Criteria) this; } public Criteria andTidNotLike(String value) { addCriterion("tid not like", value, "tid"); return (Criteria) this; } public Criteria andTidIn(List<String> values) { addCriterion("tid in", values, "tid"); return (Criteria) this; } public Criteria andTidNotIn(List<String> values) { addCriterion("tid not in", values, "tid"); return (Criteria) this; } public Criteria andTidBetween(String value1, String value2) { addCriterion("tid between", value1, value2, "tid"); return (Criteria) this; } public Criteria andTidNotBetween(String value1, String value2) { addCriterion("tid not between", value1, value2, "tid"); return (Criteria) this; } public Criteria andPhoneIsNull() { addCriterion("phone is null"); return (Criteria) this; } public Criteria andPhoneIsNotNull() { addCriterion("phone is not null"); return (Criteria) this; } public Criteria andPhoneEqualTo(String value) { addCriterion("phone =", value, "phone"); return (Criteria) this; } public Criteria andPhoneNotEqualTo(String value) { addCriterion("phone <>", value, "phone"); return (Criteria) this; } public Criteria andPhoneGreaterThan(String value) { addCriterion("phone >", value, "phone"); return (Criteria) this; } public Criteria andPhoneGreaterThanOrEqualTo(String value) { addCriterion("phone >=", value, "phone"); return (Criteria) this; } public Criteria andPhoneLessThan(String value) { addCriterion("phone <", value, "phone"); return (Criteria) this; } public Criteria andPhoneLessThanOrEqualTo(String value) { addCriterion("phone <=", value, "phone"); return (Criteria) this; } public Criteria andPhoneLike(String value) { addCriterion("phone like", value, "phone"); return (Criteria) this; } public Criteria andPhoneNotLike(String value) { addCriterion("phone not like", value, "phone"); return (Criteria) this; } public Criteria andPhoneIn(List<String> values) { addCriterion("phone in", values, "phone"); return (Criteria) this; } public Criteria andPhoneNotIn(List<String> values) { addCriterion("phone not in", values, "phone"); return (Criteria) this; } public Criteria andPhoneBetween(String value1, String value2) { addCriterion("phone between", value1, value2, "phone"); return (Criteria) this; } public Criteria andPhoneNotBetween(String value1, String value2) { addCriterion("phone not between", value1, value2, "phone"); return (Criteria) this; } public Criteria andEmailIsNull() { addCriterion("email is null"); return (Criteria) this; } public Criteria andEmailIsNotNull() { addCriterion("email is not null"); return (Criteria) this; } public Criteria andEmailEqualTo(String value) { addCriterion("email =", value, "email"); return (Criteria) this; } public Criteria andEmailNotEqualTo(String value) { addCriterion("email <>", value, "email"); return (Criteria) this; } public Criteria andEmailGreaterThan(String value) { addCriterion("email >", value, "email"); return (Criteria) this; } public Criteria andEmailGreaterThanOrEqualTo(String value) { addCriterion("email >=", value, "email"); return (Criteria) this; } public Criteria andEmailLessThan(String value) { addCriterion("email <", value, "email"); return (Criteria) this; } public Criteria andEmailLessThanOrEqualTo(String value) { addCriterion("email <=", value, "email"); return (Criteria) this; } public Criteria andEmailLike(String value) { addCriterion("email like", value, "email"); return (Criteria) this; } public Criteria andEmailNotLike(String value) { addCriterion("email not like", value, "email"); return (Criteria) this; } public Criteria andEmailIn(List<String> values) { addCriterion("email in", values, "email"); return (Criteria) this; } public Criteria andEmailNotIn(List<String> values) { addCriterion("email not in", values, "email"); return (Criteria) this; } public Criteria andEmailBetween(String value1, String value2) { addCriterion("email between", value1, value2, "email"); return (Criteria) this; } public Criteria andEmailNotBetween(String value1, String value2) { addCriterion("email not between", value1, value2, "email"); 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 andCreateByIsNull() { addCriterion("create_by is null"); return (Criteria) this; } public Criteria andCreateByIsNotNull() { addCriterion("create_by is not null"); return (Criteria) this; } public Criteria andCreateByEqualTo(String value) { addCriterion("create_by =", value, "createBy"); return (Criteria) this; } public Criteria andCreateByNotEqualTo(String value) { addCriterion("create_by <>", value, "createBy"); return (Criteria) this; } public Criteria andCreateByGreaterThan(String value) { addCriterion("create_by >", value, "createBy"); return (Criteria) this; } public Criteria andCreateByGreaterThanOrEqualTo(String value) { addCriterion("create_by >=", value, "createBy"); return (Criteria) this; } public Criteria andCreateByLessThan(String value) { addCriterion("create_by <", value, "createBy"); return (Criteria) this; } public Criteria andCreateByLessThanOrEqualTo(String value) { addCriterion("create_by <=", value, "createBy"); return (Criteria) this; } public Criteria andCreateByLike(String value) { addCriterion("create_by like", value, "createBy"); return (Criteria) this; } public Criteria andCreateByNotLike(String value) { addCriterion("create_by not like", value, "createBy"); return (Criteria) this; } public Criteria andCreateByIn(List<String> values) { addCriterion("create_by in", values, "createBy"); return (Criteria) this; } public Criteria andCreateByNotIn(List<String> values) { addCriterion("create_by not in", values, "createBy"); return (Criteria) this; } public Criteria andCreateByBetween(String value1, String value2) { addCriterion("create_by between", value1, value2, "createBy"); return (Criteria) this; } public Criteria andCreateByNotBetween(String value1, String value2) { addCriterion("create_by not between", value1, value2, "createBy"); return (Criteria) this; } public Criteria andCreateDateIsNull() { addCriterion("create_date is null"); return (Criteria) this; } public Criteria andCreateDateIsNotNull() { addCriterion("create_date is not null"); return (Criteria) this; } public Criteria andCreateDateEqualTo(Date value) { addCriterion("create_date =", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotEqualTo(Date value) { addCriterion("create_date <>", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThan(Date value) { addCriterion("create_date >", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThanOrEqualTo(Date value) { addCriterion("create_date >=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThan(Date value) { addCriterion("create_date <", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThanOrEqualTo(Date value) { addCriterion("create_date <=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateIn(List<Date> values) { addCriterion("create_date in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotIn(List<Date> values) { addCriterion("create_date not in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateBetween(Date value1, Date value2) { addCriterion("create_date between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotBetween(Date value1, Date value2) { addCriterion("create_date not between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andUpdateByIsNull() { addCriterion("update_by is null"); return (Criteria) this; } public Criteria andUpdateByIsNotNull() { addCriterion("update_by is not null"); return (Criteria) this; } public Criteria andUpdateByEqualTo(String value) { addCriterion("update_by =", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotEqualTo(String value) { addCriterion("update_by <>", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThan(String value) { addCriterion("update_by >", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThanOrEqualTo(String value) { addCriterion("update_by >=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThan(String value) { addCriterion("update_by <", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThanOrEqualTo(String value) { addCriterion("update_by <=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLike(String value) { addCriterion("update_by like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotLike(String value) { addCriterion("update_by not like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByIn(List<String> values) { addCriterion("update_by in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotIn(List<String> values) { addCriterion("update_by not in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByBetween(String value1, String value2) { addCriterion("update_by between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotBetween(String value1, String value2) { addCriterion("update_by not between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateDateIsNull() { addCriterion("update_date is null"); return (Criteria) this; } public Criteria andUpdateDateIsNotNull() { addCriterion("update_date is not null"); return (Criteria) this; } public Criteria andUpdateDateEqualTo(Date value) { addCriterion("update_date =", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotEqualTo(Date value) { addCriterion("update_date <>", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThan(Date value) { addCriterion("update_date >", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) { addCriterion("update_date >=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThan(Date value) { addCriterion("update_date <", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThanOrEqualTo(Date value) { addCriterion("update_date <=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateIn(List<Date> values) { addCriterion("update_date in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotIn(List<Date> values) { addCriterion("update_date not in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateBetween(Date value1, Date value2) { addCriterion("update_date between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotBetween(Date value1, Date value2) { addCriterion("update_date not between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andRemarkIsNull() { addCriterion("remark is null"); return (Criteria) this; } public Criteria andRemarkIsNotNull() { addCriterion("remark is not null"); return (Criteria) this; } public Criteria andRemarkEqualTo(String value) { addCriterion("remark =", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotEqualTo(String value) { addCriterion("remark <>", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThan(String value) { addCriterion("remark >", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("remark >=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThan(String value) { addCriterion("remark <", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("remark <=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLike(String value) { addCriterion("remark like", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotLike(String value) { addCriterion("remark not like", value, "remark"); return (Criteria) this; } public Criteria andRemarkIn(List<String> values) { addCriterion("remark in", values, "remark"); return (Criteria) this; } public Criteria andRemarkNotIn(List<String> values) { addCriterion("remark not in", values, "remark"); return (Criteria) this; } public Criteria andRemarkBetween(String value1, String value2) { addCriterion("remark between", value1, value2, "remark"); return (Criteria) this; } public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("remark not between", value1, value2, "remark"); return (Criteria) this; } public Criteria andVersionIsNull() { addCriterion("version is null"); return (Criteria) this; } public Criteria andVersionIsNotNull() { addCriterion("version is not null"); return (Criteria) this; } public Criteria andVersionEqualTo(Integer value) { addCriterion("version =", value, "version"); return (Criteria) this; } public Criteria andVersionNotEqualTo(Integer value) { addCriterion("version <>", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThan(Integer value) { addCriterion("version >", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThanOrEqualTo(Integer value) { addCriterion("version >=", value, "version"); return (Criteria) this; } public Criteria andVersionLessThan(Integer value) { addCriterion("version <", value, "version"); return (Criteria) this; } public Criteria andVersionLessThanOrEqualTo(Integer value) { addCriterion("version <=", value, "version"); return (Criteria) this; } public Criteria andVersionIn(List<Integer> values) { addCriterion("version in", values, "version"); return (Criteria) this; } public Criteria andVersionNotIn(List<Integer> values) { addCriterion("version not in", values, "version"); return (Criteria) this; } public Criteria andVersionBetween(Integer value1, Integer value2) { addCriterion("version between", value1, value2, "version"); return (Criteria) this; } public Criteria andVersionNotBetween(Integer value1, Integer value2) { addCriterion("version not between", value1, value2, "version"); return (Criteria) this; } public Criteria andStateIsNull() { addCriterion("state is null"); return (Criteria) this; } public Criteria andStateIsNotNull() { addCriterion("state is not null"); return (Criteria) this; } public Criteria andStateEqualTo(Integer value) { addCriterion("state =", value, "state"); return (Criteria) this; } public Criteria andStateNotEqualTo(Integer value) { addCriterion("state <>", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThan(Integer value) { addCriterion("state >", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThanOrEqualTo(Integer value) { addCriterion("state >=", value, "state"); return (Criteria) this; } public Criteria andStateLessThan(Integer value) { addCriterion("state <", value, "state"); return (Criteria) this; } public Criteria andStateLessThanOrEqualTo(Integer value) { addCriterion("state <=", value, "state"); return (Criteria) this; } public Criteria andStateIn(List<Integer> values) { addCriterion("state in", values, "state"); return (Criteria) this; } public Criteria andStateNotIn(List<Integer> values) { addCriterion("state not in", values, "state"); return (Criteria) this; } public Criteria andStateBetween(Integer value1, Integer value2) { addCriterion("state between", value1, value2, "state"); return (Criteria) this; } public Criteria andStateNotBetween(Integer value1, Integer value2) { addCriterion("state not between", value1, value2, "state"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_acc_account * * @MBG Generated do_not_delete_during_merge Tue Aug 15 11:57:16 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_acc_account * * @MBG Generated Tue Aug 15 11:57:16 CST 2017 */ 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); } } }
package com.simplemall.micro.serv.common.bean.order; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; public class OrderInfoCriteria { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_ord_inf * * @MBG Generated Wed Aug 16 17:49:42 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_ord_inf * * @MBG Generated Wed Aug 16 17:49:42 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_ord_inf * * @MBG Generated Wed Aug 16 17:49:42 CST 2017 */ protected List<Criteria> oredCriteria; /** * */ public OrderInfoCriteria() { oredCriteria = new ArrayList<Criteria>(); } /** * * @param orderByClause */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * */ public String getOrderByClause() { return orderByClause; } /** * * @param distinct */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * */ public boolean isDistinct() { return distinct; } /** * */ public List<Criteria> getOredCriteria() { return oredCriteria; } /** * * @param criteria */ 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; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_ord_inf * * @MBG Generated Wed Aug 16 17:49:42 CST 2017 */ 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 andTidIsNull() { addCriterion("tid is null"); return (Criteria) this; } public Criteria andTidIsNotNull() { addCriterion("tid is not null"); return (Criteria) this; } public Criteria andTidEqualTo(String value) { addCriterion("tid =", value, "tid"); return (Criteria) this; } public Criteria andTidNotEqualTo(String value) { addCriterion("tid <>", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThan(String value) { addCriterion("tid >", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThanOrEqualTo(String value) { addCriterion("tid >=", value, "tid"); return (Criteria) this; } public Criteria andTidLessThan(String value) { addCriterion("tid <", value, "tid"); return (Criteria) this; } public Criteria andTidLessThanOrEqualTo(String value) { addCriterion("tid <=", value, "tid"); return (Criteria) this; } public Criteria andTidLike(String value) { addCriterion("tid like", value, "tid"); return (Criteria) this; } public Criteria andTidNotLike(String value) { addCriterion("tid not like", value, "tid"); return (Criteria) this; } public Criteria andTidIn(List<String> values) { addCriterion("tid in", values, "tid"); return (Criteria) this; } public Criteria andTidNotIn(List<String> values) { addCriterion("tid not in", values, "tid"); return (Criteria) this; } public Criteria andTidBetween(String value1, String value2) { addCriterion("tid between", value1, value2, "tid"); return (Criteria) this; } public Criteria andTidNotBetween(String value1, String value2) { addCriterion("tid not between", value1, value2, "tid"); return (Criteria) this; } public Criteria andSerialNoIsNull() { addCriterion("serial_no is null"); return (Criteria) this; } public Criteria andSerialNoIsNotNull() { addCriterion("serial_no is not null"); return (Criteria) this; } public Criteria andSerialNoEqualTo(String value) { addCriterion("serial_no =", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotEqualTo(String value) { addCriterion("serial_no <>", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoGreaterThan(String value) { addCriterion("serial_no >", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoGreaterThanOrEqualTo(String value) { addCriterion("serial_no >=", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoLessThan(String value) { addCriterion("serial_no <", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoLessThanOrEqualTo(String value) { addCriterion("serial_no <=", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoLike(String value) { addCriterion("serial_no like", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotLike(String value) { addCriterion("serial_no not like", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoIn(List<String> values) { addCriterion("serial_no in", values, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotIn(List<String> values) { addCriterion("serial_no not in", values, "serialNo"); return (Criteria) this; } public Criteria andSerialNoBetween(String value1, String value2) { addCriterion("serial_no between", value1, value2, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotBetween(String value1, String value2) { addCriterion("serial_no not between", value1, value2, "serialNo"); return (Criteria) this; } public Criteria andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(String value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(String value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(String value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(String value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(String value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(String value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusLike(String value) { addCriterion("status like", value, "status"); return (Criteria) this; } public Criteria andStatusNotLike(String value) { addCriterion("status not like", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List<String> values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List<String> values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(String value1, String value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(String value1, String value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } public Criteria andPayTypeIsNull() { addCriterion("pay_type is null"); return (Criteria) this; } public Criteria andPayTypeIsNotNull() { addCriterion("pay_type is not null"); return (Criteria) this; } public Criteria andPayTypeEqualTo(String value) { addCriterion("pay_type =", value, "payType"); return (Criteria) this; } public Criteria andPayTypeNotEqualTo(String value) { addCriterion("pay_type <>", value, "payType"); return (Criteria) this; } public Criteria andPayTypeGreaterThan(String value) { addCriterion("pay_type >", value, "payType"); return (Criteria) this; } public Criteria andPayTypeGreaterThanOrEqualTo(String value) { addCriterion("pay_type >=", value, "payType"); return (Criteria) this; } public Criteria andPayTypeLessThan(String value) { addCriterion("pay_type <", value, "payType"); return (Criteria) this; } public Criteria andPayTypeLessThanOrEqualTo(String value) { addCriterion("pay_type <=", value, "payType"); return (Criteria) this; } public Criteria andPayTypeLike(String value) { addCriterion("pay_type like", value, "payType"); return (Criteria) this; } public Criteria andPayTypeNotLike(String value) { addCriterion("pay_type not like", value, "payType"); return (Criteria) this; } public Criteria andPayTypeIn(List<String> values) { addCriterion("pay_type in", values, "payType"); return (Criteria) this; } public Criteria andPayTypeNotIn(List<String> values) { addCriterion("pay_type not in", values, "payType"); return (Criteria) this; } public Criteria andPayTypeBetween(String value1, String value2) { addCriterion("pay_type between", value1, value2, "payType"); return (Criteria) this; } public Criteria andPayTypeNotBetween(String value1, String value2) { addCriterion("pay_type not between", value1, value2, "payType"); return (Criteria) this; } public Criteria andPayStatusIsNull() { addCriterion("pay_status is null"); return (Criteria) this; } public Criteria andPayStatusIsNotNull() { addCriterion("pay_status is not null"); return (Criteria) this; } public Criteria andPayStatusEqualTo(String value) { addCriterion("pay_status =", value, "payStatus"); return (Criteria) this; } public Criteria andPayStatusNotEqualTo(String value) { addCriterion("pay_status <>", value, "payStatus"); return (Criteria) this; } public Criteria andPayStatusGreaterThan(String value) { addCriterion("pay_status >", value, "payStatus"); return (Criteria) this; } public Criteria andPayStatusGreaterThanOrEqualTo(String value) { addCriterion("pay_status >=", value, "payStatus"); return (Criteria) this; } public Criteria andPayStatusLessThan(String value) { addCriterion("pay_status <", value, "payStatus"); return (Criteria) this; } public Criteria andPayStatusLessThanOrEqualTo(String value) { addCriterion("pay_status <=", value, "payStatus"); return (Criteria) this; } public Criteria andPayStatusLike(String value) { addCriterion("pay_status like", value, "payStatus"); return (Criteria) this; } public Criteria andPayStatusNotLike(String value) { addCriterion("pay_status not like", value, "payStatus"); return (Criteria) this; } public Criteria andPayStatusIn(List<String> values) { addCriterion("pay_status in", values, "payStatus"); return (Criteria) this; } public Criteria andPayStatusNotIn(List<String> values) { addCriterion("pay_status not in", values, "payStatus"); return (Criteria) this; } public Criteria andPayStatusBetween(String value1, String value2) { addCriterion("pay_status between", value1, value2, "payStatus"); return (Criteria) this; } public Criteria andPayStatusNotBetween(String value1, String value2) { addCriterion("pay_status not between", value1, value2, "payStatus"); return (Criteria) this; } public Criteria andShippingAccountIsNull() { addCriterion("shipping_account is null"); return (Criteria) this; } public Criteria andShippingAccountIsNotNull() { addCriterion("shipping_account is not null"); return (Criteria) this; } public Criteria andShippingAccountEqualTo(String value) { addCriterion("shipping_account =", value, "shippingAccount"); return (Criteria) this; } public Criteria andShippingAccountNotEqualTo(String value) { addCriterion("shipping_account <>", value, "shippingAccount"); return (Criteria) this; } public Criteria andShippingAccountGreaterThan(String value) { addCriterion("shipping_account >", value, "shippingAccount"); return (Criteria) this; } public Criteria andShippingAccountGreaterThanOrEqualTo(String value) { addCriterion("shipping_account >=", value, "shippingAccount"); return (Criteria) this; } public Criteria andShippingAccountLessThan(String value) { addCriterion("shipping_account <", value, "shippingAccount"); return (Criteria) this; } public Criteria andShippingAccountLessThanOrEqualTo(String value) { addCriterion("shipping_account <=", value, "shippingAccount"); return (Criteria) this; } public Criteria andShippingAccountLike(String value) { addCriterion("shipping_account like", value, "shippingAccount"); return (Criteria) this; } public Criteria andShippingAccountNotLike(String value) { addCriterion("shipping_account not like", value, "shippingAccount"); return (Criteria) this; } public Criteria andShippingAccountIn(List<String> values) { addCriterion("shipping_account in", values, "shippingAccount"); return (Criteria) this; } public Criteria andShippingAccountNotIn(List<String> values) { addCriterion("shipping_account not in", values, "shippingAccount"); return (Criteria) this; } public Criteria andShippingAccountBetween(String value1, String value2) { addCriterion("shipping_account between", value1, value2, "shippingAccount"); return (Criteria) this; } public Criteria andShippingAccountNotBetween(String value1, String value2) { addCriterion("shipping_account not between", value1, value2, "shippingAccount"); return (Criteria) this; } public Criteria andShippingNameIsNull() { addCriterion("shipping_name is null"); return (Criteria) this; } public Criteria andShippingNameIsNotNull() { addCriterion("shipping_name is not null"); return (Criteria) this; } public Criteria andShippingNameEqualTo(String value) { addCriterion("shipping_name =", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameNotEqualTo(String value) { addCriterion("shipping_name <>", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameGreaterThan(String value) { addCriterion("shipping_name >", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameGreaterThanOrEqualTo(String value) { addCriterion("shipping_name >=", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameLessThan(String value) { addCriterion("shipping_name <", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameLessThanOrEqualTo(String value) { addCriterion("shipping_name <=", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameLike(String value) { addCriterion("shipping_name like", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameNotLike(String value) { addCriterion("shipping_name not like", value, "shippingName"); return (Criteria) this; } public Criteria andShippingNameIn(List<String> values) { addCriterion("shipping_name in", values, "shippingName"); return (Criteria) this; } public Criteria andShippingNameNotIn(List<String> values) { addCriterion("shipping_name not in", values, "shippingName"); return (Criteria) this; } public Criteria andShippingNameBetween(String value1, String value2) { addCriterion("shipping_name between", value1, value2, "shippingName"); return (Criteria) this; } public Criteria andShippingNameNotBetween(String value1, String value2) { addCriterion("shipping_name not between", value1, value2, "shippingName"); return (Criteria) this; } public Criteria andShippingAddressIsNull() { addCriterion("shipping_address is null"); return (Criteria) this; } public Criteria andShippingAddressIsNotNull() { addCriterion("shipping_address is not null"); return (Criteria) this; } public Criteria andShippingAddressEqualTo(String value) { addCriterion("shipping_address =", value, "shippingAddress"); return (Criteria) this; } public Criteria andShippingAddressNotEqualTo(String value) { addCriterion("shipping_address <>", value, "shippingAddress"); return (Criteria) this; } public Criteria andShippingAddressGreaterThan(String value) { addCriterion("shipping_address >", value, "shippingAddress"); return (Criteria) this; } public Criteria andShippingAddressGreaterThanOrEqualTo(String value) { addCriterion("shipping_address >=", value, "shippingAddress"); return (Criteria) this; } public Criteria andShippingAddressLessThan(String value) { addCriterion("shipping_address <", value, "shippingAddress"); return (Criteria) this; } public Criteria andShippingAddressLessThanOrEqualTo(String value) { addCriterion("shipping_address <=", value, "shippingAddress"); return (Criteria) this; } public Criteria andShippingAddressLike(String value) { addCriterion("shipping_address like", value, "shippingAddress"); return (Criteria) this; } public Criteria andShippingAddressNotLike(String value) { addCriterion("shipping_address not like", value, "shippingAddress"); return (Criteria) this; } public Criteria andShippingAddressIn(List<String> values) { addCriterion("shipping_address in", values, "shippingAddress"); return (Criteria) this; } public Criteria andShippingAddressNotIn(List<String> values) { addCriterion("shipping_address not in", values, "shippingAddress"); return (Criteria) this; } public Criteria andShippingAddressBetween(String value1, String value2) { addCriterion("shipping_address between", value1, value2, "shippingAddress"); return (Criteria) this; } public Criteria andShippingAddressNotBetween(String value1, String value2) { addCriterion("shipping_address not between", value1, value2, "shippingAddress"); return (Criteria) this; } public Criteria andShippingPhoneIsNull() { addCriterion("shipping_phone is null"); return (Criteria) this; } public Criteria andShippingPhoneIsNotNull() { addCriterion("shipping_phone is not null"); return (Criteria) this; } public Criteria andShippingPhoneEqualTo(String value) { addCriterion("shipping_phone =", value, "shippingPhone"); return (Criteria) this; } public Criteria andShippingPhoneNotEqualTo(String value) { addCriterion("shipping_phone <>", value, "shippingPhone"); return (Criteria) this; } public Criteria andShippingPhoneGreaterThan(String value) { addCriterion("shipping_phone >", value, "shippingPhone"); return (Criteria) this; } public Criteria andShippingPhoneGreaterThanOrEqualTo(String value) { addCriterion("shipping_phone >=", value, "shippingPhone"); return (Criteria) this; } public Criteria andShippingPhoneLessThan(String value) { addCriterion("shipping_phone <", value, "shippingPhone"); return (Criteria) this; } public Criteria andShippingPhoneLessThanOrEqualTo(String value) { addCriterion("shipping_phone <=", value, "shippingPhone"); return (Criteria) this; } public Criteria andShippingPhoneLike(String value) { addCriterion("shipping_phone like", value, "shippingPhone"); return (Criteria) this; } public Criteria andShippingPhoneNotLike(String value) { addCriterion("shipping_phone not like", value, "shippingPhone"); return (Criteria) this; } public Criteria andShippingPhoneIn(List<String> values) { addCriterion("shipping_phone in", values, "shippingPhone"); return (Criteria) this; } public Criteria andShippingPhoneNotIn(List<String> values) { addCriterion("shipping_phone not in", values, "shippingPhone"); return (Criteria) this; } public Criteria andShippingPhoneBetween(String value1, String value2) { addCriterion("shipping_phone between", value1, value2, "shippingPhone"); return (Criteria) this; } public Criteria andShippingPhoneNotBetween(String value1, String value2) { addCriterion("shipping_phone not between", value1, value2, "shippingPhone"); return (Criteria) this; } public Criteria andPostWayIsNull() { addCriterion("post_way is null"); return (Criteria) this; } public Criteria andPostWayIsNotNull() { addCriterion("post_way is not null"); return (Criteria) this; } public Criteria andPostWayEqualTo(String value) { addCriterion("post_way =", value, "postWay"); return (Criteria) this; } public Criteria andPostWayNotEqualTo(String value) { addCriterion("post_way <>", value, "postWay"); return (Criteria) this; } public Criteria andPostWayGreaterThan(String value) { addCriterion("post_way >", value, "postWay"); return (Criteria) this; } public Criteria andPostWayGreaterThanOrEqualTo(String value) { addCriterion("post_way >=", value, "postWay"); return (Criteria) this; } public Criteria andPostWayLessThan(String value) { addCriterion("post_way <", value, "postWay"); return (Criteria) this; } public Criteria andPostWayLessThanOrEqualTo(String value) { addCriterion("post_way <=", value, "postWay"); return (Criteria) this; } public Criteria andPostWayLike(String value) { addCriterion("post_way like", value, "postWay"); return (Criteria) this; } public Criteria andPostWayNotLike(String value) { addCriterion("post_way not like", value, "postWay"); return (Criteria) this; } public Criteria andPostWayIn(List<String> values) { addCriterion("post_way in", values, "postWay"); return (Criteria) this; } public Criteria andPostWayNotIn(List<String> values) { addCriterion("post_way not in", values, "postWay"); return (Criteria) this; } public Criteria andPostWayBetween(String value1, String value2) { addCriterion("post_way between", value1, value2, "postWay"); return (Criteria) this; } public Criteria andPostWayNotBetween(String value1, String value2) { addCriterion("post_way not between", value1, value2, "postWay"); return (Criteria) this; } public Criteria andPostFeeIsNull() { addCriterion("post_fee is null"); return (Criteria) this; } public Criteria andPostFeeIsNotNull() { addCriterion("post_fee is not null"); return (Criteria) this; } public Criteria andPostFeeEqualTo(BigDecimal value) { addCriterion("post_fee =", value, "postFee"); return (Criteria) this; } public Criteria andPostFeeNotEqualTo(BigDecimal value) { addCriterion("post_fee <>", value, "postFee"); return (Criteria) this; } public Criteria andPostFeeGreaterThan(BigDecimal value) { addCriterion("post_fee >", value, "postFee"); return (Criteria) this; } public Criteria andPostFeeGreaterThanOrEqualTo(BigDecimal value) { addCriterion("post_fee >=", value, "postFee"); return (Criteria) this; } public Criteria andPostFeeLessThan(BigDecimal value) { addCriterion("post_fee <", value, "postFee"); return (Criteria) this; } public Criteria andPostFeeLessThanOrEqualTo(BigDecimal value) { addCriterion("post_fee <=", value, "postFee"); return (Criteria) this; } public Criteria andPostFeeIn(List<BigDecimal> values) { addCriterion("post_fee in", values, "postFee"); return (Criteria) this; } public Criteria andPostFeeNotIn(List<BigDecimal> values) { addCriterion("post_fee not in", values, "postFee"); return (Criteria) this; } public Criteria andPostFeeBetween(BigDecimal value1, BigDecimal value2) { addCriterion("post_fee between", value1, value2, "postFee"); return (Criteria) this; } public Criteria andPostFeeNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("post_fee not between", value1, value2, "postFee"); return (Criteria) this; } public Criteria andPriceIsNull() { addCriterion("price is null"); return (Criteria) this; } public Criteria andPriceIsNotNull() { addCriterion("price is not null"); return (Criteria) this; } public Criteria andPriceEqualTo(BigDecimal value) { addCriterion("price =", value, "price"); return (Criteria) this; } public Criteria andPriceNotEqualTo(BigDecimal value) { addCriterion("price <>", value, "price"); return (Criteria) this; } public Criteria andPriceGreaterThan(BigDecimal value) { addCriterion("price >", value, "price"); return (Criteria) this; } public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) { addCriterion("price >=", value, "price"); return (Criteria) this; } public Criteria andPriceLessThan(BigDecimal value) { addCriterion("price <", value, "price"); return (Criteria) this; } public Criteria andPriceLessThanOrEqualTo(BigDecimal value) { addCriterion("price <=", value, "price"); return (Criteria) this; } public Criteria andPriceIn(List<BigDecimal> values) { addCriterion("price in", values, "price"); return (Criteria) this; } public Criteria andPriceNotIn(List<BigDecimal> values) { addCriterion("price not in", values, "price"); return (Criteria) this; } public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) { addCriterion("price between", value1, value2, "price"); return (Criteria) this; } public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("price not between", value1, value2, "price"); return (Criteria) this; } public Criteria andCreateByIsNull() { addCriterion("create_by is null"); return (Criteria) this; } public Criteria andCreateByIsNotNull() { addCriterion("create_by is not null"); return (Criteria) this; } public Criteria andCreateByEqualTo(String value) { addCriterion("create_by =", value, "createBy"); return (Criteria) this; } public Criteria andCreateByNotEqualTo(String value) { addCriterion("create_by <>", value, "createBy"); return (Criteria) this; } public Criteria andCreateByGreaterThan(String value) { addCriterion("create_by >", value, "createBy"); return (Criteria) this; } public Criteria andCreateByGreaterThanOrEqualTo(String value) { addCriterion("create_by >=", value, "createBy"); return (Criteria) this; } public Criteria andCreateByLessThan(String value) { addCriterion("create_by <", value, "createBy"); return (Criteria) this; } public Criteria andCreateByLessThanOrEqualTo(String value) { addCriterion("create_by <=", value, "createBy"); return (Criteria) this; } public Criteria andCreateByLike(String value) { addCriterion("create_by like", value, "createBy"); return (Criteria) this; } public Criteria andCreateByNotLike(String value) { addCriterion("create_by not like", value, "createBy"); return (Criteria) this; } public Criteria andCreateByIn(List<String> values) { addCriterion("create_by in", values, "createBy"); return (Criteria) this; } public Criteria andCreateByNotIn(List<String> values) { addCriterion("create_by not in", values, "createBy"); return (Criteria) this; } public Criteria andCreateByBetween(String value1, String value2) { addCriterion("create_by between", value1, value2, "createBy"); return (Criteria) this; } public Criteria andCreateByNotBetween(String value1, String value2) { addCriterion("create_by not between", value1, value2, "createBy"); return (Criteria) this; } public Criteria andCreateDateIsNull() { addCriterion("create_date is null"); return (Criteria) this; } public Criteria andCreateDateIsNotNull() { addCriterion("create_date is not null"); return (Criteria) this; } public Criteria andCreateDateEqualTo(Date value) { addCriterion("create_date =", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotEqualTo(Date value) { addCriterion("create_date <>", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThan(Date value) { addCriterion("create_date >", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThanOrEqualTo(Date value) { addCriterion("create_date >=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThan(Date value) { addCriterion("create_date <", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThanOrEqualTo(Date value) { addCriterion("create_date <=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateIn(List<Date> values) { addCriterion("create_date in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotIn(List<Date> values) { addCriterion("create_date not in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateBetween(Date value1, Date value2) { addCriterion("create_date between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotBetween(Date value1, Date value2) { addCriterion("create_date not between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andUpdateByIsNull() { addCriterion("update_by is null"); return (Criteria) this; } public Criteria andUpdateByIsNotNull() { addCriterion("update_by is not null"); return (Criteria) this; } public Criteria andUpdateByEqualTo(String value) { addCriterion("update_by =", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotEqualTo(String value) { addCriterion("update_by <>", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThan(String value) { addCriterion("update_by >", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThanOrEqualTo(String value) { addCriterion("update_by >=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThan(String value) { addCriterion("update_by <", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThanOrEqualTo(String value) { addCriterion("update_by <=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLike(String value) { addCriterion("update_by like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotLike(String value) { addCriterion("update_by not like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByIn(List<String> values) { addCriterion("update_by in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotIn(List<String> values) { addCriterion("update_by not in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByBetween(String value1, String value2) { addCriterion("update_by between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotBetween(String value1, String value2) { addCriterion("update_by not between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateDateIsNull() { addCriterion("update_date is null"); return (Criteria) this; } public Criteria andUpdateDateIsNotNull() { addCriterion("update_date is not null"); return (Criteria) this; } public Criteria andUpdateDateEqualTo(Date value) { addCriterion("update_date =", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotEqualTo(Date value) { addCriterion("update_date <>", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThan(Date value) { addCriterion("update_date >", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) { addCriterion("update_date >=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThan(Date value) { addCriterion("update_date <", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThanOrEqualTo(Date value) { addCriterion("update_date <=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateIn(List<Date> values) { addCriterion("update_date in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotIn(List<Date> values) { addCriterion("update_date not in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateBetween(Date value1, Date value2) { addCriterion("update_date between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotBetween(Date value1, Date value2) { addCriterion("update_date not between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andRemarkIsNull() { addCriterion("remark is null"); return (Criteria) this; } public Criteria andRemarkIsNotNull() { addCriterion("remark is not null"); return (Criteria) this; } public Criteria andRemarkEqualTo(String value) { addCriterion("remark =", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotEqualTo(String value) { addCriterion("remark <>", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThan(String value) { addCriterion("remark >", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("remark >=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThan(String value) { addCriterion("remark <", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("remark <=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLike(String value) { addCriterion("remark like", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotLike(String value) { addCriterion("remark not like", value, "remark"); return (Criteria) this; } public Criteria andRemarkIn(List<String> values) { addCriterion("remark in", values, "remark"); return (Criteria) this; } public Criteria andRemarkNotIn(List<String> values) { addCriterion("remark not in", values, "remark"); return (Criteria) this; } public Criteria andRemarkBetween(String value1, String value2) { addCriterion("remark between", value1, value2, "remark"); return (Criteria) this; } public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("remark not between", value1, value2, "remark"); return (Criteria) this; } public Criteria andVersionIsNull() { addCriterion("version is null"); return (Criteria) this; } public Criteria andVersionIsNotNull() { addCriterion("version is not null"); return (Criteria) this; } public Criteria andVersionEqualTo(Integer value) { addCriterion("version =", value, "version"); return (Criteria) this; } public Criteria andVersionNotEqualTo(Integer value) { addCriterion("version <>", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThan(Integer value) { addCriterion("version >", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThanOrEqualTo(Integer value) { addCriterion("version >=", value, "version"); return (Criteria) this; } public Criteria andVersionLessThan(Integer value) { addCriterion("version <", value, "version"); return (Criteria) this; } public Criteria andVersionLessThanOrEqualTo(Integer value) { addCriterion("version <=", value, "version"); return (Criteria) this; } public Criteria andVersionIn(List<Integer> values) { addCriterion("version in", values, "version"); return (Criteria) this; } public Criteria andVersionNotIn(List<Integer> values) { addCriterion("version not in", values, "version"); return (Criteria) this; } public Criteria andVersionBetween(Integer value1, Integer value2) { addCriterion("version between", value1, value2, "version"); return (Criteria) this; } public Criteria andVersionNotBetween(Integer value1, Integer value2) { addCriterion("version not between", value1, value2, "version"); return (Criteria) this; } public Criteria andStateIsNull() { addCriterion("state is null"); return (Criteria) this; } public Criteria andStateIsNotNull() { addCriterion("state is not null"); return (Criteria) this; } public Criteria andStateEqualTo(Integer value) { addCriterion("state =", value, "state"); return (Criteria) this; } public Criteria andStateNotEqualTo(Integer value) { addCriterion("state <>", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThan(Integer value) { addCriterion("state >", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThanOrEqualTo(Integer value) { addCriterion("state >=", value, "state"); return (Criteria) this; } public Criteria andStateLessThan(Integer value) { addCriterion("state <", value, "state"); return (Criteria) this; } public Criteria andStateLessThanOrEqualTo(Integer value) { addCriterion("state <=", value, "state"); return (Criteria) this; } public Criteria andStateIn(List<Integer> values) { addCriterion("state in", values, "state"); return (Criteria) this; } public Criteria andStateNotIn(List<Integer> values) { addCriterion("state not in", values, "state"); return (Criteria) this; } public Criteria andStateBetween(Integer value1, Integer value2) { addCriterion("state between", value1, value2, "state"); return (Criteria) this; } public Criteria andStateNotBetween(Integer value1, Integer value2) { addCriterion("state not between", value1, value2, "state"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_ord_inf * * @MBG Generated do_not_delete_during_merge Wed Aug 16 17:49:42 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_ord_inf * * @MBG Generated Wed Aug 16 17:49:42 CST 2017 */ 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); } } }
package com.simplemall.micro.serv.common.bean.order; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; public class OrderProductCriteria { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_ord_produt * * @MBG Generated Wed Aug 16 06:01:18 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_ord_produt * * @MBG Generated Wed Aug 16 06:01:18 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_ord_produt * * @MBG Generated Wed Aug 16 06:01:18 CST 2017 */ protected List<Criteria> oredCriteria; /** * */ public OrderProductCriteria() { oredCriteria = new ArrayList<Criteria>(); } /** * * @param orderByClause */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * */ public String getOrderByClause() { return orderByClause; } /** * * @param distinct */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * */ public boolean isDistinct() { return distinct; } /** * */ public List<Criteria> getOredCriteria() { return oredCriteria; } /** * * @param criteria */ 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; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_ord_produt * * @MBG Generated Wed Aug 16 06:01:18 CST 2017 */ 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 andTidIsNull() { addCriterion("tid is null"); return (Criteria) this; } public Criteria andTidIsNotNull() { addCriterion("tid is not null"); return (Criteria) this; } public Criteria andTidEqualTo(String value) { addCriterion("tid =", value, "tid"); return (Criteria) this; } public Criteria andTidNotEqualTo(String value) { addCriterion("tid <>", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThan(String value) { addCriterion("tid >", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThanOrEqualTo(String value) { addCriterion("tid >=", value, "tid"); return (Criteria) this; } public Criteria andTidLessThan(String value) { addCriterion("tid <", value, "tid"); return (Criteria) this; } public Criteria andTidLessThanOrEqualTo(String value) { addCriterion("tid <=", value, "tid"); return (Criteria) this; } public Criteria andTidLike(String value) { addCriterion("tid like", value, "tid"); return (Criteria) this; } public Criteria andTidNotLike(String value) { addCriterion("tid not like", value, "tid"); return (Criteria) this; } public Criteria andTidIn(List<String> values) { addCriterion("tid in", values, "tid"); return (Criteria) this; } public Criteria andTidNotIn(List<String> values) { addCriterion("tid not in", values, "tid"); return (Criteria) this; } public Criteria andTidBetween(String value1, String value2) { addCriterion("tid between", value1, value2, "tid"); return (Criteria) this; } public Criteria andTidNotBetween(String value1, String value2) { addCriterion("tid not between", value1, value2, "tid"); return (Criteria) this; } public Criteria andSerialNoIsNull() { addCriterion("serial_no is null"); return (Criteria) this; } public Criteria andSerialNoIsNotNull() { addCriterion("serial_no is not null"); return (Criteria) this; } public Criteria andSerialNoEqualTo(String value) { addCriterion("serial_no =", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotEqualTo(String value) { addCriterion("serial_no <>", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoGreaterThan(String value) { addCriterion("serial_no >", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoGreaterThanOrEqualTo(String value) { addCriterion("serial_no >=", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoLessThan(String value) { addCriterion("serial_no <", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoLessThanOrEqualTo(String value) { addCriterion("serial_no <=", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoLike(String value) { addCriterion("serial_no like", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotLike(String value) { addCriterion("serial_no not like", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoIn(List<String> values) { addCriterion("serial_no in", values, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotIn(List<String> values) { addCriterion("serial_no not in", values, "serialNo"); return (Criteria) this; } public Criteria andSerialNoBetween(String value1, String value2) { addCriterion("serial_no between", value1, value2, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotBetween(String value1, String value2) { addCriterion("serial_no not between", value1, value2, "serialNo"); return (Criteria) this; } public Criteria andPrdNameIsNull() { addCriterion("prd_name is null"); return (Criteria) this; } public Criteria andPrdNameIsNotNull() { addCriterion("prd_name is not null"); return (Criteria) this; } public Criteria andPrdNameEqualTo(String value) { addCriterion("prd_name =", value, "prdName"); return (Criteria) this; } public Criteria andPrdNameNotEqualTo(String value) { addCriterion("prd_name <>", value, "prdName"); return (Criteria) this; } public Criteria andPrdNameGreaterThan(String value) { addCriterion("prd_name >", value, "prdName"); return (Criteria) this; } public Criteria andPrdNameGreaterThanOrEqualTo(String value) { addCriterion("prd_name >=", value, "prdName"); return (Criteria) this; } public Criteria andPrdNameLessThan(String value) { addCriterion("prd_name <", value, "prdName"); return (Criteria) this; } public Criteria andPrdNameLessThanOrEqualTo(String value) { addCriterion("prd_name <=", value, "prdName"); return (Criteria) this; } public Criteria andPrdNameLike(String value) { addCriterion("prd_name like", value, "prdName"); return (Criteria) this; } public Criteria andPrdNameNotLike(String value) { addCriterion("prd_name not like", value, "prdName"); return (Criteria) this; } public Criteria andPrdNameIn(List<String> values) { addCriterion("prd_name in", values, "prdName"); return (Criteria) this; } public Criteria andPrdNameNotIn(List<String> values) { addCriterion("prd_name not in", values, "prdName"); return (Criteria) this; } public Criteria andPrdNameBetween(String value1, String value2) { addCriterion("prd_name between", value1, value2, "prdName"); return (Criteria) this; } public Criteria andPrdNameNotBetween(String value1, String value2) { addCriterion("prd_name not between", value1, value2, "prdName"); return (Criteria) this; } public Criteria andPrdPriceIsNull() { addCriterion("prd_price is null"); return (Criteria) this; } public Criteria andPrdPriceIsNotNull() { addCriterion("prd_price is not null"); return (Criteria) this; } public Criteria andPrdPriceEqualTo(BigDecimal value) { addCriterion("prd_price =", value, "prdPrice"); return (Criteria) this; } public Criteria andPrdPriceNotEqualTo(BigDecimal value) { addCriterion("prd_price <>", value, "prdPrice"); return (Criteria) this; } public Criteria andPrdPriceGreaterThan(BigDecimal value) { addCriterion("prd_price >", value, "prdPrice"); return (Criteria) this; } public Criteria andPrdPriceGreaterThanOrEqualTo(BigDecimal value) { addCriterion("prd_price >=", value, "prdPrice"); return (Criteria) this; } public Criteria andPrdPriceLessThan(BigDecimal value) { addCriterion("prd_price <", value, "prdPrice"); return (Criteria) this; } public Criteria andPrdPriceLessThanOrEqualTo(BigDecimal value) { addCriterion("prd_price <=", value, "prdPrice"); return (Criteria) this; } public Criteria andPrdPriceIn(List<BigDecimal> values) { addCriterion("prd_price in", values, "prdPrice"); return (Criteria) this; } public Criteria andPrdPriceNotIn(List<BigDecimal> values) { addCriterion("prd_price not in", values, "prdPrice"); return (Criteria) this; } public Criteria andPrdPriceBetween(BigDecimal value1, BigDecimal value2) { addCriterion("prd_price between", value1, value2, "prdPrice"); return (Criteria) this; } public Criteria andPrdPriceNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("prd_price not between", value1, value2, "prdPrice"); return (Criteria) this; } public Criteria andPrdQtyIsNull() { addCriterion("prd_qty is null"); return (Criteria) this; } public Criteria andPrdQtyIsNotNull() { addCriterion("prd_qty is not null"); return (Criteria) this; } public Criteria andPrdQtyEqualTo(Integer value) { addCriterion("prd_qty =", value, "prdQty"); return (Criteria) this; } public Criteria andPrdQtyNotEqualTo(Integer value) { addCriterion("prd_qty <>", value, "prdQty"); return (Criteria) this; } public Criteria andPrdQtyGreaterThan(Integer value) { addCriterion("prd_qty >", value, "prdQty"); return (Criteria) this; } public Criteria andPrdQtyGreaterThanOrEqualTo(Integer value) { addCriterion("prd_qty >=", value, "prdQty"); return (Criteria) this; } public Criteria andPrdQtyLessThan(Integer value) { addCriterion("prd_qty <", value, "prdQty"); return (Criteria) this; } public Criteria andPrdQtyLessThanOrEqualTo(Integer value) { addCriterion("prd_qty <=", value, "prdQty"); return (Criteria) this; } public Criteria andPrdQtyIn(List<Integer> values) { addCriterion("prd_qty in", values, "prdQty"); return (Criteria) this; } public Criteria andPrdQtyNotIn(List<Integer> values) { addCriterion("prd_qty not in", values, "prdQty"); return (Criteria) this; } public Criteria andPrdQtyBetween(Integer value1, Integer value2) { addCriterion("prd_qty between", value1, value2, "prdQty"); return (Criteria) this; } public Criteria andPrdQtyNotBetween(Integer value1, Integer value2) { addCriterion("prd_qty not between", value1, value2, "prdQty"); return (Criteria) this; } public Criteria andCreateDateIsNull() { addCriterion("create_date is null"); return (Criteria) this; } public Criteria andCreateDateIsNotNull() { addCriterion("create_date is not null"); return (Criteria) this; } public Criteria andCreateDateEqualTo(Date value) { addCriterion("create_date =", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotEqualTo(Date value) { addCriterion("create_date <>", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThan(Date value) { addCriterion("create_date >", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThanOrEqualTo(Date value) { addCriterion("create_date >=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThan(Date value) { addCriterion("create_date <", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThanOrEqualTo(Date value) { addCriterion("create_date <=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateIn(List<Date> values) { addCriterion("create_date in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotIn(List<Date> values) { addCriterion("create_date not in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateBetween(Date value1, Date value2) { addCriterion("create_date between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotBetween(Date value1, Date value2) { addCriterion("create_date not between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andUpdateByIsNull() { addCriterion("update_by is null"); return (Criteria) this; } public Criteria andUpdateByIsNotNull() { addCriterion("update_by is not null"); return (Criteria) this; } public Criteria andUpdateByEqualTo(String value) { addCriterion("update_by =", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotEqualTo(String value) { addCriterion("update_by <>", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThan(String value) { addCriterion("update_by >", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThanOrEqualTo(String value) { addCriterion("update_by >=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThan(String value) { addCriterion("update_by <", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThanOrEqualTo(String value) { addCriterion("update_by <=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLike(String value) { addCriterion("update_by like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotLike(String value) { addCriterion("update_by not like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByIn(List<String> values) { addCriterion("update_by in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotIn(List<String> values) { addCriterion("update_by not in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByBetween(String value1, String value2) { addCriterion("update_by between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotBetween(String value1, String value2) { addCriterion("update_by not between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateDateIsNull() { addCriterion("update_date is null"); return (Criteria) this; } public Criteria andUpdateDateIsNotNull() { addCriterion("update_date is not null"); return (Criteria) this; } public Criteria andUpdateDateEqualTo(Date value) { addCriterion("update_date =", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotEqualTo(Date value) { addCriterion("update_date <>", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThan(Date value) { addCriterion("update_date >", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) { addCriterion("update_date >=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThan(Date value) { addCriterion("update_date <", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThanOrEqualTo(Date value) { addCriterion("update_date <=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateIn(List<Date> values) { addCriterion("update_date in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotIn(List<Date> values) { addCriterion("update_date not in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateBetween(Date value1, Date value2) { addCriterion("update_date between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotBetween(Date value1, Date value2) { addCriterion("update_date not between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andRemarkIsNull() { addCriterion("remark is null"); return (Criteria) this; } public Criteria andRemarkIsNotNull() { addCriterion("remark is not null"); return (Criteria) this; } public Criteria andRemarkEqualTo(String value) { addCriterion("remark =", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotEqualTo(String value) { addCriterion("remark <>", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThan(String value) { addCriterion("remark >", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("remark >=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThan(String value) { addCriterion("remark <", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("remark <=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLike(String value) { addCriterion("remark like", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotLike(String value) { addCriterion("remark not like", value, "remark"); return (Criteria) this; } public Criteria andRemarkIn(List<String> values) { addCriterion("remark in", values, "remark"); return (Criteria) this; } public Criteria andRemarkNotIn(List<String> values) { addCriterion("remark not in", values, "remark"); return (Criteria) this; } public Criteria andRemarkBetween(String value1, String value2) { addCriterion("remark between", value1, value2, "remark"); return (Criteria) this; } public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("remark not between", value1, value2, "remark"); return (Criteria) this; } public Criteria andVersionIsNull() { addCriterion("version is null"); return (Criteria) this; } public Criteria andVersionIsNotNull() { addCriterion("version is not null"); return (Criteria) this; } public Criteria andVersionEqualTo(Integer value) { addCriterion("version =", value, "version"); return (Criteria) this; } public Criteria andVersionNotEqualTo(Integer value) { addCriterion("version <>", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThan(Integer value) { addCriterion("version >", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThanOrEqualTo(Integer value) { addCriterion("version >=", value, "version"); return (Criteria) this; } public Criteria andVersionLessThan(Integer value) { addCriterion("version <", value, "version"); return (Criteria) this; } public Criteria andVersionLessThanOrEqualTo(Integer value) { addCriterion("version <=", value, "version"); return (Criteria) this; } public Criteria andVersionIn(List<Integer> values) { addCriterion("version in", values, "version"); return (Criteria) this; } public Criteria andVersionNotIn(List<Integer> values) { addCriterion("version not in", values, "version"); return (Criteria) this; } public Criteria andVersionBetween(Integer value1, Integer value2) { addCriterion("version between", value1, value2, "version"); return (Criteria) this; } public Criteria andVersionNotBetween(Integer value1, Integer value2) { addCriterion("version not between", value1, value2, "version"); return (Criteria) this; } public Criteria andStateIsNull() { addCriterion("state is null"); return (Criteria) this; } public Criteria andStateIsNotNull() { addCriterion("state is not null"); return (Criteria) this; } public Criteria andStateEqualTo(Integer value) { addCriterion("state =", value, "state"); return (Criteria) this; } public Criteria andStateNotEqualTo(Integer value) { addCriterion("state <>", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThan(Integer value) { addCriterion("state >", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThanOrEqualTo(Integer value) { addCriterion("state >=", value, "state"); return (Criteria) this; } public Criteria andStateLessThan(Integer value) { addCriterion("state <", value, "state"); return (Criteria) this; } public Criteria andStateLessThanOrEqualTo(Integer value) { addCriterion("state <=", value, "state"); return (Criteria) this; } public Criteria andStateIn(List<Integer> values) { addCriterion("state in", values, "state"); return (Criteria) this; } public Criteria andStateNotIn(List<Integer> values) { addCriterion("state not in", values, "state"); return (Criteria) this; } public Criteria andStateBetween(Integer value1, Integer value2) { addCriterion("state between", value1, value2, "state"); return (Criteria) this; } public Criteria andStateNotBetween(Integer value1, Integer value2) { addCriterion("state not between", value1, value2, "state"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_ord_produt * * @MBG Generated do_not_delete_during_merge Wed Aug 16 06:01:18 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_ord_produt * * @MBG Generated Wed Aug 16 06:01:18 CST 2017 */ 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); } } }
package com.simplemall.micro.serv.common.bean.order; import java.util.ArrayList; import java.util.Date; import java.util.List; public class OrderStateCriteria { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_ord_state * * @MBG Generated Wed Aug 16 06:01:18 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_ord_state * * @MBG Generated Wed Aug 16 06:01:18 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_ord_state * * @MBG Generated Wed Aug 16 06:01:18 CST 2017 */ protected List<Criteria> oredCriteria; /** * */ public OrderStateCriteria() { oredCriteria = new ArrayList<Criteria>(); } /** * * @param orderByClause */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * */ public String getOrderByClause() { return orderByClause; } /** * * @param distinct */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * */ public boolean isDistinct() { return distinct; } /** * */ public List<Criteria> getOredCriteria() { return oredCriteria; } /** * * @param criteria */ 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; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_ord_state * * @MBG Generated Wed Aug 16 06:01:18 CST 2017 */ 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 andTidIsNull() { addCriterion("tid is null"); return (Criteria) this; } public Criteria andTidIsNotNull() { addCriterion("tid is not null"); return (Criteria) this; } public Criteria andTidEqualTo(String value) { addCriterion("tid =", value, "tid"); return (Criteria) this; } public Criteria andTidNotEqualTo(String value) { addCriterion("tid <>", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThan(String value) { addCriterion("tid >", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThanOrEqualTo(String value) { addCriterion("tid >=", value, "tid"); return (Criteria) this; } public Criteria andTidLessThan(String value) { addCriterion("tid <", value, "tid"); return (Criteria) this; } public Criteria andTidLessThanOrEqualTo(String value) { addCriterion("tid <=", value, "tid"); return (Criteria) this; } public Criteria andTidLike(String value) { addCriterion("tid like", value, "tid"); return (Criteria) this; } public Criteria andTidNotLike(String value) { addCriterion("tid not like", value, "tid"); return (Criteria) this; } public Criteria andTidIn(List<String> values) { addCriterion("tid in", values, "tid"); return (Criteria) this; } public Criteria andTidNotIn(List<String> values) { addCriterion("tid not in", values, "tid"); return (Criteria) this; } public Criteria andTidBetween(String value1, String value2) { addCriterion("tid between", value1, value2, "tid"); return (Criteria) this; } public Criteria andTidNotBetween(String value1, String value2) { addCriterion("tid not between", value1, value2, "tid"); return (Criteria) this; } public Criteria andSerialNoIsNull() { addCriterion("serial_no is null"); return (Criteria) this; } public Criteria andSerialNoIsNotNull() { addCriterion("serial_no is not null"); return (Criteria) this; } public Criteria andSerialNoEqualTo(String value) { addCriterion("serial_no =", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotEqualTo(String value) { addCriterion("serial_no <>", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoGreaterThan(String value) { addCriterion("serial_no >", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoGreaterThanOrEqualTo(String value) { addCriterion("serial_no >=", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoLessThan(String value) { addCriterion("serial_no <", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoLessThanOrEqualTo(String value) { addCriterion("serial_no <=", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoLike(String value) { addCriterion("serial_no like", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotLike(String value) { addCriterion("serial_no not like", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoIn(List<String> values) { addCriterion("serial_no in", values, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotIn(List<String> values) { addCriterion("serial_no not in", values, "serialNo"); return (Criteria) this; } public Criteria andSerialNoBetween(String value1, String value2) { addCriterion("serial_no between", value1, value2, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotBetween(String value1, String value2) { addCriterion("serial_no not between", value1, value2, "serialNo"); return (Criteria) this; } public Criteria andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(String value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(String value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(String value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(String value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(String value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(String value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusLike(String value) { addCriterion("status like", value, "status"); return (Criteria) this; } public Criteria andStatusNotLike(String value) { addCriterion("status not like", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List<String> values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List<String> values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(String value1, String value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(String value1, String value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } public Criteria andCreateDateIsNull() { addCriterion("create_date is null"); return (Criteria) this; } public Criteria andCreateDateIsNotNull() { addCriterion("create_date is not null"); return (Criteria) this; } public Criteria andCreateDateEqualTo(Date value) { addCriterion("create_date =", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotEqualTo(Date value) { addCriterion("create_date <>", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThan(Date value) { addCriterion("create_date >", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThanOrEqualTo(Date value) { addCriterion("create_date >=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThan(Date value) { addCriterion("create_date <", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThanOrEqualTo(Date value) { addCriterion("create_date <=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateIn(List<Date> values) { addCriterion("create_date in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotIn(List<Date> values) { addCriterion("create_date not in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateBetween(Date value1, Date value2) { addCriterion("create_date between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotBetween(Date value1, Date value2) { addCriterion("create_date not between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andUpdateByIsNull() { addCriterion("update_by is null"); return (Criteria) this; } public Criteria andUpdateByIsNotNull() { addCriterion("update_by is not null"); return (Criteria) this; } public Criteria andUpdateByEqualTo(String value) { addCriterion("update_by =", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotEqualTo(String value) { addCriterion("update_by <>", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThan(String value) { addCriterion("update_by >", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThanOrEqualTo(String value) { addCriterion("update_by >=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThan(String value) { addCriterion("update_by <", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThanOrEqualTo(String value) { addCriterion("update_by <=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLike(String value) { addCriterion("update_by like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotLike(String value) { addCriterion("update_by not like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByIn(List<String> values) { addCriterion("update_by in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotIn(List<String> values) { addCriterion("update_by not in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByBetween(String value1, String value2) { addCriterion("update_by between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotBetween(String value1, String value2) { addCriterion("update_by not between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateDateIsNull() { addCriterion("update_date is null"); return (Criteria) this; } public Criteria andUpdateDateIsNotNull() { addCriterion("update_date is not null"); return (Criteria) this; } public Criteria andUpdateDateEqualTo(Date value) { addCriterion("update_date =", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotEqualTo(Date value) { addCriterion("update_date <>", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThan(Date value) { addCriterion("update_date >", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) { addCriterion("update_date >=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThan(Date value) { addCriterion("update_date <", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThanOrEqualTo(Date value) { addCriterion("update_date <=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateIn(List<Date> values) { addCriterion("update_date in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotIn(List<Date> values) { addCriterion("update_date not in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateBetween(Date value1, Date value2) { addCriterion("update_date between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotBetween(Date value1, Date value2) { addCriterion("update_date not between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andRemarkIsNull() { addCriterion("remark is null"); return (Criteria) this; } public Criteria andRemarkIsNotNull() { addCriterion("remark is not null"); return (Criteria) this; } public Criteria andRemarkEqualTo(String value) { addCriterion("remark =", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotEqualTo(String value) { addCriterion("remark <>", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThan(String value) { addCriterion("remark >", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("remark >=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThan(String value) { addCriterion("remark <", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("remark <=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLike(String value) { addCriterion("remark like", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotLike(String value) { addCriterion("remark not like", value, "remark"); return (Criteria) this; } public Criteria andRemarkIn(List<String> values) { addCriterion("remark in", values, "remark"); return (Criteria) this; } public Criteria andRemarkNotIn(List<String> values) { addCriterion("remark not in", values, "remark"); return (Criteria) this; } public Criteria andRemarkBetween(String value1, String value2) { addCriterion("remark between", value1, value2, "remark"); return (Criteria) this; } public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("remark not between", value1, value2, "remark"); return (Criteria) this; } public Criteria andVersionIsNull() { addCriterion("version is null"); return (Criteria) this; } public Criteria andVersionIsNotNull() { addCriterion("version is not null"); return (Criteria) this; } public Criteria andVersionEqualTo(Integer value) { addCriterion("version =", value, "version"); return (Criteria) this; } public Criteria andVersionNotEqualTo(Integer value) { addCriterion("version <>", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThan(Integer value) { addCriterion("version >", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThanOrEqualTo(Integer value) { addCriterion("version >=", value, "version"); return (Criteria) this; } public Criteria andVersionLessThan(Integer value) { addCriterion("version <", value, "version"); return (Criteria) this; } public Criteria andVersionLessThanOrEqualTo(Integer value) { addCriterion("version <=", value, "version"); return (Criteria) this; } public Criteria andVersionIn(List<Integer> values) { addCriterion("version in", values, "version"); return (Criteria) this; } public Criteria andVersionNotIn(List<Integer> values) { addCriterion("version not in", values, "version"); return (Criteria) this; } public Criteria andVersionBetween(Integer value1, Integer value2) { addCriterion("version between", value1, value2, "version"); return (Criteria) this; } public Criteria andVersionNotBetween(Integer value1, Integer value2) { addCriterion("version not between", value1, value2, "version"); return (Criteria) this; } public Criteria andStateIsNull() { addCriterion("state is null"); return (Criteria) this; } public Criteria andStateIsNotNull() { addCriterion("state is not null"); return (Criteria) this; } public Criteria andStateEqualTo(Integer value) { addCriterion("state =", value, "state"); return (Criteria) this; } public Criteria andStateNotEqualTo(Integer value) { addCriterion("state <>", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThan(Integer value) { addCriterion("state >", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThanOrEqualTo(Integer value) { addCriterion("state >=", value, "state"); return (Criteria) this; } public Criteria andStateLessThan(Integer value) { addCriterion("state <", value, "state"); return (Criteria) this; } public Criteria andStateLessThanOrEqualTo(Integer value) { addCriterion("state <=", value, "state"); return (Criteria) this; } public Criteria andStateIn(List<Integer> values) { addCriterion("state in", values, "state"); return (Criteria) this; } public Criteria andStateNotIn(List<Integer> values) { addCriterion("state not in", values, "state"); return (Criteria) this; } public Criteria andStateBetween(Integer value1, Integer value2) { addCriterion("state between", value1, value2, "state"); return (Criteria) this; } public Criteria andStateNotBetween(Integer value1, Integer value2) { addCriterion("state not between", value1, value2, "state"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_ord_state * * @MBG Generated do_not_delete_during_merge Wed Aug 16 06:01:18 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_ord_state * * @MBG Generated Wed Aug 16 06:01:18 CST 2017 */ 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); } } }
package com.simplemall.micro.serv.common.bean.product; import java.util.ArrayList; import java.util.Date; import java.util.List; public class PrdExtendCriteria { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_prd_extend * * @MBG Generated Wed Aug 16 06:09:46 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_prd_extend * * @MBG Generated Wed Aug 16 06:09:46 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_prd_extend * * @MBG Generated Wed Aug 16 06:09:46 CST 2017 */ protected List<Criteria> oredCriteria; /** * */ public PrdExtendCriteria() { oredCriteria = new ArrayList<Criteria>(); } /** * * @param orderByClause */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * */ public String getOrderByClause() { return orderByClause; } /** * * @param distinct */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * */ public boolean isDistinct() { return distinct; } /** * */ public List<Criteria> getOredCriteria() { return oredCriteria; } /** * * @param criteria */ 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; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_prd_extend * * @MBG Generated Wed Aug 16 06:09:46 CST 2017 */ 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 andTidIsNull() { addCriterion("tid is null"); return (Criteria) this; } public Criteria andTidIsNotNull() { addCriterion("tid is not null"); return (Criteria) this; } public Criteria andTidEqualTo(String value) { addCriterion("tid =", value, "tid"); return (Criteria) this; } public Criteria andTidNotEqualTo(String value) { addCriterion("tid <>", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThan(String value) { addCriterion("tid >", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThanOrEqualTo(String value) { addCriterion("tid >=", value, "tid"); return (Criteria) this; } public Criteria andTidLessThan(String value) { addCriterion("tid <", value, "tid"); return (Criteria) this; } public Criteria andTidLessThanOrEqualTo(String value) { addCriterion("tid <=", value, "tid"); return (Criteria) this; } public Criteria andTidLike(String value) { addCriterion("tid like", value, "tid"); return (Criteria) this; } public Criteria andTidNotLike(String value) { addCriterion("tid not like", value, "tid"); return (Criteria) this; } public Criteria andTidIn(List<String> values) { addCriterion("tid in", values, "tid"); return (Criteria) this; } public Criteria andTidNotIn(List<String> values) { addCriterion("tid not in", values, "tid"); return (Criteria) this; } public Criteria andTidBetween(String value1, String value2) { addCriterion("tid between", value1, value2, "tid"); return (Criteria) this; } public Criteria andTidNotBetween(String value1, String value2) { addCriterion("tid not between", value1, value2, "tid"); return (Criteria) this; } public Criteria andSupplierNameIsNull() { addCriterion("supplier_name is null"); return (Criteria) this; } public Criteria andSupplierNameIsNotNull() { addCriterion("supplier_name is not null"); return (Criteria) this; } public Criteria andSupplierNameEqualTo(String value) { addCriterion("supplier_name =", value, "supplierName"); return (Criteria) this; } public Criteria andSupplierNameNotEqualTo(String value) { addCriterion("supplier_name <>", value, "supplierName"); return (Criteria) this; } public Criteria andSupplierNameGreaterThan(String value) { addCriterion("supplier_name >", value, "supplierName"); return (Criteria) this; } public Criteria andSupplierNameGreaterThanOrEqualTo(String value) { addCriterion("supplier_name >=", value, "supplierName"); return (Criteria) this; } public Criteria andSupplierNameLessThan(String value) { addCriterion("supplier_name <", value, "supplierName"); return (Criteria) this; } public Criteria andSupplierNameLessThanOrEqualTo(String value) { addCriterion("supplier_name <=", value, "supplierName"); return (Criteria) this; } public Criteria andSupplierNameLike(String value) { addCriterion("supplier_name like", value, "supplierName"); return (Criteria) this; } public Criteria andSupplierNameNotLike(String value) { addCriterion("supplier_name not like", value, "supplierName"); return (Criteria) this; } public Criteria andSupplierNameIn(List<String> values) { addCriterion("supplier_name in", values, "supplierName"); return (Criteria) this; } public Criteria andSupplierNameNotIn(List<String> values) { addCriterion("supplier_name not in", values, "supplierName"); return (Criteria) this; } public Criteria andSupplierNameBetween(String value1, String value2) { addCriterion("supplier_name between", value1, value2, "supplierName"); return (Criteria) this; } public Criteria andSupplierNameNotBetween(String value1, String value2) { addCriterion("supplier_name not between", value1, value2, "supplierName"); return (Criteria) this; } public Criteria andLongDescIsNull() { addCriterion("long_desc is null"); return (Criteria) this; } public Criteria andLongDescIsNotNull() { addCriterion("long_desc is not null"); return (Criteria) this; } public Criteria andLongDescEqualTo(String value) { addCriterion("long_desc =", value, "longDesc"); return (Criteria) this; } public Criteria andLongDescNotEqualTo(String value) { addCriterion("long_desc <>", value, "longDesc"); return (Criteria) this; } public Criteria andLongDescGreaterThan(String value) { addCriterion("long_desc >", value, "longDesc"); return (Criteria) this; } public Criteria andLongDescGreaterThanOrEqualTo(String value) { addCriterion("long_desc >=", value, "longDesc"); return (Criteria) this; } public Criteria andLongDescLessThan(String value) { addCriterion("long_desc <", value, "longDesc"); return (Criteria) this; } public Criteria andLongDescLessThanOrEqualTo(String value) { addCriterion("long_desc <=", value, "longDesc"); return (Criteria) this; } public Criteria andLongDescLike(String value) { addCriterion("long_desc like", value, "longDesc"); return (Criteria) this; } public Criteria andLongDescNotLike(String value) { addCriterion("long_desc not like", value, "longDesc"); return (Criteria) this; } public Criteria andLongDescIn(List<String> values) { addCriterion("long_desc in", values, "longDesc"); return (Criteria) this; } public Criteria andLongDescNotIn(List<String> values) { addCriterion("long_desc not in", values, "longDesc"); return (Criteria) this; } public Criteria andLongDescBetween(String value1, String value2) { addCriterion("long_desc between", value1, value2, "longDesc"); return (Criteria) this; } public Criteria andLongDescNotBetween(String value1, String value2) { addCriterion("long_desc not between", value1, value2, "longDesc"); return (Criteria) this; } public Criteria andWeightIsNull() { addCriterion("weight is null"); return (Criteria) this; } public Criteria andWeightIsNotNull() { addCriterion("weight is not null"); return (Criteria) this; } public Criteria andWeightEqualTo(String value) { addCriterion("weight =", value, "weight"); return (Criteria) this; } public Criteria andWeightNotEqualTo(String value) { addCriterion("weight <>", value, "weight"); return (Criteria) this; } public Criteria andWeightGreaterThan(String value) { addCriterion("weight >", value, "weight"); return (Criteria) this; } public Criteria andWeightGreaterThanOrEqualTo(String value) { addCriterion("weight >=", value, "weight"); return (Criteria) this; } public Criteria andWeightLessThan(String value) { addCriterion("weight <", value, "weight"); return (Criteria) this; } public Criteria andWeightLessThanOrEqualTo(String value) { addCriterion("weight <=", value, "weight"); return (Criteria) this; } public Criteria andWeightLike(String value) { addCriterion("weight like", value, "weight"); return (Criteria) this; } public Criteria andWeightNotLike(String value) { addCriterion("weight not like", value, "weight"); return (Criteria) this; } public Criteria andWeightIn(List<String> values) { addCriterion("weight in", values, "weight"); return (Criteria) this; } public Criteria andWeightNotIn(List<String> values) { addCriterion("weight not in", values, "weight"); return (Criteria) this; } public Criteria andWeightBetween(String value1, String value2) { addCriterion("weight between", value1, value2, "weight"); return (Criteria) this; } public Criteria andWeightNotBetween(String value1, String value2) { addCriterion("weight not between", value1, value2, "weight"); return (Criteria) this; } public Criteria andOriginIsNull() { addCriterion("origin is null"); return (Criteria) this; } public Criteria andOriginIsNotNull() { addCriterion("origin is not null"); return (Criteria) this; } public Criteria andOriginEqualTo(String value) { addCriterion("origin =", value, "origin"); return (Criteria) this; } public Criteria andOriginNotEqualTo(String value) { addCriterion("origin <>", value, "origin"); return (Criteria) this; } public Criteria andOriginGreaterThan(String value) { addCriterion("origin >", value, "origin"); return (Criteria) this; } public Criteria andOriginGreaterThanOrEqualTo(String value) { addCriterion("origin >=", value, "origin"); return (Criteria) this; } public Criteria andOriginLessThan(String value) { addCriterion("origin <", value, "origin"); return (Criteria) this; } public Criteria andOriginLessThanOrEqualTo(String value) { addCriterion("origin <=", value, "origin"); return (Criteria) this; } public Criteria andOriginLike(String value) { addCriterion("origin like", value, "origin"); return (Criteria) this; } public Criteria andOriginNotLike(String value) { addCriterion("origin not like", value, "origin"); return (Criteria) this; } public Criteria andOriginIn(List<String> values) { addCriterion("origin in", values, "origin"); return (Criteria) this; } public Criteria andOriginNotIn(List<String> values) { addCriterion("origin not in", values, "origin"); return (Criteria) this; } public Criteria andOriginBetween(String value1, String value2) { addCriterion("origin between", value1, value2, "origin"); return (Criteria) this; } public Criteria andOriginNotBetween(String value1, String value2) { addCriterion("origin not between", value1, value2, "origin"); return (Criteria) this; } public Criteria andSaledQtyIsNull() { addCriterion("saled_qty is null"); return (Criteria) this; } public Criteria andSaledQtyIsNotNull() { addCriterion("saled_qty is not null"); return (Criteria) this; } public Criteria andSaledQtyEqualTo(Integer value) { addCriterion("saled_qty =", value, "saledQty"); return (Criteria) this; } public Criteria andSaledQtyNotEqualTo(Integer value) { addCriterion("saled_qty <>", value, "saledQty"); return (Criteria) this; } public Criteria andSaledQtyGreaterThan(Integer value) { addCriterion("saled_qty >", value, "saledQty"); return (Criteria) this; } public Criteria andSaledQtyGreaterThanOrEqualTo(Integer value) { addCriterion("saled_qty >=", value, "saledQty"); return (Criteria) this; } public Criteria andSaledQtyLessThan(Integer value) { addCriterion("saled_qty <", value, "saledQty"); return (Criteria) this; } public Criteria andSaledQtyLessThanOrEqualTo(Integer value) { addCriterion("saled_qty <=", value, "saledQty"); return (Criteria) this; } public Criteria andSaledQtyIn(List<Integer> values) { addCriterion("saled_qty in", values, "saledQty"); return (Criteria) this; } public Criteria andSaledQtyNotIn(List<Integer> values) { addCriterion("saled_qty not in", values, "saledQty"); return (Criteria) this; } public Criteria andSaledQtyBetween(Integer value1, Integer value2) { addCriterion("saled_qty between", value1, value2, "saledQty"); return (Criteria) this; } public Criteria andSaledQtyNotBetween(Integer value1, Integer value2) { addCriterion("saled_qty not between", value1, value2, "saledQty"); return (Criteria) this; } public Criteria andCreateByIsNull() { addCriterion("create_by is null"); return (Criteria) this; } public Criteria andCreateByIsNotNull() { addCriterion("create_by is not null"); return (Criteria) this; } public Criteria andCreateByEqualTo(String value) { addCriterion("create_by =", value, "createBy"); return (Criteria) this; } public Criteria andCreateByNotEqualTo(String value) { addCriterion("create_by <>", value, "createBy"); return (Criteria) this; } public Criteria andCreateByGreaterThan(String value) { addCriterion("create_by >", value, "createBy"); return (Criteria) this; } public Criteria andCreateByGreaterThanOrEqualTo(String value) { addCriterion("create_by >=", value, "createBy"); return (Criteria) this; } public Criteria andCreateByLessThan(String value) { addCriterion("create_by <", value, "createBy"); return (Criteria) this; } public Criteria andCreateByLessThanOrEqualTo(String value) { addCriterion("create_by <=", value, "createBy"); return (Criteria) this; } public Criteria andCreateByLike(String value) { addCriterion("create_by like", value, "createBy"); return (Criteria) this; } public Criteria andCreateByNotLike(String value) { addCriterion("create_by not like", value, "createBy"); return (Criteria) this; } public Criteria andCreateByIn(List<String> values) { addCriterion("create_by in", values, "createBy"); return (Criteria) this; } public Criteria andCreateByNotIn(List<String> values) { addCriterion("create_by not in", values, "createBy"); return (Criteria) this; } public Criteria andCreateByBetween(String value1, String value2) { addCriterion("create_by between", value1, value2, "createBy"); return (Criteria) this; } public Criteria andCreateByNotBetween(String value1, String value2) { addCriterion("create_by not between", value1, value2, "createBy"); return (Criteria) this; } public Criteria andCreateDateIsNull() { addCriterion("create_date is null"); return (Criteria) this; } public Criteria andCreateDateIsNotNull() { addCriterion("create_date is not null"); return (Criteria) this; } public Criteria andCreateDateEqualTo(Date value) { addCriterion("create_date =", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotEqualTo(Date value) { addCriterion("create_date <>", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThan(Date value) { addCriterion("create_date >", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThanOrEqualTo(Date value) { addCriterion("create_date >=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThan(Date value) { addCriterion("create_date <", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThanOrEqualTo(Date value) { addCriterion("create_date <=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateIn(List<Date> values) { addCriterion("create_date in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotIn(List<Date> values) { addCriterion("create_date not in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateBetween(Date value1, Date value2) { addCriterion("create_date between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotBetween(Date value1, Date value2) { addCriterion("create_date not between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andUpdateByIsNull() { addCriterion("update_by is null"); return (Criteria) this; } public Criteria andUpdateByIsNotNull() { addCriterion("update_by is not null"); return (Criteria) this; } public Criteria andUpdateByEqualTo(String value) { addCriterion("update_by =", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotEqualTo(String value) { addCriterion("update_by <>", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThan(String value) { addCriterion("update_by >", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThanOrEqualTo(String value) { addCriterion("update_by >=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThan(String value) { addCriterion("update_by <", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThanOrEqualTo(String value) { addCriterion("update_by <=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLike(String value) { addCriterion("update_by like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotLike(String value) { addCriterion("update_by not like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByIn(List<String> values) { addCriterion("update_by in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotIn(List<String> values) { addCriterion("update_by not in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByBetween(String value1, String value2) { addCriterion("update_by between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotBetween(String value1, String value2) { addCriterion("update_by not between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateDateIsNull() { addCriterion("update_date is null"); return (Criteria) this; } public Criteria andUpdateDateIsNotNull() { addCriterion("update_date is not null"); return (Criteria) this; } public Criteria andUpdateDateEqualTo(Date value) { addCriterion("update_date =", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotEqualTo(Date value) { addCriterion("update_date <>", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThan(Date value) { addCriterion("update_date >", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) { addCriterion("update_date >=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThan(Date value) { addCriterion("update_date <", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThanOrEqualTo(Date value) { addCriterion("update_date <=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateIn(List<Date> values) { addCriterion("update_date in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotIn(List<Date> values) { addCriterion("update_date not in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateBetween(Date value1, Date value2) { addCriterion("update_date between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotBetween(Date value1, Date value2) { addCriterion("update_date not between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andRemarkIsNull() { addCriterion("remark is null"); return (Criteria) this; } public Criteria andRemarkIsNotNull() { addCriterion("remark is not null"); return (Criteria) this; } public Criteria andRemarkEqualTo(String value) { addCriterion("remark =", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotEqualTo(String value) { addCriterion("remark <>", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThan(String value) { addCriterion("remark >", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("remark >=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThan(String value) { addCriterion("remark <", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("remark <=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLike(String value) { addCriterion("remark like", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotLike(String value) { addCriterion("remark not like", value, "remark"); return (Criteria) this; } public Criteria andRemarkIn(List<String> values) { addCriterion("remark in", values, "remark"); return (Criteria) this; } public Criteria andRemarkNotIn(List<String> values) { addCriterion("remark not in", values, "remark"); return (Criteria) this; } public Criteria andRemarkBetween(String value1, String value2) { addCriterion("remark between", value1, value2, "remark"); return (Criteria) this; } public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("remark not between", value1, value2, "remark"); return (Criteria) this; } public Criteria andVersionIsNull() { addCriterion("version is null"); return (Criteria) this; } public Criteria andVersionIsNotNull() { addCriterion("version is not null"); return (Criteria) this; } public Criteria andVersionEqualTo(Integer value) { addCriterion("version =", value, "version"); return (Criteria) this; } public Criteria andVersionNotEqualTo(Integer value) { addCriterion("version <>", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThan(Integer value) { addCriterion("version >", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThanOrEqualTo(Integer value) { addCriterion("version >=", value, "version"); return (Criteria) this; } public Criteria andVersionLessThan(Integer value) { addCriterion("version <", value, "version"); return (Criteria) this; } public Criteria andVersionLessThanOrEqualTo(Integer value) { addCriterion("version <=", value, "version"); return (Criteria) this; } public Criteria andVersionIn(List<Integer> values) { addCriterion("version in", values, "version"); return (Criteria) this; } public Criteria andVersionNotIn(List<Integer> values) { addCriterion("version not in", values, "version"); return (Criteria) this; } public Criteria andVersionBetween(Integer value1, Integer value2) { addCriterion("version between", value1, value2, "version"); return (Criteria) this; } public Criteria andVersionNotBetween(Integer value1, Integer value2) { addCriterion("version not between", value1, value2, "version"); return (Criteria) this; } public Criteria andStateIsNull() { addCriterion("state is null"); return (Criteria) this; } public Criteria andStateIsNotNull() { addCriterion("state is not null"); return (Criteria) this; } public Criteria andStateEqualTo(Integer value) { addCriterion("state =", value, "state"); return (Criteria) this; } public Criteria andStateNotEqualTo(Integer value) { addCriterion("state <>", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThan(Integer value) { addCriterion("state >", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThanOrEqualTo(Integer value) { addCriterion("state >=", value, "state"); return (Criteria) this; } public Criteria andStateLessThan(Integer value) { addCriterion("state <", value, "state"); return (Criteria) this; } public Criteria andStateLessThanOrEqualTo(Integer value) { addCriterion("state <=", value, "state"); return (Criteria) this; } public Criteria andStateIn(List<Integer> values) { addCriterion("state in", values, "state"); return (Criteria) this; } public Criteria andStateNotIn(List<Integer> values) { addCriterion("state not in", values, "state"); return (Criteria) this; } public Criteria andStateBetween(Integer value1, Integer value2) { addCriterion("state between", value1, value2, "state"); return (Criteria) this; } public Criteria andStateNotBetween(Integer value1, Integer value2) { addCriterion("state not between", value1, value2, "state"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_prd_extend * * @MBG Generated do_not_delete_during_merge Wed Aug 16 06:09:46 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_prd_extend * * @MBG Generated Wed Aug 16 06:09:46 CST 2017 */ 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); } } }
package com.simplemall.micro.serv.common.bean.product; import java.util.ArrayList; import java.util.Date; import java.util.List; public class PrdInfoCriteria { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_prd_info * * @MBG Generated Wed Aug 16 06:09:46 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_prd_info * * @MBG Generated Wed Aug 16 06:09:46 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_prd_info * * @MBG Generated Wed Aug 16 06:09:46 CST 2017 */ protected List<Criteria> oredCriteria; /** * */ public PrdInfoCriteria() { oredCriteria = new ArrayList<Criteria>(); } /** * * @param orderByClause */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * */ public String getOrderByClause() { return orderByClause; } /** * * @param distinct */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * */ public boolean isDistinct() { return distinct; } /** * */ public List<Criteria> getOredCriteria() { return oredCriteria; } /** * * @param criteria */ 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; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_prd_info * * @MBG Generated Wed Aug 16 06:09:46 CST 2017 */ 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 andTidIsNull() { addCriterion("tid is null"); return (Criteria) this; } public Criteria andTidIsNotNull() { addCriterion("tid is not null"); return (Criteria) this; } public Criteria andTidEqualTo(String value) { addCriterion("tid =", value, "tid"); return (Criteria) this; } public Criteria andTidNotEqualTo(String value) { addCriterion("tid <>", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThan(String value) { addCriterion("tid >", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThanOrEqualTo(String value) { addCriterion("tid >=", value, "tid"); return (Criteria) this; } public Criteria andTidLessThan(String value) { addCriterion("tid <", value, "tid"); return (Criteria) this; } public Criteria andTidLessThanOrEqualTo(String value) { addCriterion("tid <=", value, "tid"); return (Criteria) this; } public Criteria andTidLike(String value) { addCriterion("tid like", value, "tid"); return (Criteria) this; } public Criteria andTidNotLike(String value) { addCriterion("tid not like", value, "tid"); return (Criteria) this; } public Criteria andTidIn(List<String> values) { addCriterion("tid in", values, "tid"); return (Criteria) this; } public Criteria andTidNotIn(List<String> values) { addCriterion("tid not in", values, "tid"); return (Criteria) this; } public Criteria andTidBetween(String value1, String value2) { addCriterion("tid between", value1, value2, "tid"); return (Criteria) this; } public Criteria andTidNotBetween(String value1, String value2) { addCriterion("tid not between", value1, value2, "tid"); return (Criteria) this; } public Criteria andLabelNameIsNull() { addCriterion("label_name is null"); return (Criteria) this; } public Criteria andLabelNameIsNotNull() { addCriterion("label_name is not null"); return (Criteria) this; } public Criteria andLabelNameEqualTo(String value) { addCriterion("label_name =", value, "labelName"); return (Criteria) this; } public Criteria andLabelNameNotEqualTo(String value) { addCriterion("label_name <>", value, "labelName"); return (Criteria) this; } public Criteria andLabelNameGreaterThan(String value) { addCriterion("label_name >", value, "labelName"); return (Criteria) this; } public Criteria andLabelNameGreaterThanOrEqualTo(String value) { addCriterion("label_name >=", value, "labelName"); return (Criteria) this; } public Criteria andLabelNameLessThan(String value) { addCriterion("label_name <", value, "labelName"); return (Criteria) this; } public Criteria andLabelNameLessThanOrEqualTo(String value) { addCriterion("label_name <=", value, "labelName"); return (Criteria) this; } public Criteria andLabelNameLike(String value) { addCriterion("label_name like", value, "labelName"); return (Criteria) this; } public Criteria andLabelNameNotLike(String value) { addCriterion("label_name not like", value, "labelName"); return (Criteria) this; } public Criteria andLabelNameIn(List<String> values) { addCriterion("label_name in", values, "labelName"); return (Criteria) this; } public Criteria andLabelNameNotIn(List<String> values) { addCriterion("label_name not in", values, "labelName"); return (Criteria) this; } public Criteria andLabelNameBetween(String value1, String value2) { addCriterion("label_name between", value1, value2, "labelName"); return (Criteria) this; } public Criteria andLabelNameNotBetween(String value1, String value2) { addCriterion("label_name not between", value1, value2, "labelName"); return (Criteria) this; } public Criteria andShortDescIsNull() { addCriterion("short_desc is null"); return (Criteria) this; } public Criteria andShortDescIsNotNull() { addCriterion("short_desc is not null"); return (Criteria) this; } public Criteria andShortDescEqualTo(String value) { addCriterion("short_desc =", value, "shortDesc"); return (Criteria) this; } public Criteria andShortDescNotEqualTo(String value) { addCriterion("short_desc <>", value, "shortDesc"); return (Criteria) this; } public Criteria andShortDescGreaterThan(String value) { addCriterion("short_desc >", value, "shortDesc"); return (Criteria) this; } public Criteria andShortDescGreaterThanOrEqualTo(String value) { addCriterion("short_desc >=", value, "shortDesc"); return (Criteria) this; } public Criteria andShortDescLessThan(String value) { addCriterion("short_desc <", value, "shortDesc"); return (Criteria) this; } public Criteria andShortDescLessThanOrEqualTo(String value) { addCriterion("short_desc <=", value, "shortDesc"); return (Criteria) this; } public Criteria andShortDescLike(String value) { addCriterion("short_desc like", value, "shortDesc"); return (Criteria) this; } public Criteria andShortDescNotLike(String value) { addCriterion("short_desc not like", value, "shortDesc"); return (Criteria) this; } public Criteria andShortDescIn(List<String> values) { addCriterion("short_desc in", values, "shortDesc"); return (Criteria) this; } public Criteria andShortDescNotIn(List<String> values) { addCriterion("short_desc not in", values, "shortDesc"); return (Criteria) this; } public Criteria andShortDescBetween(String value1, String value2) { addCriterion("short_desc between", value1, value2, "shortDesc"); return (Criteria) this; } public Criteria andShortDescNotBetween(String value1, String value2) { addCriterion("short_desc not between", value1, value2, "shortDesc"); return (Criteria) this; } public Criteria andPriceIsNull() { addCriterion("price is null"); return (Criteria) this; } public Criteria andPriceIsNotNull() { addCriterion("price is not null"); return (Criteria) this; } public Criteria andPriceEqualTo(String value) { addCriterion("price =", value, "price"); return (Criteria) this; } public Criteria andPriceNotEqualTo(String value) { addCriterion("price <>", value, "price"); return (Criteria) this; } public Criteria andPriceGreaterThan(String value) { addCriterion("price >", value, "price"); return (Criteria) this; } public Criteria andPriceGreaterThanOrEqualTo(String value) { addCriterion("price >=", value, "price"); return (Criteria) this; } public Criteria andPriceLessThan(String value) { addCriterion("price <", value, "price"); return (Criteria) this; } public Criteria andPriceLessThanOrEqualTo(String value) { addCriterion("price <=", value, "price"); return (Criteria) this; } public Criteria andPriceLike(String value) { addCriterion("price like", value, "price"); return (Criteria) this; } public Criteria andPriceNotLike(String value) { addCriterion("price not like", value, "price"); return (Criteria) this; } public Criteria andPriceIn(List<String> values) { addCriterion("price in", values, "price"); return (Criteria) this; } public Criteria andPriceNotIn(List<String> values) { addCriterion("price not in", values, "price"); return (Criteria) this; } public Criteria andPriceBetween(String value1, String value2) { addCriterion("price between", value1, value2, "price"); return (Criteria) this; } public Criteria andPriceNotBetween(String value1, String value2) { addCriterion("price not between", value1, value2, "price"); return (Criteria) this; } public Criteria andStoreIsNull() { addCriterion("store is null"); return (Criteria) this; } public Criteria andStoreIsNotNull() { addCriterion("store is not null"); return (Criteria) this; } public Criteria andStoreEqualTo(Integer value) { addCriterion("store =", value, "store"); return (Criteria) this; } public Criteria andStoreNotEqualTo(Integer value) { addCriterion("store <>", value, "store"); return (Criteria) this; } public Criteria andStoreGreaterThan(Integer value) { addCriterion("store >", value, "store"); return (Criteria) this; } public Criteria andStoreGreaterThanOrEqualTo(Integer value) { addCriterion("store >=", value, "store"); return (Criteria) this; } public Criteria andStoreLessThan(Integer value) { addCriterion("store <", value, "store"); return (Criteria) this; } public Criteria andStoreLessThanOrEqualTo(Integer value) { addCriterion("store <=", value, "store"); return (Criteria) this; } public Criteria andStoreIn(List<Integer> values) { addCriterion("store in", values, "store"); return (Criteria) this; } public Criteria andStoreNotIn(List<Integer> values) { addCriterion("store not in", values, "store"); return (Criteria) this; } public Criteria andStoreBetween(Integer value1, Integer value2) { addCriterion("store between", value1, value2, "store"); return (Criteria) this; } public Criteria andStoreNotBetween(Integer value1, Integer value2) { addCriterion("store not between", value1, value2, "store"); return (Criteria) this; } public Criteria andCreateByIsNull() { addCriterion("create_by is null"); return (Criteria) this; } public Criteria andCreateByIsNotNull() { addCriterion("create_by is not null"); return (Criteria) this; } public Criteria andCreateByEqualTo(String value) { addCriterion("create_by =", value, "createBy"); return (Criteria) this; } public Criteria andCreateByNotEqualTo(String value) { addCriterion("create_by <>", value, "createBy"); return (Criteria) this; } public Criteria andCreateByGreaterThan(String value) { addCriterion("create_by >", value, "createBy"); return (Criteria) this; } public Criteria andCreateByGreaterThanOrEqualTo(String value) { addCriterion("create_by >=", value, "createBy"); return (Criteria) this; } public Criteria andCreateByLessThan(String value) { addCriterion("create_by <", value, "createBy"); return (Criteria) this; } public Criteria andCreateByLessThanOrEqualTo(String value) { addCriterion("create_by <=", value, "createBy"); return (Criteria) this; } public Criteria andCreateByLike(String value) { addCriterion("create_by like", value, "createBy"); return (Criteria) this; } public Criteria andCreateByNotLike(String value) { addCriterion("create_by not like", value, "createBy"); return (Criteria) this; } public Criteria andCreateByIn(List<String> values) { addCriterion("create_by in", values, "createBy"); return (Criteria) this; } public Criteria andCreateByNotIn(List<String> values) { addCriterion("create_by not in", values, "createBy"); return (Criteria) this; } public Criteria andCreateByBetween(String value1, String value2) { addCriterion("create_by between", value1, value2, "createBy"); return (Criteria) this; } public Criteria andCreateByNotBetween(String value1, String value2) { addCriterion("create_by not between", value1, value2, "createBy"); return (Criteria) this; } public Criteria andCreateDateIsNull() { addCriterion("create_date is null"); return (Criteria) this; } public Criteria andCreateDateIsNotNull() { addCriterion("create_date is not null"); return (Criteria) this; } public Criteria andCreateDateEqualTo(Date value) { addCriterion("create_date =", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotEqualTo(Date value) { addCriterion("create_date <>", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThan(Date value) { addCriterion("create_date >", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThanOrEqualTo(Date value) { addCriterion("create_date >=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThan(Date value) { addCriterion("create_date <", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThanOrEqualTo(Date value) { addCriterion("create_date <=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateIn(List<Date> values) { addCriterion("create_date in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotIn(List<Date> values) { addCriterion("create_date not in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateBetween(Date value1, Date value2) { addCriterion("create_date between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotBetween(Date value1, Date value2) { addCriterion("create_date not between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andUpdateByIsNull() { addCriterion("update_by is null"); return (Criteria) this; } public Criteria andUpdateByIsNotNull() { addCriterion("update_by is not null"); return (Criteria) this; } public Criteria andUpdateByEqualTo(String value) { addCriterion("update_by =", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotEqualTo(String value) { addCriterion("update_by <>", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThan(String value) { addCriterion("update_by >", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThanOrEqualTo(String value) { addCriterion("update_by >=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThan(String value) { addCriterion("update_by <", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThanOrEqualTo(String value) { addCriterion("update_by <=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLike(String value) { addCriterion("update_by like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotLike(String value) { addCriterion("update_by not like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByIn(List<String> values) { addCriterion("update_by in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotIn(List<String> values) { addCriterion("update_by not in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByBetween(String value1, String value2) { addCriterion("update_by between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotBetween(String value1, String value2) { addCriterion("update_by not between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateDateIsNull() { addCriterion("update_date is null"); return (Criteria) this; } public Criteria andUpdateDateIsNotNull() { addCriterion("update_date is not null"); return (Criteria) this; } public Criteria andUpdateDateEqualTo(Date value) { addCriterion("update_date =", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotEqualTo(Date value) { addCriterion("update_date <>", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThan(Date value) { addCriterion("update_date >", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) { addCriterion("update_date >=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThan(Date value) { addCriterion("update_date <", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThanOrEqualTo(Date value) { addCriterion("update_date <=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateIn(List<Date> values) { addCriterion("update_date in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotIn(List<Date> values) { addCriterion("update_date not in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateBetween(Date value1, Date value2) { addCriterion("update_date between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotBetween(Date value1, Date value2) { addCriterion("update_date not between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andRemarkIsNull() { addCriterion("remark is null"); return (Criteria) this; } public Criteria andRemarkIsNotNull() { addCriterion("remark is not null"); return (Criteria) this; } public Criteria andRemarkEqualTo(String value) { addCriterion("remark =", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotEqualTo(String value) { addCriterion("remark <>", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThan(String value) { addCriterion("remark >", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("remark >=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThan(String value) { addCriterion("remark <", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("remark <=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLike(String value) { addCriterion("remark like", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotLike(String value) { addCriterion("remark not like", value, "remark"); return (Criteria) this; } public Criteria andRemarkIn(List<String> values) { addCriterion("remark in", values, "remark"); return (Criteria) this; } public Criteria andRemarkNotIn(List<String> values) { addCriterion("remark not in", values, "remark"); return (Criteria) this; } public Criteria andRemarkBetween(String value1, String value2) { addCriterion("remark between", value1, value2, "remark"); return (Criteria) this; } public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("remark not between", value1, value2, "remark"); return (Criteria) this; } public Criteria andVersionIsNull() { addCriterion("version is null"); return (Criteria) this; } public Criteria andVersionIsNotNull() { addCriterion("version is not null"); return (Criteria) this; } public Criteria andVersionEqualTo(Integer value) { addCriterion("version =", value, "version"); return (Criteria) this; } public Criteria andVersionNotEqualTo(Integer value) { addCriterion("version <>", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThan(Integer value) { addCriterion("version >", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThanOrEqualTo(Integer value) { addCriterion("version >=", value, "version"); return (Criteria) this; } public Criteria andVersionLessThan(Integer value) { addCriterion("version <", value, "version"); return (Criteria) this; } public Criteria andVersionLessThanOrEqualTo(Integer value) { addCriterion("version <=", value, "version"); return (Criteria) this; } public Criteria andVersionIn(List<Integer> values) { addCriterion("version in", values, "version"); return (Criteria) this; } public Criteria andVersionNotIn(List<Integer> values) { addCriterion("version not in", values, "version"); return (Criteria) this; } public Criteria andVersionBetween(Integer value1, Integer value2) { addCriterion("version between", value1, value2, "version"); return (Criteria) this; } public Criteria andVersionNotBetween(Integer value1, Integer value2) { addCriterion("version not between", value1, value2, "version"); return (Criteria) this; } public Criteria andStateIsNull() { addCriterion("state is null"); return (Criteria) this; } public Criteria andStateIsNotNull() { addCriterion("state is not null"); return (Criteria) this; } public Criteria andStateEqualTo(Integer value) { addCriterion("state =", value, "state"); return (Criteria) this; } public Criteria andStateNotEqualTo(Integer value) { addCriterion("state <>", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThan(Integer value) { addCriterion("state >", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThanOrEqualTo(Integer value) { addCriterion("state >=", value, "state"); return (Criteria) this; } public Criteria andStateLessThan(Integer value) { addCriterion("state <", value, "state"); return (Criteria) this; } public Criteria andStateLessThanOrEqualTo(Integer value) { addCriterion("state <=", value, "state"); return (Criteria) this; } public Criteria andStateIn(List<Integer> values) { addCriterion("state in", values, "state"); return (Criteria) this; } public Criteria andStateNotIn(List<Integer> values) { addCriterion("state not in", values, "state"); return (Criteria) this; } public Criteria andStateBetween(Integer value1, Integer value2) { addCriterion("state between", value1, value2, "state"); return (Criteria) this; } public Criteria andStateNotBetween(Integer value1, Integer value2) { addCriterion("state not between", value1, value2, "state"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_prd_info * * @MBG Generated do_not_delete_during_merge Wed Aug 16 06:09:46 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_prd_info * * @MBG Generated Wed Aug 16 06:09:46 CST 2017 */ 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); } } }
package com.simplemall.micro.serv.msg.bean; import java.util.ArrayList; import java.util.Date; import java.util.List; public class MsgNoticeCriteria { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_msg_notice * * @MBG Generated Wed Aug 16 06:17:58 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_msg_notice * * @MBG Generated Wed Aug 16 06:17:58 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_msg_notice * * @MBG Generated Wed Aug 16 06:17:58 CST 2017 */ protected List<Criteria> oredCriteria; /** * */ public MsgNoticeCriteria() { oredCriteria = new ArrayList<Criteria>(); } /** * * @param orderByClause */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * */ public String getOrderByClause() { return orderByClause; } /** * * @param distinct */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * */ public boolean isDistinct() { return distinct; } /** * */ public List<Criteria> getOredCriteria() { return oredCriteria; } /** * * @param criteria */ 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; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_msg_notice * * @MBG Generated Wed Aug 16 06:17:58 CST 2017 */ 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 andTidIsNull() { addCriterion("tid is null"); return (Criteria) this; } public Criteria andTidIsNotNull() { addCriterion("tid is not null"); return (Criteria) this; } public Criteria andTidEqualTo(String value) { addCriterion("tid =", value, "tid"); return (Criteria) this; } public Criteria andTidNotEqualTo(String value) { addCriterion("tid <>", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThan(String value) { addCriterion("tid >", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThanOrEqualTo(String value) { addCriterion("tid >=", value, "tid"); return (Criteria) this; } public Criteria andTidLessThan(String value) { addCriterion("tid <", value, "tid"); return (Criteria) this; } public Criteria andTidLessThanOrEqualTo(String value) { addCriterion("tid <=", value, "tid"); return (Criteria) this; } public Criteria andTidLike(String value) { addCriterion("tid like", value, "tid"); return (Criteria) this; } public Criteria andTidNotLike(String value) { addCriterion("tid not like", value, "tid"); return (Criteria) this; } public Criteria andTidIn(List<String> values) { addCriterion("tid in", values, "tid"); return (Criteria) this; } public Criteria andTidNotIn(List<String> values) { addCriterion("tid not in", values, "tid"); return (Criteria) this; } public Criteria andTidBetween(String value1, String value2) { addCriterion("tid between", value1, value2, "tid"); return (Criteria) this; } public Criteria andTidNotBetween(String value1, String value2) { addCriterion("tid not between", value1, value2, "tid"); return (Criteria) this; } public Criteria andSerialNoIsNull() { addCriterion("serial_no is null"); return (Criteria) this; } public Criteria andSerialNoIsNotNull() { addCriterion("serial_no is not null"); return (Criteria) this; } public Criteria andSerialNoEqualTo(String value) { addCriterion("serial_no =", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotEqualTo(String value) { addCriterion("serial_no <>", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoGreaterThan(String value) { addCriterion("serial_no >", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoGreaterThanOrEqualTo(String value) { addCriterion("serial_no >=", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoLessThan(String value) { addCriterion("serial_no <", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoLessThanOrEqualTo(String value) { addCriterion("serial_no <=", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoLike(String value) { addCriterion("serial_no like", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotLike(String value) { addCriterion("serial_no not like", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoIn(List<String> values) { addCriterion("serial_no in", values, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotIn(List<String> values) { addCriterion("serial_no not in", values, "serialNo"); return (Criteria) this; } public Criteria andSerialNoBetween(String value1, String value2) { addCriterion("serial_no between", value1, value2, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotBetween(String value1, String value2) { addCriterion("serial_no not between", value1, value2, "serialNo"); return (Criteria) this; } public Criteria andTargetTypeIsNull() { addCriterion("target_type is null"); return (Criteria) this; } public Criteria andTargetTypeIsNotNull() { addCriterion("target_type is not null"); return (Criteria) this; } public Criteria andTargetTypeEqualTo(String value) { addCriterion("target_type =", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeNotEqualTo(String value) { addCriterion("target_type <>", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeGreaterThan(String value) { addCriterion("target_type >", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeGreaterThanOrEqualTo(String value) { addCriterion("target_type >=", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeLessThan(String value) { addCriterion("target_type <", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeLessThanOrEqualTo(String value) { addCriterion("target_type <=", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeLike(String value) { addCriterion("target_type like", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeNotLike(String value) { addCriterion("target_type not like", value, "targetType"); return (Criteria) this; } public Criteria andTargetTypeIn(List<String> values) { addCriterion("target_type in", values, "targetType"); return (Criteria) this; } public Criteria andTargetTypeNotIn(List<String> values) { addCriterion("target_type not in", values, "targetType"); return (Criteria) this; } public Criteria andTargetTypeBetween(String value1, String value2) { addCriterion("target_type between", value1, value2, "targetType"); return (Criteria) this; } public Criteria andTargetTypeNotBetween(String value1, String value2) { addCriterion("target_type not between", value1, value2, "targetType"); return (Criteria) this; } public Criteria andTargetAddressIsNull() { addCriterion("target_address is null"); return (Criteria) this; } public Criteria andTargetAddressIsNotNull() { addCriterion("target_address is not null"); return (Criteria) this; } public Criteria andTargetAddressEqualTo(String value) { addCriterion("target_address =", value, "targetAddress"); return (Criteria) this; } public Criteria andTargetAddressNotEqualTo(String value) { addCriterion("target_address <>", value, "targetAddress"); return (Criteria) this; } public Criteria andTargetAddressGreaterThan(String value) { addCriterion("target_address >", value, "targetAddress"); return (Criteria) this; } public Criteria andTargetAddressGreaterThanOrEqualTo(String value) { addCriterion("target_address >=", value, "targetAddress"); return (Criteria) this; } public Criteria andTargetAddressLessThan(String value) { addCriterion("target_address <", value, "targetAddress"); return (Criteria) this; } public Criteria andTargetAddressLessThanOrEqualTo(String value) { addCriterion("target_address <=", value, "targetAddress"); return (Criteria) this; } public Criteria andTargetAddressLike(String value) { addCriterion("target_address like", value, "targetAddress"); return (Criteria) this; } public Criteria andTargetAddressNotLike(String value) { addCriterion("target_address not like", value, "targetAddress"); return (Criteria) this; } public Criteria andTargetAddressIn(List<String> values) { addCriterion("target_address in", values, "targetAddress"); return (Criteria) this; } public Criteria andTargetAddressNotIn(List<String> values) { addCriterion("target_address not in", values, "targetAddress"); return (Criteria) this; } public Criteria andTargetAddressBetween(String value1, String value2) { addCriterion("target_address between", value1, value2, "targetAddress"); return (Criteria) this; } public Criteria andTargetAddressNotBetween(String value1, String value2) { addCriterion("target_address not between", value1, value2, "targetAddress"); return (Criteria) this; } public Criteria andContentIsNull() { addCriterion("content is null"); return (Criteria) this; } public Criteria andContentIsNotNull() { addCriterion("content is not null"); return (Criteria) this; } public Criteria andContentEqualTo(String value) { addCriterion("content =", value, "content"); return (Criteria) this; } public Criteria andContentNotEqualTo(String value) { addCriterion("content <>", value, "content"); return (Criteria) this; } public Criteria andContentGreaterThan(String value) { addCriterion("content >", value, "content"); return (Criteria) this; } public Criteria andContentGreaterThanOrEqualTo(String value) { addCriterion("content >=", value, "content"); return (Criteria) this; } public Criteria andContentLessThan(String value) { addCriterion("content <", value, "content"); return (Criteria) this; } public Criteria andContentLessThanOrEqualTo(String value) { addCriterion("content <=", value, "content"); return (Criteria) this; } public Criteria andContentLike(String value) { addCriterion("content like", value, "content"); return (Criteria) this; } public Criteria andContentNotLike(String value) { addCriterion("content not like", value, "content"); return (Criteria) this; } public Criteria andContentIn(List<String> values) { addCriterion("content in", values, "content"); return (Criteria) this; } public Criteria andContentNotIn(List<String> values) { addCriterion("content not in", values, "content"); return (Criteria) this; } public Criteria andContentBetween(String value1, String value2) { addCriterion("content between", value1, value2, "content"); return (Criteria) this; } public Criteria andContentNotBetween(String value1, String value2) { addCriterion("content not between", value1, value2, "content"); return (Criteria) this; } public Criteria andCreateDateIsNull() { addCriterion("create_date is null"); return (Criteria) this; } public Criteria andCreateDateIsNotNull() { addCriterion("create_date is not null"); return (Criteria) this; } public Criteria andCreateDateEqualTo(Date value) { addCriterion("create_date =", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotEqualTo(Date value) { addCriterion("create_date <>", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThan(Date value) { addCriterion("create_date >", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThanOrEqualTo(Date value) { addCriterion("create_date >=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThan(Date value) { addCriterion("create_date <", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThanOrEqualTo(Date value) { addCriterion("create_date <=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateIn(List<Date> values) { addCriterion("create_date in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotIn(List<Date> values) { addCriterion("create_date not in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateBetween(Date value1, Date value2) { addCriterion("create_date between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotBetween(Date value1, Date value2) { addCriterion("create_date not between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andUpdateByIsNull() { addCriterion("update_by is null"); return (Criteria) this; } public Criteria andUpdateByIsNotNull() { addCriterion("update_by is not null"); return (Criteria) this; } public Criteria andUpdateByEqualTo(String value) { addCriterion("update_by =", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotEqualTo(String value) { addCriterion("update_by <>", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThan(String value) { addCriterion("update_by >", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThanOrEqualTo(String value) { addCriterion("update_by >=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThan(String value) { addCriterion("update_by <", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThanOrEqualTo(String value) { addCriterion("update_by <=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLike(String value) { addCriterion("update_by like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotLike(String value) { addCriterion("update_by not like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByIn(List<String> values) { addCriterion("update_by in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotIn(List<String> values) { addCriterion("update_by not in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByBetween(String value1, String value2) { addCriterion("update_by between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotBetween(String value1, String value2) { addCriterion("update_by not between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateDateIsNull() { addCriterion("update_date is null"); return (Criteria) this; } public Criteria andUpdateDateIsNotNull() { addCriterion("update_date is not null"); return (Criteria) this; } public Criteria andUpdateDateEqualTo(Date value) { addCriterion("update_date =", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotEqualTo(Date value) { addCriterion("update_date <>", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThan(Date value) { addCriterion("update_date >", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) { addCriterion("update_date >=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThan(Date value) { addCriterion("update_date <", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThanOrEqualTo(Date value) { addCriterion("update_date <=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateIn(List<Date> values) { addCriterion("update_date in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotIn(List<Date> values) { addCriterion("update_date not in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateBetween(Date value1, Date value2) { addCriterion("update_date between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotBetween(Date value1, Date value2) { addCriterion("update_date not between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andRemarkIsNull() { addCriterion("remark is null"); return (Criteria) this; } public Criteria andRemarkIsNotNull() { addCriterion("remark is not null"); return (Criteria) this; } public Criteria andRemarkEqualTo(String value) { addCriterion("remark =", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotEqualTo(String value) { addCriterion("remark <>", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThan(String value) { addCriterion("remark >", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("remark >=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThan(String value) { addCriterion("remark <", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("remark <=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLike(String value) { addCriterion("remark like", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotLike(String value) { addCriterion("remark not like", value, "remark"); return (Criteria) this; } public Criteria andRemarkIn(List<String> values) { addCriterion("remark in", values, "remark"); return (Criteria) this; } public Criteria andRemarkNotIn(List<String> values) { addCriterion("remark not in", values, "remark"); return (Criteria) this; } public Criteria andRemarkBetween(String value1, String value2) { addCriterion("remark between", value1, value2, "remark"); return (Criteria) this; } public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("remark not between", value1, value2, "remark"); return (Criteria) this; } public Criteria andVersionIsNull() { addCriterion("version is null"); return (Criteria) this; } public Criteria andVersionIsNotNull() { addCriterion("version is not null"); return (Criteria) this; } public Criteria andVersionEqualTo(Integer value) { addCriterion("version =", value, "version"); return (Criteria) this; } public Criteria andVersionNotEqualTo(Integer value) { addCriterion("version <>", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThan(Integer value) { addCriterion("version >", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThanOrEqualTo(Integer value) { addCriterion("version >=", value, "version"); return (Criteria) this; } public Criteria andVersionLessThan(Integer value) { addCriterion("version <", value, "version"); return (Criteria) this; } public Criteria andVersionLessThanOrEqualTo(Integer value) { addCriterion("version <=", value, "version"); return (Criteria) this; } public Criteria andVersionIn(List<Integer> values) { addCriterion("version in", values, "version"); return (Criteria) this; } public Criteria andVersionNotIn(List<Integer> values) { addCriterion("version not in", values, "version"); return (Criteria) this; } public Criteria andVersionBetween(Integer value1, Integer value2) { addCriterion("version between", value1, value2, "version"); return (Criteria) this; } public Criteria andVersionNotBetween(Integer value1, Integer value2) { addCriterion("version not between", value1, value2, "version"); return (Criteria) this; } public Criteria andStateIsNull() { addCriterion("state is null"); return (Criteria) this; } public Criteria andStateIsNotNull() { addCriterion("state is not null"); return (Criteria) this; } public Criteria andStateEqualTo(Integer value) { addCriterion("state =", value, "state"); return (Criteria) this; } public Criteria andStateNotEqualTo(Integer value) { addCriterion("state <>", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThan(Integer value) { addCriterion("state >", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThanOrEqualTo(Integer value) { addCriterion("state >=", value, "state"); return (Criteria) this; } public Criteria andStateLessThan(Integer value) { addCriterion("state <", value, "state"); return (Criteria) this; } public Criteria andStateLessThanOrEqualTo(Integer value) { addCriterion("state <=", value, "state"); return (Criteria) this; } public Criteria andStateIn(List<Integer> values) { addCriterion("state in", values, "state"); return (Criteria) this; } public Criteria andStateNotIn(List<Integer> values) { addCriterion("state not in", values, "state"); return (Criteria) this; } public Criteria andStateBetween(Integer value1, Integer value2) { addCriterion("state between", value1, value2, "state"); return (Criteria) this; } public Criteria andStateNotBetween(Integer value1, Integer value2) { addCriterion("state not between", value1, value2, "state"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_msg_notice * * @MBG Generated do_not_delete_during_merge Wed Aug 16 06:17:58 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_msg_notice * * @MBG Generated Wed Aug 16 06:17:58 CST 2017 */ 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); } } }
package com.simplemall.pay.bean; import java.util.ArrayList; import java.util.Date; import java.util.List; public class PayRecordCriteria { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_pay_record * * @MBG Generated Tue Aug 29 22:25:52 CST 2017 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_pay_record * * @MBG Generated Tue Aug 29 22:25:52 CST 2017 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table tb_pay_record * * @MBG Generated Tue Aug 29 22:25:52 CST 2017 */ protected List<Criteria> oredCriteria; /** * */ public PayRecordCriteria() { oredCriteria = new ArrayList<Criteria>(); } /** * * @param orderByClause */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * */ public String getOrderByClause() { return orderByClause; } /** * * @param distinct */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * */ public boolean isDistinct() { return distinct; } /** * */ public List<Criteria> getOredCriteria() { return oredCriteria; } /** * * @param criteria */ 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; } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_pay_record * * @MBG Generated Tue Aug 29 22:25:52 CST 2017 */ 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 andTidIsNull() { addCriterion("tid is null"); return (Criteria) this; } public Criteria andTidIsNotNull() { addCriterion("tid is not null"); return (Criteria) this; } public Criteria andTidEqualTo(String value) { addCriterion("tid =", value, "tid"); return (Criteria) this; } public Criteria andTidNotEqualTo(String value) { addCriterion("tid <>", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThan(String value) { addCriterion("tid >", value, "tid"); return (Criteria) this; } public Criteria andTidGreaterThanOrEqualTo(String value) { addCriterion("tid >=", value, "tid"); return (Criteria) this; } public Criteria andTidLessThan(String value) { addCriterion("tid <", value, "tid"); return (Criteria) this; } public Criteria andTidLessThanOrEqualTo(String value) { addCriterion("tid <=", value, "tid"); return (Criteria) this; } public Criteria andTidLike(String value) { addCriterion("tid like", value, "tid"); return (Criteria) this; } public Criteria andTidNotLike(String value) { addCriterion("tid not like", value, "tid"); return (Criteria) this; } public Criteria andTidIn(List<String> values) { addCriterion("tid in", values, "tid"); return (Criteria) this; } public Criteria andTidNotIn(List<String> values) { addCriterion("tid not in", values, "tid"); return (Criteria) this; } public Criteria andTidBetween(String value1, String value2) { addCriterion("tid between", value1, value2, "tid"); return (Criteria) this; } public Criteria andTidNotBetween(String value1, String value2) { addCriterion("tid not between", value1, value2, "tid"); return (Criteria) this; } public Criteria andSerialNoIsNull() { addCriterion("serial_no is null"); return (Criteria) this; } public Criteria andSerialNoIsNotNull() { addCriterion("serial_no is not null"); return (Criteria) this; } public Criteria andSerialNoEqualTo(String value) { addCriterion("serial_no =", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotEqualTo(String value) { addCriterion("serial_no <>", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoGreaterThan(String value) { addCriterion("serial_no >", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoGreaterThanOrEqualTo(String value) { addCriterion("serial_no >=", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoLessThan(String value) { addCriterion("serial_no <", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoLessThanOrEqualTo(String value) { addCriterion("serial_no <=", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoLike(String value) { addCriterion("serial_no like", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotLike(String value) { addCriterion("serial_no not like", value, "serialNo"); return (Criteria) this; } public Criteria andSerialNoIn(List<String> values) { addCriterion("serial_no in", values, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotIn(List<String> values) { addCriterion("serial_no not in", values, "serialNo"); return (Criteria) this; } public Criteria andSerialNoBetween(String value1, String value2) { addCriterion("serial_no between", value1, value2, "serialNo"); return (Criteria) this; } public Criteria andSerialNoNotBetween(String value1, String value2) { addCriterion("serial_no not between", value1, value2, "serialNo"); return (Criteria) this; } public Criteria andTypeIsNull() { addCriterion("type is null"); return (Criteria) this; } public Criteria andTypeIsNotNull() { addCriterion("type is not null"); return (Criteria) this; } public Criteria andTypeEqualTo(String value) { addCriterion("type =", value, "type"); return (Criteria) this; } public Criteria andTypeNotEqualTo(String value) { addCriterion("type <>", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThan(String value) { addCriterion("type >", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThanOrEqualTo(String value) { addCriterion("type >=", value, "type"); return (Criteria) this; } public Criteria andTypeLessThan(String value) { addCriterion("type <", value, "type"); return (Criteria) this; } public Criteria andTypeLessThanOrEqualTo(String value) { addCriterion("type <=", value, "type"); return (Criteria) this; } public Criteria andTypeLike(String value) { addCriterion("type like", value, "type"); return (Criteria) this; } public Criteria andTypeNotLike(String value) { addCriterion("type not like", value, "type"); return (Criteria) this; } public Criteria andTypeIn(List<String> values) { addCriterion("type in", values, "type"); return (Criteria) this; } public Criteria andTypeNotIn(List<String> values) { addCriterion("type not in", values, "type"); return (Criteria) this; } public Criteria andTypeBetween(String value1, String value2) { addCriterion("type between", value1, value2, "type"); return (Criteria) this; } public Criteria andTypeNotBetween(String value1, String value2) { addCriterion("type not between", value1, value2, "type"); return (Criteria) this; } public Criteria andPriceIsNull() { addCriterion("price is null"); return (Criteria) this; } public Criteria andPriceIsNotNull() { addCriterion("price is not null"); return (Criteria) this; } public Criteria andPriceEqualTo(Float value) { addCriterion("price =", value, "price"); return (Criteria) this; } public Criteria andPriceNotEqualTo(Float value) { addCriterion("price <>", value, "price"); return (Criteria) this; } public Criteria andPriceGreaterThan(Float value) { addCriterion("price >", value, "price"); return (Criteria) this; } public Criteria andPriceGreaterThanOrEqualTo(Float value) { addCriterion("price >=", value, "price"); return (Criteria) this; } public Criteria andPriceLessThan(Float value) { addCriterion("price <", value, "price"); return (Criteria) this; } public Criteria andPriceLessThanOrEqualTo(Float value) { addCriterion("price <=", value, "price"); return (Criteria) this; } public Criteria andPriceIn(List<Float> values) { addCriterion("price in", values, "price"); return (Criteria) this; } public Criteria andPriceNotIn(List<Float> values) { addCriterion("price not in", values, "price"); return (Criteria) this; } public Criteria andPriceBetween(Float value1, Float value2) { addCriterion("price between", value1, value2, "price"); return (Criteria) this; } public Criteria andPriceNotBetween(Float value1, Float value2) { addCriterion("price not between", value1, value2, "price"); return (Criteria) this; } public Criteria andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(String value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(String value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(String value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(String value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(String value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(String value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusLike(String value) { addCriterion("status like", value, "status"); return (Criteria) this; } public Criteria andStatusNotLike(String value) { addCriterion("status not like", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List<String> values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List<String> values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(String value1, String value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(String value1, String value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } public Criteria andCreateDateIsNull() { addCriterion("create_date is null"); return (Criteria) this; } public Criteria andCreateDateIsNotNull() { addCriterion("create_date is not null"); return (Criteria) this; } public Criteria andCreateDateEqualTo(Date value) { addCriterion("create_date =", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotEqualTo(Date value) { addCriterion("create_date <>", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThan(Date value) { addCriterion("create_date >", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateGreaterThanOrEqualTo(Date value) { addCriterion("create_date >=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThan(Date value) { addCriterion("create_date <", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateLessThanOrEqualTo(Date value) { addCriterion("create_date <=", value, "createDate"); return (Criteria) this; } public Criteria andCreateDateIn(List<Date> values) { addCriterion("create_date in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotIn(List<Date> values) { addCriterion("create_date not in", values, "createDate"); return (Criteria) this; } public Criteria andCreateDateBetween(Date value1, Date value2) { addCriterion("create_date between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andCreateDateNotBetween(Date value1, Date value2) { addCriterion("create_date not between", value1, value2, "createDate"); return (Criteria) this; } public Criteria andUpdateByIsNull() { addCriterion("update_by is null"); return (Criteria) this; } public Criteria andUpdateByIsNotNull() { addCriterion("update_by is not null"); return (Criteria) this; } public Criteria andUpdateByEqualTo(String value) { addCriterion("update_by =", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotEqualTo(String value) { addCriterion("update_by <>", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThan(String value) { addCriterion("update_by >", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByGreaterThanOrEqualTo(String value) { addCriterion("update_by >=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThan(String value) { addCriterion("update_by <", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLessThanOrEqualTo(String value) { addCriterion("update_by <=", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByLike(String value) { addCriterion("update_by like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotLike(String value) { addCriterion("update_by not like", value, "updateBy"); return (Criteria) this; } public Criteria andUpdateByIn(List<String> values) { addCriterion("update_by in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotIn(List<String> values) { addCriterion("update_by not in", values, "updateBy"); return (Criteria) this; } public Criteria andUpdateByBetween(String value1, String value2) { addCriterion("update_by between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateByNotBetween(String value1, String value2) { addCriterion("update_by not between", value1, value2, "updateBy"); return (Criteria) this; } public Criteria andUpdateDateIsNull() { addCriterion("update_date is null"); return (Criteria) this; } public Criteria andUpdateDateIsNotNull() { addCriterion("update_date is not null"); return (Criteria) this; } public Criteria andUpdateDateEqualTo(Date value) { addCriterion("update_date =", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotEqualTo(Date value) { addCriterion("update_date <>", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThan(Date value) { addCriterion("update_date >", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) { addCriterion("update_date >=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThan(Date value) { addCriterion("update_date <", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateLessThanOrEqualTo(Date value) { addCriterion("update_date <=", value, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateIn(List<Date> values) { addCriterion("update_date in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotIn(List<Date> values) { addCriterion("update_date not in", values, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateBetween(Date value1, Date value2) { addCriterion("update_date between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andUpdateDateNotBetween(Date value1, Date value2) { addCriterion("update_date not between", value1, value2, "updateDate"); return (Criteria) this; } public Criteria andRemarkIsNull() { addCriterion("remark is null"); return (Criteria) this; } public Criteria andRemarkIsNotNull() { addCriterion("remark is not null"); return (Criteria) this; } public Criteria andRemarkEqualTo(String value) { addCriterion("remark =", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotEqualTo(String value) { addCriterion("remark <>", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThan(String value) { addCriterion("remark >", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("remark >=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThan(String value) { addCriterion("remark <", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("remark <=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLike(String value) { addCriterion("remark like", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotLike(String value) { addCriterion("remark not like", value, "remark"); return (Criteria) this; } public Criteria andRemarkIn(List<String> values) { addCriterion("remark in", values, "remark"); return (Criteria) this; } public Criteria andRemarkNotIn(List<String> values) { addCriterion("remark not in", values, "remark"); return (Criteria) this; } public Criteria andRemarkBetween(String value1, String value2) { addCriterion("remark between", value1, value2, "remark"); return (Criteria) this; } public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("remark not between", value1, value2, "remark"); return (Criteria) this; } public Criteria andVersionIsNull() { addCriterion("version is null"); return (Criteria) this; } public Criteria andVersionIsNotNull() { addCriterion("version is not null"); return (Criteria) this; } public Criteria andVersionEqualTo(Integer value) { addCriterion("version =", value, "version"); return (Criteria) this; } public Criteria andVersionNotEqualTo(Integer value) { addCriterion("version <>", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThan(Integer value) { addCriterion("version >", value, "version"); return (Criteria) this; } public Criteria andVersionGreaterThanOrEqualTo(Integer value) { addCriterion("version >=", value, "version"); return (Criteria) this; } public Criteria andVersionLessThan(Integer value) { addCriterion("version <", value, "version"); return (Criteria) this; } public Criteria andVersionLessThanOrEqualTo(Integer value) { addCriterion("version <=", value, "version"); return (Criteria) this; } public Criteria andVersionIn(List<Integer> values) { addCriterion("version in", values, "version"); return (Criteria) this; } public Criteria andVersionNotIn(List<Integer> values) { addCriterion("version not in", values, "version"); return (Criteria) this; } public Criteria andVersionBetween(Integer value1, Integer value2) { addCriterion("version between", value1, value2, "version"); return (Criteria) this; } public Criteria andVersionNotBetween(Integer value1, Integer value2) { addCriterion("version not between", value1, value2, "version"); return (Criteria) this; } public Criteria andStateIsNull() { addCriterion("state is null"); return (Criteria) this; } public Criteria andStateIsNotNull() { addCriterion("state is not null"); return (Criteria) this; } public Criteria andStateEqualTo(Integer value) { addCriterion("state =", value, "state"); return (Criteria) this; } public Criteria andStateNotEqualTo(Integer value) { addCriterion("state <>", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThan(Integer value) { addCriterion("state >", value, "state"); return (Criteria) this; } public Criteria andStateGreaterThanOrEqualTo(Integer value) { addCriterion("state >=", value, "state"); return (Criteria) this; } public Criteria andStateLessThan(Integer value) { addCriterion("state <", value, "state"); return (Criteria) this; } public Criteria andStateLessThanOrEqualTo(Integer value) { addCriterion("state <=", value, "state"); return (Criteria) this; } public Criteria andStateIn(List<Integer> values) { addCriterion("state in", values, "state"); return (Criteria) this; } public Criteria andStateNotIn(List<Integer> values) { addCriterion("state not in", values, "state"); return (Criteria) this; } public Criteria andStateBetween(Integer value1, Integer value2) { addCriterion("state between", value1, value2, "state"); return (Criteria) this; } public Criteria andStateNotBetween(Integer value1, Integer value2) { addCriterion("state not between", value1, value2, "state"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_pay_record * * @MBG Generated do_not_delete_during_merge Tue Aug 29 22:25:52 CST 2017 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table tb_pay_record * * @MBG Generated Tue Aug 29 22:25:52 CST 2017 */ 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); } } }
package com.zheng.cms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class CmsArticleCategoryExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public CmsArticleCategoryExample() { 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 implements Serializable { 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 andArticleCategoryIdIsNull() { addCriterion("article_category_id is null"); return (Criteria) this; } public Criteria andArticleCategoryIdIsNotNull() { addCriterion("article_category_id is not null"); return (Criteria) this; } public Criteria andArticleCategoryIdEqualTo(Integer value) { addCriterion("article_category_id =", value, "articleCategoryId"); return (Criteria) this; } public Criteria andArticleCategoryIdNotEqualTo(Integer value) { addCriterion("article_category_id <>", value, "articleCategoryId"); return (Criteria) this; } public Criteria andArticleCategoryIdGreaterThan(Integer value) { addCriterion("article_category_id >", value, "articleCategoryId"); return (Criteria) this; } public Criteria andArticleCategoryIdGreaterThanOrEqualTo(Integer value) { addCriterion("article_category_id >=", value, "articleCategoryId"); return (Criteria) this; } public Criteria andArticleCategoryIdLessThan(Integer value) { addCriterion("article_category_id <", value, "articleCategoryId"); return (Criteria) this; } public Criteria andArticleCategoryIdLessThanOrEqualTo(Integer value) { addCriterion("article_category_id <=", value, "articleCategoryId"); return (Criteria) this; } public Criteria andArticleCategoryIdIn(List<Integer> values) { addCriterion("article_category_id in", values, "articleCategoryId"); return (Criteria) this; } public Criteria andArticleCategoryIdNotIn(List<Integer> values) { addCriterion("article_category_id not in", values, "articleCategoryId"); return (Criteria) this; } public Criteria andArticleCategoryIdBetween(Integer value1, Integer value2) { addCriterion("article_category_id between", value1, value2, "articleCategoryId"); return (Criteria) this; } public Criteria andArticleCategoryIdNotBetween(Integer value1, Integer value2) { addCriterion("article_category_id not between", value1, value2, "articleCategoryId"); return (Criteria) this; } public Criteria andArticleIdIsNull() { addCriterion("article_id is null"); return (Criteria) this; } public Criteria andArticleIdIsNotNull() { addCriterion("article_id is not null"); return (Criteria) this; } public Criteria andArticleIdEqualTo(Integer value) { addCriterion("article_id =", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdNotEqualTo(Integer value) { addCriterion("article_id <>", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdGreaterThan(Integer value) { addCriterion("article_id >", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdGreaterThanOrEqualTo(Integer value) { addCriterion("article_id >=", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdLessThan(Integer value) { addCriterion("article_id <", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdLessThanOrEqualTo(Integer value) { addCriterion("article_id <=", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdIn(List<Integer> values) { addCriterion("article_id in", values, "articleId"); return (Criteria) this; } public Criteria andArticleIdNotIn(List<Integer> values) { addCriterion("article_id not in", values, "articleId"); return (Criteria) this; } public Criteria andArticleIdBetween(Integer value1, Integer value2) { addCriterion("article_id between", value1, value2, "articleId"); return (Criteria) this; } public Criteria andArticleIdNotBetween(Integer value1, Integer value2) { addCriterion("article_id not between", value1, value2, "articleId"); return (Criteria) this; } public Criteria andCategoryIdIsNull() { addCriterion("category_id is null"); return (Criteria) this; } public Criteria andCategoryIdIsNotNull() { addCriterion("category_id is not null"); return (Criteria) this; } public Criteria andCategoryIdEqualTo(Integer value) { addCriterion("category_id =", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdNotEqualTo(Integer value) { addCriterion("category_id <>", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdGreaterThan(Integer value) { addCriterion("category_id >", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdGreaterThanOrEqualTo(Integer value) { addCriterion("category_id >=", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdLessThan(Integer value) { addCriterion("category_id <", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdLessThanOrEqualTo(Integer value) { addCriterion("category_id <=", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdIn(List<Integer> values) { addCriterion("category_id in", values, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdNotIn(List<Integer> values) { addCriterion("category_id not in", values, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdBetween(Integer value1, Integer value2) { addCriterion("category_id between", value1, value2, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdNotBetween(Integer value1, Integer value2) { addCriterion("category_id not between", value1, value2, "categoryId"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.cms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class CmsArticleExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public CmsArticleExample() { 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 implements Serializable { 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 andArticleIdIsNull() { addCriterion("article_id is null"); return (Criteria) this; } public Criteria andArticleIdIsNotNull() { addCriterion("article_id is not null"); return (Criteria) this; } public Criteria andArticleIdEqualTo(Integer value) { addCriterion("article_id =", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdNotEqualTo(Integer value) { addCriterion("article_id <>", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdGreaterThan(Integer value) { addCriterion("article_id >", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdGreaterThanOrEqualTo(Integer value) { addCriterion("article_id >=", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdLessThan(Integer value) { addCriterion("article_id <", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdLessThanOrEqualTo(Integer value) { addCriterion("article_id <=", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdIn(List<Integer> values) { addCriterion("article_id in", values, "articleId"); return (Criteria) this; } public Criteria andArticleIdNotIn(List<Integer> values) { addCriterion("article_id not in", values, "articleId"); return (Criteria) this; } public Criteria andArticleIdBetween(Integer value1, Integer value2) { addCriterion("article_id between", value1, value2, "articleId"); return (Criteria) this; } public Criteria andArticleIdNotBetween(Integer value1, Integer value2) { addCriterion("article_id not between", value1, value2, "articleId"); return (Criteria) this; } public Criteria andTopicIdIsNull() { addCriterion("topic_id is null"); return (Criteria) this; } public Criteria andTopicIdIsNotNull() { addCriterion("topic_id is not null"); return (Criteria) this; } public Criteria andTopicIdEqualTo(Integer value) { addCriterion("topic_id =", value, "topicId"); return (Criteria) this; } public Criteria andTopicIdNotEqualTo(Integer value) { addCriterion("topic_id <>", value, "topicId"); return (Criteria) this; } public Criteria andTopicIdGreaterThan(Integer value) { addCriterion("topic_id >", value, "topicId"); return (Criteria) this; } public Criteria andTopicIdGreaterThanOrEqualTo(Integer value) { addCriterion("topic_id >=", value, "topicId"); return (Criteria) this; } public Criteria andTopicIdLessThan(Integer value) { addCriterion("topic_id <", value, "topicId"); return (Criteria) this; } public Criteria andTopicIdLessThanOrEqualTo(Integer value) { addCriterion("topic_id <=", value, "topicId"); return (Criteria) this; } public Criteria andTopicIdIn(List<Integer> values) { addCriterion("topic_id in", values, "topicId"); return (Criteria) this; } public Criteria andTopicIdNotIn(List<Integer> values) { addCriterion("topic_id not in", values, "topicId"); return (Criteria) this; } public Criteria andTopicIdBetween(Integer value1, Integer value2) { addCriterion("topic_id between", value1, value2, "topicId"); return (Criteria) this; } public Criteria andTopicIdNotBetween(Integer value1, Integer value2) { addCriterion("topic_id not between", value1, value2, "topicId"); return (Criteria) this; } public Criteria andTitleIsNull() { addCriterion("title is null"); return (Criteria) this; } public Criteria andTitleIsNotNull() { addCriterion("title is not null"); return (Criteria) this; } public Criteria andTitleEqualTo(String value) { addCriterion("title =", value, "title"); return (Criteria) this; } public Criteria andTitleNotEqualTo(String value) { addCriterion("title <>", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThan(String value) { addCriterion("title >", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThanOrEqualTo(String value) { addCriterion("title >=", value, "title"); return (Criteria) this; } public Criteria andTitleLessThan(String value) { addCriterion("title <", value, "title"); return (Criteria) this; } public Criteria andTitleLessThanOrEqualTo(String value) { addCriterion("title <=", value, "title"); return (Criteria) this; } public Criteria andTitleLike(String value) { addCriterion("title like", value, "title"); return (Criteria) this; } public Criteria andTitleNotLike(String value) { addCriterion("title not like", value, "title"); return (Criteria) this; } public Criteria andTitleIn(List<String> values) { addCriterion("title in", values, "title"); return (Criteria) this; } public Criteria andTitleNotIn(List<String> values) { addCriterion("title not in", values, "title"); return (Criteria) this; } public Criteria andTitleBetween(String value1, String value2) { addCriterion("title between", value1, value2, "title"); return (Criteria) this; } public Criteria andTitleNotBetween(String value1, String value2) { addCriterion("title not between", value1, value2, "title"); return (Criteria) this; } public Criteria andAuthorIsNull() { addCriterion("author is null"); return (Criteria) this; } public Criteria andAuthorIsNotNull() { addCriterion("author is not null"); return (Criteria) this; } public Criteria andAuthorEqualTo(String value) { addCriterion("author =", value, "author"); return (Criteria) this; } public Criteria andAuthorNotEqualTo(String value) { addCriterion("author <>", value, "author"); return (Criteria) this; } public Criteria andAuthorGreaterThan(String value) { addCriterion("author >", value, "author"); return (Criteria) this; } public Criteria andAuthorGreaterThanOrEqualTo(String value) { addCriterion("author >=", value, "author"); return (Criteria) this; } public Criteria andAuthorLessThan(String value) { addCriterion("author <", value, "author"); return (Criteria) this; } public Criteria andAuthorLessThanOrEqualTo(String value) { addCriterion("author <=", value, "author"); return (Criteria) this; } public Criteria andAuthorLike(String value) { addCriterion("author like", value, "author"); return (Criteria) this; } public Criteria andAuthorNotLike(String value) { addCriterion("author not like", value, "author"); return (Criteria) this; } public Criteria andAuthorIn(List<String> values) { addCriterion("author in", values, "author"); return (Criteria) this; } public Criteria andAuthorNotIn(List<String> values) { addCriterion("author not in", values, "author"); return (Criteria) this; } public Criteria andAuthorBetween(String value1, String value2) { addCriterion("author between", value1, value2, "author"); return (Criteria) this; } public Criteria andAuthorNotBetween(String value1, String value2) { addCriterion("author not between", value1, value2, "author"); return (Criteria) this; } public Criteria andFromurlIsNull() { addCriterion("fromurl is null"); return (Criteria) this; } public Criteria andFromurlIsNotNull() { addCriterion("fromurl is not null"); return (Criteria) this; } public Criteria andFromurlEqualTo(String value) { addCriterion("fromurl =", value, "fromurl"); return (Criteria) this; } public Criteria andFromurlNotEqualTo(String value) { addCriterion("fromurl <>", value, "fromurl"); return (Criteria) this; } public Criteria andFromurlGreaterThan(String value) { addCriterion("fromurl >", value, "fromurl"); return (Criteria) this; } public Criteria andFromurlGreaterThanOrEqualTo(String value) { addCriterion("fromurl >=", value, "fromurl"); return (Criteria) this; } public Criteria andFromurlLessThan(String value) { addCriterion("fromurl <", value, "fromurl"); return (Criteria) this; } public Criteria andFromurlLessThanOrEqualTo(String value) { addCriterion("fromurl <=", value, "fromurl"); return (Criteria) this; } public Criteria andFromurlLike(String value) { addCriterion("fromurl like", value, "fromurl"); return (Criteria) this; } public Criteria andFromurlNotLike(String value) { addCriterion("fromurl not like", value, "fromurl"); return (Criteria) this; } public Criteria andFromurlIn(List<String> values) { addCriterion("fromurl in", values, "fromurl"); return (Criteria) this; } public Criteria andFromurlNotIn(List<String> values) { addCriterion("fromurl not in", values, "fromurl"); return (Criteria) this; } public Criteria andFromurlBetween(String value1, String value2) { addCriterion("fromurl between", value1, value2, "fromurl"); return (Criteria) this; } public Criteria andFromurlNotBetween(String value1, String value2) { addCriterion("fromurl not between", value1, value2, "fromurl"); return (Criteria) this; } public Criteria andImageIsNull() { addCriterion("image is null"); return (Criteria) this; } public Criteria andImageIsNotNull() { addCriterion("image is not null"); return (Criteria) this; } public Criteria andImageEqualTo(String value) { addCriterion("image =", value, "image"); return (Criteria) this; } public Criteria andImageNotEqualTo(String value) { addCriterion("image <>", value, "image"); return (Criteria) this; } public Criteria andImageGreaterThan(String value) { addCriterion("image >", value, "image"); return (Criteria) this; } public Criteria andImageGreaterThanOrEqualTo(String value) { addCriterion("image >=", value, "image"); return (Criteria) this; } public Criteria andImageLessThan(String value) { addCriterion("image <", value, "image"); return (Criteria) this; } public Criteria andImageLessThanOrEqualTo(String value) { addCriterion("image <=", value, "image"); return (Criteria) this; } public Criteria andImageLike(String value) { addCriterion("image like", value, "image"); return (Criteria) this; } public Criteria andImageNotLike(String value) { addCriterion("image not like", value, "image"); return (Criteria) this; } public Criteria andImageIn(List<String> values) { addCriterion("image in", values, "image"); return (Criteria) this; } public Criteria andImageNotIn(List<String> values) { addCriterion("image not in", values, "image"); return (Criteria) this; } public Criteria andImageBetween(String value1, String value2) { addCriterion("image between", value1, value2, "image"); return (Criteria) this; } public Criteria andImageNotBetween(String value1, String value2) { addCriterion("image not between", value1, value2, "image"); return (Criteria) this; } public Criteria andKeywordsIsNull() { addCriterion("keywords is null"); return (Criteria) this; } public Criteria andKeywordsIsNotNull() { addCriterion("keywords is not null"); return (Criteria) this; } public Criteria andKeywordsEqualTo(String value) { addCriterion("keywords =", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsNotEqualTo(String value) { addCriterion("keywords <>", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsGreaterThan(String value) { addCriterion("keywords >", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsGreaterThanOrEqualTo(String value) { addCriterion("keywords >=", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsLessThan(String value) { addCriterion("keywords <", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsLessThanOrEqualTo(String value) { addCriterion("keywords <=", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsLike(String value) { addCriterion("keywords like", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsNotLike(String value) { addCriterion("keywords not like", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsIn(List<String> values) { addCriterion("keywords in", values, "keywords"); return (Criteria) this; } public Criteria andKeywordsNotIn(List<String> values) { addCriterion("keywords not in", values, "keywords"); return (Criteria) this; } public Criteria andKeywordsBetween(String value1, String value2) { addCriterion("keywords between", value1, value2, "keywords"); return (Criteria) this; } public Criteria andKeywordsNotBetween(String value1, String value2) { addCriterion("keywords not between", value1, value2, "keywords"); return (Criteria) this; } public Criteria andDescriptionIsNull() { addCriterion("description is null"); return (Criteria) this; } public Criteria andDescriptionIsNotNull() { addCriterion("description is not null"); return (Criteria) this; } public Criteria andDescriptionEqualTo(String value) { addCriterion("description =", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotEqualTo(String value) { addCriterion("description <>", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThan(String value) { addCriterion("description >", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThanOrEqualTo(String value) { addCriterion("description >=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThan(String value) { addCriterion("description <", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThanOrEqualTo(String value) { addCriterion("description <=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLike(String value) { addCriterion("description like", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotLike(String value) { addCriterion("description not like", value, "description"); return (Criteria) this; } public Criteria andDescriptionIn(List<String> values) { addCriterion("description in", values, "description"); return (Criteria) this; } public Criteria andDescriptionNotIn(List<String> values) { addCriterion("description not in", values, "description"); return (Criteria) this; } public Criteria andDescriptionBetween(String value1, String value2) { addCriterion("description between", value1, value2, "description"); return (Criteria) this; } public Criteria andDescriptionNotBetween(String value1, String value2) { addCriterion("description not between", value1, value2, "description"); return (Criteria) this; } public Criteria andTypeIsNull() { addCriterion("type is null"); return (Criteria) this; } public Criteria andTypeIsNotNull() { addCriterion("type is not null"); return (Criteria) this; } public Criteria andTypeEqualTo(Byte value) { addCriterion("type =", value, "type"); return (Criteria) this; } public Criteria andTypeNotEqualTo(Byte value) { addCriterion("type <>", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThan(Byte value) { addCriterion("type >", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThanOrEqualTo(Byte value) { addCriterion("type >=", value, "type"); return (Criteria) this; } public Criteria andTypeLessThan(Byte value) { addCriterion("type <", value, "type"); return (Criteria) this; } public Criteria andTypeLessThanOrEqualTo(Byte value) { addCriterion("type <=", value, "type"); return (Criteria) this; } public Criteria andTypeIn(List<Byte> values) { addCriterion("type in", values, "type"); return (Criteria) this; } public Criteria andTypeNotIn(List<Byte> values) { addCriterion("type not in", values, "type"); return (Criteria) this; } public Criteria andTypeBetween(Byte value1, Byte value2) { addCriterion("type between", value1, value2, "type"); return (Criteria) this; } public Criteria andTypeNotBetween(Byte value1, Byte value2) { addCriterion("type not between", value1, value2, "type"); return (Criteria) this; } public Criteria andAllowcommentsIsNull() { addCriterion("allowcomments is null"); return (Criteria) this; } public Criteria andAllowcommentsIsNotNull() { addCriterion("allowcomments is not null"); return (Criteria) this; } public Criteria andAllowcommentsEqualTo(Byte value) { addCriterion("allowcomments =", value, "allowcomments"); return (Criteria) this; } public Criteria andAllowcommentsNotEqualTo(Byte value) { addCriterion("allowcomments <>", value, "allowcomments"); return (Criteria) this; } public Criteria andAllowcommentsGreaterThan(Byte value) { addCriterion("allowcomments >", value, "allowcomments"); return (Criteria) this; } public Criteria andAllowcommentsGreaterThanOrEqualTo(Byte value) { addCriterion("allowcomments >=", value, "allowcomments"); return (Criteria) this; } public Criteria andAllowcommentsLessThan(Byte value) { addCriterion("allowcomments <", value, "allowcomments"); return (Criteria) this; } public Criteria andAllowcommentsLessThanOrEqualTo(Byte value) { addCriterion("allowcomments <=", value, "allowcomments"); return (Criteria) this; } public Criteria andAllowcommentsIn(List<Byte> values) { addCriterion("allowcomments in", values, "allowcomments"); return (Criteria) this; } public Criteria andAllowcommentsNotIn(List<Byte> values) { addCriterion("allowcomments not in", values, "allowcomments"); return (Criteria) this; } public Criteria andAllowcommentsBetween(Byte value1, Byte value2) { addCriterion("allowcomments between", value1, value2, "allowcomments"); return (Criteria) this; } public Criteria andAllowcommentsNotBetween(Byte value1, Byte value2) { addCriterion("allowcomments not between", value1, value2, "allowcomments"); return (Criteria) this; } public Criteria andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(Byte value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(Byte value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(Byte value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(Byte value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(Byte value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(Byte value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List<Byte> values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List<Byte> values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(Byte value1, Byte value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(Byte value1, Byte value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } 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 andReadnumberIsNull() { addCriterion("readnumber is null"); return (Criteria) this; } public Criteria andReadnumberIsNotNull() { addCriterion("readnumber is not null"); return (Criteria) this; } public Criteria andReadnumberEqualTo(Integer value) { addCriterion("readnumber =", value, "readnumber"); return (Criteria) this; } public Criteria andReadnumberNotEqualTo(Integer value) { addCriterion("readnumber <>", value, "readnumber"); return (Criteria) this; } public Criteria andReadnumberGreaterThan(Integer value) { addCriterion("readnumber >", value, "readnumber"); return (Criteria) this; } public Criteria andReadnumberGreaterThanOrEqualTo(Integer value) { addCriterion("readnumber >=", value, "readnumber"); return (Criteria) this; } public Criteria andReadnumberLessThan(Integer value) { addCriterion("readnumber <", value, "readnumber"); return (Criteria) this; } public Criteria andReadnumberLessThanOrEqualTo(Integer value) { addCriterion("readnumber <=", value, "readnumber"); return (Criteria) this; } public Criteria andReadnumberIn(List<Integer> values) { addCriterion("readnumber in", values, "readnumber"); return (Criteria) this; } public Criteria andReadnumberNotIn(List<Integer> values) { addCriterion("readnumber not in", values, "readnumber"); return (Criteria) this; } public Criteria andReadnumberBetween(Integer value1, Integer value2) { addCriterion("readnumber between", value1, value2, "readnumber"); return (Criteria) this; } public Criteria andReadnumberNotBetween(Integer value1, Integer value2) { addCriterion("readnumber not between", value1, value2, "readnumber"); return (Criteria) this; } public Criteria andTopIsNull() { addCriterion("top is null"); return (Criteria) this; } public Criteria andTopIsNotNull() { addCriterion("top is not null"); return (Criteria) this; } public Criteria andTopEqualTo(Integer value) { addCriterion("top =", value, "top"); return (Criteria) this; } public Criteria andTopNotEqualTo(Integer value) { addCriterion("top <>", value, "top"); return (Criteria) this; } public Criteria andTopGreaterThan(Integer value) { addCriterion("top >", value, "top"); return (Criteria) this; } public Criteria andTopGreaterThanOrEqualTo(Integer value) { addCriterion("top >=", value, "top"); return (Criteria) this; } public Criteria andTopLessThan(Integer value) { addCriterion("top <", value, "top"); return (Criteria) this; } public Criteria andTopLessThanOrEqualTo(Integer value) { addCriterion("top <=", value, "top"); return (Criteria) this; } public Criteria andTopIn(List<Integer> values) { addCriterion("top in", values, "top"); return (Criteria) this; } public Criteria andTopNotIn(List<Integer> values) { addCriterion("top not in", values, "top"); return (Criteria) this; } public Criteria andTopBetween(Integer value1, Integer value2) { addCriterion("top between", value1, value2, "top"); return (Criteria) this; } public Criteria andTopNotBetween(Integer value1, Integer value2) { addCriterion("top not between", value1, value2, "top"); return (Criteria) this; } public Criteria andSystemIdIsNull() { addCriterion("system_id is null"); return (Criteria) this; } public Criteria andSystemIdIsNotNull() { addCriterion("system_id is not null"); return (Criteria) this; } public Criteria andSystemIdEqualTo(Integer value) { addCriterion("system_id =", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotEqualTo(Integer value) { addCriterion("system_id <>", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdGreaterThan(Integer value) { addCriterion("system_id >", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdGreaterThanOrEqualTo(Integer value) { addCriterion("system_id >=", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdLessThan(Integer value) { addCriterion("system_id <", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdLessThanOrEqualTo(Integer value) { addCriterion("system_id <=", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdIn(List<Integer> values) { addCriterion("system_id in", values, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotIn(List<Integer> values) { addCriterion("system_id not in", values, "systemId"); return (Criteria) this; } public Criteria andSystemIdBetween(Integer value1, Integer value2) { addCriterion("system_id between", value1, value2, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotBetween(Integer value1, Integer value2) { addCriterion("system_id not between", value1, value2, "systemId"); return (Criteria) this; } public Criteria andCtimeIsNull() { addCriterion("ctime is null"); return (Criteria) this; } public Criteria andCtimeIsNotNull() { addCriterion("ctime is not null"); return (Criteria) this; } public Criteria andCtimeEqualTo(Long value) { addCriterion("ctime =", value, "ctime"); return (Criteria) this; } public Criteria andCtimeNotEqualTo(Long value) { addCriterion("ctime <>", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThan(Long value) { addCriterion("ctime >", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThanOrEqualTo(Long value) { addCriterion("ctime >=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThan(Long value) { addCriterion("ctime <", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThanOrEqualTo(Long value) { addCriterion("ctime <=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeIn(List<Long> values) { addCriterion("ctime in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeNotIn(List<Long> values) { addCriterion("ctime not in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeBetween(Long value1, Long value2) { addCriterion("ctime between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andCtimeNotBetween(Long value1, Long value2) { addCriterion("ctime not between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andOrdersIsNull() { addCriterion("orders is null"); return (Criteria) this; } public Criteria andOrdersIsNotNull() { addCriterion("orders is not null"); return (Criteria) this; } public Criteria andOrdersEqualTo(Long value) { addCriterion("orders =", value, "orders"); return (Criteria) this; } public Criteria andOrdersNotEqualTo(Long value) { addCriterion("orders <>", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThan(Long value) { addCriterion("orders >", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThanOrEqualTo(Long value) { addCriterion("orders >=", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThan(Long value) { addCriterion("orders <", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThanOrEqualTo(Long value) { addCriterion("orders <=", value, "orders"); return (Criteria) this; } public Criteria andOrdersIn(List<Long> values) { addCriterion("orders in", values, "orders"); return (Criteria) this; } public Criteria andOrdersNotIn(List<Long> values) { addCriterion("orders not in", values, "orders"); return (Criteria) this; } public Criteria andOrdersBetween(Long value1, Long value2) { addCriterion("orders between", value1, value2, "orders"); return (Criteria) this; } public Criteria andOrdersNotBetween(Long value1, Long value2) { addCriterion("orders not between", value1, value2, "orders"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.cms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class CmsArticleTagExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public CmsArticleTagExample() { 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 implements Serializable { 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 andArticleTagIdIsNull() { addCriterion("article_tag_id is null"); return (Criteria) this; } public Criteria andArticleTagIdIsNotNull() { addCriterion("article_tag_id is not null"); return (Criteria) this; } public Criteria andArticleTagIdEqualTo(Integer value) { addCriterion("article_tag_id =", value, "articleTagId"); return (Criteria) this; } public Criteria andArticleTagIdNotEqualTo(Integer value) { addCriterion("article_tag_id <>", value, "articleTagId"); return (Criteria) this; } public Criteria andArticleTagIdGreaterThan(Integer value) { addCriterion("article_tag_id >", value, "articleTagId"); return (Criteria) this; } public Criteria andArticleTagIdGreaterThanOrEqualTo(Integer value) { addCriterion("article_tag_id >=", value, "articleTagId"); return (Criteria) this; } public Criteria andArticleTagIdLessThan(Integer value) { addCriterion("article_tag_id <", value, "articleTagId"); return (Criteria) this; } public Criteria andArticleTagIdLessThanOrEqualTo(Integer value) { addCriterion("article_tag_id <=", value, "articleTagId"); return (Criteria) this; } public Criteria andArticleTagIdIn(List<Integer> values) { addCriterion("article_tag_id in", values, "articleTagId"); return (Criteria) this; } public Criteria andArticleTagIdNotIn(List<Integer> values) { addCriterion("article_tag_id not in", values, "articleTagId"); return (Criteria) this; } public Criteria andArticleTagIdBetween(Integer value1, Integer value2) { addCriterion("article_tag_id between", value1, value2, "articleTagId"); return (Criteria) this; } public Criteria andArticleTagIdNotBetween(Integer value1, Integer value2) { addCriterion("article_tag_id not between", value1, value2, "articleTagId"); return (Criteria) this; } public Criteria andArticleIdIsNull() { addCriterion("article_id is null"); return (Criteria) this; } public Criteria andArticleIdIsNotNull() { addCriterion("article_id is not null"); return (Criteria) this; } public Criteria andArticleIdEqualTo(Integer value) { addCriterion("article_id =", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdNotEqualTo(Integer value) { addCriterion("article_id <>", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdGreaterThan(Integer value) { addCriterion("article_id >", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdGreaterThanOrEqualTo(Integer value) { addCriterion("article_id >=", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdLessThan(Integer value) { addCriterion("article_id <", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdLessThanOrEqualTo(Integer value) { addCriterion("article_id <=", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdIn(List<Integer> values) { addCriterion("article_id in", values, "articleId"); return (Criteria) this; } public Criteria andArticleIdNotIn(List<Integer> values) { addCriterion("article_id not in", values, "articleId"); return (Criteria) this; } public Criteria andArticleIdBetween(Integer value1, Integer value2) { addCriterion("article_id between", value1, value2, "articleId"); return (Criteria) this; } public Criteria andArticleIdNotBetween(Integer value1, Integer value2) { addCriterion("article_id not between", value1, value2, "articleId"); return (Criteria) this; } public Criteria andTagIdIsNull() { addCriterion("tag_id is null"); return (Criteria) this; } public Criteria andTagIdIsNotNull() { addCriterion("tag_id is not null"); return (Criteria) this; } public Criteria andTagIdEqualTo(Integer value) { addCriterion("tag_id =", value, "tagId"); return (Criteria) this; } public Criteria andTagIdNotEqualTo(Integer value) { addCriterion("tag_id <>", value, "tagId"); return (Criteria) this; } public Criteria andTagIdGreaterThan(Integer value) { addCriterion("tag_id >", value, "tagId"); return (Criteria) this; } public Criteria andTagIdGreaterThanOrEqualTo(Integer value) { addCriterion("tag_id >=", value, "tagId"); return (Criteria) this; } public Criteria andTagIdLessThan(Integer value) { addCriterion("tag_id <", value, "tagId"); return (Criteria) this; } public Criteria andTagIdLessThanOrEqualTo(Integer value) { addCriterion("tag_id <=", value, "tagId"); return (Criteria) this; } public Criteria andTagIdIn(List<Integer> values) { addCriterion("tag_id in", values, "tagId"); return (Criteria) this; } public Criteria andTagIdNotIn(List<Integer> values) { addCriterion("tag_id not in", values, "tagId"); return (Criteria) this; } public Criteria andTagIdBetween(Integer value1, Integer value2) { addCriterion("tag_id between", value1, value2, "tagId"); return (Criteria) this; } public Criteria andTagIdNotBetween(Integer value1, Integer value2) { addCriterion("tag_id not between", value1, value2, "tagId"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.cms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class CmsCategoryExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public CmsCategoryExample() { 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 implements Serializable { 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 andCategoryIdIsNull() { addCriterion("category_id is null"); return (Criteria) this; } public Criteria andCategoryIdIsNotNull() { addCriterion("category_id is not null"); return (Criteria) this; } public Criteria andCategoryIdEqualTo(Integer value) { addCriterion("category_id =", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdNotEqualTo(Integer value) { addCriterion("category_id <>", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdGreaterThan(Integer value) { addCriterion("category_id >", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdGreaterThanOrEqualTo(Integer value) { addCriterion("category_id >=", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdLessThan(Integer value) { addCriterion("category_id <", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdLessThanOrEqualTo(Integer value) { addCriterion("category_id <=", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdIn(List<Integer> values) { addCriterion("category_id in", values, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdNotIn(List<Integer> values) { addCriterion("category_id not in", values, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdBetween(Integer value1, Integer value2) { addCriterion("category_id between", value1, value2, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdNotBetween(Integer value1, Integer value2) { addCriterion("category_id not between", value1, value2, "categoryId"); return (Criteria) this; } public Criteria andPidIsNull() { addCriterion("pid is null"); return (Criteria) this; } public Criteria andPidIsNotNull() { addCriterion("pid is not null"); return (Criteria) this; } public Criteria andPidEqualTo(Integer value) { addCriterion("pid =", value, "pid"); return (Criteria) this; } public Criteria andPidNotEqualTo(Integer value) { addCriterion("pid <>", value, "pid"); return (Criteria) this; } public Criteria andPidGreaterThan(Integer value) { addCriterion("pid >", value, "pid"); return (Criteria) this; } public Criteria andPidGreaterThanOrEqualTo(Integer value) { addCriterion("pid >=", value, "pid"); return (Criteria) this; } public Criteria andPidLessThan(Integer value) { addCriterion("pid <", value, "pid"); return (Criteria) this; } public Criteria andPidLessThanOrEqualTo(Integer value) { addCriterion("pid <=", value, "pid"); return (Criteria) this; } public Criteria andPidIn(List<Integer> values) { addCriterion("pid in", values, "pid"); return (Criteria) this; } public Criteria andPidNotIn(List<Integer> values) { addCriterion("pid not in", values, "pid"); return (Criteria) this; } public Criteria andPidBetween(Integer value1, Integer value2) { addCriterion("pid between", value1, value2, "pid"); return (Criteria) this; } public Criteria andPidNotBetween(Integer value1, Integer value2) { addCriterion("pid not between", value1, value2, "pid"); return (Criteria) this; } public Criteria andLevelIsNull() { addCriterion("level is null"); return (Criteria) this; } public Criteria andLevelIsNotNull() { addCriterion("level is not null"); return (Criteria) this; } public Criteria andLevelEqualTo(Byte value) { addCriterion("level =", value, "level"); return (Criteria) this; } public Criteria andLevelNotEqualTo(Byte value) { addCriterion("level <>", value, "level"); return (Criteria) this; } public Criteria andLevelGreaterThan(Byte value) { addCriterion("level >", value, "level"); return (Criteria) this; } public Criteria andLevelGreaterThanOrEqualTo(Byte value) { addCriterion("level >=", value, "level"); return (Criteria) this; } public Criteria andLevelLessThan(Byte value) { addCriterion("level <", value, "level"); return (Criteria) this; } public Criteria andLevelLessThanOrEqualTo(Byte value) { addCriterion("level <=", value, "level"); return (Criteria) this; } public Criteria andLevelIn(List<Byte> values) { addCriterion("level in", values, "level"); return (Criteria) this; } public Criteria andLevelNotIn(List<Byte> values) { addCriterion("level not in", values, "level"); return (Criteria) this; } public Criteria andLevelBetween(Byte value1, Byte value2) { addCriterion("level between", value1, value2, "level"); return (Criteria) this; } public Criteria andLevelNotBetween(Byte value1, Byte value2) { addCriterion("level not between", value1, value2, "level"); 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 andDescriptionIsNull() { addCriterion("description is null"); return (Criteria) this; } public Criteria andDescriptionIsNotNull() { addCriterion("description is not null"); return (Criteria) this; } public Criteria andDescriptionEqualTo(String value) { addCriterion("description =", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotEqualTo(String value) { addCriterion("description <>", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThan(String value) { addCriterion("description >", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThanOrEqualTo(String value) { addCriterion("description >=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThan(String value) { addCriterion("description <", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThanOrEqualTo(String value) { addCriterion("description <=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLike(String value) { addCriterion("description like", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotLike(String value) { addCriterion("description not like", value, "description"); return (Criteria) this; } public Criteria andDescriptionIn(List<String> values) { addCriterion("description in", values, "description"); return (Criteria) this; } public Criteria andDescriptionNotIn(List<String> values) { addCriterion("description not in", values, "description"); return (Criteria) this; } public Criteria andDescriptionBetween(String value1, String value2) { addCriterion("description between", value1, value2, "description"); return (Criteria) this; } public Criteria andDescriptionNotBetween(String value1, String value2) { addCriterion("description not between", value1, value2, "description"); return (Criteria) this; } public Criteria andIconIsNull() { addCriterion("icon is null"); return (Criteria) this; } public Criteria andIconIsNotNull() { addCriterion("icon is not null"); return (Criteria) this; } public Criteria andIconEqualTo(String value) { addCriterion("icon =", value, "icon"); return (Criteria) this; } public Criteria andIconNotEqualTo(String value) { addCriterion("icon <>", value, "icon"); return (Criteria) this; } public Criteria andIconGreaterThan(String value) { addCriterion("icon >", value, "icon"); return (Criteria) this; } public Criteria andIconGreaterThanOrEqualTo(String value) { addCriterion("icon >=", value, "icon"); return (Criteria) this; } public Criteria andIconLessThan(String value) { addCriterion("icon <", value, "icon"); return (Criteria) this; } public Criteria andIconLessThanOrEqualTo(String value) { addCriterion("icon <=", value, "icon"); return (Criteria) this; } public Criteria andIconLike(String value) { addCriterion("icon like", value, "icon"); return (Criteria) this; } public Criteria andIconNotLike(String value) { addCriterion("icon not like", value, "icon"); return (Criteria) this; } public Criteria andIconIn(List<String> values) { addCriterion("icon in", values, "icon"); return (Criteria) this; } public Criteria andIconNotIn(List<String> values) { addCriterion("icon not in", values, "icon"); return (Criteria) this; } public Criteria andIconBetween(String value1, String value2) { addCriterion("icon between", value1, value2, "icon"); return (Criteria) this; } public Criteria andIconNotBetween(String value1, String value2) { addCriterion("icon not between", value1, value2, "icon"); return (Criteria) this; } public Criteria andTypeIsNull() { addCriterion("type is null"); return (Criteria) this; } public Criteria andTypeIsNotNull() { addCriterion("type is not null"); return (Criteria) this; } public Criteria andTypeEqualTo(Byte value) { addCriterion("type =", value, "type"); return (Criteria) this; } public Criteria andTypeNotEqualTo(Byte value) { addCriterion("type <>", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThan(Byte value) { addCriterion("type >", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThanOrEqualTo(Byte value) { addCriterion("type >=", value, "type"); return (Criteria) this; } public Criteria andTypeLessThan(Byte value) { addCriterion("type <", value, "type"); return (Criteria) this; } public Criteria andTypeLessThanOrEqualTo(Byte value) { addCriterion("type <=", value, "type"); return (Criteria) this; } public Criteria andTypeIn(List<Byte> values) { addCriterion("type in", values, "type"); return (Criteria) this; } public Criteria andTypeNotIn(List<Byte> values) { addCriterion("type not in", values, "type"); return (Criteria) this; } public Criteria andTypeBetween(Byte value1, Byte value2) { addCriterion("type between", value1, value2, "type"); return (Criteria) this; } public Criteria andTypeNotBetween(Byte value1, Byte value2) { addCriterion("type not between", value1, value2, "type"); return (Criteria) this; } public Criteria andAliasIsNull() { addCriterion("alias is null"); return (Criteria) this; } public Criteria andAliasIsNotNull() { addCriterion("alias is not null"); return (Criteria) this; } public Criteria andAliasEqualTo(String value) { addCriterion("alias =", value, "alias"); return (Criteria) this; } public Criteria andAliasNotEqualTo(String value) { addCriterion("alias <>", value, "alias"); return (Criteria) this; } public Criteria andAliasGreaterThan(String value) { addCriterion("alias >", value, "alias"); return (Criteria) this; } public Criteria andAliasGreaterThanOrEqualTo(String value) { addCriterion("alias >=", value, "alias"); return (Criteria) this; } public Criteria andAliasLessThan(String value) { addCriterion("alias <", value, "alias"); return (Criteria) this; } public Criteria andAliasLessThanOrEqualTo(String value) { addCriterion("alias <=", value, "alias"); return (Criteria) this; } public Criteria andAliasLike(String value) { addCriterion("alias like", value, "alias"); return (Criteria) this; } public Criteria andAliasNotLike(String value) { addCriterion("alias not like", value, "alias"); return (Criteria) this; } public Criteria andAliasIn(List<String> values) { addCriterion("alias in", values, "alias"); return (Criteria) this; } public Criteria andAliasNotIn(List<String> values) { addCriterion("alias not in", values, "alias"); return (Criteria) this; } public Criteria andAliasBetween(String value1, String value2) { addCriterion("alias between", value1, value2, "alias"); return (Criteria) this; } public Criteria andAliasNotBetween(String value1, String value2) { addCriterion("alias not between", value1, value2, "alias"); return (Criteria) this; } public Criteria andSystemIdIsNull() { addCriterion("system_id is null"); return (Criteria) this; } public Criteria andSystemIdIsNotNull() { addCriterion("system_id is not null"); return (Criteria) this; } public Criteria andSystemIdEqualTo(Integer value) { addCriterion("system_id =", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotEqualTo(Integer value) { addCriterion("system_id <>", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdGreaterThan(Integer value) { addCriterion("system_id >", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdGreaterThanOrEqualTo(Integer value) { addCriterion("system_id >=", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdLessThan(Integer value) { addCriterion("system_id <", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdLessThanOrEqualTo(Integer value) { addCriterion("system_id <=", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdIn(List<Integer> values) { addCriterion("system_id in", values, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotIn(List<Integer> values) { addCriterion("system_id not in", values, "systemId"); return (Criteria) this; } public Criteria andSystemIdBetween(Integer value1, Integer value2) { addCriterion("system_id between", value1, value2, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotBetween(Integer value1, Integer value2) { addCriterion("system_id not between", value1, value2, "systemId"); return (Criteria) this; } public Criteria andCtimeIsNull() { addCriterion("ctime is null"); return (Criteria) this; } public Criteria andCtimeIsNotNull() { addCriterion("ctime is not null"); return (Criteria) this; } public Criteria andCtimeEqualTo(Long value) { addCriterion("ctime =", value, "ctime"); return (Criteria) this; } public Criteria andCtimeNotEqualTo(Long value) { addCriterion("ctime <>", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThan(Long value) { addCriterion("ctime >", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThanOrEqualTo(Long value) { addCriterion("ctime >=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThan(Long value) { addCriterion("ctime <", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThanOrEqualTo(Long value) { addCriterion("ctime <=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeIn(List<Long> values) { addCriterion("ctime in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeNotIn(List<Long> values) { addCriterion("ctime not in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeBetween(Long value1, Long value2) { addCriterion("ctime between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andCtimeNotBetween(Long value1, Long value2) { addCriterion("ctime not between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andOrdersIsNull() { addCriterion("orders is null"); return (Criteria) this; } public Criteria andOrdersIsNotNull() { addCriterion("orders is not null"); return (Criteria) this; } public Criteria andOrdersEqualTo(Long value) { addCriterion("orders =", value, "orders"); return (Criteria) this; } public Criteria andOrdersNotEqualTo(Long value) { addCriterion("orders <>", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThan(Long value) { addCriterion("orders >", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThanOrEqualTo(Long value) { addCriterion("orders >=", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThan(Long value) { addCriterion("orders <", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThanOrEqualTo(Long value) { addCriterion("orders <=", value, "orders"); return (Criteria) this; } public Criteria andOrdersIn(List<Long> values) { addCriterion("orders in", values, "orders"); return (Criteria) this; } public Criteria andOrdersNotIn(List<Long> values) { addCriterion("orders not in", values, "orders"); return (Criteria) this; } public Criteria andOrdersBetween(Long value1, Long value2) { addCriterion("orders between", value1, value2, "orders"); return (Criteria) this; } public Criteria andOrdersNotBetween(Long value1, Long value2) { addCriterion("orders not between", value1, value2, "orders"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.cms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class CmsCategoryTagExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public CmsCategoryTagExample() { 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 implements Serializable { 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 andCategoryTagIdIsNull() { addCriterion("category_tag_id is null"); return (Criteria) this; } public Criteria andCategoryTagIdIsNotNull() { addCriterion("category_tag_id is not null"); return (Criteria) this; } public Criteria andCategoryTagIdEqualTo(Integer value) { addCriterion("category_tag_id =", value, "categoryTagId"); return (Criteria) this; } public Criteria andCategoryTagIdNotEqualTo(Integer value) { addCriterion("category_tag_id <>", value, "categoryTagId"); return (Criteria) this; } public Criteria andCategoryTagIdGreaterThan(Integer value) { addCriterion("category_tag_id >", value, "categoryTagId"); return (Criteria) this; } public Criteria andCategoryTagIdGreaterThanOrEqualTo(Integer value) { addCriterion("category_tag_id >=", value, "categoryTagId"); return (Criteria) this; } public Criteria andCategoryTagIdLessThan(Integer value) { addCriterion("category_tag_id <", value, "categoryTagId"); return (Criteria) this; } public Criteria andCategoryTagIdLessThanOrEqualTo(Integer value) { addCriterion("category_tag_id <=", value, "categoryTagId"); return (Criteria) this; } public Criteria andCategoryTagIdIn(List<Integer> values) { addCriterion("category_tag_id in", values, "categoryTagId"); return (Criteria) this; } public Criteria andCategoryTagIdNotIn(List<Integer> values) { addCriterion("category_tag_id not in", values, "categoryTagId"); return (Criteria) this; } public Criteria andCategoryTagIdBetween(Integer value1, Integer value2) { addCriterion("category_tag_id between", value1, value2, "categoryTagId"); return (Criteria) this; } public Criteria andCategoryTagIdNotBetween(Integer value1, Integer value2) { addCriterion("category_tag_id not between", value1, value2, "categoryTagId"); return (Criteria) this; } public Criteria andCategoryIdIsNull() { addCriterion("category_id is null"); return (Criteria) this; } public Criteria andCategoryIdIsNotNull() { addCriterion("category_id is not null"); return (Criteria) this; } public Criteria andCategoryIdEqualTo(Integer value) { addCriterion("category_id =", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdNotEqualTo(Integer value) { addCriterion("category_id <>", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdGreaterThan(Integer value) { addCriterion("category_id >", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdGreaterThanOrEqualTo(Integer value) { addCriterion("category_id >=", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdLessThan(Integer value) { addCriterion("category_id <", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdLessThanOrEqualTo(Integer value) { addCriterion("category_id <=", value, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdIn(List<Integer> values) { addCriterion("category_id in", values, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdNotIn(List<Integer> values) { addCriterion("category_id not in", values, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdBetween(Integer value1, Integer value2) { addCriterion("category_id between", value1, value2, "categoryId"); return (Criteria) this; } public Criteria andCategoryIdNotBetween(Integer value1, Integer value2) { addCriterion("category_id not between", value1, value2, "categoryId"); return (Criteria) this; } public Criteria andTagIdIsNull() { addCriterion("tag_id is null"); return (Criteria) this; } public Criteria andTagIdIsNotNull() { addCriterion("tag_id is not null"); return (Criteria) this; } public Criteria andTagIdEqualTo(Integer value) { addCriterion("tag_id =", value, "tagId"); return (Criteria) this; } public Criteria andTagIdNotEqualTo(Integer value) { addCriterion("tag_id <>", value, "tagId"); return (Criteria) this; } public Criteria andTagIdGreaterThan(Integer value) { addCriterion("tag_id >", value, "tagId"); return (Criteria) this; } public Criteria andTagIdGreaterThanOrEqualTo(Integer value) { addCriterion("tag_id >=", value, "tagId"); return (Criteria) this; } public Criteria andTagIdLessThan(Integer value) { addCriterion("tag_id <", value, "tagId"); return (Criteria) this; } public Criteria andTagIdLessThanOrEqualTo(Integer value) { addCriterion("tag_id <=", value, "tagId"); return (Criteria) this; } public Criteria andTagIdIn(List<Integer> values) { addCriterion("tag_id in", values, "tagId"); return (Criteria) this; } public Criteria andTagIdNotIn(List<Integer> values) { addCriterion("tag_id not in", values, "tagId"); return (Criteria) this; } public Criteria andTagIdBetween(Integer value1, Integer value2) { addCriterion("tag_id between", value1, value2, "tagId"); return (Criteria) this; } public Criteria andTagIdNotBetween(Integer value1, Integer value2) { addCriterion("tag_id not between", value1, value2, "tagId"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.cms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class CmsCommentExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public CmsCommentExample() { 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 implements Serializable { 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 andCommentIdIsNull() { addCriterion("comment_id is null"); return (Criteria) this; } public Criteria andCommentIdIsNotNull() { addCriterion("comment_id is not null"); return (Criteria) this; } public Criteria andCommentIdEqualTo(Integer value) { addCriterion("comment_id =", value, "commentId"); return (Criteria) this; } public Criteria andCommentIdNotEqualTo(Integer value) { addCriterion("comment_id <>", value, "commentId"); return (Criteria) this; } public Criteria andCommentIdGreaterThan(Integer value) { addCriterion("comment_id >", value, "commentId"); return (Criteria) this; } public Criteria andCommentIdGreaterThanOrEqualTo(Integer value) { addCriterion("comment_id >=", value, "commentId"); return (Criteria) this; } public Criteria andCommentIdLessThan(Integer value) { addCriterion("comment_id <", value, "commentId"); return (Criteria) this; } public Criteria andCommentIdLessThanOrEqualTo(Integer value) { addCriterion("comment_id <=", value, "commentId"); return (Criteria) this; } public Criteria andCommentIdIn(List<Integer> values) { addCriterion("comment_id in", values, "commentId"); return (Criteria) this; } public Criteria andCommentIdNotIn(List<Integer> values) { addCriterion("comment_id not in", values, "commentId"); return (Criteria) this; } public Criteria andCommentIdBetween(Integer value1, Integer value2) { addCriterion("comment_id between", value1, value2, "commentId"); return (Criteria) this; } public Criteria andCommentIdNotBetween(Integer value1, Integer value2) { addCriterion("comment_id not between", value1, value2, "commentId"); return (Criteria) this; } public Criteria andPidIsNull() { addCriterion("pid is null"); return (Criteria) this; } public Criteria andPidIsNotNull() { addCriterion("pid is not null"); return (Criteria) this; } public Criteria andPidEqualTo(Integer value) { addCriterion("pid =", value, "pid"); return (Criteria) this; } public Criteria andPidNotEqualTo(Integer value) { addCriterion("pid <>", value, "pid"); return (Criteria) this; } public Criteria andPidGreaterThan(Integer value) { addCriterion("pid >", value, "pid"); return (Criteria) this; } public Criteria andPidGreaterThanOrEqualTo(Integer value) { addCriterion("pid >=", value, "pid"); return (Criteria) this; } public Criteria andPidLessThan(Integer value) { addCriterion("pid <", value, "pid"); return (Criteria) this; } public Criteria andPidLessThanOrEqualTo(Integer value) { addCriterion("pid <=", value, "pid"); return (Criteria) this; } public Criteria andPidIn(List<Integer> values) { addCriterion("pid in", values, "pid"); return (Criteria) this; } public Criteria andPidNotIn(List<Integer> values) { addCriterion("pid not in", values, "pid"); return (Criteria) this; } public Criteria andPidBetween(Integer value1, Integer value2) { addCriterion("pid between", value1, value2, "pid"); return (Criteria) this; } public Criteria andPidNotBetween(Integer value1, Integer value2) { addCriterion("pid not between", value1, value2, "pid"); return (Criteria) this; } public Criteria andArticleIdIsNull() { addCriterion("article_id is null"); return (Criteria) this; } public Criteria andArticleIdIsNotNull() { addCriterion("article_id is not null"); return (Criteria) this; } public Criteria andArticleIdEqualTo(Integer value) { addCriterion("article_id =", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdNotEqualTo(Integer value) { addCriterion("article_id <>", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdGreaterThan(Integer value) { addCriterion("article_id >", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdGreaterThanOrEqualTo(Integer value) { addCriterion("article_id >=", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdLessThan(Integer value) { addCriterion("article_id <", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdLessThanOrEqualTo(Integer value) { addCriterion("article_id <=", value, "articleId"); return (Criteria) this; } public Criteria andArticleIdIn(List<Integer> values) { addCriterion("article_id in", values, "articleId"); return (Criteria) this; } public Criteria andArticleIdNotIn(List<Integer> values) { addCriterion("article_id not in", values, "articleId"); return (Criteria) this; } public Criteria andArticleIdBetween(Integer value1, Integer value2) { addCriterion("article_id between", value1, value2, "articleId"); return (Criteria) this; } public Criteria andArticleIdNotBetween(Integer value1, Integer value2) { addCriterion("article_id not between", value1, value2, "articleId"); return (Criteria) this; } 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 andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(Byte value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(Byte value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(Byte value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(Byte value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(Byte value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(Byte value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List<Byte> values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List<Byte> values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(Byte value1, Byte value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(Byte value1, Byte value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } public Criteria andIpIsNull() { addCriterion("ip is null"); return (Criteria) this; } public Criteria andIpIsNotNull() { addCriterion("ip is not null"); return (Criteria) this; } public Criteria andIpEqualTo(String value) { addCriterion("ip =", value, "ip"); return (Criteria) this; } public Criteria andIpNotEqualTo(String value) { addCriterion("ip <>", value, "ip"); return (Criteria) this; } public Criteria andIpGreaterThan(String value) { addCriterion("ip >", value, "ip"); return (Criteria) this; } public Criteria andIpGreaterThanOrEqualTo(String value) { addCriterion("ip >=", value, "ip"); return (Criteria) this; } public Criteria andIpLessThan(String value) { addCriterion("ip <", value, "ip"); return (Criteria) this; } public Criteria andIpLessThanOrEqualTo(String value) { addCriterion("ip <=", value, "ip"); return (Criteria) this; } public Criteria andIpLike(String value) { addCriterion("ip like", value, "ip"); return (Criteria) this; } public Criteria andIpNotLike(String value) { addCriterion("ip not like", value, "ip"); return (Criteria) this; } public Criteria andIpIn(List<String> values) { addCriterion("ip in", values, "ip"); return (Criteria) this; } public Criteria andIpNotIn(List<String> values) { addCriterion("ip not in", values, "ip"); return (Criteria) this; } public Criteria andIpBetween(String value1, String value2) { addCriterion("ip between", value1, value2, "ip"); return (Criteria) this; } public Criteria andIpNotBetween(String value1, String value2) { addCriterion("ip not between", value1, value2, "ip"); return (Criteria) this; } public Criteria andAgentIsNull() { addCriterion("agent is null"); return (Criteria) this; } public Criteria andAgentIsNotNull() { addCriterion("agent is not null"); return (Criteria) this; } public Criteria andAgentEqualTo(String value) { addCriterion("agent =", value, "agent"); return (Criteria) this; } public Criteria andAgentNotEqualTo(String value) { addCriterion("agent <>", value, "agent"); return (Criteria) this; } public Criteria andAgentGreaterThan(String value) { addCriterion("agent >", value, "agent"); return (Criteria) this; } public Criteria andAgentGreaterThanOrEqualTo(String value) { addCriterion("agent >=", value, "agent"); return (Criteria) this; } public Criteria andAgentLessThan(String value) { addCriterion("agent <", value, "agent"); return (Criteria) this; } public Criteria andAgentLessThanOrEqualTo(String value) { addCriterion("agent <=", value, "agent"); return (Criteria) this; } public Criteria andAgentLike(String value) { addCriterion("agent like", value, "agent"); return (Criteria) this; } public Criteria andAgentNotLike(String value) { addCriterion("agent not like", value, "agent"); return (Criteria) this; } public Criteria andAgentIn(List<String> values) { addCriterion("agent in", values, "agent"); return (Criteria) this; } public Criteria andAgentNotIn(List<String> values) { addCriterion("agent not in", values, "agent"); return (Criteria) this; } public Criteria andAgentBetween(String value1, String value2) { addCriterion("agent between", value1, value2, "agent"); return (Criteria) this; } public Criteria andAgentNotBetween(String value1, String value2) { addCriterion("agent not between", value1, value2, "agent"); return (Criteria) this; } public Criteria andSystemIdIsNull() { addCriterion("system_id is null"); return (Criteria) this; } public Criteria andSystemIdIsNotNull() { addCriterion("system_id is not null"); return (Criteria) this; } public Criteria andSystemIdEqualTo(Integer value) { addCriterion("system_id =", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotEqualTo(Integer value) { addCriterion("system_id <>", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdGreaterThan(Integer value) { addCriterion("system_id >", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdGreaterThanOrEqualTo(Integer value) { addCriterion("system_id >=", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdLessThan(Integer value) { addCriterion("system_id <", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdLessThanOrEqualTo(Integer value) { addCriterion("system_id <=", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdIn(List<Integer> values) { addCriterion("system_id in", values, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotIn(List<Integer> values) { addCriterion("system_id not in", values, "systemId"); return (Criteria) this; } public Criteria andSystemIdBetween(Integer value1, Integer value2) { addCriterion("system_id between", value1, value2, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotBetween(Integer value1, Integer value2) { addCriterion("system_id not between", value1, value2, "systemId"); return (Criteria) this; } public Criteria andCtimeIsNull() { addCriterion("ctime is null"); return (Criteria) this; } public Criteria andCtimeIsNotNull() { addCriterion("ctime is not null"); return (Criteria) this; } public Criteria andCtimeEqualTo(Long value) { addCriterion("ctime =", value, "ctime"); return (Criteria) this; } public Criteria andCtimeNotEqualTo(Long value) { addCriterion("ctime <>", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThan(Long value) { addCriterion("ctime >", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThanOrEqualTo(Long value) { addCriterion("ctime >=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThan(Long value) { addCriterion("ctime <", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThanOrEqualTo(Long value) { addCriterion("ctime <=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeIn(List<Long> values) { addCriterion("ctime in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeNotIn(List<Long> values) { addCriterion("ctime not in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeBetween(Long value1, Long value2) { addCriterion("ctime between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andCtimeNotBetween(Long value1, Long value2) { addCriterion("ctime not between", value1, value2, "ctime"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.cms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class CmsMenuExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public CmsMenuExample() { 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 implements Serializable { 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 andMenuIdIsNull() { addCriterion("menu_id is null"); return (Criteria) this; } public Criteria andMenuIdIsNotNull() { addCriterion("menu_id is not null"); return (Criteria) this; } public Criteria andMenuIdEqualTo(Integer value) { addCriterion("menu_id =", value, "menuId"); return (Criteria) this; } public Criteria andMenuIdNotEqualTo(Integer value) { addCriterion("menu_id <>", value, "menuId"); return (Criteria) this; } public Criteria andMenuIdGreaterThan(Integer value) { addCriterion("menu_id >", value, "menuId"); return (Criteria) this; } public Criteria andMenuIdGreaterThanOrEqualTo(Integer value) { addCriterion("menu_id >=", value, "menuId"); return (Criteria) this; } public Criteria andMenuIdLessThan(Integer value) { addCriterion("menu_id <", value, "menuId"); return (Criteria) this; } public Criteria andMenuIdLessThanOrEqualTo(Integer value) { addCriterion("menu_id <=", value, "menuId"); return (Criteria) this; } public Criteria andMenuIdIn(List<Integer> values) { addCriterion("menu_id in", values, "menuId"); return (Criteria) this; } public Criteria andMenuIdNotIn(List<Integer> values) { addCriterion("menu_id not in", values, "menuId"); return (Criteria) this; } public Criteria andMenuIdBetween(Integer value1, Integer value2) { addCriterion("menu_id between", value1, value2, "menuId"); return (Criteria) this; } public Criteria andMenuIdNotBetween(Integer value1, Integer value2) { addCriterion("menu_id not between", value1, value2, "menuId"); return (Criteria) this; } public Criteria andPidIsNull() { addCriterion("pid is null"); return (Criteria) this; } public Criteria andPidIsNotNull() { addCriterion("pid is not null"); return (Criteria) this; } public Criteria andPidEqualTo(Integer value) { addCriterion("pid =", value, "pid"); return (Criteria) this; } public Criteria andPidNotEqualTo(Integer value) { addCriterion("pid <>", value, "pid"); return (Criteria) this; } public Criteria andPidGreaterThan(Integer value) { addCriterion("pid >", value, "pid"); return (Criteria) this; } public Criteria andPidGreaterThanOrEqualTo(Integer value) { addCriterion("pid >=", value, "pid"); return (Criteria) this; } public Criteria andPidLessThan(Integer value) { addCriterion("pid <", value, "pid"); return (Criteria) this; } public Criteria andPidLessThanOrEqualTo(Integer value) { addCriterion("pid <=", value, "pid"); return (Criteria) this; } public Criteria andPidIn(List<Integer> values) { addCriterion("pid in", values, "pid"); return (Criteria) this; } public Criteria andPidNotIn(List<Integer> values) { addCriterion("pid not in", values, "pid"); return (Criteria) this; } public Criteria andPidBetween(Integer value1, Integer value2) { addCriterion("pid between", value1, value2, "pid"); return (Criteria) this; } public Criteria andPidNotBetween(Integer value1, Integer value2) { addCriterion("pid not between", value1, value2, "pid"); 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 andUrlIsNull() { addCriterion("url is null"); return (Criteria) this; } public Criteria andUrlIsNotNull() { addCriterion("url is not null"); return (Criteria) this; } public Criteria andUrlEqualTo(String value) { addCriterion("url =", value, "url"); return (Criteria) this; } public Criteria andUrlNotEqualTo(String value) { addCriterion("url <>", value, "url"); return (Criteria) this; } public Criteria andUrlGreaterThan(String value) { addCriterion("url >", value, "url"); return (Criteria) this; } public Criteria andUrlGreaterThanOrEqualTo(String value) { addCriterion("url >=", value, "url"); return (Criteria) this; } public Criteria andUrlLessThan(String value) { addCriterion("url <", value, "url"); return (Criteria) this; } public Criteria andUrlLessThanOrEqualTo(String value) { addCriterion("url <=", value, "url"); return (Criteria) this; } public Criteria andUrlLike(String value) { addCriterion("url like", value, "url"); return (Criteria) this; } public Criteria andUrlNotLike(String value) { addCriterion("url not like", value, "url"); return (Criteria) this; } public Criteria andUrlIn(List<String> values) { addCriterion("url in", values, "url"); return (Criteria) this; } public Criteria andUrlNotIn(List<String> values) { addCriterion("url not in", values, "url"); return (Criteria) this; } public Criteria andUrlBetween(String value1, String value2) { addCriterion("url between", value1, value2, "url"); return (Criteria) this; } public Criteria andUrlNotBetween(String value1, String value2) { addCriterion("url not between", value1, value2, "url"); return (Criteria) this; } public Criteria andTargetIsNull() { addCriterion("target is null"); return (Criteria) this; } public Criteria andTargetIsNotNull() { addCriterion("target is not null"); return (Criteria) this; } public Criteria andTargetEqualTo(String value) { addCriterion("target =", value, "target"); return (Criteria) this; } public Criteria andTargetNotEqualTo(String value) { addCriterion("target <>", value, "target"); return (Criteria) this; } public Criteria andTargetGreaterThan(String value) { addCriterion("target >", value, "target"); return (Criteria) this; } public Criteria andTargetGreaterThanOrEqualTo(String value) { addCriterion("target >=", value, "target"); return (Criteria) this; } public Criteria andTargetLessThan(String value) { addCriterion("target <", value, "target"); return (Criteria) this; } public Criteria andTargetLessThanOrEqualTo(String value) { addCriterion("target <=", value, "target"); return (Criteria) this; } public Criteria andTargetLike(String value) { addCriterion("target like", value, "target"); return (Criteria) this; } public Criteria andTargetNotLike(String value) { addCriterion("target not like", value, "target"); return (Criteria) this; } public Criteria andTargetIn(List<String> values) { addCriterion("target in", values, "target"); return (Criteria) this; } public Criteria andTargetNotIn(List<String> values) { addCriterion("target not in", values, "target"); return (Criteria) this; } public Criteria andTargetBetween(String value1, String value2) { addCriterion("target between", value1, value2, "target"); return (Criteria) this; } public Criteria andTargetNotBetween(String value1, String value2) { addCriterion("target not between", value1, value2, "target"); return (Criteria) this; } public Criteria andOrdersIsNull() { addCriterion("orders is null"); return (Criteria) this; } public Criteria andOrdersIsNotNull() { addCriterion("orders is not null"); return (Criteria) this; } public Criteria andOrdersEqualTo(Long value) { addCriterion("orders =", value, "orders"); return (Criteria) this; } public Criteria andOrdersNotEqualTo(Long value) { addCriterion("orders <>", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThan(Long value) { addCriterion("orders >", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThanOrEqualTo(Long value) { addCriterion("orders >=", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThan(Long value) { addCriterion("orders <", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThanOrEqualTo(Long value) { addCriterion("orders <=", value, "orders"); return (Criteria) this; } public Criteria andOrdersIn(List<Long> values) { addCriterion("orders in", values, "orders"); return (Criteria) this; } public Criteria andOrdersNotIn(List<Long> values) { addCriterion("orders not in", values, "orders"); return (Criteria) this; } public Criteria andOrdersBetween(Long value1, Long value2) { addCriterion("orders between", value1, value2, "orders"); return (Criteria) this; } public Criteria andOrdersNotBetween(Long value1, Long value2) { addCriterion("orders not between", value1, value2, "orders"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.cms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class CmsPageExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public CmsPageExample() { 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 implements Serializable { 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 andPageIdIsNull() { addCriterion("page_id is null"); return (Criteria) this; } public Criteria andPageIdIsNotNull() { addCriterion("page_id is not null"); return (Criteria) this; } public Criteria andPageIdEqualTo(Integer value) { addCriterion("page_id =", value, "pageId"); return (Criteria) this; } public Criteria andPageIdNotEqualTo(Integer value) { addCriterion("page_id <>", value, "pageId"); return (Criteria) this; } public Criteria andPageIdGreaterThan(Integer value) { addCriterion("page_id >", value, "pageId"); return (Criteria) this; } public Criteria andPageIdGreaterThanOrEqualTo(Integer value) { addCriterion("page_id >=", value, "pageId"); return (Criteria) this; } public Criteria andPageIdLessThan(Integer value) { addCriterion("page_id <", value, "pageId"); return (Criteria) this; } public Criteria andPageIdLessThanOrEqualTo(Integer value) { addCriterion("page_id <=", value, "pageId"); return (Criteria) this; } public Criteria andPageIdIn(List<Integer> values) { addCriterion("page_id in", values, "pageId"); return (Criteria) this; } public Criteria andPageIdNotIn(List<Integer> values) { addCriterion("page_id not in", values, "pageId"); return (Criteria) this; } public Criteria andPageIdBetween(Integer value1, Integer value2) { addCriterion("page_id between", value1, value2, "pageId"); return (Criteria) this; } public Criteria andPageIdNotBetween(Integer value1, Integer value2) { addCriterion("page_id not between", value1, value2, "pageId"); return (Criteria) this; } public Criteria andPidIsNull() { addCriterion("pid is null"); return (Criteria) this; } public Criteria andPidIsNotNull() { addCriterion("pid is not null"); return (Criteria) this; } public Criteria andPidEqualTo(Integer value) { addCriterion("pid =", value, "pid"); return (Criteria) this; } public Criteria andPidNotEqualTo(Integer value) { addCriterion("pid <>", value, "pid"); return (Criteria) this; } public Criteria andPidGreaterThan(Integer value) { addCriterion("pid >", value, "pid"); return (Criteria) this; } public Criteria andPidGreaterThanOrEqualTo(Integer value) { addCriterion("pid >=", value, "pid"); return (Criteria) this; } public Criteria andPidLessThan(Integer value) { addCriterion("pid <", value, "pid"); return (Criteria) this; } public Criteria andPidLessThanOrEqualTo(Integer value) { addCriterion("pid <=", value, "pid"); return (Criteria) this; } public Criteria andPidIn(List<Integer> values) { addCriterion("pid in", values, "pid"); return (Criteria) this; } public Criteria andPidNotIn(List<Integer> values) { addCriterion("pid not in", values, "pid"); return (Criteria) this; } public Criteria andPidBetween(Integer value1, Integer value2) { addCriterion("pid between", value1, value2, "pid"); return (Criteria) this; } public Criteria andPidNotBetween(Integer value1, Integer value2) { addCriterion("pid not between", value1, value2, "pid"); return (Criteria) this; } public Criteria andTitleIsNull() { addCriterion("title is null"); return (Criteria) this; } public Criteria andTitleIsNotNull() { addCriterion("title is not null"); return (Criteria) this; } public Criteria andTitleEqualTo(String value) { addCriterion("title =", value, "title"); return (Criteria) this; } public Criteria andTitleNotEqualTo(String value) { addCriterion("title <>", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThan(String value) { addCriterion("title >", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThanOrEqualTo(String value) { addCriterion("title >=", value, "title"); return (Criteria) this; } public Criteria andTitleLessThan(String value) { addCriterion("title <", value, "title"); return (Criteria) this; } public Criteria andTitleLessThanOrEqualTo(String value) { addCriterion("title <=", value, "title"); return (Criteria) this; } public Criteria andTitleLike(String value) { addCriterion("title like", value, "title"); return (Criteria) this; } public Criteria andTitleNotLike(String value) { addCriterion("title not like", value, "title"); return (Criteria) this; } public Criteria andTitleIn(List<String> values) { addCriterion("title in", values, "title"); return (Criteria) this; } public Criteria andTitleNotIn(List<String> values) { addCriterion("title not in", values, "title"); return (Criteria) this; } public Criteria andTitleBetween(String value1, String value2) { addCriterion("title between", value1, value2, "title"); return (Criteria) this; } public Criteria andTitleNotBetween(String value1, String value2) { addCriterion("title not between", value1, value2, "title"); return (Criteria) this; } public Criteria andAliasIsNull() { addCriterion("alias is null"); return (Criteria) this; } public Criteria andAliasIsNotNull() { addCriterion("alias is not null"); return (Criteria) this; } public Criteria andAliasEqualTo(String value) { addCriterion("alias =", value, "alias"); return (Criteria) this; } public Criteria andAliasNotEqualTo(String value) { addCriterion("alias <>", value, "alias"); return (Criteria) this; } public Criteria andAliasGreaterThan(String value) { addCriterion("alias >", value, "alias"); return (Criteria) this; } public Criteria andAliasGreaterThanOrEqualTo(String value) { addCriterion("alias >=", value, "alias"); return (Criteria) this; } public Criteria andAliasLessThan(String value) { addCriterion("alias <", value, "alias"); return (Criteria) this; } public Criteria andAliasLessThanOrEqualTo(String value) { addCriterion("alias <=", value, "alias"); return (Criteria) this; } public Criteria andAliasLike(String value) { addCriterion("alias like", value, "alias"); return (Criteria) this; } public Criteria andAliasNotLike(String value) { addCriterion("alias not like", value, "alias"); return (Criteria) this; } public Criteria andAliasIn(List<String> values) { addCriterion("alias in", values, "alias"); return (Criteria) this; } public Criteria andAliasNotIn(List<String> values) { addCriterion("alias not in", values, "alias"); return (Criteria) this; } public Criteria andAliasBetween(String value1, String value2) { addCriterion("alias between", value1, value2, "alias"); return (Criteria) this; } public Criteria andAliasNotBetween(String value1, String value2) { addCriterion("alias not between", value1, value2, "alias"); return (Criteria) this; } public Criteria andKeywordsIsNull() { addCriterion("keywords is null"); return (Criteria) this; } public Criteria andKeywordsIsNotNull() { addCriterion("keywords is not null"); return (Criteria) this; } public Criteria andKeywordsEqualTo(String value) { addCriterion("keywords =", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsNotEqualTo(String value) { addCriterion("keywords <>", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsGreaterThan(String value) { addCriterion("keywords >", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsGreaterThanOrEqualTo(String value) { addCriterion("keywords >=", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsLessThan(String value) { addCriterion("keywords <", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsLessThanOrEqualTo(String value) { addCriterion("keywords <=", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsLike(String value) { addCriterion("keywords like", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsNotLike(String value) { addCriterion("keywords not like", value, "keywords"); return (Criteria) this; } public Criteria andKeywordsIn(List<String> values) { addCriterion("keywords in", values, "keywords"); return (Criteria) this; } public Criteria andKeywordsNotIn(List<String> values) { addCriterion("keywords not in", values, "keywords"); return (Criteria) this; } public Criteria andKeywordsBetween(String value1, String value2) { addCriterion("keywords between", value1, value2, "keywords"); return (Criteria) this; } public Criteria andKeywordsNotBetween(String value1, String value2) { addCriterion("keywords not between", value1, value2, "keywords"); return (Criteria) this; } public Criteria andDescriptionIsNull() { addCriterion("description is null"); return (Criteria) this; } public Criteria andDescriptionIsNotNull() { addCriterion("description is not null"); return (Criteria) this; } public Criteria andDescriptionEqualTo(String value) { addCriterion("description =", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotEqualTo(String value) { addCriterion("description <>", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThan(String value) { addCriterion("description >", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThanOrEqualTo(String value) { addCriterion("description >=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThan(String value) { addCriterion("description <", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThanOrEqualTo(String value) { addCriterion("description <=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLike(String value) { addCriterion("description like", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotLike(String value) { addCriterion("description not like", value, "description"); return (Criteria) this; } public Criteria andDescriptionIn(List<String> values) { addCriterion("description in", values, "description"); return (Criteria) this; } public Criteria andDescriptionNotIn(List<String> values) { addCriterion("description not in", values, "description"); return (Criteria) this; } public Criteria andDescriptionBetween(String value1, String value2) { addCriterion("description between", value1, value2, "description"); return (Criteria) this; } public Criteria andDescriptionNotBetween(String value1, String value2) { addCriterion("description not between", value1, value2, "description"); return (Criteria) this; } public Criteria andCtimeIsNull() { addCriterion("ctime is null"); return (Criteria) this; } public Criteria andCtimeIsNotNull() { addCriterion("ctime is not null"); return (Criteria) this; } public Criteria andCtimeEqualTo(Long value) { addCriterion("ctime =", value, "ctime"); return (Criteria) this; } public Criteria andCtimeNotEqualTo(Long value) { addCriterion("ctime <>", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThan(Long value) { addCriterion("ctime >", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThanOrEqualTo(Long value) { addCriterion("ctime >=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThan(Long value) { addCriterion("ctime <", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThanOrEqualTo(Long value) { addCriterion("ctime <=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeIn(List<Long> values) { addCriterion("ctime in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeNotIn(List<Long> values) { addCriterion("ctime not in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeBetween(Long value1, Long value2) { addCriterion("ctime between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andCtimeNotBetween(Long value1, Long value2) { addCriterion("ctime not between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andOrdersIsNull() { addCriterion("orders is null"); return (Criteria) this; } public Criteria andOrdersIsNotNull() { addCriterion("orders is not null"); return (Criteria) this; } public Criteria andOrdersEqualTo(Long value) { addCriterion("orders =", value, "orders"); return (Criteria) this; } public Criteria andOrdersNotEqualTo(Long value) { addCriterion("orders <>", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThan(Long value) { addCriterion("orders >", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThanOrEqualTo(Long value) { addCriterion("orders >=", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThan(Long value) { addCriterion("orders <", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThanOrEqualTo(Long value) { addCriterion("orders <=", value, "orders"); return (Criteria) this; } public Criteria andOrdersIn(List<Long> values) { addCriterion("orders in", values, "orders"); return (Criteria) this; } public Criteria andOrdersNotIn(List<Long> values) { addCriterion("orders not in", values, "orders"); return (Criteria) this; } public Criteria andOrdersBetween(Long value1, Long value2) { addCriterion("orders between", value1, value2, "orders"); return (Criteria) this; } public Criteria andOrdersNotBetween(Long value1, Long value2) { addCriterion("orders not between", value1, value2, "orders"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.cms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class CmsSettingExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public CmsSettingExample() { 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 implements Serializable { 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 andSettingIdIsNull() { addCriterion("setting_id is null"); return (Criteria) this; } public Criteria andSettingIdIsNotNull() { addCriterion("setting_id is not null"); return (Criteria) this; } public Criteria andSettingIdEqualTo(Integer value) { addCriterion("setting_id =", value, "settingId"); return (Criteria) this; } public Criteria andSettingIdNotEqualTo(Integer value) { addCriterion("setting_id <>", value, "settingId"); return (Criteria) this; } public Criteria andSettingIdGreaterThan(Integer value) { addCriterion("setting_id >", value, "settingId"); return (Criteria) this; } public Criteria andSettingIdGreaterThanOrEqualTo(Integer value) { addCriterion("setting_id >=", value, "settingId"); return (Criteria) this; } public Criteria andSettingIdLessThan(Integer value) { addCriterion("setting_id <", value, "settingId"); return (Criteria) this; } public Criteria andSettingIdLessThanOrEqualTo(Integer value) { addCriterion("setting_id <=", value, "settingId"); return (Criteria) this; } public Criteria andSettingIdIn(List<Integer> values) { addCriterion("setting_id in", values, "settingId"); return (Criteria) this; } public Criteria andSettingIdNotIn(List<Integer> values) { addCriterion("setting_id not in", values, "settingId"); return (Criteria) this; } public Criteria andSettingIdBetween(Integer value1, Integer value2) { addCriterion("setting_id between", value1, value2, "settingId"); return (Criteria) this; } public Criteria andSettingIdNotBetween(Integer value1, Integer value2) { addCriterion("setting_id not between", value1, value2, "settingId"); return (Criteria) this; } public Criteria andSettingKeyIsNull() { addCriterion("setting_key is null"); return (Criteria) this; } public Criteria andSettingKeyIsNotNull() { addCriterion("setting_key is not null"); return (Criteria) this; } public Criteria andSettingKeyEqualTo(String value) { addCriterion("setting_key =", value, "settingKey"); return (Criteria) this; } public Criteria andSettingKeyNotEqualTo(String value) { addCriterion("setting_key <>", value, "settingKey"); return (Criteria) this; } public Criteria andSettingKeyGreaterThan(String value) { addCriterion("setting_key >", value, "settingKey"); return (Criteria) this; } public Criteria andSettingKeyGreaterThanOrEqualTo(String value) { addCriterion("setting_key >=", value, "settingKey"); return (Criteria) this; } public Criteria andSettingKeyLessThan(String value) { addCriterion("setting_key <", value, "settingKey"); return (Criteria) this; } public Criteria andSettingKeyLessThanOrEqualTo(String value) { addCriterion("setting_key <=", value, "settingKey"); return (Criteria) this; } public Criteria andSettingKeyLike(String value) { addCriterion("setting_key like", value, "settingKey"); return (Criteria) this; } public Criteria andSettingKeyNotLike(String value) { addCriterion("setting_key not like", value, "settingKey"); return (Criteria) this; } public Criteria andSettingKeyIn(List<String> values) { addCriterion("setting_key in", values, "settingKey"); return (Criteria) this; } public Criteria andSettingKeyNotIn(List<String> values) { addCriterion("setting_key not in", values, "settingKey"); return (Criteria) this; } public Criteria andSettingKeyBetween(String value1, String value2) { addCriterion("setting_key between", value1, value2, "settingKey"); return (Criteria) this; } public Criteria andSettingKeyNotBetween(String value1, String value2) { addCriterion("setting_key not between", value1, value2, "settingKey"); return (Criteria) this; } public Criteria andSettingValueIsNull() { addCriterion("setting_value is null"); return (Criteria) this; } public Criteria andSettingValueIsNotNull() { addCriterion("setting_value is not null"); return (Criteria) this; } public Criteria andSettingValueEqualTo(String value) { addCriterion("setting_value =", value, "settingValue"); return (Criteria) this; } public Criteria andSettingValueNotEqualTo(String value) { addCriterion("setting_value <>", value, "settingValue"); return (Criteria) this; } public Criteria andSettingValueGreaterThan(String value) { addCriterion("setting_value >", value, "settingValue"); return (Criteria) this; } public Criteria andSettingValueGreaterThanOrEqualTo(String value) { addCriterion("setting_value >=", value, "settingValue"); return (Criteria) this; } public Criteria andSettingValueLessThan(String value) { addCriterion("setting_value <", value, "settingValue"); return (Criteria) this; } public Criteria andSettingValueLessThanOrEqualTo(String value) { addCriterion("setting_value <=", value, "settingValue"); return (Criteria) this; } public Criteria andSettingValueLike(String value) { addCriterion("setting_value like", value, "settingValue"); return (Criteria) this; } public Criteria andSettingValueNotLike(String value) { addCriterion("setting_value not like", value, "settingValue"); return (Criteria) this; } public Criteria andSettingValueIn(List<String> values) { addCriterion("setting_value in", values, "settingValue"); return (Criteria) this; } public Criteria andSettingValueNotIn(List<String> values) { addCriterion("setting_value not in", values, "settingValue"); return (Criteria) this; } public Criteria andSettingValueBetween(String value1, String value2) { addCriterion("setting_value between", value1, value2, "settingValue"); return (Criteria) this; } public Criteria andSettingValueNotBetween(String value1, String value2) { addCriterion("setting_value not between", value1, value2, "settingValue"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.cms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class CmsSystemExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public CmsSystemExample() { 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 implements Serializable { 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 andSystemIdIsNull() { addCriterion("system_id is null"); return (Criteria) this; } public Criteria andSystemIdIsNotNull() { addCriterion("system_id is not null"); return (Criteria) this; } public Criteria andSystemIdEqualTo(Integer value) { addCriterion("system_id =", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotEqualTo(Integer value) { addCriterion("system_id <>", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdGreaterThan(Integer value) { addCriterion("system_id >", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdGreaterThanOrEqualTo(Integer value) { addCriterion("system_id >=", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdLessThan(Integer value) { addCriterion("system_id <", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdLessThanOrEqualTo(Integer value) { addCriterion("system_id <=", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdIn(List<Integer> values) { addCriterion("system_id in", values, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotIn(List<Integer> values) { addCriterion("system_id not in", values, "systemId"); return (Criteria) this; } public Criteria andSystemIdBetween(Integer value1, Integer value2) { addCriterion("system_id between", value1, value2, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotBetween(Integer value1, Integer value2) { addCriterion("system_id not between", value1, value2, "systemId"); 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 andCodeIsNull() { addCriterion("code is null"); return (Criteria) this; } public Criteria andCodeIsNotNull() { addCriterion("code is not null"); return (Criteria) this; } public Criteria andCodeEqualTo(String value) { addCriterion("code =", value, "code"); return (Criteria) this; } public Criteria andCodeNotEqualTo(String value) { addCriterion("code <>", value, "code"); return (Criteria) this; } public Criteria andCodeGreaterThan(String value) { addCriterion("code >", value, "code"); return (Criteria) this; } public Criteria andCodeGreaterThanOrEqualTo(String value) { addCriterion("code >=", value, "code"); return (Criteria) this; } public Criteria andCodeLessThan(String value) { addCriterion("code <", value, "code"); return (Criteria) this; } public Criteria andCodeLessThanOrEqualTo(String value) { addCriterion("code <=", value, "code"); return (Criteria) this; } public Criteria andCodeLike(String value) { addCriterion("code like", value, "code"); return (Criteria) this; } public Criteria andCodeNotLike(String value) { addCriterion("code not like", value, "code"); return (Criteria) this; } public Criteria andCodeIn(List<String> values) { addCriterion("code in", values, "code"); return (Criteria) this; } public Criteria andCodeNotIn(List<String> values) { addCriterion("code not in", values, "code"); return (Criteria) this; } public Criteria andCodeBetween(String value1, String value2) { addCriterion("code between", value1, value2, "code"); return (Criteria) this; } public Criteria andCodeNotBetween(String value1, String value2) { addCriterion("code not between", value1, value2, "code"); return (Criteria) this; } public Criteria andDescriptionIsNull() { addCriterion("description is null"); return (Criteria) this; } public Criteria andDescriptionIsNotNull() { addCriterion("description is not null"); return (Criteria) this; } public Criteria andDescriptionEqualTo(String value) { addCriterion("description =", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotEqualTo(String value) { addCriterion("description <>", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThan(String value) { addCriterion("description >", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThanOrEqualTo(String value) { addCriterion("description >=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThan(String value) { addCriterion("description <", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThanOrEqualTo(String value) { addCriterion("description <=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLike(String value) { addCriterion("description like", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotLike(String value) { addCriterion("description not like", value, "description"); return (Criteria) this; } public Criteria andDescriptionIn(List<String> values) { addCriterion("description in", values, "description"); return (Criteria) this; } public Criteria andDescriptionNotIn(List<String> values) { addCriterion("description not in", values, "description"); return (Criteria) this; } public Criteria andDescriptionBetween(String value1, String value2) { addCriterion("description between", value1, value2, "description"); return (Criteria) this; } public Criteria andDescriptionNotBetween(String value1, String value2) { addCriterion("description not between", value1, value2, "description"); return (Criteria) this; } public Criteria andCtimeIsNull() { addCriterion("ctime is null"); return (Criteria) this; } public Criteria andCtimeIsNotNull() { addCriterion("ctime is not null"); return (Criteria) this; } public Criteria andCtimeEqualTo(Long value) { addCriterion("ctime =", value, "ctime"); return (Criteria) this; } public Criteria andCtimeNotEqualTo(Long value) { addCriterion("ctime <>", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThan(Long value) { addCriterion("ctime >", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThanOrEqualTo(Long value) { addCriterion("ctime >=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThan(Long value) { addCriterion("ctime <", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThanOrEqualTo(Long value) { addCriterion("ctime <=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeIn(List<Long> values) { addCriterion("ctime in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeNotIn(List<Long> values) { addCriterion("ctime not in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeBetween(Long value1, Long value2) { addCriterion("ctime between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andCtimeNotBetween(Long value1, Long value2) { addCriterion("ctime not between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andOrdersIsNull() { addCriterion("orders is null"); return (Criteria) this; } public Criteria andOrdersIsNotNull() { addCriterion("orders is not null"); return (Criteria) this; } public Criteria andOrdersEqualTo(Long value) { addCriterion("orders =", value, "orders"); return (Criteria) this; } public Criteria andOrdersNotEqualTo(Long value) { addCriterion("orders <>", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThan(Long value) { addCriterion("orders >", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThanOrEqualTo(Long value) { addCriterion("orders >=", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThan(Long value) { addCriterion("orders <", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThanOrEqualTo(Long value) { addCriterion("orders <=", value, "orders"); return (Criteria) this; } public Criteria andOrdersIn(List<Long> values) { addCriterion("orders in", values, "orders"); return (Criteria) this; } public Criteria andOrdersNotIn(List<Long> values) { addCriterion("orders not in", values, "orders"); return (Criteria) this; } public Criteria andOrdersBetween(Long value1, Long value2) { addCriterion("orders between", value1, value2, "orders"); return (Criteria) this; } public Criteria andOrdersNotBetween(Long value1, Long value2) { addCriterion("orders not between", value1, value2, "orders"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.cms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class CmsTagExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public CmsTagExample() { 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 implements Serializable { 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 andTagIdIsNull() { addCriterion("tag_id is null"); return (Criteria) this; } public Criteria andTagIdIsNotNull() { addCriterion("tag_id is not null"); return (Criteria) this; } public Criteria andTagIdEqualTo(Integer value) { addCriterion("tag_id =", value, "tagId"); return (Criteria) this; } public Criteria andTagIdNotEqualTo(Integer value) { addCriterion("tag_id <>", value, "tagId"); return (Criteria) this; } public Criteria andTagIdGreaterThan(Integer value) { addCriterion("tag_id >", value, "tagId"); return (Criteria) this; } public Criteria andTagIdGreaterThanOrEqualTo(Integer value) { addCriterion("tag_id >=", value, "tagId"); return (Criteria) this; } public Criteria andTagIdLessThan(Integer value) { addCriterion("tag_id <", value, "tagId"); return (Criteria) this; } public Criteria andTagIdLessThanOrEqualTo(Integer value) { addCriterion("tag_id <=", value, "tagId"); return (Criteria) this; } public Criteria andTagIdIn(List<Integer> values) { addCriterion("tag_id in", values, "tagId"); return (Criteria) this; } public Criteria andTagIdNotIn(List<Integer> values) { addCriterion("tag_id not in", values, "tagId"); return (Criteria) this; } public Criteria andTagIdBetween(Integer value1, Integer value2) { addCriterion("tag_id between", value1, value2, "tagId"); return (Criteria) this; } public Criteria andTagIdNotBetween(Integer value1, Integer value2) { addCriterion("tag_id not between", value1, value2, "tagId"); 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 andDescriptionIsNull() { addCriterion("description is null"); return (Criteria) this; } public Criteria andDescriptionIsNotNull() { addCriterion("description is not null"); return (Criteria) this; } public Criteria andDescriptionEqualTo(String value) { addCriterion("description =", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotEqualTo(String value) { addCriterion("description <>", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThan(String value) { addCriterion("description >", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThanOrEqualTo(String value) { addCriterion("description >=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThan(String value) { addCriterion("description <", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThanOrEqualTo(String value) { addCriterion("description <=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLike(String value) { addCriterion("description like", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotLike(String value) { addCriterion("description not like", value, "description"); return (Criteria) this; } public Criteria andDescriptionIn(List<String> values) { addCriterion("description in", values, "description"); return (Criteria) this; } public Criteria andDescriptionNotIn(List<String> values) { addCriterion("description not in", values, "description"); return (Criteria) this; } public Criteria andDescriptionBetween(String value1, String value2) { addCriterion("description between", value1, value2, "description"); return (Criteria) this; } public Criteria andDescriptionNotBetween(String value1, String value2) { addCriterion("description not between", value1, value2, "description"); return (Criteria) this; } public Criteria andIconIsNull() { addCriterion("icon is null"); return (Criteria) this; } public Criteria andIconIsNotNull() { addCriterion("icon is not null"); return (Criteria) this; } public Criteria andIconEqualTo(String value) { addCriterion("icon =", value, "icon"); return (Criteria) this; } public Criteria andIconNotEqualTo(String value) { addCriterion("icon <>", value, "icon"); return (Criteria) this; } public Criteria andIconGreaterThan(String value) { addCriterion("icon >", value, "icon"); return (Criteria) this; } public Criteria andIconGreaterThanOrEqualTo(String value) { addCriterion("icon >=", value, "icon"); return (Criteria) this; } public Criteria andIconLessThan(String value) { addCriterion("icon <", value, "icon"); return (Criteria) this; } public Criteria andIconLessThanOrEqualTo(String value) { addCriterion("icon <=", value, "icon"); return (Criteria) this; } public Criteria andIconLike(String value) { addCriterion("icon like", value, "icon"); return (Criteria) this; } public Criteria andIconNotLike(String value) { addCriterion("icon not like", value, "icon"); return (Criteria) this; } public Criteria andIconIn(List<String> values) { addCriterion("icon in", values, "icon"); return (Criteria) this; } public Criteria andIconNotIn(List<String> values) { addCriterion("icon not in", values, "icon"); return (Criteria) this; } public Criteria andIconBetween(String value1, String value2) { addCriterion("icon between", value1, value2, "icon"); return (Criteria) this; } public Criteria andIconNotBetween(String value1, String value2) { addCriterion("icon not between", value1, value2, "icon"); return (Criteria) this; } public Criteria andTypeIsNull() { addCriterion("type is null"); return (Criteria) this; } public Criteria andTypeIsNotNull() { addCriterion("type is not null"); return (Criteria) this; } public Criteria andTypeEqualTo(Byte value) { addCriterion("type =", value, "type"); return (Criteria) this; } public Criteria andTypeNotEqualTo(Byte value) { addCriterion("type <>", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThan(Byte value) { addCriterion("type >", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThanOrEqualTo(Byte value) { addCriterion("type >=", value, "type"); return (Criteria) this; } public Criteria andTypeLessThan(Byte value) { addCriterion("type <", value, "type"); return (Criteria) this; } public Criteria andTypeLessThanOrEqualTo(Byte value) { addCriterion("type <=", value, "type"); return (Criteria) this; } public Criteria andTypeIn(List<Byte> values) { addCriterion("type in", values, "type"); return (Criteria) this; } public Criteria andTypeNotIn(List<Byte> values) { addCriterion("type not in", values, "type"); return (Criteria) this; } public Criteria andTypeBetween(Byte value1, Byte value2) { addCriterion("type between", value1, value2, "type"); return (Criteria) this; } public Criteria andTypeNotBetween(Byte value1, Byte value2) { addCriterion("type not between", value1, value2, "type"); return (Criteria) this; } public Criteria andAliasIsNull() { addCriterion("alias is null"); return (Criteria) this; } public Criteria andAliasIsNotNull() { addCriterion("alias is not null"); return (Criteria) this; } public Criteria andAliasEqualTo(String value) { addCriterion("alias =", value, "alias"); return (Criteria) this; } public Criteria andAliasNotEqualTo(String value) { addCriterion("alias <>", value, "alias"); return (Criteria) this; } public Criteria andAliasGreaterThan(String value) { addCriterion("alias >", value, "alias"); return (Criteria) this; } public Criteria andAliasGreaterThanOrEqualTo(String value) { addCriterion("alias >=", value, "alias"); return (Criteria) this; } public Criteria andAliasLessThan(String value) { addCriterion("alias <", value, "alias"); return (Criteria) this; } public Criteria andAliasLessThanOrEqualTo(String value) { addCriterion("alias <=", value, "alias"); return (Criteria) this; } public Criteria andAliasLike(String value) { addCriterion("alias like", value, "alias"); return (Criteria) this; } public Criteria andAliasNotLike(String value) { addCriterion("alias not like", value, "alias"); return (Criteria) this; } public Criteria andAliasIn(List<String> values) { addCriterion("alias in", values, "alias"); return (Criteria) this; } public Criteria andAliasNotIn(List<String> values) { addCriterion("alias not in", values, "alias"); return (Criteria) this; } public Criteria andAliasBetween(String value1, String value2) { addCriterion("alias between", value1, value2, "alias"); return (Criteria) this; } public Criteria andAliasNotBetween(String value1, String value2) { addCriterion("alias not between", value1, value2, "alias"); return (Criteria) this; } public Criteria andSystemIdIsNull() { addCriterion("system_id is null"); return (Criteria) this; } public Criteria andSystemIdIsNotNull() { addCriterion("system_id is not null"); return (Criteria) this; } public Criteria andSystemIdEqualTo(Integer value) { addCriterion("system_id =", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotEqualTo(Integer value) { addCriterion("system_id <>", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdGreaterThan(Integer value) { addCriterion("system_id >", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdGreaterThanOrEqualTo(Integer value) { addCriterion("system_id >=", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdLessThan(Integer value) { addCriterion("system_id <", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdLessThanOrEqualTo(Integer value) { addCriterion("system_id <=", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdIn(List<Integer> values) { addCriterion("system_id in", values, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotIn(List<Integer> values) { addCriterion("system_id not in", values, "systemId"); return (Criteria) this; } public Criteria andSystemIdBetween(Integer value1, Integer value2) { addCriterion("system_id between", value1, value2, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotBetween(Integer value1, Integer value2) { addCriterion("system_id not between", value1, value2, "systemId"); return (Criteria) this; } public Criteria andCtimeIsNull() { addCriterion("ctime is null"); return (Criteria) this; } public Criteria andCtimeIsNotNull() { addCriterion("ctime is not null"); return (Criteria) this; } public Criteria andCtimeEqualTo(Long value) { addCriterion("ctime =", value, "ctime"); return (Criteria) this; } public Criteria andCtimeNotEqualTo(Long value) { addCriterion("ctime <>", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThan(Long value) { addCriterion("ctime >", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThanOrEqualTo(Long value) { addCriterion("ctime >=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThan(Long value) { addCriterion("ctime <", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThanOrEqualTo(Long value) { addCriterion("ctime <=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeIn(List<Long> values) { addCriterion("ctime in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeNotIn(List<Long> values) { addCriterion("ctime not in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeBetween(Long value1, Long value2) { addCriterion("ctime between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andCtimeNotBetween(Long value1, Long value2) { addCriterion("ctime not between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andOrdersIsNull() { addCriterion("orders is null"); return (Criteria) this; } public Criteria andOrdersIsNotNull() { addCriterion("orders is not null"); return (Criteria) this; } public Criteria andOrdersEqualTo(Long value) { addCriterion("orders =", value, "orders"); return (Criteria) this; } public Criteria andOrdersNotEqualTo(Long value) { addCriterion("orders <>", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThan(Long value) { addCriterion("orders >", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThanOrEqualTo(Long value) { addCriterion("orders >=", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThan(Long value) { addCriterion("orders <", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThanOrEqualTo(Long value) { addCriterion("orders <=", value, "orders"); return (Criteria) this; } public Criteria andOrdersIn(List<Long> values) { addCriterion("orders in", values, "orders"); return (Criteria) this; } public Criteria andOrdersNotIn(List<Long> values) { addCriterion("orders not in", values, "orders"); return (Criteria) this; } public Criteria andOrdersBetween(Long value1, Long value2) { addCriterion("orders between", value1, value2, "orders"); return (Criteria) this; } public Criteria andOrdersNotBetween(Long value1, Long value2) { addCriterion("orders not between", value1, value2, "orders"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.cms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class CmsTopicExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public CmsTopicExample() { 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 implements Serializable { 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 andTopicIdIsNull() { addCriterion("topic_id is null"); return (Criteria) this; } public Criteria andTopicIdIsNotNull() { addCriterion("topic_id is not null"); return (Criteria) this; } public Criteria andTopicIdEqualTo(Integer value) { addCriterion("topic_id =", value, "topicId"); return (Criteria) this; } public Criteria andTopicIdNotEqualTo(Integer value) { addCriterion("topic_id <>", value, "topicId"); return (Criteria) this; } public Criteria andTopicIdGreaterThan(Integer value) { addCriterion("topic_id >", value, "topicId"); return (Criteria) this; } public Criteria andTopicIdGreaterThanOrEqualTo(Integer value) { addCriterion("topic_id >=", value, "topicId"); return (Criteria) this; } public Criteria andTopicIdLessThan(Integer value) { addCriterion("topic_id <", value, "topicId"); return (Criteria) this; } public Criteria andTopicIdLessThanOrEqualTo(Integer value) { addCriterion("topic_id <=", value, "topicId"); return (Criteria) this; } public Criteria andTopicIdIn(List<Integer> values) { addCriterion("topic_id in", values, "topicId"); return (Criteria) this; } public Criteria andTopicIdNotIn(List<Integer> values) { addCriterion("topic_id not in", values, "topicId"); return (Criteria) this; } public Criteria andTopicIdBetween(Integer value1, Integer value2) { addCriterion("topic_id between", value1, value2, "topicId"); return (Criteria) this; } public Criteria andTopicIdNotBetween(Integer value1, Integer value2) { addCriterion("topic_id not between", value1, value2, "topicId"); return (Criteria) this; } public Criteria andTitleIsNull() { addCriterion("title is null"); return (Criteria) this; } public Criteria andTitleIsNotNull() { addCriterion("title is not null"); return (Criteria) this; } public Criteria andTitleEqualTo(String value) { addCriterion("title =", value, "title"); return (Criteria) this; } public Criteria andTitleNotEqualTo(String value) { addCriterion("title <>", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThan(String value) { addCriterion("title >", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThanOrEqualTo(String value) { addCriterion("title >=", value, "title"); return (Criteria) this; } public Criteria andTitleLessThan(String value) { addCriterion("title <", value, "title"); return (Criteria) this; } public Criteria andTitleLessThanOrEqualTo(String value) { addCriterion("title <=", value, "title"); return (Criteria) this; } public Criteria andTitleLike(String value) { addCriterion("title like", value, "title"); return (Criteria) this; } public Criteria andTitleNotLike(String value) { addCriterion("title not like", value, "title"); return (Criteria) this; } public Criteria andTitleIn(List<String> values) { addCriterion("title in", values, "title"); return (Criteria) this; } public Criteria andTitleNotIn(List<String> values) { addCriterion("title not in", values, "title"); return (Criteria) this; } public Criteria andTitleBetween(String value1, String value2) { addCriterion("title between", value1, value2, "title"); return (Criteria) this; } public Criteria andTitleNotBetween(String value1, String value2) { addCriterion("title not between", value1, value2, "title"); return (Criteria) this; } public Criteria andDescriptionIsNull() { addCriterion("description is null"); return (Criteria) this; } public Criteria andDescriptionIsNotNull() { addCriterion("description is not null"); return (Criteria) this; } public Criteria andDescriptionEqualTo(String value) { addCriterion("description =", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotEqualTo(String value) { addCriterion("description <>", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThan(String value) { addCriterion("description >", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThanOrEqualTo(String value) { addCriterion("description >=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThan(String value) { addCriterion("description <", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThanOrEqualTo(String value) { addCriterion("description <=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLike(String value) { addCriterion("description like", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotLike(String value) { addCriterion("description not like", value, "description"); return (Criteria) this; } public Criteria andDescriptionIn(List<String> values) { addCriterion("description in", values, "description"); return (Criteria) this; } public Criteria andDescriptionNotIn(List<String> values) { addCriterion("description not in", values, "description"); return (Criteria) this; } public Criteria andDescriptionBetween(String value1, String value2) { addCriterion("description between", value1, value2, "description"); return (Criteria) this; } public Criteria andDescriptionNotBetween(String value1, String value2) { addCriterion("description not between", value1, value2, "description"); return (Criteria) this; } public Criteria andUrlIsNull() { addCriterion("url is null"); return (Criteria) this; } public Criteria andUrlIsNotNull() { addCriterion("url is not null"); return (Criteria) this; } public Criteria andUrlEqualTo(String value) { addCriterion("url =", value, "url"); return (Criteria) this; } public Criteria andUrlNotEqualTo(String value) { addCriterion("url <>", value, "url"); return (Criteria) this; } public Criteria andUrlGreaterThan(String value) { addCriterion("url >", value, "url"); return (Criteria) this; } public Criteria andUrlGreaterThanOrEqualTo(String value) { addCriterion("url >=", value, "url"); return (Criteria) this; } public Criteria andUrlLessThan(String value) { addCriterion("url <", value, "url"); return (Criteria) this; } public Criteria andUrlLessThanOrEqualTo(String value) { addCriterion("url <=", value, "url"); return (Criteria) this; } public Criteria andUrlLike(String value) { addCriterion("url like", value, "url"); return (Criteria) this; } public Criteria andUrlNotLike(String value) { addCriterion("url not like", value, "url"); return (Criteria) this; } public Criteria andUrlIn(List<String> values) { addCriterion("url in", values, "url"); return (Criteria) this; } public Criteria andUrlNotIn(List<String> values) { addCriterion("url not in", values, "url"); return (Criteria) this; } public Criteria andUrlBetween(String value1, String value2) { addCriterion("url between", value1, value2, "url"); return (Criteria) this; } public Criteria andUrlNotBetween(String value1, String value2) { addCriterion("url not between", value1, value2, "url"); return (Criteria) this; } public Criteria andCtimeIsNull() { addCriterion("ctime is null"); return (Criteria) this; } public Criteria andCtimeIsNotNull() { addCriterion("ctime is not null"); return (Criteria) this; } public Criteria andCtimeEqualTo(Long value) { addCriterion("ctime =", value, "ctime"); return (Criteria) this; } public Criteria andCtimeNotEqualTo(Long value) { addCriterion("ctime <>", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThan(Long value) { addCriterion("ctime >", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThanOrEqualTo(Long value) { addCriterion("ctime >=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThan(Long value) { addCriterion("ctime <", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThanOrEqualTo(Long value) { addCriterion("ctime <=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeIn(List<Long> values) { addCriterion("ctime in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeNotIn(List<Long> values) { addCriterion("ctime not in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeBetween(Long value1, Long value2) { addCriterion("ctime between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andCtimeNotBetween(Long value1, Long value2) { addCriterion("ctime not between", value1, value2, "ctime"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.pay.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class PayInOrderDetailExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public PayInOrderDetailExample() { 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 implements Serializable { 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 andPayInOrderDetailIdIsNull() { addCriterion("pay_in_order_detail_id is null"); return (Criteria) this; } public Criteria andPayInOrderDetailIdIsNotNull() { addCriterion("pay_in_order_detail_id is not null"); return (Criteria) this; } public Criteria andPayInOrderDetailIdEqualTo(Integer value) { addCriterion("pay_in_order_detail_id =", value, "payInOrderDetailId"); return (Criteria) this; } public Criteria andPayInOrderDetailIdNotEqualTo(Integer value) { addCriterion("pay_in_order_detail_id <>", value, "payInOrderDetailId"); return (Criteria) this; } public Criteria andPayInOrderDetailIdGreaterThan(Integer value) { addCriterion("pay_in_order_detail_id >", value, "payInOrderDetailId"); return (Criteria) this; } public Criteria andPayInOrderDetailIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_in_order_detail_id >=", value, "payInOrderDetailId"); return (Criteria) this; } public Criteria andPayInOrderDetailIdLessThan(Integer value) { addCriterion("pay_in_order_detail_id <", value, "payInOrderDetailId"); return (Criteria) this; } public Criteria andPayInOrderDetailIdLessThanOrEqualTo(Integer value) { addCriterion("pay_in_order_detail_id <=", value, "payInOrderDetailId"); return (Criteria) this; } public Criteria andPayInOrderDetailIdIn(List<Integer> values) { addCriterion("pay_in_order_detail_id in", values, "payInOrderDetailId"); return (Criteria) this; } public Criteria andPayInOrderDetailIdNotIn(List<Integer> values) { addCriterion("pay_in_order_detail_id not in", values, "payInOrderDetailId"); return (Criteria) this; } public Criteria andPayInOrderDetailIdBetween(Integer value1, Integer value2) { addCriterion("pay_in_order_detail_id between", value1, value2, "payInOrderDetailId"); return (Criteria) this; } public Criteria andPayInOrderDetailIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_in_order_detail_id not between", value1, value2, "payInOrderDetailId"); return (Criteria) this; } public Criteria andPayInOrderIdIsNull() { addCriterion("pay_in_order_id is null"); return (Criteria) this; } public Criteria andPayInOrderIdIsNotNull() { addCriterion("pay_in_order_id is not null"); return (Criteria) this; } public Criteria andPayInOrderIdEqualTo(Integer value) { addCriterion("pay_in_order_id =", value, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdNotEqualTo(Integer value) { addCriterion("pay_in_order_id <>", value, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdGreaterThan(Integer value) { addCriterion("pay_in_order_id >", value, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_in_order_id >=", value, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdLessThan(Integer value) { addCriterion("pay_in_order_id <", value, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdLessThanOrEqualTo(Integer value) { addCriterion("pay_in_order_id <=", value, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdIn(List<Integer> values) { addCriterion("pay_in_order_id in", values, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdNotIn(List<Integer> values) { addCriterion("pay_in_order_id not in", values, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdBetween(Integer value1, Integer value2) { addCriterion("pay_in_order_id between", value1, value2, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_in_order_id not between", value1, value2, "payInOrderId"); return (Criteria) this; } public Criteria andProductIdIsNull() { addCriterion("product_id is null"); return (Criteria) this; } public Criteria andProductIdIsNotNull() { addCriterion("product_id is not null"); return (Criteria) this; } public Criteria andProductIdEqualTo(String value) { addCriterion("product_id =", value, "productId"); return (Criteria) this; } public Criteria andProductIdNotEqualTo(String value) { addCriterion("product_id <>", value, "productId"); return (Criteria) this; } public Criteria andProductIdGreaterThan(String value) { addCriterion("product_id >", value, "productId"); return (Criteria) this; } public Criteria andProductIdGreaterThanOrEqualTo(String value) { addCriterion("product_id >=", value, "productId"); return (Criteria) this; } public Criteria andProductIdLessThan(String value) { addCriterion("product_id <", value, "productId"); return (Criteria) this; } public Criteria andProductIdLessThanOrEqualTo(String value) { addCriterion("product_id <=", value, "productId"); return (Criteria) this; } public Criteria andProductIdLike(String value) { addCriterion("product_id like", value, "productId"); return (Criteria) this; } public Criteria andProductIdNotLike(String value) { addCriterion("product_id not like", value, "productId"); return (Criteria) this; } public Criteria andProductIdIn(List<String> values) { addCriterion("product_id in", values, "productId"); return (Criteria) this; } public Criteria andProductIdNotIn(List<String> values) { addCriterion("product_id not in", values, "productId"); return (Criteria) this; } public Criteria andProductIdBetween(String value1, String value2) { addCriterion("product_id between", value1, value2, "productId"); return (Criteria) this; } public Criteria andProductIdNotBetween(String value1, String value2) { addCriterion("product_id not between", value1, value2, "productId"); return (Criteria) this; } public Criteria andProductNameIsNull() { addCriterion("product_name is null"); return (Criteria) this; } public Criteria andProductNameIsNotNull() { addCriterion("product_name is not null"); return (Criteria) this; } public Criteria andProductNameEqualTo(String value) { addCriterion("product_name =", value, "productName"); return (Criteria) this; } public Criteria andProductNameNotEqualTo(String value) { addCriterion("product_name <>", value, "productName"); return (Criteria) this; } public Criteria andProductNameGreaterThan(String value) { addCriterion("product_name >", value, "productName"); return (Criteria) this; } public Criteria andProductNameGreaterThanOrEqualTo(String value) { addCriterion("product_name >=", value, "productName"); return (Criteria) this; } public Criteria andProductNameLessThan(String value) { addCriterion("product_name <", value, "productName"); return (Criteria) this; } public Criteria andProductNameLessThanOrEqualTo(String value) { addCriterion("product_name <=", value, "productName"); return (Criteria) this; } public Criteria andProductNameLike(String value) { addCriterion("product_name like", value, "productName"); return (Criteria) this; } public Criteria andProductNameNotLike(String value) { addCriterion("product_name not like", value, "productName"); return (Criteria) this; } public Criteria andProductNameIn(List<String> values) { addCriterion("product_name in", values, "productName"); return (Criteria) this; } public Criteria andProductNameNotIn(List<String> values) { addCriterion("product_name not in", values, "productName"); return (Criteria) this; } public Criteria andProductNameBetween(String value1, String value2) { addCriterion("product_name between", value1, value2, "productName"); return (Criteria) this; } public Criteria andProductNameNotBetween(String value1, String value2) { addCriterion("product_name not between", value1, value2, "productName"); return (Criteria) this; } public Criteria andProductPriceIsNull() { addCriterion("product_price is null"); return (Criteria) this; } public Criteria andProductPriceIsNotNull() { addCriterion("product_price is not null"); return (Criteria) this; } public Criteria andProductPriceEqualTo(Long value) { addCriterion("product_price =", value, "productPrice"); return (Criteria) this; } public Criteria andProductPriceNotEqualTo(Long value) { addCriterion("product_price <>", value, "productPrice"); return (Criteria) this; } public Criteria andProductPriceGreaterThan(Long value) { addCriterion("product_price >", value, "productPrice"); return (Criteria) this; } public Criteria andProductPriceGreaterThanOrEqualTo(Long value) { addCriterion("product_price >=", value, "productPrice"); return (Criteria) this; } public Criteria andProductPriceLessThan(Long value) { addCriterion("product_price <", value, "productPrice"); return (Criteria) this; } public Criteria andProductPriceLessThanOrEqualTo(Long value) { addCriterion("product_price <=", value, "productPrice"); return (Criteria) this; } public Criteria andProductPriceIn(List<Long> values) { addCriterion("product_price in", values, "productPrice"); return (Criteria) this; } public Criteria andProductPriceNotIn(List<Long> values) { addCriterion("product_price not in", values, "productPrice"); return (Criteria) this; } public Criteria andProductPriceBetween(Long value1, Long value2) { addCriterion("product_price between", value1, value2, "productPrice"); return (Criteria) this; } public Criteria andProductPriceNotBetween(Long value1, Long value2) { addCriterion("product_price not between", value1, value2, "productPrice"); return (Criteria) this; } public Criteria andProductCountIsNull() { addCriterion("product_count is null"); return (Criteria) this; } public Criteria andProductCountIsNotNull() { addCriterion("product_count is not null"); return (Criteria) this; } public Criteria andProductCountEqualTo(Integer value) { addCriterion("product_count =", value, "productCount"); return (Criteria) this; } public Criteria andProductCountNotEqualTo(Integer value) { addCriterion("product_count <>", value, "productCount"); return (Criteria) this; } public Criteria andProductCountGreaterThan(Integer value) { addCriterion("product_count >", value, "productCount"); return (Criteria) this; } public Criteria andProductCountGreaterThanOrEqualTo(Integer value) { addCriterion("product_count >=", value, "productCount"); return (Criteria) this; } public Criteria andProductCountLessThan(Integer value) { addCriterion("product_count <", value, "productCount"); return (Criteria) this; } public Criteria andProductCountLessThanOrEqualTo(Integer value) { addCriterion("product_count <=", value, "productCount"); return (Criteria) this; } public Criteria andProductCountIn(List<Integer> values) { addCriterion("product_count in", values, "productCount"); return (Criteria) this; } public Criteria andProductCountNotIn(List<Integer> values) { addCriterion("product_count not in", values, "productCount"); return (Criteria) this; } public Criteria andProductCountBetween(Integer value1, Integer value2) { addCriterion("product_count between", value1, value2, "productCount"); return (Criteria) this; } public Criteria andProductCountNotBetween(Integer value1, Integer value2) { addCriterion("product_count not between", value1, value2, "productCount"); return (Criteria) this; } public Criteria andRemarkIsNull() { addCriterion("remark is null"); return (Criteria) this; } public Criteria andRemarkIsNotNull() { addCriterion("remark is not null"); return (Criteria) this; } public Criteria andRemarkEqualTo(String value) { addCriterion("remark =", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotEqualTo(String value) { addCriterion("remark <>", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThan(String value) { addCriterion("remark >", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("remark >=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThan(String value) { addCriterion("remark <", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("remark <=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLike(String value) { addCriterion("remark like", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotLike(String value) { addCriterion("remark not like", value, "remark"); return (Criteria) this; } public Criteria andRemarkIn(List<String> values) { addCriterion("remark in", values, "remark"); return (Criteria) this; } public Criteria andRemarkNotIn(List<String> values) { addCriterion("remark not in", values, "remark"); return (Criteria) this; } public Criteria andRemarkBetween(String value1, String value2) { addCriterion("remark between", value1, value2, "remark"); return (Criteria) this; } public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("remark not between", value1, value2, "remark"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.pay.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class PayInOrderExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public PayInOrderExample() { 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 implements Serializable { 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 andPayInOrderIdIsNull() { addCriterion("pay_in_order_id is null"); return (Criteria) this; } public Criteria andPayInOrderIdIsNotNull() { addCriterion("pay_in_order_id is not null"); return (Criteria) this; } public Criteria andPayInOrderIdEqualTo(Integer value) { addCriterion("pay_in_order_id =", value, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdNotEqualTo(Integer value) { addCriterion("pay_in_order_id <>", value, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdGreaterThan(Integer value) { addCriterion("pay_in_order_id >", value, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_in_order_id >=", value, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdLessThan(Integer value) { addCriterion("pay_in_order_id <", value, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdLessThanOrEqualTo(Integer value) { addCriterion("pay_in_order_id <=", value, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdIn(List<Integer> values) { addCriterion("pay_in_order_id in", values, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdNotIn(List<Integer> values) { addCriterion("pay_in_order_id not in", values, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdBetween(Integer value1, Integer value2) { addCriterion("pay_in_order_id between", value1, value2, "payInOrderId"); return (Criteria) this; } public Criteria andPayInOrderIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_in_order_id not between", value1, value2, "payInOrderId"); return (Criteria) this; } public Criteria andPayVendorIdIsNull() { addCriterion("pay_vendor_id is null"); return (Criteria) this; } public Criteria andPayVendorIdIsNotNull() { addCriterion("pay_vendor_id is not null"); return (Criteria) this; } public Criteria andPayVendorIdEqualTo(Integer value) { addCriterion("pay_vendor_id =", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdNotEqualTo(Integer value) { addCriterion("pay_vendor_id <>", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdGreaterThan(Integer value) { addCriterion("pay_vendor_id >", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_vendor_id >=", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdLessThan(Integer value) { addCriterion("pay_vendor_id <", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdLessThanOrEqualTo(Integer value) { addCriterion("pay_vendor_id <=", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdIn(List<Integer> values) { addCriterion("pay_vendor_id in", values, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdNotIn(List<Integer> values) { addCriterion("pay_vendor_id not in", values, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdBetween(Integer value1, Integer value2) { addCriterion("pay_vendor_id between", value1, value2, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_vendor_id not between", value1, value2, "payVendorId"); return (Criteria) this; } public Criteria andPayMchIdIsNull() { addCriterion("pay_mch_id is null"); return (Criteria) this; } public Criteria andPayMchIdIsNotNull() { addCriterion("pay_mch_id is not null"); return (Criteria) this; } public Criteria andPayMchIdEqualTo(Integer value) { addCriterion("pay_mch_id =", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdNotEqualTo(Integer value) { addCriterion("pay_mch_id <>", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdGreaterThan(Integer value) { addCriterion("pay_mch_id >", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_mch_id >=", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdLessThan(Integer value) { addCriterion("pay_mch_id <", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdLessThanOrEqualTo(Integer value) { addCriterion("pay_mch_id <=", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdIn(List<Integer> values) { addCriterion("pay_mch_id in", values, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdNotIn(List<Integer> values) { addCriterion("pay_mch_id not in", values, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdBetween(Integer value1, Integer value2) { addCriterion("pay_mch_id between", value1, value2, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_mch_id not between", value1, value2, "payMchId"); return (Criteria) this; } public Criteria andAmountIsNull() { addCriterion("amount is null"); return (Criteria) this; } public Criteria andAmountIsNotNull() { addCriterion("amount is not null"); return (Criteria) this; } public Criteria andAmountEqualTo(Long value) { addCriterion("amount =", value, "amount"); return (Criteria) this; } public Criteria andAmountNotEqualTo(Long value) { addCriterion("amount <>", value, "amount"); return (Criteria) this; } public Criteria andAmountGreaterThan(Long value) { addCriterion("amount >", value, "amount"); return (Criteria) this; } public Criteria andAmountGreaterThanOrEqualTo(Long value) { addCriterion("amount >=", value, "amount"); return (Criteria) this; } public Criteria andAmountLessThan(Long value) { addCriterion("amount <", value, "amount"); return (Criteria) this; } public Criteria andAmountLessThanOrEqualTo(Long value) { addCriterion("amount <=", value, "amount"); return (Criteria) this; } public Criteria andAmountIn(List<Long> values) { addCriterion("amount in", values, "amount"); return (Criteria) this; } public Criteria andAmountNotIn(List<Long> values) { addCriterion("amount not in", values, "amount"); return (Criteria) this; } public Criteria andAmountBetween(Long value1, Long value2) { addCriterion("amount between", value1, value2, "amount"); return (Criteria) this; } public Criteria andAmountNotBetween(Long value1, Long value2) { addCriterion("amount not between", value1, value2, "amount"); return (Criteria) this; } public Criteria andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(Byte value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(Byte value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(Byte value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(Byte value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(Byte value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(Byte value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List<Byte> values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List<Byte> values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(Byte value1, Byte value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(Byte value1, Byte value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } public Criteria andCtimeIsNull() { addCriterion("ctime is null"); return (Criteria) this; } public Criteria andCtimeIsNotNull() { addCriterion("ctime is not null"); return (Criteria) this; } public Criteria andCtimeEqualTo(Long value) { addCriterion("ctime =", value, "ctime"); return (Criteria) this; } public Criteria andCtimeNotEqualTo(Long value) { addCriterion("ctime <>", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThan(Long value) { addCriterion("ctime >", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThanOrEqualTo(Long value) { addCriterion("ctime >=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThan(Long value) { addCriterion("ctime <", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThanOrEqualTo(Long value) { addCriterion("ctime <=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeIn(List<Long> values) { addCriterion("ctime in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeNotIn(List<Long> values) { addCriterion("ctime not in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeBetween(Long value1, Long value2) { addCriterion("ctime between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andCtimeNotBetween(Long value1, Long value2) { addCriterion("ctime not between", value1, value2, "ctime"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.pay.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class PayMchExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public PayMchExample() { 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 implements Serializable { 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 andPayMchIdIsNull() { addCriterion("pay_mch_id is null"); return (Criteria) this; } public Criteria andPayMchIdIsNotNull() { addCriterion("pay_mch_id is not null"); return (Criteria) this; } public Criteria andPayMchIdEqualTo(Integer value) { addCriterion("pay_mch_id =", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdNotEqualTo(Integer value) { addCriterion("pay_mch_id <>", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdGreaterThan(Integer value) { addCriterion("pay_mch_id >", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_mch_id >=", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdLessThan(Integer value) { addCriterion("pay_mch_id <", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdLessThanOrEqualTo(Integer value) { addCriterion("pay_mch_id <=", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdIn(List<Integer> values) { addCriterion("pay_mch_id in", values, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdNotIn(List<Integer> values) { addCriterion("pay_mch_id not in", values, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdBetween(Integer value1, Integer value2) { addCriterion("pay_mch_id between", value1, value2, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_mch_id not between", value1, value2, "payMchId"); return (Criteria) this; } public Criteria andMchIdIsNull() { addCriterion("mch_id is null"); return (Criteria) this; } public Criteria andMchIdIsNotNull() { addCriterion("mch_id is not null"); return (Criteria) this; } public Criteria andMchIdEqualTo(String value) { addCriterion("mch_id =", value, "mchId"); return (Criteria) this; } public Criteria andMchIdNotEqualTo(String value) { addCriterion("mch_id <>", value, "mchId"); return (Criteria) this; } public Criteria andMchIdGreaterThan(String value) { addCriterion("mch_id >", value, "mchId"); return (Criteria) this; } public Criteria andMchIdGreaterThanOrEqualTo(String value) { addCriterion("mch_id >=", value, "mchId"); return (Criteria) this; } public Criteria andMchIdLessThan(String value) { addCriterion("mch_id <", value, "mchId"); return (Criteria) this; } public Criteria andMchIdLessThanOrEqualTo(String value) { addCriterion("mch_id <=", value, "mchId"); return (Criteria) this; } public Criteria andMchIdLike(String value) { addCriterion("mch_id like", value, "mchId"); return (Criteria) this; } public Criteria andMchIdNotLike(String value) { addCriterion("mch_id not like", value, "mchId"); return (Criteria) this; } public Criteria andMchIdIn(List<String> values) { addCriterion("mch_id in", values, "mchId"); return (Criteria) this; } public Criteria andMchIdNotIn(List<String> values) { addCriterion("mch_id not in", values, "mchId"); return (Criteria) this; } public Criteria andMchIdBetween(String value1, String value2) { addCriterion("mch_id between", value1, value2, "mchId"); return (Criteria) this; } public Criteria andMchIdNotBetween(String value1, String value2) { addCriterion("mch_id not between", value1, value2, "mchId"); 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 andReqkeyIsNull() { addCriterion("reqKey is null"); return (Criteria) this; } public Criteria andReqkeyIsNotNull() { addCriterion("reqKey is not null"); return (Criteria) this; } public Criteria andReqkeyEqualTo(String value) { addCriterion("reqKey =", value, "reqkey"); return (Criteria) this; } public Criteria andReqkeyNotEqualTo(String value) { addCriterion("reqKey <>", value, "reqkey"); return (Criteria) this; } public Criteria andReqkeyGreaterThan(String value) { addCriterion("reqKey >", value, "reqkey"); return (Criteria) this; } public Criteria andReqkeyGreaterThanOrEqualTo(String value) { addCriterion("reqKey >=", value, "reqkey"); return (Criteria) this; } public Criteria andReqkeyLessThan(String value) { addCriterion("reqKey <", value, "reqkey"); return (Criteria) this; } public Criteria andReqkeyLessThanOrEqualTo(String value) { addCriterion("reqKey <=", value, "reqkey"); return (Criteria) this; } public Criteria andReqkeyLike(String value) { addCriterion("reqKey like", value, "reqkey"); return (Criteria) this; } public Criteria andReqkeyNotLike(String value) { addCriterion("reqKey not like", value, "reqkey"); return (Criteria) this; } public Criteria andReqkeyIn(List<String> values) { addCriterion("reqKey in", values, "reqkey"); return (Criteria) this; } public Criteria andReqkeyNotIn(List<String> values) { addCriterion("reqKey not in", values, "reqkey"); return (Criteria) this; } public Criteria andReqkeyBetween(String value1, String value2) { addCriterion("reqKey between", value1, value2, "reqkey"); return (Criteria) this; } public Criteria andReqkeyNotBetween(String value1, String value2) { addCriterion("reqKey not between", value1, value2, "reqkey"); return (Criteria) this; } public Criteria andReskeyIsNull() { addCriterion("resKey is null"); return (Criteria) this; } public Criteria andReskeyIsNotNull() { addCriterion("resKey is not null"); return (Criteria) this; } public Criteria andReskeyEqualTo(String value) { addCriterion("resKey =", value, "reskey"); return (Criteria) this; } public Criteria andReskeyNotEqualTo(String value) { addCriterion("resKey <>", value, "reskey"); return (Criteria) this; } public Criteria andReskeyGreaterThan(String value) { addCriterion("resKey >", value, "reskey"); return (Criteria) this; } public Criteria andReskeyGreaterThanOrEqualTo(String value) { addCriterion("resKey >=", value, "reskey"); return (Criteria) this; } public Criteria andReskeyLessThan(String value) { addCriterion("resKey <", value, "reskey"); return (Criteria) this; } public Criteria andReskeyLessThanOrEqualTo(String value) { addCriterion("resKey <=", value, "reskey"); return (Criteria) this; } public Criteria andReskeyLike(String value) { addCriterion("resKey like", value, "reskey"); return (Criteria) this; } public Criteria andReskeyNotLike(String value) { addCriterion("resKey not like", value, "reskey"); return (Criteria) this; } public Criteria andReskeyIn(List<String> values) { addCriterion("resKey in", values, "reskey"); return (Criteria) this; } public Criteria andReskeyNotIn(List<String> values) { addCriterion("resKey not in", values, "reskey"); return (Criteria) this; } public Criteria andReskeyBetween(String value1, String value2) { addCriterion("resKey between", value1, value2, "reskey"); return (Criteria) this; } public Criteria andReskeyNotBetween(String value1, String value2) { addCriterion("resKey not between", value1, value2, "reskey"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.pay.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class PayOutOrderDetailExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public PayOutOrderDetailExample() { 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 implements Serializable { 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 andPayOutOrderDetailIdIsNull() { addCriterion("pay_out_order_detail_id is null"); return (Criteria) this; } public Criteria andPayOutOrderDetailIdIsNotNull() { addCriterion("pay_out_order_detail_id is not null"); return (Criteria) this; } public Criteria andPayOutOrderDetailIdEqualTo(Integer value) { addCriterion("pay_out_order_detail_id =", value, "payOutOrderDetailId"); return (Criteria) this; } public Criteria andPayOutOrderDetailIdNotEqualTo(Integer value) { addCriterion("pay_out_order_detail_id <>", value, "payOutOrderDetailId"); return (Criteria) this; } public Criteria andPayOutOrderDetailIdGreaterThan(Integer value) { addCriterion("pay_out_order_detail_id >", value, "payOutOrderDetailId"); return (Criteria) this; } public Criteria andPayOutOrderDetailIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_out_order_detail_id >=", value, "payOutOrderDetailId"); return (Criteria) this; } public Criteria andPayOutOrderDetailIdLessThan(Integer value) { addCriterion("pay_out_order_detail_id <", value, "payOutOrderDetailId"); return (Criteria) this; } public Criteria andPayOutOrderDetailIdLessThanOrEqualTo(Integer value) { addCriterion("pay_out_order_detail_id <=", value, "payOutOrderDetailId"); return (Criteria) this; } public Criteria andPayOutOrderDetailIdIn(List<Integer> values) { addCriterion("pay_out_order_detail_id in", values, "payOutOrderDetailId"); return (Criteria) this; } public Criteria andPayOutOrderDetailIdNotIn(List<Integer> values) { addCriterion("pay_out_order_detail_id not in", values, "payOutOrderDetailId"); return (Criteria) this; } public Criteria andPayOutOrderDetailIdBetween(Integer value1, Integer value2) { addCriterion("pay_out_order_detail_id between", value1, value2, "payOutOrderDetailId"); return (Criteria) this; } public Criteria andPayOutOrderDetailIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_out_order_detail_id not between", value1, value2, "payOutOrderDetailId"); return (Criteria) this; } public Criteria andPayOutOrderIdIsNull() { addCriterion("pay_out_order_id is null"); return (Criteria) this; } public Criteria andPayOutOrderIdIsNotNull() { addCriterion("pay_out_order_id is not null"); return (Criteria) this; } public Criteria andPayOutOrderIdEqualTo(Integer value) { addCriterion("pay_out_order_id =", value, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdNotEqualTo(Integer value) { addCriterion("pay_out_order_id <>", value, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdGreaterThan(Integer value) { addCriterion("pay_out_order_id >", value, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_out_order_id >=", value, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdLessThan(Integer value) { addCriterion("pay_out_order_id <", value, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdLessThanOrEqualTo(Integer value) { addCriterion("pay_out_order_id <=", value, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdIn(List<Integer> values) { addCriterion("pay_out_order_id in", values, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdNotIn(List<Integer> values) { addCriterion("pay_out_order_id not in", values, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdBetween(Integer value1, Integer value2) { addCriterion("pay_out_order_id between", value1, value2, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_out_order_id not between", value1, value2, "payOutOrderId"); return (Criteria) this; } public Criteria andRemarkIsNull() { addCriterion("remark is null"); return (Criteria) this; } public Criteria andRemarkIsNotNull() { addCriterion("remark is not null"); return (Criteria) this; } public Criteria andRemarkEqualTo(String value) { addCriterion("remark =", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotEqualTo(String value) { addCriterion("remark <>", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThan(String value) { addCriterion("remark >", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("remark >=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThan(String value) { addCriterion("remark <", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("remark <=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLike(String value) { addCriterion("remark like", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotLike(String value) { addCriterion("remark not like", value, "remark"); return (Criteria) this; } public Criteria andRemarkIn(List<String> values) { addCriterion("remark in", values, "remark"); return (Criteria) this; } public Criteria andRemarkNotIn(List<String> values) { addCriterion("remark not in", values, "remark"); return (Criteria) this; } public Criteria andRemarkBetween(String value1, String value2) { addCriterion("remark between", value1, value2, "remark"); return (Criteria) this; } public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("remark not between", value1, value2, "remark"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.pay.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class PayOutOrderExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public PayOutOrderExample() { 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 implements Serializable { 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 andPayOutOrderIdIsNull() { addCriterion("pay_out_order_id is null"); return (Criteria) this; } public Criteria andPayOutOrderIdIsNotNull() { addCriterion("pay_out_order_id is not null"); return (Criteria) this; } public Criteria andPayOutOrderIdEqualTo(Integer value) { addCriterion("pay_out_order_id =", value, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdNotEqualTo(Integer value) { addCriterion("pay_out_order_id <>", value, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdGreaterThan(Integer value) { addCriterion("pay_out_order_id >", value, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_out_order_id >=", value, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdLessThan(Integer value) { addCriterion("pay_out_order_id <", value, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdLessThanOrEqualTo(Integer value) { addCriterion("pay_out_order_id <=", value, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdIn(List<Integer> values) { addCriterion("pay_out_order_id in", values, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdNotIn(List<Integer> values) { addCriterion("pay_out_order_id not in", values, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdBetween(Integer value1, Integer value2) { addCriterion("pay_out_order_id between", value1, value2, "payOutOrderId"); return (Criteria) this; } public Criteria andPayOutOrderIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_out_order_id not between", value1, value2, "payOutOrderId"); return (Criteria) this; } public Criteria andPayMchIdIsNull() { addCriterion("pay_mch_id is null"); return (Criteria) this; } public Criteria andPayMchIdIsNotNull() { addCriterion("pay_mch_id is not null"); return (Criteria) this; } public Criteria andPayMchIdEqualTo(Integer value) { addCriterion("pay_mch_id =", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdNotEqualTo(Integer value) { addCriterion("pay_mch_id <>", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdGreaterThan(Integer value) { addCriterion("pay_mch_id >", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_mch_id >=", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdLessThan(Integer value) { addCriterion("pay_mch_id <", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdLessThanOrEqualTo(Integer value) { addCriterion("pay_mch_id <=", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdIn(List<Integer> values) { addCriterion("pay_mch_id in", values, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdNotIn(List<Integer> values) { addCriterion("pay_mch_id not in", values, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdBetween(Integer value1, Integer value2) { addCriterion("pay_mch_id between", value1, value2, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_mch_id not between", value1, value2, "payMchId"); return (Criteria) this; } public Criteria andPayVendorIdIsNull() { addCriterion("pay_vendor_id is null"); return (Criteria) this; } public Criteria andPayVendorIdIsNotNull() { addCriterion("pay_vendor_id is not null"); return (Criteria) this; } public Criteria andPayVendorIdEqualTo(Integer value) { addCriterion("pay_vendor_id =", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdNotEqualTo(Integer value) { addCriterion("pay_vendor_id <>", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdGreaterThan(Integer value) { addCriterion("pay_vendor_id >", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_vendor_id >=", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdLessThan(Integer value) { addCriterion("pay_vendor_id <", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdLessThanOrEqualTo(Integer value) { addCriterion("pay_vendor_id <=", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdIn(List<Integer> values) { addCriterion("pay_vendor_id in", values, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdNotIn(List<Integer> values) { addCriterion("pay_vendor_id not in", values, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdBetween(Integer value1, Integer value2) { addCriterion("pay_vendor_id between", value1, value2, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_vendor_id not between", value1, value2, "payVendorId"); return (Criteria) this; } public Criteria andAmountIsNull() { addCriterion("amount is null"); return (Criteria) this; } public Criteria andAmountIsNotNull() { addCriterion("amount is not null"); return (Criteria) this; } public Criteria andAmountEqualTo(Long value) { addCriterion("amount =", value, "amount"); return (Criteria) this; } public Criteria andAmountNotEqualTo(Long value) { addCriterion("amount <>", value, "amount"); return (Criteria) this; } public Criteria andAmountGreaterThan(Long value) { addCriterion("amount >", value, "amount"); return (Criteria) this; } public Criteria andAmountGreaterThanOrEqualTo(Long value) { addCriterion("amount >=", value, "amount"); return (Criteria) this; } public Criteria andAmountLessThan(Long value) { addCriterion("amount <", value, "amount"); return (Criteria) this; } public Criteria andAmountLessThanOrEqualTo(Long value) { addCriterion("amount <=", value, "amount"); return (Criteria) this; } public Criteria andAmountIn(List<Long> values) { addCriterion("amount in", values, "amount"); return (Criteria) this; } public Criteria andAmountNotIn(List<Long> values) { addCriterion("amount not in", values, "amount"); return (Criteria) this; } public Criteria andAmountBetween(Long value1, Long value2) { addCriterion("amount between", value1, value2, "amount"); return (Criteria) this; } public Criteria andAmountNotBetween(Long value1, Long value2) { addCriterion("amount not between", value1, value2, "amount"); return (Criteria) this; } public Criteria andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(Byte value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(Byte value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(Byte value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(Byte value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(Byte value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(Byte value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List<Byte> values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List<Byte> values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(Byte value1, Byte value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(Byte value1, Byte value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } public Criteria andCtimeIsNull() { addCriterion("ctime is null"); return (Criteria) this; } public Criteria andCtimeIsNotNull() { addCriterion("ctime is not null"); return (Criteria) this; } public Criteria andCtimeEqualTo(Long value) { addCriterion("ctime =", value, "ctime"); return (Criteria) this; } public Criteria andCtimeNotEqualTo(Long value) { addCriterion("ctime <>", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThan(Long value) { addCriterion("ctime >", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThanOrEqualTo(Long value) { addCriterion("ctime >=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThan(Long value) { addCriterion("ctime <", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThanOrEqualTo(Long value) { addCriterion("ctime <=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeIn(List<Long> values) { addCriterion("ctime in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeNotIn(List<Long> values) { addCriterion("ctime not in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeBetween(Long value1, Long value2) { addCriterion("ctime between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andCtimeNotBetween(Long value1, Long value2) { addCriterion("ctime not between", value1, value2, "ctime"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.pay.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class PayPayExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public PayPayExample() { 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 implements Serializable { 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 andPayPayIdIsNull() { addCriterion("pay_pay_id is null"); return (Criteria) this; } public Criteria andPayPayIdIsNotNull() { addCriterion("pay_pay_id is not null"); return (Criteria) this; } public Criteria andPayPayIdEqualTo(Integer value) { addCriterion("pay_pay_id =", value, "payPayId"); return (Criteria) this; } public Criteria andPayPayIdNotEqualTo(Integer value) { addCriterion("pay_pay_id <>", value, "payPayId"); return (Criteria) this; } public Criteria andPayPayIdGreaterThan(Integer value) { addCriterion("pay_pay_id >", value, "payPayId"); return (Criteria) this; } public Criteria andPayPayIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_pay_id >=", value, "payPayId"); return (Criteria) this; } public Criteria andPayPayIdLessThan(Integer value) { addCriterion("pay_pay_id <", value, "payPayId"); return (Criteria) this; } public Criteria andPayPayIdLessThanOrEqualTo(Integer value) { addCriterion("pay_pay_id <=", value, "payPayId"); return (Criteria) this; } public Criteria andPayPayIdIn(List<Integer> values) { addCriterion("pay_pay_id in", values, "payPayId"); return (Criteria) this; } public Criteria andPayPayIdNotIn(List<Integer> values) { addCriterion("pay_pay_id not in", values, "payPayId"); return (Criteria) this; } public Criteria andPayPayIdBetween(Integer value1, Integer value2) { addCriterion("pay_pay_id between", value1, value2, "payPayId"); return (Criteria) this; } public Criteria andPayPayIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_pay_id not between", value1, value2, "payPayId"); return (Criteria) this; } public Criteria andPayTypeIdIsNull() { addCriterion("pay_type_id is null"); return (Criteria) this; } public Criteria andPayTypeIdIsNotNull() { addCriterion("pay_type_id is not null"); return (Criteria) this; } public Criteria andPayTypeIdEqualTo(Integer value) { addCriterion("pay_type_id =", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdNotEqualTo(Integer value) { addCriterion("pay_type_id <>", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdGreaterThan(Integer value) { addCriterion("pay_type_id >", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_type_id >=", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdLessThan(Integer value) { addCriterion("pay_type_id <", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdLessThanOrEqualTo(Integer value) { addCriterion("pay_type_id <=", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdIn(List<Integer> values) { addCriterion("pay_type_id in", values, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdNotIn(List<Integer> values) { addCriterion("pay_type_id not in", values, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdBetween(Integer value1, Integer value2) { addCriterion("pay_type_id between", value1, value2, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_type_id not between", value1, value2, "payTypeId"); return (Criteria) this; } public Criteria andParamIsNull() { addCriterion("param is null"); return (Criteria) this; } public Criteria andParamIsNotNull() { addCriterion("param is not null"); return (Criteria) this; } public Criteria andParamEqualTo(String value) { addCriterion("param =", value, "param"); return (Criteria) this; } public Criteria andParamNotEqualTo(String value) { addCriterion("param <>", value, "param"); return (Criteria) this; } public Criteria andParamGreaterThan(String value) { addCriterion("param >", value, "param"); return (Criteria) this; } public Criteria andParamGreaterThanOrEqualTo(String value) { addCriterion("param >=", value, "param"); return (Criteria) this; } public Criteria andParamLessThan(String value) { addCriterion("param <", value, "param"); return (Criteria) this; } public Criteria andParamLessThanOrEqualTo(String value) { addCriterion("param <=", value, "param"); return (Criteria) this; } public Criteria andParamLike(String value) { addCriterion("param like", value, "param"); return (Criteria) this; } public Criteria andParamNotLike(String value) { addCriterion("param not like", value, "param"); return (Criteria) this; } public Criteria andParamIn(List<String> values) { addCriterion("param in", values, "param"); return (Criteria) this; } public Criteria andParamNotIn(List<String> values) { addCriterion("param not in", values, "param"); return (Criteria) this; } public Criteria andParamBetween(String value1, String value2) { addCriterion("param between", value1, value2, "param"); return (Criteria) this; } public Criteria andParamNotBetween(String value1, String value2) { addCriterion("param not between", value1, value2, "param"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.pay.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class PayTypeExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public PayTypeExample() { 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 implements Serializable { 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 andPayTypeIdIsNull() { addCriterion("pay_type_id is null"); return (Criteria) this; } public Criteria andPayTypeIdIsNotNull() { addCriterion("pay_type_id is not null"); return (Criteria) this; } public Criteria andPayTypeIdEqualTo(Integer value) { addCriterion("pay_type_id =", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdNotEqualTo(Integer value) { addCriterion("pay_type_id <>", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdGreaterThan(Integer value) { addCriterion("pay_type_id >", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_type_id >=", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdLessThan(Integer value) { addCriterion("pay_type_id <", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdLessThanOrEqualTo(Integer value) { addCriterion("pay_type_id <=", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdIn(List<Integer> values) { addCriterion("pay_type_id in", values, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdNotIn(List<Integer> values) { addCriterion("pay_type_id not in", values, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdBetween(Integer value1, Integer value2) { addCriterion("pay_type_id between", value1, value2, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_type_id not between", value1, value2, "payTypeId"); return (Criteria) this; } public Criteria andPayVendorIdIsNull() { addCriterion("pay_vendor_id is null"); return (Criteria) this; } public Criteria andPayVendorIdIsNotNull() { addCriterion("pay_vendor_id is not null"); return (Criteria) this; } public Criteria andPayVendorIdEqualTo(Integer value) { addCriterion("pay_vendor_id =", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdNotEqualTo(Integer value) { addCriterion("pay_vendor_id <>", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdGreaterThan(Integer value) { addCriterion("pay_vendor_id >", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_vendor_id >=", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdLessThan(Integer value) { addCriterion("pay_vendor_id <", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdLessThanOrEqualTo(Integer value) { addCriterion("pay_vendor_id <=", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdIn(List<Integer> values) { addCriterion("pay_vendor_id in", values, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdNotIn(List<Integer> values) { addCriterion("pay_vendor_id not in", values, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdBetween(Integer value1, Integer value2) { addCriterion("pay_vendor_id between", value1, value2, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_vendor_id not between", value1, value2, "payVendorId"); return (Criteria) this; } public Criteria andPayMchIdIsNull() { addCriterion("pay_mch_id is null"); return (Criteria) this; } public Criteria andPayMchIdIsNotNull() { addCriterion("pay_mch_id is not null"); return (Criteria) this; } public Criteria andPayMchIdEqualTo(Integer value) { addCriterion("pay_mch_id =", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdNotEqualTo(Integer value) { addCriterion("pay_mch_id <>", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdGreaterThan(Integer value) { addCriterion("pay_mch_id >", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_mch_id >=", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdLessThan(Integer value) { addCriterion("pay_mch_id <", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdLessThanOrEqualTo(Integer value) { addCriterion("pay_mch_id <=", value, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdIn(List<Integer> values) { addCriterion("pay_mch_id in", values, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdNotIn(List<Integer> values) { addCriterion("pay_mch_id not in", values, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdBetween(Integer value1, Integer value2) { addCriterion("pay_mch_id between", value1, value2, "payMchId"); return (Criteria) this; } public Criteria andPayMchIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_mch_id not between", value1, value2, "payMchId"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.pay.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class PayVendorExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public PayVendorExample() { 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 implements Serializable { 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 andPayVendorIdIsNull() { addCriterion("pay_vendor_id is null"); return (Criteria) this; } public Criteria andPayVendorIdIsNotNull() { addCriterion("pay_vendor_id is not null"); return (Criteria) this; } public Criteria andPayVendorIdEqualTo(Integer value) { addCriterion("pay_vendor_id =", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdNotEqualTo(Integer value) { addCriterion("pay_vendor_id <>", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdGreaterThan(Integer value) { addCriterion("pay_vendor_id >", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_vendor_id >=", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdLessThan(Integer value) { addCriterion("pay_vendor_id <", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdLessThanOrEqualTo(Integer value) { addCriterion("pay_vendor_id <=", value, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdIn(List<Integer> values) { addCriterion("pay_vendor_id in", values, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdNotIn(List<Integer> values) { addCriterion("pay_vendor_id not in", values, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdBetween(Integer value1, Integer value2) { addCriterion("pay_vendor_id between", value1, value2, "payVendorId"); return (Criteria) this; } public Criteria andPayVendorIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_vendor_id not between", value1, value2, "payVendorId"); 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 andAppidIsNull() { addCriterion("appid is null"); return (Criteria) this; } public Criteria andAppidIsNotNull() { addCriterion("appid is not null"); return (Criteria) this; } public Criteria andAppidEqualTo(String value) { addCriterion("appid =", value, "appid"); return (Criteria) this; } public Criteria andAppidNotEqualTo(String value) { addCriterion("appid <>", value, "appid"); return (Criteria) this; } public Criteria andAppidGreaterThan(String value) { addCriterion("appid >", value, "appid"); return (Criteria) this; } public Criteria andAppidGreaterThanOrEqualTo(String value) { addCriterion("appid >=", value, "appid"); return (Criteria) this; } public Criteria andAppidLessThan(String value) { addCriterion("appid <", value, "appid"); return (Criteria) this; } public Criteria andAppidLessThanOrEqualTo(String value) { addCriterion("appid <=", value, "appid"); return (Criteria) this; } public Criteria andAppidLike(String value) { addCriterion("appid like", value, "appid"); return (Criteria) this; } public Criteria andAppidNotLike(String value) { addCriterion("appid not like", value, "appid"); return (Criteria) this; } public Criteria andAppidIn(List<String> values) { addCriterion("appid in", values, "appid"); return (Criteria) this; } public Criteria andAppidNotIn(List<String> values) { addCriterion("appid not in", values, "appid"); return (Criteria) this; } public Criteria andAppidBetween(String value1, String value2) { addCriterion("appid between", value1, value2, "appid"); return (Criteria) this; } public Criteria andAppidNotBetween(String value1, String value2) { addCriterion("appid not between", value1, value2, "appid"); return (Criteria) this; } public Criteria andAppsecretIsNull() { addCriterion("appsecret is null"); return (Criteria) this; } public Criteria andAppsecretIsNotNull() { addCriterion("appsecret is not null"); return (Criteria) this; } public Criteria andAppsecretEqualTo(String value) { addCriterion("appsecret =", value, "appsecret"); return (Criteria) this; } public Criteria andAppsecretNotEqualTo(String value) { addCriterion("appsecret <>", value, "appsecret"); return (Criteria) this; } public Criteria andAppsecretGreaterThan(String value) { addCriterion("appsecret >", value, "appsecret"); return (Criteria) this; } public Criteria andAppsecretGreaterThanOrEqualTo(String value) { addCriterion("appsecret >=", value, "appsecret"); return (Criteria) this; } public Criteria andAppsecretLessThan(String value) { addCriterion("appsecret <", value, "appsecret"); return (Criteria) this; } public Criteria andAppsecretLessThanOrEqualTo(String value) { addCriterion("appsecret <=", value, "appsecret"); return (Criteria) this; } public Criteria andAppsecretLike(String value) { addCriterion("appsecret like", value, "appsecret"); return (Criteria) this; } public Criteria andAppsecretNotLike(String value) { addCriterion("appsecret not like", value, "appsecret"); return (Criteria) this; } public Criteria andAppsecretIn(List<String> values) { addCriterion("appsecret in", values, "appsecret"); return (Criteria) this; } public Criteria andAppsecretNotIn(List<String> values) { addCriterion("appsecret not in", values, "appsecret"); return (Criteria) this; } public Criteria andAppsecretBetween(String value1, String value2) { addCriterion("appsecret between", value1, value2, "appsecret"); return (Criteria) this; } public Criteria andAppsecretNotBetween(String value1, String value2) { addCriterion("appsecret not between", value1, value2, "appsecret"); return (Criteria) this; } public Criteria andConfigIsNull() { addCriterion("config is null"); return (Criteria) this; } public Criteria andConfigIsNotNull() { addCriterion("config is not null"); return (Criteria) this; } public Criteria andConfigEqualTo(String value) { addCriterion("config =", value, "config"); return (Criteria) this; } public Criteria andConfigNotEqualTo(String value) { addCriterion("config <>", value, "config"); return (Criteria) this; } public Criteria andConfigGreaterThan(String value) { addCriterion("config >", value, "config"); return (Criteria) this; } public Criteria andConfigGreaterThanOrEqualTo(String value) { addCriterion("config >=", value, "config"); return (Criteria) this; } public Criteria andConfigLessThan(String value) { addCriterion("config <", value, "config"); return (Criteria) this; } public Criteria andConfigLessThanOrEqualTo(String value) { addCriterion("config <=", value, "config"); return (Criteria) this; } public Criteria andConfigLike(String value) { addCriterion("config like", value, "config"); return (Criteria) this; } public Criteria andConfigNotLike(String value) { addCriterion("config not like", value, "config"); return (Criteria) this; } public Criteria andConfigIn(List<String> values) { addCriterion("config in", values, "config"); return (Criteria) this; } public Criteria andConfigNotIn(List<String> values) { addCriterion("config not in", values, "config"); return (Criteria) this; } public Criteria andConfigBetween(String value1, String value2) { addCriterion("config between", value1, value2, "config"); return (Criteria) this; } public Criteria andConfigNotBetween(String value1, String value2) { addCriterion("config not between", value1, value2, "config"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.pay.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class PayVestExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public PayVestExample() { 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 implements Serializable { 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 andPayVestIdIsNull() { addCriterion("pay_vest_id is null"); return (Criteria) this; } public Criteria andPayVestIdIsNotNull() { addCriterion("pay_vest_id is not null"); return (Criteria) this; } public Criteria andPayVestIdEqualTo(Integer value) { addCriterion("pay_vest_id =", value, "payVestId"); return (Criteria) this; } public Criteria andPayVestIdNotEqualTo(Integer value) { addCriterion("pay_vest_id <>", value, "payVestId"); return (Criteria) this; } public Criteria andPayVestIdGreaterThan(Integer value) { addCriterion("pay_vest_id >", value, "payVestId"); return (Criteria) this; } public Criteria andPayVestIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_vest_id >=", value, "payVestId"); return (Criteria) this; } public Criteria andPayVestIdLessThan(Integer value) { addCriterion("pay_vest_id <", value, "payVestId"); return (Criteria) this; } public Criteria andPayVestIdLessThanOrEqualTo(Integer value) { addCriterion("pay_vest_id <=", value, "payVestId"); return (Criteria) this; } public Criteria andPayVestIdIn(List<Integer> values) { addCriterion("pay_vest_id in", values, "payVestId"); return (Criteria) this; } public Criteria andPayVestIdNotIn(List<Integer> values) { addCriterion("pay_vest_id not in", values, "payVestId"); return (Criteria) this; } public Criteria andPayVestIdBetween(Integer value1, Integer value2) { addCriterion("pay_vest_id between", value1, value2, "payVestId"); return (Criteria) this; } public Criteria andPayVestIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_vest_id not between", value1, value2, "payVestId"); return (Criteria) this; } public Criteria andPayTypeIdIsNull() { addCriterion("pay_type_id is null"); return (Criteria) this; } public Criteria andPayTypeIdIsNotNull() { addCriterion("pay_type_id is not null"); return (Criteria) this; } public Criteria andPayTypeIdEqualTo(Integer value) { addCriterion("pay_type_id =", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdNotEqualTo(Integer value) { addCriterion("pay_type_id <>", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdGreaterThan(Integer value) { addCriterion("pay_type_id >", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdGreaterThanOrEqualTo(Integer value) { addCriterion("pay_type_id >=", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdLessThan(Integer value) { addCriterion("pay_type_id <", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdLessThanOrEqualTo(Integer value) { addCriterion("pay_type_id <=", value, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdIn(List<Integer> values) { addCriterion("pay_type_id in", values, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdNotIn(List<Integer> values) { addCriterion("pay_type_id not in", values, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdBetween(Integer value1, Integer value2) { addCriterion("pay_type_id between", value1, value2, "payTypeId"); return (Criteria) this; } public Criteria andPayTypeIdNotBetween(Integer value1, Integer value2) { addCriterion("pay_type_id not between", value1, value2, "payTypeId"); return (Criteria) this; } public Criteria andPrefixIsNull() { addCriterion("prefix is null"); return (Criteria) this; } public Criteria andPrefixIsNotNull() { addCriterion("prefix is not null"); return (Criteria) this; } public Criteria andPrefixEqualTo(String value) { addCriterion("prefix =", value, "prefix"); return (Criteria) this; } public Criteria andPrefixNotEqualTo(String value) { addCriterion("prefix <>", value, "prefix"); return (Criteria) this; } public Criteria andPrefixGreaterThan(String value) { addCriterion("prefix >", value, "prefix"); return (Criteria) this; } public Criteria andPrefixGreaterThanOrEqualTo(String value) { addCriterion("prefix >=", value, "prefix"); return (Criteria) this; } public Criteria andPrefixLessThan(String value) { addCriterion("prefix <", value, "prefix"); return (Criteria) this; } public Criteria andPrefixLessThanOrEqualTo(String value) { addCriterion("prefix <=", value, "prefix"); return (Criteria) this; } public Criteria andPrefixLike(String value) { addCriterion("prefix like", value, "prefix"); return (Criteria) this; } public Criteria andPrefixNotLike(String value) { addCriterion("prefix not like", value, "prefix"); return (Criteria) this; } public Criteria andPrefixIn(List<String> values) { addCriterion("prefix in", values, "prefix"); return (Criteria) this; } public Criteria andPrefixNotIn(List<String> values) { addCriterion("prefix not in", values, "prefix"); return (Criteria) this; } public Criteria andPrefixBetween(String value1, String value2) { addCriterion("prefix between", value1, value2, "prefix"); return (Criteria) this; } public Criteria andPrefixNotBetween(String value1, String value2) { addCriterion("prefix not between", value1, value2, "prefix"); return (Criteria) this; } public Criteria andParamIsNull() { addCriterion("param is null"); return (Criteria) this; } public Criteria andParamIsNotNull() { addCriterion("param is not null"); return (Criteria) this; } public Criteria andParamEqualTo(String value) { addCriterion("param =", value, "param"); return (Criteria) this; } public Criteria andParamNotEqualTo(String value) { addCriterion("param <>", value, "param"); return (Criteria) this; } public Criteria andParamGreaterThan(String value) { addCriterion("param >", value, "param"); return (Criteria) this; } public Criteria andParamGreaterThanOrEqualTo(String value) { addCriterion("param >=", value, "param"); return (Criteria) this; } public Criteria andParamLessThan(String value) { addCriterion("param <", value, "param"); return (Criteria) this; } public Criteria andParamLessThanOrEqualTo(String value) { addCriterion("param <=", value, "param"); return (Criteria) this; } public Criteria andParamLike(String value) { addCriterion("param like", value, "param"); return (Criteria) this; } public Criteria andParamNotLike(String value) { addCriterion("param not like", value, "param"); return (Criteria) this; } public Criteria andParamIn(List<String> values) { addCriterion("param in", values, "param"); return (Criteria) this; } public Criteria andParamNotIn(List<String> values) { addCriterion("param not in", values, "param"); return (Criteria) this; } public Criteria andParamBetween(String value1, String value2) { addCriterion("param between", value1, value2, "param"); return (Criteria) this; } public Criteria andParamNotBetween(String value1, String value2) { addCriterion("param not between", value1, value2, "param"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.ucenter.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class UcenterOauthExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public UcenterOauthExample() { 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 implements Serializable { 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 andOauthIdIsNull() { addCriterion("oauth_id is null"); return (Criteria) this; } public Criteria andOauthIdIsNotNull() { addCriterion("oauth_id is not null"); return (Criteria) this; } public Criteria andOauthIdEqualTo(Integer value) { addCriterion("oauth_id =", value, "oauthId"); return (Criteria) this; } public Criteria andOauthIdNotEqualTo(Integer value) { addCriterion("oauth_id <>", value, "oauthId"); return (Criteria) this; } public Criteria andOauthIdGreaterThan(Integer value) { addCriterion("oauth_id >", value, "oauthId"); return (Criteria) this; } public Criteria andOauthIdGreaterThanOrEqualTo(Integer value) { addCriterion("oauth_id >=", value, "oauthId"); return (Criteria) this; } public Criteria andOauthIdLessThan(Integer value) { addCriterion("oauth_id <", value, "oauthId"); return (Criteria) this; } public Criteria andOauthIdLessThanOrEqualTo(Integer value) { addCriterion("oauth_id <=", value, "oauthId"); return (Criteria) this; } public Criteria andOauthIdIn(List<Integer> values) { addCriterion("oauth_id in", values, "oauthId"); return (Criteria) this; } public Criteria andOauthIdNotIn(List<Integer> values) { addCriterion("oauth_id not in", values, "oauthId"); return (Criteria) this; } public Criteria andOauthIdBetween(Integer value1, Integer value2) { addCriterion("oauth_id between", value1, value2, "oauthId"); return (Criteria) this; } public Criteria andOauthIdNotBetween(Integer value1, Integer value2) { addCriterion("oauth_id not between", value1, value2, "oauthId"); 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 static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.ucenter.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; public class UcenterUserDetailsExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public UcenterUserDetailsExample() { 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 implements Serializable { 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 andSignatureIsNull() { addCriterion("signature is null"); return (Criteria) this; } public Criteria andSignatureIsNotNull() { addCriterion("signature is not null"); return (Criteria) this; } public Criteria andSignatureEqualTo(String value) { addCriterion("signature =", value, "signature"); return (Criteria) this; } public Criteria andSignatureNotEqualTo(String value) { addCriterion("signature <>", value, "signature"); return (Criteria) this; } public Criteria andSignatureGreaterThan(String value) { addCriterion("signature >", value, "signature"); return (Criteria) this; } public Criteria andSignatureGreaterThanOrEqualTo(String value) { addCriterion("signature >=", value, "signature"); return (Criteria) this; } public Criteria andSignatureLessThan(String value) { addCriterion("signature <", value, "signature"); return (Criteria) this; } public Criteria andSignatureLessThanOrEqualTo(String value) { addCriterion("signature <=", value, "signature"); return (Criteria) this; } public Criteria andSignatureLike(String value) { addCriterion("signature like", value, "signature"); return (Criteria) this; } public Criteria andSignatureNotLike(String value) { addCriterion("signature not like", value, "signature"); return (Criteria) this; } public Criteria andSignatureIn(List<String> values) { addCriterion("signature in", values, "signature"); return (Criteria) this; } public Criteria andSignatureNotIn(List<String> values) { addCriterion("signature not in", values, "signature"); return (Criteria) this; } public Criteria andSignatureBetween(String value1, String value2) { addCriterion("signature between", value1, value2, "signature"); return (Criteria) this; } public Criteria andSignatureNotBetween(String value1, String value2) { addCriterion("signature not between", value1, value2, "signature"); return (Criteria) this; } public Criteria andRealNameIsNull() { addCriterion("real_name is null"); return (Criteria) this; } public Criteria andRealNameIsNotNull() { addCriterion("real_name is not null"); return (Criteria) this; } public Criteria andRealNameEqualTo(String value) { addCriterion("real_name =", value, "realName"); return (Criteria) this; } public Criteria andRealNameNotEqualTo(String value) { addCriterion("real_name <>", value, "realName"); return (Criteria) this; } public Criteria andRealNameGreaterThan(String value) { addCriterion("real_name >", value, "realName"); return (Criteria) this; } public Criteria andRealNameGreaterThanOrEqualTo(String value) { addCriterion("real_name >=", value, "realName"); return (Criteria) this; } public Criteria andRealNameLessThan(String value) { addCriterion("real_name <", value, "realName"); return (Criteria) this; } public Criteria andRealNameLessThanOrEqualTo(String value) { addCriterion("real_name <=", value, "realName"); return (Criteria) this; } public Criteria andRealNameLike(String value) { addCriterion("real_name like", value, "realName"); return (Criteria) this; } public Criteria andRealNameNotLike(String value) { addCriterion("real_name not like", value, "realName"); return (Criteria) this; } public Criteria andRealNameIn(List<String> values) { addCriterion("real_name in", values, "realName"); return (Criteria) this; } public Criteria andRealNameNotIn(List<String> values) { addCriterion("real_name not in", values, "realName"); return (Criteria) this; } public Criteria andRealNameBetween(String value1, String value2) { addCriterion("real_name between", value1, value2, "realName"); return (Criteria) this; } public Criteria andRealNameNotBetween(String value1, String value2) { addCriterion("real_name not between", value1, value2, "realName"); return (Criteria) this; } public Criteria andBirthdayIsNull() { addCriterion("birthday is null"); return (Criteria) this; } public Criteria andBirthdayIsNotNull() { addCriterion("birthday is not null"); return (Criteria) this; } public Criteria andBirthdayEqualTo(Date value) { addCriterion("birthday =", value, "birthday"); return (Criteria) this; } public Criteria andBirthdayNotEqualTo(Date value) { addCriterion("birthday <>", value, "birthday"); return (Criteria) this; } public Criteria andBirthdayGreaterThan(Date value) { addCriterion("birthday >", value, "birthday"); return (Criteria) this; } public Criteria andBirthdayGreaterThanOrEqualTo(Date value) { addCriterion("birthday >=", value, "birthday"); return (Criteria) this; } public Criteria andBirthdayLessThan(Date value) { addCriterion("birthday <", value, "birthday"); return (Criteria) this; } public Criteria andBirthdayLessThanOrEqualTo(Date value) { addCriterion("birthday <=", value, "birthday"); return (Criteria) this; } public Criteria andBirthdayIn(List<Date> values) { addCriterion("birthday in", values, "birthday"); return (Criteria) this; } public Criteria andBirthdayNotIn(List<Date> values) { addCriterion("birthday not in", values, "birthday"); return (Criteria) this; } public Criteria andBirthdayBetween(Date value1, Date value2) { addCriterion("birthday between", value1, value2, "birthday"); return (Criteria) this; } public Criteria andBirthdayNotBetween(Date value1, Date value2) { addCriterion("birthday not between", value1, value2, "birthday"); return (Criteria) this; } public Criteria andQuestionIsNull() { addCriterion("question is null"); return (Criteria) this; } public Criteria andQuestionIsNotNull() { addCriterion("question is not null"); return (Criteria) this; } public Criteria andQuestionEqualTo(String value) { addCriterion("question =", value, "question"); return (Criteria) this; } public Criteria andQuestionNotEqualTo(String value) { addCriterion("question <>", value, "question"); return (Criteria) this; } public Criteria andQuestionGreaterThan(String value) { addCriterion("question >", value, "question"); return (Criteria) this; } public Criteria andQuestionGreaterThanOrEqualTo(String value) { addCriterion("question >=", value, "question"); return (Criteria) this; } public Criteria andQuestionLessThan(String value) { addCriterion("question <", value, "question"); return (Criteria) this; } public Criteria andQuestionLessThanOrEqualTo(String value) { addCriterion("question <=", value, "question"); return (Criteria) this; } public Criteria andQuestionLike(String value) { addCriterion("question like", value, "question"); return (Criteria) this; } public Criteria andQuestionNotLike(String value) { addCriterion("question not like", value, "question"); return (Criteria) this; } public Criteria andQuestionIn(List<String> values) { addCriterion("question in", values, "question"); return (Criteria) this; } public Criteria andQuestionNotIn(List<String> values) { addCriterion("question not in", values, "question"); return (Criteria) this; } public Criteria andQuestionBetween(String value1, String value2) { addCriterion("question between", value1, value2, "question"); return (Criteria) this; } public Criteria andQuestionNotBetween(String value1, String value2) { addCriterion("question not between", value1, value2, "question"); return (Criteria) this; } public Criteria andAnswerIsNull() { addCriterion("answer is null"); return (Criteria) this; } public Criteria andAnswerIsNotNull() { addCriterion("answer is not null"); return (Criteria) this; } public Criteria andAnswerEqualTo(String value) { addCriterion("answer =", value, "answer"); return (Criteria) this; } public Criteria andAnswerNotEqualTo(String value) { addCriterion("answer <>", value, "answer"); return (Criteria) this; } public Criteria andAnswerGreaterThan(String value) { addCriterion("answer >", value, "answer"); return (Criteria) this; } public Criteria andAnswerGreaterThanOrEqualTo(String value) { addCriterion("answer >=", value, "answer"); return (Criteria) this; } public Criteria andAnswerLessThan(String value) { addCriterion("answer <", value, "answer"); return (Criteria) this; } public Criteria andAnswerLessThanOrEqualTo(String value) { addCriterion("answer <=", value, "answer"); return (Criteria) this; } public Criteria andAnswerLike(String value) { addCriterion("answer like", value, "answer"); return (Criteria) this; } public Criteria andAnswerNotLike(String value) { addCriterion("answer not like", value, "answer"); return (Criteria) this; } public Criteria andAnswerIn(List<String> values) { addCriterion("answer in", values, "answer"); return (Criteria) this; } public Criteria andAnswerNotIn(List<String> values) { addCriterion("answer not in", values, "answer"); return (Criteria) this; } public Criteria andAnswerBetween(String value1, String value2) { addCriterion("answer between", value1, value2, "answer"); return (Criteria) this; } public Criteria andAnswerNotBetween(String value1, String value2) { addCriterion("answer not between", value1, value2, "answer"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.ucenter.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; public class UcenterUserExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public UcenterUserExample() { 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 implements Serializable { 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 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 andSaltIsNull() { addCriterion("salt is null"); return (Criteria) this; } public Criteria andSaltIsNotNull() { addCriterion("salt is not null"); return (Criteria) this; } public Criteria andSaltEqualTo(String value) { addCriterion("salt =", value, "salt"); return (Criteria) this; } public Criteria andSaltNotEqualTo(String value) { addCriterion("salt <>", value, "salt"); return (Criteria) this; } public Criteria andSaltGreaterThan(String value) { addCriterion("salt >", value, "salt"); return (Criteria) this; } public Criteria andSaltGreaterThanOrEqualTo(String value) { addCriterion("salt >=", value, "salt"); return (Criteria) this; } public Criteria andSaltLessThan(String value) { addCriterion("salt <", value, "salt"); return (Criteria) this; } public Criteria andSaltLessThanOrEqualTo(String value) { addCriterion("salt <=", value, "salt"); return (Criteria) this; } public Criteria andSaltLike(String value) { addCriterion("salt like", value, "salt"); return (Criteria) this; } public Criteria andSaltNotLike(String value) { addCriterion("salt not like", value, "salt"); return (Criteria) this; } public Criteria andSaltIn(List<String> values) { addCriterion("salt in", values, "salt"); return (Criteria) this; } public Criteria andSaltNotIn(List<String> values) { addCriterion("salt not in", values, "salt"); return (Criteria) this; } public Criteria andSaltBetween(String value1, String value2) { addCriterion("salt between", value1, value2, "salt"); return (Criteria) this; } public Criteria andSaltNotBetween(String value1, String value2) { addCriterion("salt not between", value1, value2, "salt"); return (Criteria) this; } public Criteria andNicknameIsNull() { addCriterion("nickname is null"); return (Criteria) this; } public Criteria andNicknameIsNotNull() { addCriterion("nickname is not null"); return (Criteria) this; } public Criteria andNicknameEqualTo(String value) { addCriterion("nickname =", value, "nickname"); return (Criteria) this; } public Criteria andNicknameNotEqualTo(String value) { addCriterion("nickname <>", value, "nickname"); return (Criteria) this; } public Criteria andNicknameGreaterThan(String value) { addCriterion("nickname >", value, "nickname"); return (Criteria) this; } public Criteria andNicknameGreaterThanOrEqualTo(String value) { addCriterion("nickname >=", value, "nickname"); return (Criteria) this; } public Criteria andNicknameLessThan(String value) { addCriterion("nickname <", value, "nickname"); return (Criteria) this; } public Criteria andNicknameLessThanOrEqualTo(String value) { addCriterion("nickname <=", value, "nickname"); return (Criteria) this; } public Criteria andNicknameLike(String value) { addCriterion("nickname like", value, "nickname"); return (Criteria) this; } public Criteria andNicknameNotLike(String value) { addCriterion("nickname not like", value, "nickname"); return (Criteria) this; } public Criteria andNicknameIn(List<String> values) { addCriterion("nickname in", values, "nickname"); return (Criteria) this; } public Criteria andNicknameNotIn(List<String> values) { addCriterion("nickname not in", values, "nickname"); return (Criteria) this; } public Criteria andNicknameBetween(String value1, String value2) { addCriterion("nickname between", value1, value2, "nickname"); return (Criteria) this; } public Criteria andNicknameNotBetween(String value1, String value2) { addCriterion("nickname not between", value1, value2, "nickname"); return (Criteria) this; } public Criteria andSexIsNull() { addCriterion("sex is null"); return (Criteria) this; } public Criteria andSexIsNotNull() { addCriterion("sex is not null"); return (Criteria) this; } public Criteria andSexEqualTo(Byte value) { addCriterion("sex =", value, "sex"); return (Criteria) this; } public Criteria andSexNotEqualTo(Byte value) { addCriterion("sex <>", value, "sex"); return (Criteria) this; } public Criteria andSexGreaterThan(Byte value) { addCriterion("sex >", value, "sex"); return (Criteria) this; } public Criteria andSexGreaterThanOrEqualTo(Byte value) { addCriterion("sex >=", value, "sex"); return (Criteria) this; } public Criteria andSexLessThan(Byte value) { addCriterion("sex <", value, "sex"); return (Criteria) this; } public Criteria andSexLessThanOrEqualTo(Byte value) { addCriterion("sex <=", value, "sex"); return (Criteria) this; } public Criteria andSexIn(List<Byte> values) { addCriterion("sex in", values, "sex"); return (Criteria) this; } public Criteria andSexNotIn(List<Byte> values) { addCriterion("sex not in", values, "sex"); return (Criteria) this; } public Criteria andSexBetween(Byte value1, Byte value2) { addCriterion("sex between", value1, value2, "sex"); return (Criteria) this; } public Criteria andSexNotBetween(Byte value1, Byte value2) { addCriterion("sex not between", value1, value2, "sex"); return (Criteria) this; } public Criteria andAvatarIsNull() { addCriterion("avatar is null"); return (Criteria) this; } public Criteria andAvatarIsNotNull() { addCriterion("avatar is not null"); return (Criteria) this; } public Criteria andAvatarEqualTo(String value) { addCriterion("avatar =", value, "avatar"); return (Criteria) this; } public Criteria andAvatarNotEqualTo(String value) { addCriterion("avatar <>", value, "avatar"); return (Criteria) this; } public Criteria andAvatarGreaterThan(String value) { addCriterion("avatar >", value, "avatar"); return (Criteria) this; } public Criteria andAvatarGreaterThanOrEqualTo(String value) { addCriterion("avatar >=", value, "avatar"); return (Criteria) this; } public Criteria andAvatarLessThan(String value) { addCriterion("avatar <", value, "avatar"); return (Criteria) this; } public Criteria andAvatarLessThanOrEqualTo(String value) { addCriterion("avatar <=", value, "avatar"); return (Criteria) this; } public Criteria andAvatarLike(String value) { addCriterion("avatar like", value, "avatar"); return (Criteria) this; } public Criteria andAvatarNotLike(String value) { addCriterion("avatar not like", value, "avatar"); return (Criteria) this; } public Criteria andAvatarIn(List<String> values) { addCriterion("avatar in", values, "avatar"); return (Criteria) this; } public Criteria andAvatarNotIn(List<String> values) { addCriterion("avatar not in", values, "avatar"); return (Criteria) this; } public Criteria andAvatarBetween(String value1, String value2) { addCriterion("avatar between", value1, value2, "avatar"); return (Criteria) this; } public Criteria andAvatarNotBetween(String value1, String value2) { addCriterion("avatar not between", value1, value2, "avatar"); return (Criteria) this; } public Criteria andCreateTimeIsNull() { addCriterion("create_time is null"); return (Criteria) this; } public Criteria andCreateTimeIsNotNull() { addCriterion("create_time is not null"); return (Criteria) this; } public Criteria andCreateTimeEqualTo(Date value) { addCriterion("create_time =", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotEqualTo(Date value) { addCriterion("create_time <>", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeGreaterThan(Date value) { addCriterion("create_time >", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { addCriterion("create_time >=", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeLessThan(Date value) { addCriterion("create_time <", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeLessThanOrEqualTo(Date value) { addCriterion("create_time <=", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeIn(List<Date> values) { addCriterion("create_time in", values, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotIn(List<Date> values) { addCriterion("create_time not in", values, "createTime"); return (Criteria) this; } public Criteria andCreateTimeBetween(Date value1, Date value2) { addCriterion("create_time between", value1, value2, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotBetween(Date value1, Date value2) { addCriterion("create_time not between", value1, value2, "createTime"); return (Criteria) this; } public Criteria andCreateIpIsNull() { addCriterion("create_ip is null"); return (Criteria) this; } public Criteria andCreateIpIsNotNull() { addCriterion("create_ip is not null"); return (Criteria) this; } public Criteria andCreateIpEqualTo(String value) { addCriterion("create_ip =", value, "createIp"); return (Criteria) this; } public Criteria andCreateIpNotEqualTo(String value) { addCriterion("create_ip <>", value, "createIp"); return (Criteria) this; } public Criteria andCreateIpGreaterThan(String value) { addCriterion("create_ip >", value, "createIp"); return (Criteria) this; } public Criteria andCreateIpGreaterThanOrEqualTo(String value) { addCriterion("create_ip >=", value, "createIp"); return (Criteria) this; } public Criteria andCreateIpLessThan(String value) { addCriterion("create_ip <", value, "createIp"); return (Criteria) this; } public Criteria andCreateIpLessThanOrEqualTo(String value) { addCriterion("create_ip <=", value, "createIp"); return (Criteria) this; } public Criteria andCreateIpLike(String value) { addCriterion("create_ip like", value, "createIp"); return (Criteria) this; } public Criteria andCreateIpNotLike(String value) { addCriterion("create_ip not like", value, "createIp"); return (Criteria) this; } public Criteria andCreateIpIn(List<String> values) { addCriterion("create_ip in", values, "createIp"); return (Criteria) this; } public Criteria andCreateIpNotIn(List<String> values) { addCriterion("create_ip not in", values, "createIp"); return (Criteria) this; } public Criteria andCreateIpBetween(String value1, String value2) { addCriterion("create_ip between", value1, value2, "createIp"); return (Criteria) this; } public Criteria andCreateIpNotBetween(String value1, String value2) { addCriterion("create_ip not between", value1, value2, "createIp"); return (Criteria) this; } public Criteria andLastLoginTimeIsNull() { addCriterion("last_login_time is null"); return (Criteria) this; } public Criteria andLastLoginTimeIsNotNull() { addCriterion("last_login_time is not null"); return (Criteria) this; } public Criteria andLastLoginTimeEqualTo(Date value) { addCriterion("last_login_time =", value, "lastLoginTime"); return (Criteria) this; } public Criteria andLastLoginTimeNotEqualTo(Date value) { addCriterion("last_login_time <>", value, "lastLoginTime"); return (Criteria) this; } public Criteria andLastLoginTimeGreaterThan(Date value) { addCriterion("last_login_time >", value, "lastLoginTime"); return (Criteria) this; } public Criteria andLastLoginTimeGreaterThanOrEqualTo(Date value) { addCriterion("last_login_time >=", value, "lastLoginTime"); return (Criteria) this; } public Criteria andLastLoginTimeLessThan(Date value) { addCriterion("last_login_time <", value, "lastLoginTime"); return (Criteria) this; } public Criteria andLastLoginTimeLessThanOrEqualTo(Date value) { addCriterion("last_login_time <=", value, "lastLoginTime"); return (Criteria) this; } public Criteria andLastLoginTimeIn(List<Date> values) { addCriterion("last_login_time in", values, "lastLoginTime"); return (Criteria) this; } public Criteria andLastLoginTimeNotIn(List<Date> values) { addCriterion("last_login_time not in", values, "lastLoginTime"); return (Criteria) this; } public Criteria andLastLoginTimeBetween(Date value1, Date value2) { addCriterion("last_login_time between", value1, value2, "lastLoginTime"); return (Criteria) this; } public Criteria andLastLoginTimeNotBetween(Date value1, Date value2) { addCriterion("last_login_time not between", value1, value2, "lastLoginTime"); return (Criteria) this; } public Criteria andLastLoginIpIsNull() { addCriterion("last_login_ip is null"); return (Criteria) this; } public Criteria andLastLoginIpIsNotNull() { addCriterion("last_login_ip is not null"); return (Criteria) this; } public Criteria andLastLoginIpEqualTo(String value) { addCriterion("last_login_ip =", value, "lastLoginIp"); return (Criteria) this; } public Criteria andLastLoginIpNotEqualTo(String value) { addCriterion("last_login_ip <>", value, "lastLoginIp"); return (Criteria) this; } public Criteria andLastLoginIpGreaterThan(String value) { addCriterion("last_login_ip >", value, "lastLoginIp"); return (Criteria) this; } public Criteria andLastLoginIpGreaterThanOrEqualTo(String value) { addCriterion("last_login_ip >=", value, "lastLoginIp"); return (Criteria) this; } public Criteria andLastLoginIpLessThan(String value) { addCriterion("last_login_ip <", value, "lastLoginIp"); return (Criteria) this; } public Criteria andLastLoginIpLessThanOrEqualTo(String value) { addCriterion("last_login_ip <=", value, "lastLoginIp"); return (Criteria) this; } public Criteria andLastLoginIpLike(String value) { addCriterion("last_login_ip like", value, "lastLoginIp"); return (Criteria) this; } public Criteria andLastLoginIpNotLike(String value) { addCriterion("last_login_ip not like", value, "lastLoginIp"); return (Criteria) this; } public Criteria andLastLoginIpIn(List<String> values) { addCriterion("last_login_ip in", values, "lastLoginIp"); return (Criteria) this; } public Criteria andLastLoginIpNotIn(List<String> values) { addCriterion("last_login_ip not in", values, "lastLoginIp"); return (Criteria) this; } public Criteria andLastLoginIpBetween(String value1, String value2) { addCriterion("last_login_ip between", value1, value2, "lastLoginIp"); return (Criteria) this; } public Criteria andLastLoginIpNotBetween(String value1, String value2) { addCriterion("last_login_ip not between", value1, value2, "lastLoginIp"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.ucenter.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; public class UcenterUserLogExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public UcenterUserLogExample() { 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 implements Serializable { 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 andUserLogIdIsNull() { addCriterion("user_log_id is null"); return (Criteria) this; } public Criteria andUserLogIdIsNotNull() { addCriterion("user_log_id is not null"); return (Criteria) this; } public Criteria andUserLogIdEqualTo(Integer value) { addCriterion("user_log_id =", value, "userLogId"); return (Criteria) this; } public Criteria andUserLogIdNotEqualTo(Integer value) { addCriterion("user_log_id <>", value, "userLogId"); return (Criteria) this; } public Criteria andUserLogIdGreaterThan(Integer value) { addCriterion("user_log_id >", value, "userLogId"); return (Criteria) this; } public Criteria andUserLogIdGreaterThanOrEqualTo(Integer value) { addCriterion("user_log_id >=", value, "userLogId"); return (Criteria) this; } public Criteria andUserLogIdLessThan(Integer value) { addCriterion("user_log_id <", value, "userLogId"); return (Criteria) this; } public Criteria andUserLogIdLessThanOrEqualTo(Integer value) { addCriterion("user_log_id <=", value, "userLogId"); return (Criteria) this; } public Criteria andUserLogIdIn(List<Integer> values) { addCriterion("user_log_id in", values, "userLogId"); return (Criteria) this; } public Criteria andUserLogIdNotIn(List<Integer> values) { addCriterion("user_log_id not in", values, "userLogId"); return (Criteria) this; } public Criteria andUserLogIdBetween(Integer value1, Integer value2) { addCriterion("user_log_id between", value1, value2, "userLogId"); return (Criteria) this; } public Criteria andUserLogIdNotBetween(Integer value1, Integer value2) { addCriterion("user_log_id not between", value1, value2, "userLogId"); return (Criteria) this; } 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 andIpIsNull() { addCriterion("ip is null"); return (Criteria) this; } public Criteria andIpIsNotNull() { addCriterion("ip is not null"); return (Criteria) this; } public Criteria andIpEqualTo(String value) { addCriterion("ip =", value, "ip"); return (Criteria) this; } public Criteria andIpNotEqualTo(String value) { addCriterion("ip <>", value, "ip"); return (Criteria) this; } public Criteria andIpGreaterThan(String value) { addCriterion("ip >", value, "ip"); return (Criteria) this; } public Criteria andIpGreaterThanOrEqualTo(String value) { addCriterion("ip >=", value, "ip"); return (Criteria) this; } public Criteria andIpLessThan(String value) { addCriterion("ip <", value, "ip"); return (Criteria) this; } public Criteria andIpLessThanOrEqualTo(String value) { addCriterion("ip <=", value, "ip"); return (Criteria) this; } public Criteria andIpLike(String value) { addCriterion("ip like", value, "ip"); return (Criteria) this; } public Criteria andIpNotLike(String value) { addCriterion("ip not like", value, "ip"); return (Criteria) this; } public Criteria andIpIn(List<String> values) { addCriterion("ip in", values, "ip"); return (Criteria) this; } public Criteria andIpNotIn(List<String> values) { addCriterion("ip not in", values, "ip"); return (Criteria) this; } public Criteria andIpBetween(String value1, String value2) { addCriterion("ip between", value1, value2, "ip"); return (Criteria) this; } public Criteria andIpNotBetween(String value1, String value2) { addCriterion("ip not between", value1, value2, "ip"); return (Criteria) this; } public Criteria andCreateTimeIsNull() { addCriterion("create_time is null"); return (Criteria) this; } public Criteria andCreateTimeIsNotNull() { addCriterion("create_time is not null"); return (Criteria) this; } public Criteria andCreateTimeEqualTo(Date value) { addCriterion("create_time =", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotEqualTo(Date value) { addCriterion("create_time <>", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeGreaterThan(Date value) { addCriterion("create_time >", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { addCriterion("create_time >=", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeLessThan(Date value) { addCriterion("create_time <", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeLessThanOrEqualTo(Date value) { addCriterion("create_time <=", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeIn(List<Date> values) { addCriterion("create_time in", values, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotIn(List<Date> values) { addCriterion("create_time not in", values, "createTime"); return (Criteria) this; } public Criteria andCreateTimeBetween(Date value1, Date value2) { addCriterion("create_time between", value1, value2, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotBetween(Date value1, Date value2) { addCriterion("create_time not between", value1, value2, "createTime"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.ucenter.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; public class UcenterUserOauthExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public UcenterUserOauthExample() { 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 implements Serializable { 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 andUserOauthIdIsNull() { addCriterion("user_oauth_id is null"); return (Criteria) this; } public Criteria andUserOauthIdIsNotNull() { addCriterion("user_oauth_id is not null"); return (Criteria) this; } public Criteria andUserOauthIdEqualTo(Integer value) { addCriterion("user_oauth_id =", value, "userOauthId"); return (Criteria) this; } public Criteria andUserOauthIdNotEqualTo(Integer value) { addCriterion("user_oauth_id <>", value, "userOauthId"); return (Criteria) this; } public Criteria andUserOauthIdGreaterThan(Integer value) { addCriterion("user_oauth_id >", value, "userOauthId"); return (Criteria) this; } public Criteria andUserOauthIdGreaterThanOrEqualTo(Integer value) { addCriterion("user_oauth_id >=", value, "userOauthId"); return (Criteria) this; } public Criteria andUserOauthIdLessThan(Integer value) { addCriterion("user_oauth_id <", value, "userOauthId"); return (Criteria) this; } public Criteria andUserOauthIdLessThanOrEqualTo(Integer value) { addCriterion("user_oauth_id <=", value, "userOauthId"); return (Criteria) this; } public Criteria andUserOauthIdIn(List<Integer> values) { addCriterion("user_oauth_id in", values, "userOauthId"); return (Criteria) this; } public Criteria andUserOauthIdNotIn(List<Integer> values) { addCriterion("user_oauth_id not in", values, "userOauthId"); return (Criteria) this; } public Criteria andUserOauthIdBetween(Integer value1, Integer value2) { addCriterion("user_oauth_id between", value1, value2, "userOauthId"); return (Criteria) this; } public Criteria andUserOauthIdNotBetween(Integer value1, Integer value2) { addCriterion("user_oauth_id not between", value1, value2, "userOauthId"); return (Criteria) this; } 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 andOauthIdIsNull() { addCriterion("oauth_id is null"); return (Criteria) this; } public Criteria andOauthIdIsNotNull() { addCriterion("oauth_id is not null"); return (Criteria) this; } public Criteria andOauthIdEqualTo(Integer value) { addCriterion("oauth_id =", value, "oauthId"); return (Criteria) this; } public Criteria andOauthIdNotEqualTo(Integer value) { addCriterion("oauth_id <>", value, "oauthId"); return (Criteria) this; } public Criteria andOauthIdGreaterThan(Integer value) { addCriterion("oauth_id >", value, "oauthId"); return (Criteria) this; } public Criteria andOauthIdGreaterThanOrEqualTo(Integer value) { addCriterion("oauth_id >=", value, "oauthId"); return (Criteria) this; } public Criteria andOauthIdLessThan(Integer value) { addCriterion("oauth_id <", value, "oauthId"); return (Criteria) this; } public Criteria andOauthIdLessThanOrEqualTo(Integer value) { addCriterion("oauth_id <=", value, "oauthId"); return (Criteria) this; } public Criteria andOauthIdIn(List<Integer> values) { addCriterion("oauth_id in", values, "oauthId"); return (Criteria) this; } public Criteria andOauthIdNotIn(List<Integer> values) { addCriterion("oauth_id not in", values, "oauthId"); return (Criteria) this; } public Criteria andOauthIdBetween(Integer value1, Integer value2) { addCriterion("oauth_id between", value1, value2, "oauthId"); return (Criteria) this; } public Criteria andOauthIdNotBetween(Integer value1, Integer value2) { addCriterion("oauth_id not between", value1, value2, "oauthId"); return (Criteria) this; } public Criteria andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(Byte value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(Byte value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(Byte value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(Byte value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(Byte value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(Byte value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List<Byte> values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List<Byte> values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(Byte value1, Byte value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(Byte value1, Byte value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } public Criteria andCreateTimeIsNull() { addCriterion("create_time is null"); return (Criteria) this; } public Criteria andCreateTimeIsNotNull() { addCriterion("create_time is not null"); return (Criteria) this; } public Criteria andCreateTimeEqualTo(Date value) { addCriterion("create_time =", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotEqualTo(Date value) { addCriterion("create_time <>", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeGreaterThan(Date value) { addCriterion("create_time >", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { addCriterion("create_time >=", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeLessThan(Date value) { addCriterion("create_time <", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeLessThanOrEqualTo(Date value) { addCriterion("create_time <=", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeIn(List<Date> values) { addCriterion("create_time in", values, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotIn(List<Date> values) { addCriterion("create_time not in", values, "createTime"); return (Criteria) this; } public Criteria andCreateTimeBetween(Date value1, Date value2) { addCriterion("create_time between", value1, value2, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotBetween(Date value1, Date value2) { addCriterion("create_time not between", value1, value2, "createTime"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.upms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class UpmsLogExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public UpmsLogExample() { 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 implements Serializable { 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 andLogIdIsNull() { addCriterion("log_id is null"); return (Criteria) this; } public Criteria andLogIdIsNotNull() { addCriterion("log_id is not null"); return (Criteria) this; } public Criteria andLogIdEqualTo(Integer value) { addCriterion("log_id =", value, "logId"); return (Criteria) this; } public Criteria andLogIdNotEqualTo(Integer value) { addCriterion("log_id <>", value, "logId"); return (Criteria) this; } public Criteria andLogIdGreaterThan(Integer value) { addCriterion("log_id >", value, "logId"); return (Criteria) this; } public Criteria andLogIdGreaterThanOrEqualTo(Integer value) { addCriterion("log_id >=", value, "logId"); return (Criteria) this; } public Criteria andLogIdLessThan(Integer value) { addCriterion("log_id <", value, "logId"); return (Criteria) this; } public Criteria andLogIdLessThanOrEqualTo(Integer value) { addCriterion("log_id <=", value, "logId"); return (Criteria) this; } public Criteria andLogIdIn(List<Integer> values) { addCriterion("log_id in", values, "logId"); return (Criteria) this; } public Criteria andLogIdNotIn(List<Integer> values) { addCriterion("log_id not in", values, "logId"); return (Criteria) this; } public Criteria andLogIdBetween(Integer value1, Integer value2) { addCriterion("log_id between", value1, value2, "logId"); return (Criteria) this; } public Criteria andLogIdNotBetween(Integer value1, Integer value2) { addCriterion("log_id not between", value1, value2, "logId"); return (Criteria) this; } public Criteria andDescriptionIsNull() { addCriterion("description is null"); return (Criteria) this; } public Criteria andDescriptionIsNotNull() { addCriterion("description is not null"); return (Criteria) this; } public Criteria andDescriptionEqualTo(String value) { addCriterion("description =", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotEqualTo(String value) { addCriterion("description <>", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThan(String value) { addCriterion("description >", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThanOrEqualTo(String value) { addCriterion("description >=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThan(String value) { addCriterion("description <", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThanOrEqualTo(String value) { addCriterion("description <=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLike(String value) { addCriterion("description like", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotLike(String value) { addCriterion("description not like", value, "description"); return (Criteria) this; } public Criteria andDescriptionIn(List<String> values) { addCriterion("description in", values, "description"); return (Criteria) this; } public Criteria andDescriptionNotIn(List<String> values) { addCriterion("description not in", values, "description"); return (Criteria) this; } public Criteria andDescriptionBetween(String value1, String value2) { addCriterion("description between", value1, value2, "description"); return (Criteria) this; } public Criteria andDescriptionNotBetween(String value1, String value2) { addCriterion("description not between", value1, value2, "description"); 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 andStartTimeIsNull() { addCriterion("start_time is null"); return (Criteria) this; } public Criteria andStartTimeIsNotNull() { addCriterion("start_time is not null"); return (Criteria) this; } public Criteria andStartTimeEqualTo(Long value) { addCriterion("start_time =", value, "startTime"); return (Criteria) this; } public Criteria andStartTimeNotEqualTo(Long value) { addCriterion("start_time <>", value, "startTime"); return (Criteria) this; } public Criteria andStartTimeGreaterThan(Long value) { addCriterion("start_time >", value, "startTime"); return (Criteria) this; } public Criteria andStartTimeGreaterThanOrEqualTo(Long value) { addCriterion("start_time >=", value, "startTime"); return (Criteria) this; } public Criteria andStartTimeLessThan(Long value) { addCriterion("start_time <", value, "startTime"); return (Criteria) this; } public Criteria andStartTimeLessThanOrEqualTo(Long value) { addCriterion("start_time <=", value, "startTime"); return (Criteria) this; } public Criteria andStartTimeIn(List<Long> values) { addCriterion("start_time in", values, "startTime"); return (Criteria) this; } public Criteria andStartTimeNotIn(List<Long> values) { addCriterion("start_time not in", values, "startTime"); return (Criteria) this; } public Criteria andStartTimeBetween(Long value1, Long value2) { addCriterion("start_time between", value1, value2, "startTime"); return (Criteria) this; } public Criteria andStartTimeNotBetween(Long value1, Long value2) { addCriterion("start_time not between", value1, value2, "startTime"); return (Criteria) this; } public Criteria andSpendTimeIsNull() { addCriterion("spend_time is null"); return (Criteria) this; } public Criteria andSpendTimeIsNotNull() { addCriterion("spend_time is not null"); return (Criteria) this; } public Criteria andSpendTimeEqualTo(Integer value) { addCriterion("spend_time =", value, "spendTime"); return (Criteria) this; } public Criteria andSpendTimeNotEqualTo(Integer value) { addCriterion("spend_time <>", value, "spendTime"); return (Criteria) this; } public Criteria andSpendTimeGreaterThan(Integer value) { addCriterion("spend_time >", value, "spendTime"); return (Criteria) this; } public Criteria andSpendTimeGreaterThanOrEqualTo(Integer value) { addCriterion("spend_time >=", value, "spendTime"); return (Criteria) this; } public Criteria andSpendTimeLessThan(Integer value) { addCriterion("spend_time <", value, "spendTime"); return (Criteria) this; } public Criteria andSpendTimeLessThanOrEqualTo(Integer value) { addCriterion("spend_time <=", value, "spendTime"); return (Criteria) this; } public Criteria andSpendTimeIn(List<Integer> values) { addCriterion("spend_time in", values, "spendTime"); return (Criteria) this; } public Criteria andSpendTimeNotIn(List<Integer> values) { addCriterion("spend_time not in", values, "spendTime"); return (Criteria) this; } public Criteria andSpendTimeBetween(Integer value1, Integer value2) { addCriterion("spend_time between", value1, value2, "spendTime"); return (Criteria) this; } public Criteria andSpendTimeNotBetween(Integer value1, Integer value2) { addCriterion("spend_time not between", value1, value2, "spendTime"); return (Criteria) this; } public Criteria andBasePathIsNull() { addCriterion("base_path is null"); return (Criteria) this; } public Criteria andBasePathIsNotNull() { addCriterion("base_path is not null"); return (Criteria) this; } public Criteria andBasePathEqualTo(String value) { addCriterion("base_path =", value, "basePath"); return (Criteria) this; } public Criteria andBasePathNotEqualTo(String value) { addCriterion("base_path <>", value, "basePath"); return (Criteria) this; } public Criteria andBasePathGreaterThan(String value) { addCriterion("base_path >", value, "basePath"); return (Criteria) this; } public Criteria andBasePathGreaterThanOrEqualTo(String value) { addCriterion("base_path >=", value, "basePath"); return (Criteria) this; } public Criteria andBasePathLessThan(String value) { addCriterion("base_path <", value, "basePath"); return (Criteria) this; } public Criteria andBasePathLessThanOrEqualTo(String value) { addCriterion("base_path <=", value, "basePath"); return (Criteria) this; } public Criteria andBasePathLike(String value) { addCriterion("base_path like", value, "basePath"); return (Criteria) this; } public Criteria andBasePathNotLike(String value) { addCriterion("base_path not like", value, "basePath"); return (Criteria) this; } public Criteria andBasePathIn(List<String> values) { addCriterion("base_path in", values, "basePath"); return (Criteria) this; } public Criteria andBasePathNotIn(List<String> values) { addCriterion("base_path not in", values, "basePath"); return (Criteria) this; } public Criteria andBasePathBetween(String value1, String value2) { addCriterion("base_path between", value1, value2, "basePath"); return (Criteria) this; } public Criteria andBasePathNotBetween(String value1, String value2) { addCriterion("base_path not between", value1, value2, "basePath"); return (Criteria) this; } public Criteria andUriIsNull() { addCriterion("uri is null"); return (Criteria) this; } public Criteria andUriIsNotNull() { addCriterion("uri is not null"); return (Criteria) this; } public Criteria andUriEqualTo(String value) { addCriterion("uri =", value, "uri"); return (Criteria) this; } public Criteria andUriNotEqualTo(String value) { addCriterion("uri <>", value, "uri"); return (Criteria) this; } public Criteria andUriGreaterThan(String value) { addCriterion("uri >", value, "uri"); return (Criteria) this; } public Criteria andUriGreaterThanOrEqualTo(String value) { addCriterion("uri >=", value, "uri"); return (Criteria) this; } public Criteria andUriLessThan(String value) { addCriterion("uri <", value, "uri"); return (Criteria) this; } public Criteria andUriLessThanOrEqualTo(String value) { addCriterion("uri <=", value, "uri"); return (Criteria) this; } public Criteria andUriLike(String value) { addCriterion("uri like", value, "uri"); return (Criteria) this; } public Criteria andUriNotLike(String value) { addCriterion("uri not like", value, "uri"); return (Criteria) this; } public Criteria andUriIn(List<String> values) { addCriterion("uri in", values, "uri"); return (Criteria) this; } public Criteria andUriNotIn(List<String> values) { addCriterion("uri not in", values, "uri"); return (Criteria) this; } public Criteria andUriBetween(String value1, String value2) { addCriterion("uri between", value1, value2, "uri"); return (Criteria) this; } public Criteria andUriNotBetween(String value1, String value2) { addCriterion("uri not between", value1, value2, "uri"); return (Criteria) this; } public Criteria andUrlIsNull() { addCriterion("url is null"); return (Criteria) this; } public Criteria andUrlIsNotNull() { addCriterion("url is not null"); return (Criteria) this; } public Criteria andUrlEqualTo(String value) { addCriterion("url =", value, "url"); return (Criteria) this; } public Criteria andUrlNotEqualTo(String value) { addCriterion("url <>", value, "url"); return (Criteria) this; } public Criteria andUrlGreaterThan(String value) { addCriterion("url >", value, "url"); return (Criteria) this; } public Criteria andUrlGreaterThanOrEqualTo(String value) { addCriterion("url >=", value, "url"); return (Criteria) this; } public Criteria andUrlLessThan(String value) { addCriterion("url <", value, "url"); return (Criteria) this; } public Criteria andUrlLessThanOrEqualTo(String value) { addCriterion("url <=", value, "url"); return (Criteria) this; } public Criteria andUrlLike(String value) { addCriterion("url like", value, "url"); return (Criteria) this; } public Criteria andUrlNotLike(String value) { addCriterion("url not like", value, "url"); return (Criteria) this; } public Criteria andUrlIn(List<String> values) { addCriterion("url in", values, "url"); return (Criteria) this; } public Criteria andUrlNotIn(List<String> values) { addCriterion("url not in", values, "url"); return (Criteria) this; } public Criteria andUrlBetween(String value1, String value2) { addCriterion("url between", value1, value2, "url"); return (Criteria) this; } public Criteria andUrlNotBetween(String value1, String value2) { addCriterion("url not between", value1, value2, "url"); return (Criteria) this; } public Criteria andMethodIsNull() { addCriterion("method is null"); return (Criteria) this; } public Criteria andMethodIsNotNull() { addCriterion("method is not null"); return (Criteria) this; } public Criteria andMethodEqualTo(String value) { addCriterion("method =", value, "method"); return (Criteria) this; } public Criteria andMethodNotEqualTo(String value) { addCriterion("method <>", value, "method"); return (Criteria) this; } public Criteria andMethodGreaterThan(String value) { addCriterion("method >", value, "method"); return (Criteria) this; } public Criteria andMethodGreaterThanOrEqualTo(String value) { addCriterion("method >=", value, "method"); return (Criteria) this; } public Criteria andMethodLessThan(String value) { addCriterion("method <", value, "method"); return (Criteria) this; } public Criteria andMethodLessThanOrEqualTo(String value) { addCriterion("method <=", value, "method"); return (Criteria) this; } public Criteria andMethodLike(String value) { addCriterion("method like", value, "method"); return (Criteria) this; } public Criteria andMethodNotLike(String value) { addCriterion("method not like", value, "method"); return (Criteria) this; } public Criteria andMethodIn(List<String> values) { addCriterion("method in", values, "method"); return (Criteria) this; } public Criteria andMethodNotIn(List<String> values) { addCriterion("method not in", values, "method"); return (Criteria) this; } public Criteria andMethodBetween(String value1, String value2) { addCriterion("method between", value1, value2, "method"); return (Criteria) this; } public Criteria andMethodNotBetween(String value1, String value2) { addCriterion("method not between", value1, value2, "method"); return (Criteria) this; } public Criteria andUserAgentIsNull() { addCriterion("user_agent is null"); return (Criteria) this; } public Criteria andUserAgentIsNotNull() { addCriterion("user_agent is not null"); return (Criteria) this; } public Criteria andUserAgentEqualTo(String value) { addCriterion("user_agent =", value, "userAgent"); return (Criteria) this; } public Criteria andUserAgentNotEqualTo(String value) { addCriterion("user_agent <>", value, "userAgent"); return (Criteria) this; } public Criteria andUserAgentGreaterThan(String value) { addCriterion("user_agent >", value, "userAgent"); return (Criteria) this; } public Criteria andUserAgentGreaterThanOrEqualTo(String value) { addCriterion("user_agent >=", value, "userAgent"); return (Criteria) this; } public Criteria andUserAgentLessThan(String value) { addCriterion("user_agent <", value, "userAgent"); return (Criteria) this; } public Criteria andUserAgentLessThanOrEqualTo(String value) { addCriterion("user_agent <=", value, "userAgent"); return (Criteria) this; } public Criteria andUserAgentLike(String value) { addCriterion("user_agent like", value, "userAgent"); return (Criteria) this; } public Criteria andUserAgentNotLike(String value) { addCriterion("user_agent not like", value, "userAgent"); return (Criteria) this; } public Criteria andUserAgentIn(List<String> values) { addCriterion("user_agent in", values, "userAgent"); return (Criteria) this; } public Criteria andUserAgentNotIn(List<String> values) { addCriterion("user_agent not in", values, "userAgent"); return (Criteria) this; } public Criteria andUserAgentBetween(String value1, String value2) { addCriterion("user_agent between", value1, value2, "userAgent"); return (Criteria) this; } public Criteria andUserAgentNotBetween(String value1, String value2) { addCriterion("user_agent not between", value1, value2, "userAgent"); return (Criteria) this; } public Criteria andIpIsNull() { addCriterion("ip is null"); return (Criteria) this; } public Criteria andIpIsNotNull() { addCriterion("ip is not null"); return (Criteria) this; } public Criteria andIpEqualTo(String value) { addCriterion("ip =", value, "ip"); return (Criteria) this; } public Criteria andIpNotEqualTo(String value) { addCriterion("ip <>", value, "ip"); return (Criteria) this; } public Criteria andIpGreaterThan(String value) { addCriterion("ip >", value, "ip"); return (Criteria) this; } public Criteria andIpGreaterThanOrEqualTo(String value) { addCriterion("ip >=", value, "ip"); return (Criteria) this; } public Criteria andIpLessThan(String value) { addCriterion("ip <", value, "ip"); return (Criteria) this; } public Criteria andIpLessThanOrEqualTo(String value) { addCriterion("ip <=", value, "ip"); return (Criteria) this; } public Criteria andIpLike(String value) { addCriterion("ip like", value, "ip"); return (Criteria) this; } public Criteria andIpNotLike(String value) { addCriterion("ip not like", value, "ip"); return (Criteria) this; } public Criteria andIpIn(List<String> values) { addCriterion("ip in", values, "ip"); return (Criteria) this; } public Criteria andIpNotIn(List<String> values) { addCriterion("ip not in", values, "ip"); return (Criteria) this; } public Criteria andIpBetween(String value1, String value2) { addCriterion("ip between", value1, value2, "ip"); return (Criteria) this; } public Criteria andIpNotBetween(String value1, String value2) { addCriterion("ip not between", value1, value2, "ip"); return (Criteria) this; } public Criteria andPermissionsIsNull() { addCriterion("permissions is null"); return (Criteria) this; } public Criteria andPermissionsIsNotNull() { addCriterion("permissions is not null"); return (Criteria) this; } public Criteria andPermissionsEqualTo(String value) { addCriterion("permissions =", value, "permissions"); return (Criteria) this; } public Criteria andPermissionsNotEqualTo(String value) { addCriterion("permissions <>", value, "permissions"); return (Criteria) this; } public Criteria andPermissionsGreaterThan(String value) { addCriterion("permissions >", value, "permissions"); return (Criteria) this; } public Criteria andPermissionsGreaterThanOrEqualTo(String value) { addCriterion("permissions >=", value, "permissions"); return (Criteria) this; } public Criteria andPermissionsLessThan(String value) { addCriterion("permissions <", value, "permissions"); return (Criteria) this; } public Criteria andPermissionsLessThanOrEqualTo(String value) { addCriterion("permissions <=", value, "permissions"); return (Criteria) this; } public Criteria andPermissionsLike(String value) { addCriterion("permissions like", value, "permissions"); return (Criteria) this; } public Criteria andPermissionsNotLike(String value) { addCriterion("permissions not like", value, "permissions"); return (Criteria) this; } public Criteria andPermissionsIn(List<String> values) { addCriterion("permissions in", values, "permissions"); return (Criteria) this; } public Criteria andPermissionsNotIn(List<String> values) { addCriterion("permissions not in", values, "permissions"); return (Criteria) this; } public Criteria andPermissionsBetween(String value1, String value2) { addCriterion("permissions between", value1, value2, "permissions"); return (Criteria) this; } public Criteria andPermissionsNotBetween(String value1, String value2) { addCriterion("permissions not between", value1, value2, "permissions"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.upms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class UpmsOrganizationExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public UpmsOrganizationExample() { 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 implements Serializable { 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 andOrganizationIdIsNull() { addCriterion("organization_id is null"); return (Criteria) this; } public Criteria andOrganizationIdIsNotNull() { addCriterion("organization_id is not null"); return (Criteria) this; } public Criteria andOrganizationIdEqualTo(Integer value) { addCriterion("organization_id =", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdNotEqualTo(Integer value) { addCriterion("organization_id <>", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdGreaterThan(Integer value) { addCriterion("organization_id >", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdGreaterThanOrEqualTo(Integer value) { addCriterion("organization_id >=", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdLessThan(Integer value) { addCriterion("organization_id <", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdLessThanOrEqualTo(Integer value) { addCriterion("organization_id <=", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdIn(List<Integer> values) { addCriterion("organization_id in", values, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdNotIn(List<Integer> values) { addCriterion("organization_id not in", values, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdBetween(Integer value1, Integer value2) { addCriterion("organization_id between", value1, value2, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdNotBetween(Integer value1, Integer value2) { addCriterion("organization_id not between", value1, value2, "organizationId"); return (Criteria) this; } public Criteria andPidIsNull() { addCriterion("pid is null"); return (Criteria) this; } public Criteria andPidIsNotNull() { addCriterion("pid is not null"); return (Criteria) this; } public Criteria andPidEqualTo(Integer value) { addCriterion("pid =", value, "pid"); return (Criteria) this; } public Criteria andPidNotEqualTo(Integer value) { addCriterion("pid <>", value, "pid"); return (Criteria) this; } public Criteria andPidGreaterThan(Integer value) { addCriterion("pid >", value, "pid"); return (Criteria) this; } public Criteria andPidGreaterThanOrEqualTo(Integer value) { addCriterion("pid >=", value, "pid"); return (Criteria) this; } public Criteria andPidLessThan(Integer value) { addCriterion("pid <", value, "pid"); return (Criteria) this; } public Criteria andPidLessThanOrEqualTo(Integer value) { addCriterion("pid <=", value, "pid"); return (Criteria) this; } public Criteria andPidIn(List<Integer> values) { addCriterion("pid in", values, "pid"); return (Criteria) this; } public Criteria andPidNotIn(List<Integer> values) { addCriterion("pid not in", values, "pid"); return (Criteria) this; } public Criteria andPidBetween(Integer value1, Integer value2) { addCriterion("pid between", value1, value2, "pid"); return (Criteria) this; } public Criteria andPidNotBetween(Integer value1, Integer value2) { addCriterion("pid not between", value1, value2, "pid"); 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 andDescriptionIsNull() { addCriterion("description is null"); return (Criteria) this; } public Criteria andDescriptionIsNotNull() { addCriterion("description is not null"); return (Criteria) this; } public Criteria andDescriptionEqualTo(String value) { addCriterion("description =", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotEqualTo(String value) { addCriterion("description <>", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThan(String value) { addCriterion("description >", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThanOrEqualTo(String value) { addCriterion("description >=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThan(String value) { addCriterion("description <", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThanOrEqualTo(String value) { addCriterion("description <=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLike(String value) { addCriterion("description like", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotLike(String value) { addCriterion("description not like", value, "description"); return (Criteria) this; } public Criteria andDescriptionIn(List<String> values) { addCriterion("description in", values, "description"); return (Criteria) this; } public Criteria andDescriptionNotIn(List<String> values) { addCriterion("description not in", values, "description"); return (Criteria) this; } public Criteria andDescriptionBetween(String value1, String value2) { addCriterion("description between", value1, value2, "description"); return (Criteria) this; } public Criteria andDescriptionNotBetween(String value1, String value2) { addCriterion("description not between", value1, value2, "description"); return (Criteria) this; } public Criteria andCtimeIsNull() { addCriterion("ctime is null"); return (Criteria) this; } public Criteria andCtimeIsNotNull() { addCriterion("ctime is not null"); return (Criteria) this; } public Criteria andCtimeEqualTo(Long value) { addCriterion("ctime =", value, "ctime"); return (Criteria) this; } public Criteria andCtimeNotEqualTo(Long value) { addCriterion("ctime <>", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThan(Long value) { addCriterion("ctime >", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThanOrEqualTo(Long value) { addCriterion("ctime >=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThan(Long value) { addCriterion("ctime <", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThanOrEqualTo(Long value) { addCriterion("ctime <=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeIn(List<Long> values) { addCriterion("ctime in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeNotIn(List<Long> values) { addCriterion("ctime not in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeBetween(Long value1, Long value2) { addCriterion("ctime between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andCtimeNotBetween(Long value1, Long value2) { addCriterion("ctime not between", value1, value2, "ctime"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.upms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class UpmsPermissionExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public UpmsPermissionExample() { 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 implements Serializable { 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 andPermissionIdIsNull() { addCriterion("permission_id is null"); return (Criteria) this; } public Criteria andPermissionIdIsNotNull() { addCriterion("permission_id is not null"); return (Criteria) this; } public Criteria andPermissionIdEqualTo(Integer value) { addCriterion("permission_id =", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdNotEqualTo(Integer value) { addCriterion("permission_id <>", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdGreaterThan(Integer value) { addCriterion("permission_id >", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdGreaterThanOrEqualTo(Integer value) { addCriterion("permission_id >=", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdLessThan(Integer value) { addCriterion("permission_id <", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdLessThanOrEqualTo(Integer value) { addCriterion("permission_id <=", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdIn(List<Integer> values) { addCriterion("permission_id in", values, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdNotIn(List<Integer> values) { addCriterion("permission_id not in", values, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdBetween(Integer value1, Integer value2) { addCriterion("permission_id between", value1, value2, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdNotBetween(Integer value1, Integer value2) { addCriterion("permission_id not between", value1, value2, "permissionId"); return (Criteria) this; } public Criteria andSystemIdIsNull() { addCriterion("system_id is null"); return (Criteria) this; } public Criteria andSystemIdIsNotNull() { addCriterion("system_id is not null"); return (Criteria) this; } public Criteria andSystemIdEqualTo(Integer value) { addCriterion("system_id =", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotEqualTo(Integer value) { addCriterion("system_id <>", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdGreaterThan(Integer value) { addCriterion("system_id >", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdGreaterThanOrEqualTo(Integer value) { addCriterion("system_id >=", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdLessThan(Integer value) { addCriterion("system_id <", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdLessThanOrEqualTo(Integer value) { addCriterion("system_id <=", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdIn(List<Integer> values) { addCriterion("system_id in", values, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotIn(List<Integer> values) { addCriterion("system_id not in", values, "systemId"); return (Criteria) this; } public Criteria andSystemIdBetween(Integer value1, Integer value2) { addCriterion("system_id between", value1, value2, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotBetween(Integer value1, Integer value2) { addCriterion("system_id not between", value1, value2, "systemId"); return (Criteria) this; } public Criteria andPidIsNull() { addCriterion("pid is null"); return (Criteria) this; } public Criteria andPidIsNotNull() { addCriterion("pid is not null"); return (Criteria) this; } public Criteria andPidEqualTo(Integer value) { addCriterion("pid =", value, "pid"); return (Criteria) this; } public Criteria andPidNotEqualTo(Integer value) { addCriterion("pid <>", value, "pid"); return (Criteria) this; } public Criteria andPidGreaterThan(Integer value) { addCriterion("pid >", value, "pid"); return (Criteria) this; } public Criteria andPidGreaterThanOrEqualTo(Integer value) { addCriterion("pid >=", value, "pid"); return (Criteria) this; } public Criteria andPidLessThan(Integer value) { addCriterion("pid <", value, "pid"); return (Criteria) this; } public Criteria andPidLessThanOrEqualTo(Integer value) { addCriterion("pid <=", value, "pid"); return (Criteria) this; } public Criteria andPidIn(List<Integer> values) { addCriterion("pid in", values, "pid"); return (Criteria) this; } public Criteria andPidNotIn(List<Integer> values) { addCriterion("pid not in", values, "pid"); return (Criteria) this; } public Criteria andPidBetween(Integer value1, Integer value2) { addCriterion("pid between", value1, value2, "pid"); return (Criteria) this; } public Criteria andPidNotBetween(Integer value1, Integer value2) { addCriterion("pid not between", value1, value2, "pid"); 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 andTypeIsNull() { addCriterion("type is null"); return (Criteria) this; } public Criteria andTypeIsNotNull() { addCriterion("type is not null"); return (Criteria) this; } public Criteria andTypeEqualTo(Byte value) { addCriterion("type =", value, "type"); return (Criteria) this; } public Criteria andTypeNotEqualTo(Byte value) { addCriterion("type <>", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThan(Byte value) { addCriterion("type >", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThanOrEqualTo(Byte value) { addCriterion("type >=", value, "type"); return (Criteria) this; } public Criteria andTypeLessThan(Byte value) { addCriterion("type <", value, "type"); return (Criteria) this; } public Criteria andTypeLessThanOrEqualTo(Byte value) { addCriterion("type <=", value, "type"); return (Criteria) this; } public Criteria andTypeIn(List<Byte> values) { addCriterion("type in", values, "type"); return (Criteria) this; } public Criteria andTypeNotIn(List<Byte> values) { addCriterion("type not in", values, "type"); return (Criteria) this; } public Criteria andTypeBetween(Byte value1, Byte value2) { addCriterion("type between", value1, value2, "type"); return (Criteria) this; } public Criteria andTypeNotBetween(Byte value1, Byte value2) { addCriterion("type not between", value1, value2, "type"); return (Criteria) this; } public Criteria andPermissionValueIsNull() { addCriterion("permission_value is null"); return (Criteria) this; } public Criteria andPermissionValueIsNotNull() { addCriterion("permission_value is not null"); return (Criteria) this; } public Criteria andPermissionValueEqualTo(String value) { addCriterion("permission_value =", value, "permissionValue"); return (Criteria) this; } public Criteria andPermissionValueNotEqualTo(String value) { addCriterion("permission_value <>", value, "permissionValue"); return (Criteria) this; } public Criteria andPermissionValueGreaterThan(String value) { addCriterion("permission_value >", value, "permissionValue"); return (Criteria) this; } public Criteria andPermissionValueGreaterThanOrEqualTo(String value) { addCriterion("permission_value >=", value, "permissionValue"); return (Criteria) this; } public Criteria andPermissionValueLessThan(String value) { addCriterion("permission_value <", value, "permissionValue"); return (Criteria) this; } public Criteria andPermissionValueLessThanOrEqualTo(String value) { addCriterion("permission_value <=", value, "permissionValue"); return (Criteria) this; } public Criteria andPermissionValueLike(String value) { addCriterion("permission_value like", value, "permissionValue"); return (Criteria) this; } public Criteria andPermissionValueNotLike(String value) { addCriterion("permission_value not like", value, "permissionValue"); return (Criteria) this; } public Criteria andPermissionValueIn(List<String> values) { addCriterion("permission_value in", values, "permissionValue"); return (Criteria) this; } public Criteria andPermissionValueNotIn(List<String> values) { addCriterion("permission_value not in", values, "permissionValue"); return (Criteria) this; } public Criteria andPermissionValueBetween(String value1, String value2) { addCriterion("permission_value between", value1, value2, "permissionValue"); return (Criteria) this; } public Criteria andPermissionValueNotBetween(String value1, String value2) { addCriterion("permission_value not between", value1, value2, "permissionValue"); return (Criteria) this; } public Criteria andUriIsNull() { addCriterion("uri is null"); return (Criteria) this; } public Criteria andUriIsNotNull() { addCriterion("uri is not null"); return (Criteria) this; } public Criteria andUriEqualTo(String value) { addCriterion("uri =", value, "uri"); return (Criteria) this; } public Criteria andUriNotEqualTo(String value) { addCriterion("uri <>", value, "uri"); return (Criteria) this; } public Criteria andUriGreaterThan(String value) { addCriterion("uri >", value, "uri"); return (Criteria) this; } public Criteria andUriGreaterThanOrEqualTo(String value) { addCriterion("uri >=", value, "uri"); return (Criteria) this; } public Criteria andUriLessThan(String value) { addCriterion("uri <", value, "uri"); return (Criteria) this; } public Criteria andUriLessThanOrEqualTo(String value) { addCriterion("uri <=", value, "uri"); return (Criteria) this; } public Criteria andUriLike(String value) { addCriterion("uri like", value, "uri"); return (Criteria) this; } public Criteria andUriNotLike(String value) { addCriterion("uri not like", value, "uri"); return (Criteria) this; } public Criteria andUriIn(List<String> values) { addCriterion("uri in", values, "uri"); return (Criteria) this; } public Criteria andUriNotIn(List<String> values) { addCriterion("uri not in", values, "uri"); return (Criteria) this; } public Criteria andUriBetween(String value1, String value2) { addCriterion("uri between", value1, value2, "uri"); return (Criteria) this; } public Criteria andUriNotBetween(String value1, String value2) { addCriterion("uri not between", value1, value2, "uri"); return (Criteria) this; } public Criteria andIconIsNull() { addCriterion("icon is null"); return (Criteria) this; } public Criteria andIconIsNotNull() { addCriterion("icon is not null"); return (Criteria) this; } public Criteria andIconEqualTo(String value) { addCriterion("icon =", value, "icon"); return (Criteria) this; } public Criteria andIconNotEqualTo(String value) { addCriterion("icon <>", value, "icon"); return (Criteria) this; } public Criteria andIconGreaterThan(String value) { addCriterion("icon >", value, "icon"); return (Criteria) this; } public Criteria andIconGreaterThanOrEqualTo(String value) { addCriterion("icon >=", value, "icon"); return (Criteria) this; } public Criteria andIconLessThan(String value) { addCriterion("icon <", value, "icon"); return (Criteria) this; } public Criteria andIconLessThanOrEqualTo(String value) { addCriterion("icon <=", value, "icon"); return (Criteria) this; } public Criteria andIconLike(String value) { addCriterion("icon like", value, "icon"); return (Criteria) this; } public Criteria andIconNotLike(String value) { addCriterion("icon not like", value, "icon"); return (Criteria) this; } public Criteria andIconIn(List<String> values) { addCriterion("icon in", values, "icon"); return (Criteria) this; } public Criteria andIconNotIn(List<String> values) { addCriterion("icon not in", values, "icon"); return (Criteria) this; } public Criteria andIconBetween(String value1, String value2) { addCriterion("icon between", value1, value2, "icon"); return (Criteria) this; } public Criteria andIconNotBetween(String value1, String value2) { addCriterion("icon not between", value1, value2, "icon"); return (Criteria) this; } public Criteria andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(Byte value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(Byte value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(Byte value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(Byte value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(Byte value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(Byte value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List<Byte> values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List<Byte> values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(Byte value1, Byte value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(Byte value1, Byte value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } public Criteria andCtimeIsNull() { addCriterion("ctime is null"); return (Criteria) this; } public Criteria andCtimeIsNotNull() { addCriterion("ctime is not null"); return (Criteria) this; } public Criteria andCtimeEqualTo(Long value) { addCriterion("ctime =", value, "ctime"); return (Criteria) this; } public Criteria andCtimeNotEqualTo(Long value) { addCriterion("ctime <>", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThan(Long value) { addCriterion("ctime >", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThanOrEqualTo(Long value) { addCriterion("ctime >=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThan(Long value) { addCriterion("ctime <", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThanOrEqualTo(Long value) { addCriterion("ctime <=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeIn(List<Long> values) { addCriterion("ctime in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeNotIn(List<Long> values) { addCriterion("ctime not in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeBetween(Long value1, Long value2) { addCriterion("ctime between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andCtimeNotBetween(Long value1, Long value2) { addCriterion("ctime not between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andOrdersIsNull() { addCriterion("orders is null"); return (Criteria) this; } public Criteria andOrdersIsNotNull() { addCriterion("orders is not null"); return (Criteria) this; } public Criteria andOrdersEqualTo(Long value) { addCriterion("orders =", value, "orders"); return (Criteria) this; } public Criteria andOrdersNotEqualTo(Long value) { addCriterion("orders <>", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThan(Long value) { addCriterion("orders >", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThanOrEqualTo(Long value) { addCriterion("orders >=", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThan(Long value) { addCriterion("orders <", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThanOrEqualTo(Long value) { addCriterion("orders <=", value, "orders"); return (Criteria) this; } public Criteria andOrdersIn(List<Long> values) { addCriterion("orders in", values, "orders"); return (Criteria) this; } public Criteria andOrdersNotIn(List<Long> values) { addCriterion("orders not in", values, "orders"); return (Criteria) this; } public Criteria andOrdersBetween(Long value1, Long value2) { addCriterion("orders between", value1, value2, "orders"); return (Criteria) this; } public Criteria andOrdersNotBetween(Long value1, Long value2) { addCriterion("orders not between", value1, value2, "orders"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.upms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class UpmsRoleExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public UpmsRoleExample() { 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 implements Serializable { 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 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 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 andTitleIsNull() { addCriterion("title is null"); return (Criteria) this; } public Criteria andTitleIsNotNull() { addCriterion("title is not null"); return (Criteria) this; } public Criteria andTitleEqualTo(String value) { addCriterion("title =", value, "title"); return (Criteria) this; } public Criteria andTitleNotEqualTo(String value) { addCriterion("title <>", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThan(String value) { addCriterion("title >", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThanOrEqualTo(String value) { addCriterion("title >=", value, "title"); return (Criteria) this; } public Criteria andTitleLessThan(String value) { addCriterion("title <", value, "title"); return (Criteria) this; } public Criteria andTitleLessThanOrEqualTo(String value) { addCriterion("title <=", value, "title"); return (Criteria) this; } public Criteria andTitleLike(String value) { addCriterion("title like", value, "title"); return (Criteria) this; } public Criteria andTitleNotLike(String value) { addCriterion("title not like", value, "title"); return (Criteria) this; } public Criteria andTitleIn(List<String> values) { addCriterion("title in", values, "title"); return (Criteria) this; } public Criteria andTitleNotIn(List<String> values) { addCriterion("title not in", values, "title"); return (Criteria) this; } public Criteria andTitleBetween(String value1, String value2) { addCriterion("title between", value1, value2, "title"); return (Criteria) this; } public Criteria andTitleNotBetween(String value1, String value2) { addCriterion("title not between", value1, value2, "title"); return (Criteria) this; } public Criteria andDescriptionIsNull() { addCriterion("description is null"); return (Criteria) this; } public Criteria andDescriptionIsNotNull() { addCriterion("description is not null"); return (Criteria) this; } public Criteria andDescriptionEqualTo(String value) { addCriterion("description =", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotEqualTo(String value) { addCriterion("description <>", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThan(String value) { addCriterion("description >", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThanOrEqualTo(String value) { addCriterion("description >=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThan(String value) { addCriterion("description <", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThanOrEqualTo(String value) { addCriterion("description <=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLike(String value) { addCriterion("description like", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotLike(String value) { addCriterion("description not like", value, "description"); return (Criteria) this; } public Criteria andDescriptionIn(List<String> values) { addCriterion("description in", values, "description"); return (Criteria) this; } public Criteria andDescriptionNotIn(List<String> values) { addCriterion("description not in", values, "description"); return (Criteria) this; } public Criteria andDescriptionBetween(String value1, String value2) { addCriterion("description between", value1, value2, "description"); return (Criteria) this; } public Criteria andDescriptionNotBetween(String value1, String value2) { addCriterion("description not between", value1, value2, "description"); return (Criteria) this; } public Criteria andCtimeIsNull() { addCriterion("ctime is null"); return (Criteria) this; } public Criteria andCtimeIsNotNull() { addCriterion("ctime is not null"); return (Criteria) this; } public Criteria andCtimeEqualTo(Long value) { addCriterion("ctime =", value, "ctime"); return (Criteria) this; } public Criteria andCtimeNotEqualTo(Long value) { addCriterion("ctime <>", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThan(Long value) { addCriterion("ctime >", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThanOrEqualTo(Long value) { addCriterion("ctime >=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThan(Long value) { addCriterion("ctime <", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThanOrEqualTo(Long value) { addCriterion("ctime <=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeIn(List<Long> values) { addCriterion("ctime in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeNotIn(List<Long> values) { addCriterion("ctime not in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeBetween(Long value1, Long value2) { addCriterion("ctime between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andCtimeNotBetween(Long value1, Long value2) { addCriterion("ctime not between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andOrdersIsNull() { addCriterion("orders is null"); return (Criteria) this; } public Criteria andOrdersIsNotNull() { addCriterion("orders is not null"); return (Criteria) this; } public Criteria andOrdersEqualTo(Long value) { addCriterion("orders =", value, "orders"); return (Criteria) this; } public Criteria andOrdersNotEqualTo(Long value) { addCriterion("orders <>", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThan(Long value) { addCriterion("orders >", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThanOrEqualTo(Long value) { addCriterion("orders >=", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThan(Long value) { addCriterion("orders <", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThanOrEqualTo(Long value) { addCriterion("orders <=", value, "orders"); return (Criteria) this; } public Criteria andOrdersIn(List<Long> values) { addCriterion("orders in", values, "orders"); return (Criteria) this; } public Criteria andOrdersNotIn(List<Long> values) { addCriterion("orders not in", values, "orders"); return (Criteria) this; } public Criteria andOrdersBetween(Long value1, Long value2) { addCriterion("orders between", value1, value2, "orders"); return (Criteria) this; } public Criteria andOrdersNotBetween(Long value1, Long value2) { addCriterion("orders not between", value1, value2, "orders"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.upms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class UpmsRolePermissionExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public UpmsRolePermissionExample() { 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 implements Serializable { 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 andRolePermissionIdIsNull() { addCriterion("role_permission_id is null"); return (Criteria) this; } public Criteria andRolePermissionIdIsNotNull() { addCriterion("role_permission_id is not null"); return (Criteria) this; } public Criteria andRolePermissionIdEqualTo(Integer value) { addCriterion("role_permission_id =", value, "rolePermissionId"); return (Criteria) this; } public Criteria andRolePermissionIdNotEqualTo(Integer value) { addCriterion("role_permission_id <>", value, "rolePermissionId"); return (Criteria) this; } public Criteria andRolePermissionIdGreaterThan(Integer value) { addCriterion("role_permission_id >", value, "rolePermissionId"); return (Criteria) this; } public Criteria andRolePermissionIdGreaterThanOrEqualTo(Integer value) { addCriterion("role_permission_id >=", value, "rolePermissionId"); return (Criteria) this; } public Criteria andRolePermissionIdLessThan(Integer value) { addCriterion("role_permission_id <", value, "rolePermissionId"); return (Criteria) this; } public Criteria andRolePermissionIdLessThanOrEqualTo(Integer value) { addCriterion("role_permission_id <=", value, "rolePermissionId"); return (Criteria) this; } public Criteria andRolePermissionIdIn(List<Integer> values) { addCriterion("role_permission_id in", values, "rolePermissionId"); return (Criteria) this; } public Criteria andRolePermissionIdNotIn(List<Integer> values) { addCriterion("role_permission_id not in", values, "rolePermissionId"); return (Criteria) this; } public Criteria andRolePermissionIdBetween(Integer value1, Integer value2) { addCriterion("role_permission_id between", value1, value2, "rolePermissionId"); return (Criteria) this; } public Criteria andRolePermissionIdNotBetween(Integer value1, Integer value2) { addCriterion("role_permission_id not between", value1, value2, "rolePermissionId"); 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 andPermissionIdIsNull() { addCriterion("permission_id is null"); return (Criteria) this; } public Criteria andPermissionIdIsNotNull() { addCriterion("permission_id is not null"); return (Criteria) this; } public Criteria andPermissionIdEqualTo(Integer value) { addCriterion("permission_id =", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdNotEqualTo(Integer value) { addCriterion("permission_id <>", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdGreaterThan(Integer value) { addCriterion("permission_id >", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdGreaterThanOrEqualTo(Integer value) { addCriterion("permission_id >=", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdLessThan(Integer value) { addCriterion("permission_id <", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdLessThanOrEqualTo(Integer value) { addCriterion("permission_id <=", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdIn(List<Integer> values) { addCriterion("permission_id in", values, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdNotIn(List<Integer> values) { addCriterion("permission_id not in", values, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdBetween(Integer value1, Integer value2) { addCriterion("permission_id between", value1, value2, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdNotBetween(Integer value1, Integer value2) { addCriterion("permission_id not between", value1, value2, "permissionId"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.upms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class UpmsSystemExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public UpmsSystemExample() { 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 implements Serializable { 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 andSystemIdIsNull() { addCriterion("system_id is null"); return (Criteria) this; } public Criteria andSystemIdIsNotNull() { addCriterion("system_id is not null"); return (Criteria) this; } public Criteria andSystemIdEqualTo(Integer value) { addCriterion("system_id =", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotEqualTo(Integer value) { addCriterion("system_id <>", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdGreaterThan(Integer value) { addCriterion("system_id >", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdGreaterThanOrEqualTo(Integer value) { addCriterion("system_id >=", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdLessThan(Integer value) { addCriterion("system_id <", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdLessThanOrEqualTo(Integer value) { addCriterion("system_id <=", value, "systemId"); return (Criteria) this; } public Criteria andSystemIdIn(List<Integer> values) { addCriterion("system_id in", values, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotIn(List<Integer> values) { addCriterion("system_id not in", values, "systemId"); return (Criteria) this; } public Criteria andSystemIdBetween(Integer value1, Integer value2) { addCriterion("system_id between", value1, value2, "systemId"); return (Criteria) this; } public Criteria andSystemIdNotBetween(Integer value1, Integer value2) { addCriterion("system_id not between", value1, value2, "systemId"); return (Criteria) this; } public Criteria andIconIsNull() { addCriterion("icon is null"); return (Criteria) this; } public Criteria andIconIsNotNull() { addCriterion("icon is not null"); return (Criteria) this; } public Criteria andIconEqualTo(String value) { addCriterion("icon =", value, "icon"); return (Criteria) this; } public Criteria andIconNotEqualTo(String value) { addCriterion("icon <>", value, "icon"); return (Criteria) this; } public Criteria andIconGreaterThan(String value) { addCriterion("icon >", value, "icon"); return (Criteria) this; } public Criteria andIconGreaterThanOrEqualTo(String value) { addCriterion("icon >=", value, "icon"); return (Criteria) this; } public Criteria andIconLessThan(String value) { addCriterion("icon <", value, "icon"); return (Criteria) this; } public Criteria andIconLessThanOrEqualTo(String value) { addCriterion("icon <=", value, "icon"); return (Criteria) this; } public Criteria andIconLike(String value) { addCriterion("icon like", value, "icon"); return (Criteria) this; } public Criteria andIconNotLike(String value) { addCriterion("icon not like", value, "icon"); return (Criteria) this; } public Criteria andIconIn(List<String> values) { addCriterion("icon in", values, "icon"); return (Criteria) this; } public Criteria andIconNotIn(List<String> values) { addCriterion("icon not in", values, "icon"); return (Criteria) this; } public Criteria andIconBetween(String value1, String value2) { addCriterion("icon between", value1, value2, "icon"); return (Criteria) this; } public Criteria andIconNotBetween(String value1, String value2) { addCriterion("icon not between", value1, value2, "icon"); return (Criteria) this; } public Criteria andBannerIsNull() { addCriterion("banner is null"); return (Criteria) this; } public Criteria andBannerIsNotNull() { addCriterion("banner is not null"); return (Criteria) this; } public Criteria andBannerEqualTo(String value) { addCriterion("banner =", value, "banner"); return (Criteria) this; } public Criteria andBannerNotEqualTo(String value) { addCriterion("banner <>", value, "banner"); return (Criteria) this; } public Criteria andBannerGreaterThan(String value) { addCriterion("banner >", value, "banner"); return (Criteria) this; } public Criteria andBannerGreaterThanOrEqualTo(String value) { addCriterion("banner >=", value, "banner"); return (Criteria) this; } public Criteria andBannerLessThan(String value) { addCriterion("banner <", value, "banner"); return (Criteria) this; } public Criteria andBannerLessThanOrEqualTo(String value) { addCriterion("banner <=", value, "banner"); return (Criteria) this; } public Criteria andBannerLike(String value) { addCriterion("banner like", value, "banner"); return (Criteria) this; } public Criteria andBannerNotLike(String value) { addCriterion("banner not like", value, "banner"); return (Criteria) this; } public Criteria andBannerIn(List<String> values) { addCriterion("banner in", values, "banner"); return (Criteria) this; } public Criteria andBannerNotIn(List<String> values) { addCriterion("banner not in", values, "banner"); return (Criteria) this; } public Criteria andBannerBetween(String value1, String value2) { addCriterion("banner between", value1, value2, "banner"); return (Criteria) this; } public Criteria andBannerNotBetween(String value1, String value2) { addCriterion("banner not between", value1, value2, "banner"); return (Criteria) this; } public Criteria andThemeIsNull() { addCriterion("theme is null"); return (Criteria) this; } public Criteria andThemeIsNotNull() { addCriterion("theme is not null"); return (Criteria) this; } public Criteria andThemeEqualTo(String value) { addCriterion("theme =", value, "theme"); return (Criteria) this; } public Criteria andThemeNotEqualTo(String value) { addCriterion("theme <>", value, "theme"); return (Criteria) this; } public Criteria andThemeGreaterThan(String value) { addCriterion("theme >", value, "theme"); return (Criteria) this; } public Criteria andThemeGreaterThanOrEqualTo(String value) { addCriterion("theme >=", value, "theme"); return (Criteria) this; } public Criteria andThemeLessThan(String value) { addCriterion("theme <", value, "theme"); return (Criteria) this; } public Criteria andThemeLessThanOrEqualTo(String value) { addCriterion("theme <=", value, "theme"); return (Criteria) this; } public Criteria andThemeLike(String value) { addCriterion("theme like", value, "theme"); return (Criteria) this; } public Criteria andThemeNotLike(String value) { addCriterion("theme not like", value, "theme"); return (Criteria) this; } public Criteria andThemeIn(List<String> values) { addCriterion("theme in", values, "theme"); return (Criteria) this; } public Criteria andThemeNotIn(List<String> values) { addCriterion("theme not in", values, "theme"); return (Criteria) this; } public Criteria andThemeBetween(String value1, String value2) { addCriterion("theme between", value1, value2, "theme"); return (Criteria) this; } public Criteria andThemeNotBetween(String value1, String value2) { addCriterion("theme not between", value1, value2, "theme"); return (Criteria) this; } public Criteria andBasepathIsNull() { addCriterion("basepath is null"); return (Criteria) this; } public Criteria andBasepathIsNotNull() { addCriterion("basepath is not null"); return (Criteria) this; } public Criteria andBasepathEqualTo(String value) { addCriterion("basepath =", value, "basepath"); return (Criteria) this; } public Criteria andBasepathNotEqualTo(String value) { addCriterion("basepath <>", value, "basepath"); return (Criteria) this; } public Criteria andBasepathGreaterThan(String value) { addCriterion("basepath >", value, "basepath"); return (Criteria) this; } public Criteria andBasepathGreaterThanOrEqualTo(String value) { addCriterion("basepath >=", value, "basepath"); return (Criteria) this; } public Criteria andBasepathLessThan(String value) { addCriterion("basepath <", value, "basepath"); return (Criteria) this; } public Criteria andBasepathLessThanOrEqualTo(String value) { addCriterion("basepath <=", value, "basepath"); return (Criteria) this; } public Criteria andBasepathLike(String value) { addCriterion("basepath like", value, "basepath"); return (Criteria) this; } public Criteria andBasepathNotLike(String value) { addCriterion("basepath not like", value, "basepath"); return (Criteria) this; } public Criteria andBasepathIn(List<String> values) { addCriterion("basepath in", values, "basepath"); return (Criteria) this; } public Criteria andBasepathNotIn(List<String> values) { addCriterion("basepath not in", values, "basepath"); return (Criteria) this; } public Criteria andBasepathBetween(String value1, String value2) { addCriterion("basepath between", value1, value2, "basepath"); return (Criteria) this; } public Criteria andBasepathNotBetween(String value1, String value2) { addCriterion("basepath not between", value1, value2, "basepath"); return (Criteria) this; } public Criteria andStatusIsNull() { addCriterion("status is null"); return (Criteria) this; } public Criteria andStatusIsNotNull() { addCriterion("status is not null"); return (Criteria) this; } public Criteria andStatusEqualTo(Byte value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(Byte value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(Byte value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(Byte value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(Byte value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(Byte value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List<Byte> values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List<Byte> values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(Byte value1, Byte value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(Byte value1, Byte value2) { addCriterion("status not between", value1, value2, "status"); 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 andTitleIsNull() { addCriterion("title is null"); return (Criteria) this; } public Criteria andTitleIsNotNull() { addCriterion("title is not null"); return (Criteria) this; } public Criteria andTitleEqualTo(String value) { addCriterion("title =", value, "title"); return (Criteria) this; } public Criteria andTitleNotEqualTo(String value) { addCriterion("title <>", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThan(String value) { addCriterion("title >", value, "title"); return (Criteria) this; } public Criteria andTitleGreaterThanOrEqualTo(String value) { addCriterion("title >=", value, "title"); return (Criteria) this; } public Criteria andTitleLessThan(String value) { addCriterion("title <", value, "title"); return (Criteria) this; } public Criteria andTitleLessThanOrEqualTo(String value) { addCriterion("title <=", value, "title"); return (Criteria) this; } public Criteria andTitleLike(String value) { addCriterion("title like", value, "title"); return (Criteria) this; } public Criteria andTitleNotLike(String value) { addCriterion("title not like", value, "title"); return (Criteria) this; } public Criteria andTitleIn(List<String> values) { addCriterion("title in", values, "title"); return (Criteria) this; } public Criteria andTitleNotIn(List<String> values) { addCriterion("title not in", values, "title"); return (Criteria) this; } public Criteria andTitleBetween(String value1, String value2) { addCriterion("title between", value1, value2, "title"); return (Criteria) this; } public Criteria andTitleNotBetween(String value1, String value2) { addCriterion("title not between", value1, value2, "title"); return (Criteria) this; } public Criteria andDescriptionIsNull() { addCriterion("description is null"); return (Criteria) this; } public Criteria andDescriptionIsNotNull() { addCriterion("description is not null"); return (Criteria) this; } public Criteria andDescriptionEqualTo(String value) { addCriterion("description =", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotEqualTo(String value) { addCriterion("description <>", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThan(String value) { addCriterion("description >", value, "description"); return (Criteria) this; } public Criteria andDescriptionGreaterThanOrEqualTo(String value) { addCriterion("description >=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThan(String value) { addCriterion("description <", value, "description"); return (Criteria) this; } public Criteria andDescriptionLessThanOrEqualTo(String value) { addCriterion("description <=", value, "description"); return (Criteria) this; } public Criteria andDescriptionLike(String value) { addCriterion("description like", value, "description"); return (Criteria) this; } public Criteria andDescriptionNotLike(String value) { addCriterion("description not like", value, "description"); return (Criteria) this; } public Criteria andDescriptionIn(List<String> values) { addCriterion("description in", values, "description"); return (Criteria) this; } public Criteria andDescriptionNotIn(List<String> values) { addCriterion("description not in", values, "description"); return (Criteria) this; } public Criteria andDescriptionBetween(String value1, String value2) { addCriterion("description between", value1, value2, "description"); return (Criteria) this; } public Criteria andDescriptionNotBetween(String value1, String value2) { addCriterion("description not between", value1, value2, "description"); return (Criteria) this; } public Criteria andCtimeIsNull() { addCriterion("ctime is null"); return (Criteria) this; } public Criteria andCtimeIsNotNull() { addCriterion("ctime is not null"); return (Criteria) this; } public Criteria andCtimeEqualTo(Long value) { addCriterion("ctime =", value, "ctime"); return (Criteria) this; } public Criteria andCtimeNotEqualTo(Long value) { addCriterion("ctime <>", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThan(Long value) { addCriterion("ctime >", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThanOrEqualTo(Long value) { addCriterion("ctime >=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThan(Long value) { addCriterion("ctime <", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThanOrEqualTo(Long value) { addCriterion("ctime <=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeIn(List<Long> values) { addCriterion("ctime in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeNotIn(List<Long> values) { addCriterion("ctime not in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeBetween(Long value1, Long value2) { addCriterion("ctime between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andCtimeNotBetween(Long value1, Long value2) { addCriterion("ctime not between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andOrdersIsNull() { addCriterion("orders is null"); return (Criteria) this; } public Criteria andOrdersIsNotNull() { addCriterion("orders is not null"); return (Criteria) this; } public Criteria andOrdersEqualTo(Long value) { addCriterion("orders =", value, "orders"); return (Criteria) this; } public Criteria andOrdersNotEqualTo(Long value) { addCriterion("orders <>", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThan(Long value) { addCriterion("orders >", value, "orders"); return (Criteria) this; } public Criteria andOrdersGreaterThanOrEqualTo(Long value) { addCriterion("orders >=", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThan(Long value) { addCriterion("orders <", value, "orders"); return (Criteria) this; } public Criteria andOrdersLessThanOrEqualTo(Long value) { addCriterion("orders <=", value, "orders"); return (Criteria) this; } public Criteria andOrdersIn(List<Long> values) { addCriterion("orders in", values, "orders"); return (Criteria) this; } public Criteria andOrdersNotIn(List<Long> values) { addCriterion("orders not in", values, "orders"); return (Criteria) this; } public Criteria andOrdersBetween(Long value1, Long value2) { addCriterion("orders between", value1, value2, "orders"); return (Criteria) this; } public Criteria andOrdersNotBetween(Long value1, Long value2) { addCriterion("orders not between", value1, value2, "orders"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.upms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class UpmsUserExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public UpmsUserExample() { 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 implements Serializable { 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 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 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 andSaltIsNull() { addCriterion("salt is null"); return (Criteria) this; } public Criteria andSaltIsNotNull() { addCriterion("salt is not null"); return (Criteria) this; } public Criteria andSaltEqualTo(String value) { addCriterion("salt =", value, "salt"); return (Criteria) this; } public Criteria andSaltNotEqualTo(String value) { addCriterion("salt <>", value, "salt"); return (Criteria) this; } public Criteria andSaltGreaterThan(String value) { addCriterion("salt >", value, "salt"); return (Criteria) this; } public Criteria andSaltGreaterThanOrEqualTo(String value) { addCriterion("salt >=", value, "salt"); return (Criteria) this; } public Criteria andSaltLessThan(String value) { addCriterion("salt <", value, "salt"); return (Criteria) this; } public Criteria andSaltLessThanOrEqualTo(String value) { addCriterion("salt <=", value, "salt"); return (Criteria) this; } public Criteria andSaltLike(String value) { addCriterion("salt like", value, "salt"); return (Criteria) this; } public Criteria andSaltNotLike(String value) { addCriterion("salt not like", value, "salt"); return (Criteria) this; } public Criteria andSaltIn(List<String> values) { addCriterion("salt in", values, "salt"); return (Criteria) this; } public Criteria andSaltNotIn(List<String> values) { addCriterion("salt not in", values, "salt"); return (Criteria) this; } public Criteria andSaltBetween(String value1, String value2) { addCriterion("salt between", value1, value2, "salt"); return (Criteria) this; } public Criteria andSaltNotBetween(String value1, String value2) { addCriterion("salt not between", value1, value2, "salt"); return (Criteria) this; } public Criteria andRealnameIsNull() { addCriterion("realname is null"); return (Criteria) this; } public Criteria andRealnameIsNotNull() { addCriterion("realname is not null"); return (Criteria) this; } public Criteria andRealnameEqualTo(String value) { addCriterion("realname =", value, "realname"); return (Criteria) this; } public Criteria andRealnameNotEqualTo(String value) { addCriterion("realname <>", value, "realname"); return (Criteria) this; } public Criteria andRealnameGreaterThan(String value) { addCriterion("realname >", value, "realname"); return (Criteria) this; } public Criteria andRealnameGreaterThanOrEqualTo(String value) { addCriterion("realname >=", value, "realname"); return (Criteria) this; } public Criteria andRealnameLessThan(String value) { addCriterion("realname <", value, "realname"); return (Criteria) this; } public Criteria andRealnameLessThanOrEqualTo(String value) { addCriterion("realname <=", value, "realname"); return (Criteria) this; } public Criteria andRealnameLike(String value) { addCriterion("realname like", value, "realname"); return (Criteria) this; } public Criteria andRealnameNotLike(String value) { addCriterion("realname not like", value, "realname"); return (Criteria) this; } public Criteria andRealnameIn(List<String> values) { addCriterion("realname in", values, "realname"); return (Criteria) this; } public Criteria andRealnameNotIn(List<String> values) { addCriterion("realname not in", values, "realname"); return (Criteria) this; } public Criteria andRealnameBetween(String value1, String value2) { addCriterion("realname between", value1, value2, "realname"); return (Criteria) this; } public Criteria andRealnameNotBetween(String value1, String value2) { addCriterion("realname not between", value1, value2, "realname"); return (Criteria) this; } public Criteria andAvatarIsNull() { addCriterion("avatar is null"); return (Criteria) this; } public Criteria andAvatarIsNotNull() { addCriterion("avatar is not null"); return (Criteria) this; } public Criteria andAvatarEqualTo(String value) { addCriterion("avatar =", value, "avatar"); return (Criteria) this; } public Criteria andAvatarNotEqualTo(String value) { addCriterion("avatar <>", value, "avatar"); return (Criteria) this; } public Criteria andAvatarGreaterThan(String value) { addCriterion("avatar >", value, "avatar"); return (Criteria) this; } public Criteria andAvatarGreaterThanOrEqualTo(String value) { addCriterion("avatar >=", value, "avatar"); return (Criteria) this; } public Criteria andAvatarLessThan(String value) { addCriterion("avatar <", value, "avatar"); return (Criteria) this; } public Criteria andAvatarLessThanOrEqualTo(String value) { addCriterion("avatar <=", value, "avatar"); return (Criteria) this; } public Criteria andAvatarLike(String value) { addCriterion("avatar like", value, "avatar"); return (Criteria) this; } public Criteria andAvatarNotLike(String value) { addCriterion("avatar not like", value, "avatar"); return (Criteria) this; } public Criteria andAvatarIn(List<String> values) { addCriterion("avatar in", values, "avatar"); return (Criteria) this; } public Criteria andAvatarNotIn(List<String> values) { addCriterion("avatar not in", values, "avatar"); return (Criteria) this; } public Criteria andAvatarBetween(String value1, String value2) { addCriterion("avatar between", value1, value2, "avatar"); return (Criteria) this; } public Criteria andAvatarNotBetween(String value1, String value2) { addCriterion("avatar not between", value1, value2, "avatar"); return (Criteria) this; } public Criteria andPhoneIsNull() { addCriterion("phone is null"); return (Criteria) this; } public Criteria andPhoneIsNotNull() { addCriterion("phone is not null"); return (Criteria) this; } public Criteria andPhoneEqualTo(String value) { addCriterion("phone =", value, "phone"); return (Criteria) this; } public Criteria andPhoneNotEqualTo(String value) { addCriterion("phone <>", value, "phone"); return (Criteria) this; } public Criteria andPhoneGreaterThan(String value) { addCriterion("phone >", value, "phone"); return (Criteria) this; } public Criteria andPhoneGreaterThanOrEqualTo(String value) { addCriterion("phone >=", value, "phone"); return (Criteria) this; } public Criteria andPhoneLessThan(String value) { addCriterion("phone <", value, "phone"); return (Criteria) this; } public Criteria andPhoneLessThanOrEqualTo(String value) { addCriterion("phone <=", value, "phone"); return (Criteria) this; } public Criteria andPhoneLike(String value) { addCriterion("phone like", value, "phone"); return (Criteria) this; } public Criteria andPhoneNotLike(String value) { addCriterion("phone not like", value, "phone"); return (Criteria) this; } public Criteria andPhoneIn(List<String> values) { addCriterion("phone in", values, "phone"); return (Criteria) this; } public Criteria andPhoneNotIn(List<String> values) { addCriterion("phone not in", values, "phone"); return (Criteria) this; } public Criteria andPhoneBetween(String value1, String value2) { addCriterion("phone between", value1, value2, "phone"); return (Criteria) this; } public Criteria andPhoneNotBetween(String value1, String value2) { addCriterion("phone not between", value1, value2, "phone"); return (Criteria) this; } public Criteria andEmailIsNull() { addCriterion("email is null"); return (Criteria) this; } public Criteria andEmailIsNotNull() { addCriterion("email is not null"); return (Criteria) this; } public Criteria andEmailEqualTo(String value) { addCriterion("email =", value, "email"); return (Criteria) this; } public Criteria andEmailNotEqualTo(String value) { addCriterion("email <>", value, "email"); return (Criteria) this; } public Criteria andEmailGreaterThan(String value) { addCriterion("email >", value, "email"); return (Criteria) this; } public Criteria andEmailGreaterThanOrEqualTo(String value) { addCriterion("email >=", value, "email"); return (Criteria) this; } public Criteria andEmailLessThan(String value) { addCriterion("email <", value, "email"); return (Criteria) this; } public Criteria andEmailLessThanOrEqualTo(String value) { addCriterion("email <=", value, "email"); return (Criteria) this; } public Criteria andEmailLike(String value) { addCriterion("email like", value, "email"); return (Criteria) this; } public Criteria andEmailNotLike(String value) { addCriterion("email not like", value, "email"); return (Criteria) this; } public Criteria andEmailIn(List<String> values) { addCriterion("email in", values, "email"); return (Criteria) this; } public Criteria andEmailNotIn(List<String> values) { addCriterion("email not in", values, "email"); return (Criteria) this; } public Criteria andEmailBetween(String value1, String value2) { addCriterion("email between", value1, value2, "email"); return (Criteria) this; } public Criteria andEmailNotBetween(String value1, String value2) { addCriterion("email not between", value1, value2, "email"); return (Criteria) this; } public Criteria andSexIsNull() { addCriterion("sex is null"); return (Criteria) this; } public Criteria andSexIsNotNull() { addCriterion("sex is not null"); return (Criteria) this; } public Criteria andSexEqualTo(Byte value) { addCriterion("sex =", value, "sex"); return (Criteria) this; } public Criteria andSexNotEqualTo(Byte value) { addCriterion("sex <>", value, "sex"); return (Criteria) this; } public Criteria andSexGreaterThan(Byte value) { addCriterion("sex >", value, "sex"); return (Criteria) this; } public Criteria andSexGreaterThanOrEqualTo(Byte value) { addCriterion("sex >=", value, "sex"); return (Criteria) this; } public Criteria andSexLessThan(Byte value) { addCriterion("sex <", value, "sex"); return (Criteria) this; } public Criteria andSexLessThanOrEqualTo(Byte value) { addCriterion("sex <=", value, "sex"); return (Criteria) this; } public Criteria andSexIn(List<Byte> values) { addCriterion("sex in", values, "sex"); return (Criteria) this; } public Criteria andSexNotIn(List<Byte> values) { addCriterion("sex not in", values, "sex"); return (Criteria) this; } public Criteria andSexBetween(Byte value1, Byte value2) { addCriterion("sex between", value1, value2, "sex"); return (Criteria) this; } public Criteria andSexNotBetween(Byte value1, Byte value2) { addCriterion("sex not between", value1, value2, "sex"); return (Criteria) this; } public Criteria andLockedIsNull() { addCriterion("locked is null"); return (Criteria) this; } public Criteria andLockedIsNotNull() { addCriterion("locked is not null"); return (Criteria) this; } public Criteria andLockedEqualTo(Byte value) { addCriterion("locked =", value, "locked"); return (Criteria) this; } public Criteria andLockedNotEqualTo(Byte value) { addCriterion("locked <>", value, "locked"); return (Criteria) this; } public Criteria andLockedGreaterThan(Byte value) { addCriterion("locked >", value, "locked"); return (Criteria) this; } public Criteria andLockedGreaterThanOrEqualTo(Byte value) { addCriterion("locked >=", value, "locked"); return (Criteria) this; } public Criteria andLockedLessThan(Byte value) { addCriterion("locked <", value, "locked"); return (Criteria) this; } public Criteria andLockedLessThanOrEqualTo(Byte value) { addCriterion("locked <=", value, "locked"); return (Criteria) this; } public Criteria andLockedIn(List<Byte> values) { addCriterion("locked in", values, "locked"); return (Criteria) this; } public Criteria andLockedNotIn(List<Byte> values) { addCriterion("locked not in", values, "locked"); return (Criteria) this; } public Criteria andLockedBetween(Byte value1, Byte value2) { addCriterion("locked between", value1, value2, "locked"); return (Criteria) this; } public Criteria andLockedNotBetween(Byte value1, Byte value2) { addCriterion("locked not between", value1, value2, "locked"); return (Criteria) this; } public Criteria andCtimeIsNull() { addCriterion("ctime is null"); return (Criteria) this; } public Criteria andCtimeIsNotNull() { addCriterion("ctime is not null"); return (Criteria) this; } public Criteria andCtimeEqualTo(Long value) { addCriterion("ctime =", value, "ctime"); return (Criteria) this; } public Criteria andCtimeNotEqualTo(Long value) { addCriterion("ctime <>", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThan(Long value) { addCriterion("ctime >", value, "ctime"); return (Criteria) this; } public Criteria andCtimeGreaterThanOrEqualTo(Long value) { addCriterion("ctime >=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThan(Long value) { addCriterion("ctime <", value, "ctime"); return (Criteria) this; } public Criteria andCtimeLessThanOrEqualTo(Long value) { addCriterion("ctime <=", value, "ctime"); return (Criteria) this; } public Criteria andCtimeIn(List<Long> values) { addCriterion("ctime in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeNotIn(List<Long> values) { addCriterion("ctime not in", values, "ctime"); return (Criteria) this; } public Criteria andCtimeBetween(Long value1, Long value2) { addCriterion("ctime between", value1, value2, "ctime"); return (Criteria) this; } public Criteria andCtimeNotBetween(Long value1, Long value2) { addCriterion("ctime not between", value1, value2, "ctime"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.upms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class UpmsUserOrganizationExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public UpmsUserOrganizationExample() { 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 implements Serializable { 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 andUserOrganizationIdIsNull() { addCriterion("user_organization_id is null"); return (Criteria) this; } public Criteria andUserOrganizationIdIsNotNull() { addCriterion("user_organization_id is not null"); return (Criteria) this; } public Criteria andUserOrganizationIdEqualTo(Integer value) { addCriterion("user_organization_id =", value, "userOrganizationId"); return (Criteria) this; } public Criteria andUserOrganizationIdNotEqualTo(Integer value) { addCriterion("user_organization_id <>", value, "userOrganizationId"); return (Criteria) this; } public Criteria andUserOrganizationIdGreaterThan(Integer value) { addCriterion("user_organization_id >", value, "userOrganizationId"); return (Criteria) this; } public Criteria andUserOrganizationIdGreaterThanOrEqualTo(Integer value) { addCriterion("user_organization_id >=", value, "userOrganizationId"); return (Criteria) this; } public Criteria andUserOrganizationIdLessThan(Integer value) { addCriterion("user_organization_id <", value, "userOrganizationId"); return (Criteria) this; } public Criteria andUserOrganizationIdLessThanOrEqualTo(Integer value) { addCriterion("user_organization_id <=", value, "userOrganizationId"); return (Criteria) this; } public Criteria andUserOrganizationIdIn(List<Integer> values) { addCriterion("user_organization_id in", values, "userOrganizationId"); return (Criteria) this; } public Criteria andUserOrganizationIdNotIn(List<Integer> values) { addCriterion("user_organization_id not in", values, "userOrganizationId"); return (Criteria) this; } public Criteria andUserOrganizationIdBetween(Integer value1, Integer value2) { addCriterion("user_organization_id between", value1, value2, "userOrganizationId"); return (Criteria) this; } public Criteria andUserOrganizationIdNotBetween(Integer value1, Integer value2) { addCriterion("user_organization_id not between", value1, value2, "userOrganizationId"); return (Criteria) this; } 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 andOrganizationIdIsNull() { addCriterion("organization_id is null"); return (Criteria) this; } public Criteria andOrganizationIdIsNotNull() { addCriterion("organization_id is not null"); return (Criteria) this; } public Criteria andOrganizationIdEqualTo(Integer value) { addCriterion("organization_id =", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdNotEqualTo(Integer value) { addCriterion("organization_id <>", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdGreaterThan(Integer value) { addCriterion("organization_id >", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdGreaterThanOrEqualTo(Integer value) { addCriterion("organization_id >=", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdLessThan(Integer value) { addCriterion("organization_id <", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdLessThanOrEqualTo(Integer value) { addCriterion("organization_id <=", value, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdIn(List<Integer> values) { addCriterion("organization_id in", values, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdNotIn(List<Integer> values) { addCriterion("organization_id not in", values, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdBetween(Integer value1, Integer value2) { addCriterion("organization_id between", value1, value2, "organizationId"); return (Criteria) this; } public Criteria andOrganizationIdNotBetween(Integer value1, Integer value2) { addCriterion("organization_id not between", value1, value2, "organizationId"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.upms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class UpmsUserPermissionExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public UpmsUserPermissionExample() { 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 implements Serializable { 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 andUserPermissionIdIsNull() { addCriterion("user_permission_id is null"); return (Criteria) this; } public Criteria andUserPermissionIdIsNotNull() { addCriterion("user_permission_id is not null"); return (Criteria) this; } public Criteria andUserPermissionIdEqualTo(Integer value) { addCriterion("user_permission_id =", value, "userPermissionId"); return (Criteria) this; } public Criteria andUserPermissionIdNotEqualTo(Integer value) { addCriterion("user_permission_id <>", value, "userPermissionId"); return (Criteria) this; } public Criteria andUserPermissionIdGreaterThan(Integer value) { addCriterion("user_permission_id >", value, "userPermissionId"); return (Criteria) this; } public Criteria andUserPermissionIdGreaterThanOrEqualTo(Integer value) { addCriterion("user_permission_id >=", value, "userPermissionId"); return (Criteria) this; } public Criteria andUserPermissionIdLessThan(Integer value) { addCriterion("user_permission_id <", value, "userPermissionId"); return (Criteria) this; } public Criteria andUserPermissionIdLessThanOrEqualTo(Integer value) { addCriterion("user_permission_id <=", value, "userPermissionId"); return (Criteria) this; } public Criteria andUserPermissionIdIn(List<Integer> values) { addCriterion("user_permission_id in", values, "userPermissionId"); return (Criteria) this; } public Criteria andUserPermissionIdNotIn(List<Integer> values) { addCriterion("user_permission_id not in", values, "userPermissionId"); return (Criteria) this; } public Criteria andUserPermissionIdBetween(Integer value1, Integer value2) { addCriterion("user_permission_id between", value1, value2, "userPermissionId"); return (Criteria) this; } public Criteria andUserPermissionIdNotBetween(Integer value1, Integer value2) { addCriterion("user_permission_id not between", value1, value2, "userPermissionId"); return (Criteria) this; } 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 andPermissionIdIsNull() { addCriterion("permission_id is null"); return (Criteria) this; } public Criteria andPermissionIdIsNotNull() { addCriterion("permission_id is not null"); return (Criteria) this; } public Criteria andPermissionIdEqualTo(Integer value) { addCriterion("permission_id =", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdNotEqualTo(Integer value) { addCriterion("permission_id <>", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdGreaterThan(Integer value) { addCriterion("permission_id >", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdGreaterThanOrEqualTo(Integer value) { addCriterion("permission_id >=", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdLessThan(Integer value) { addCriterion("permission_id <", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdLessThanOrEqualTo(Integer value) { addCriterion("permission_id <=", value, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdIn(List<Integer> values) { addCriterion("permission_id in", values, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdNotIn(List<Integer> values) { addCriterion("permission_id not in", values, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdBetween(Integer value1, Integer value2) { addCriterion("permission_id between", value1, value2, "permissionId"); return (Criteria) this; } public Criteria andPermissionIdNotBetween(Integer value1, Integer value2) { addCriterion("permission_id not between", value1, value2, "permissionId"); return (Criteria) this; } public Criteria andTypeIsNull() { addCriterion("type is null"); return (Criteria) this; } public Criteria andTypeIsNotNull() { addCriterion("type is not null"); return (Criteria) this; } public Criteria andTypeEqualTo(Byte value) { addCriterion("type =", value, "type"); return (Criteria) this; } public Criteria andTypeNotEqualTo(Byte value) { addCriterion("type <>", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThan(Byte value) { addCriterion("type >", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThanOrEqualTo(Byte value) { addCriterion("type >=", value, "type"); return (Criteria) this; } public Criteria andTypeLessThan(Byte value) { addCriterion("type <", value, "type"); return (Criteria) this; } public Criteria andTypeLessThanOrEqualTo(Byte value) { addCriterion("type <=", value, "type"); return (Criteria) this; } public Criteria andTypeIn(List<Byte> values) { addCriterion("type in", values, "type"); return (Criteria) this; } public Criteria andTypeNotIn(List<Byte> values) { addCriterion("type not in", values, "type"); return (Criteria) this; } public Criteria andTypeBetween(Byte value1, Byte value2) { addCriterion("type between", value1, value2, "type"); return (Criteria) this; } public Criteria andTypeNotBetween(Byte value1, Byte value2) { addCriterion("type not between", value1, value2, "type"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
package com.zheng.upms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class UpmsUserRoleExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long serialVersionUID = 1L; public UpmsUserRoleExample() { 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 implements Serializable { 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 andUserRoleIdIsNull() { addCriterion("user_role_id is null"); return (Criteria) this; } public Criteria andUserRoleIdIsNotNull() { addCriterion("user_role_id is not null"); return (Criteria) this; } public Criteria andUserRoleIdEqualTo(Integer value) { addCriterion("user_role_id =", value, "userRoleId"); return (Criteria) this; } public Criteria andUserRoleIdNotEqualTo(Integer value) { addCriterion("user_role_id <>", value, "userRoleId"); return (Criteria) this; } public Criteria andUserRoleIdGreaterThan(Integer value) { addCriterion("user_role_id >", value, "userRoleId"); return (Criteria) this; } public Criteria andUserRoleIdGreaterThanOrEqualTo(Integer value) { addCriterion("user_role_id >=", value, "userRoleId"); return (Criteria) this; } public Criteria andUserRoleIdLessThan(Integer value) { addCriterion("user_role_id <", value, "userRoleId"); return (Criteria) this; } public Criteria andUserRoleIdLessThanOrEqualTo(Integer value) { addCriterion("user_role_id <=", value, "userRoleId"); return (Criteria) this; } public Criteria andUserRoleIdIn(List<Integer> values) { addCriterion("user_role_id in", values, "userRoleId"); return (Criteria) this; } public Criteria andUserRoleIdNotIn(List<Integer> values) { addCriterion("user_role_id not in", values, "userRoleId"); return (Criteria) this; } public Criteria andUserRoleIdBetween(Integer value1, Integer value2) { addCriterion("user_role_id between", value1, value2, "userRoleId"); return (Criteria) this; } public Criteria andUserRoleIdNotBetween(Integer value1, Integer value2) { addCriterion("user_role_id not between", value1, value2, "userRoleId"); return (Criteria) this; } 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 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 static class Criteria extends GeneratedCriteria implements Serializable { protected Criteria() { super(); } } public static class Criterion implements Serializable { 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); } } }
/** * Copyright (c) 2016-2019 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package io.renren.common.utils; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.OrderItem; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import io.renren.common.xss.SQLFilter; import org.apache.commons.lang.StringUtils; import java.util.Map; /** * 查询参数 * * @author Mark sunlightcs@gmail.com */ public class Query<T> { public IPage<T> getPage(Map<String, Object> params) { return this.getPage(params, null, false); } public IPage<T> getPage(Map<String, Object> params, String defaultOrderField, boolean isAsc) { //分页参数 long curPage = 1; long limit = 10; if(params.get(Constant.PAGE) != null){ curPage = Long.parseLong((String)params.get(Constant.PAGE)); } if(params.get(Constant.LIMIT) != null){ limit = Long.parseLong((String)params.get(Constant.LIMIT)); } //分页对象 Page<T> page = new Page<>(curPage, limit); //分页参数 params.put(Constant.PAGE, page); //排序字段 //防止SQL注入(因为sidx、order是通过拼接SQL实现排序的,会有SQL注入风险) String orderField = SQLFilter.sqlInject((String)params.get(Constant.ORDER_FIELD)); String order = (String)params.get(Constant.ORDER); //前端字段排序 if(StringUtils.isNotEmpty(orderField) && StringUtils.isNotEmpty(order)){ if(Constant.ASC.equalsIgnoreCase(order)) { return page.addOrder(OrderItem.asc(orderField)); }else { return page.addOrder(OrderItem.desc(orderField)); } } //没有排序字段,则不排序 if(StringUtils.isBlank(defaultOrderField)){ return page; } //默认排序 if(isAsc) { page.addOrder(OrderItem.asc(defaultOrderField)); }else { page.addOrder(OrderItem.desc(defaultOrderField)); } return page; } }
/** * Copyright (c) 2016-2019 人人开源 All rights reserved. * * https://www.renren.io * * 版权所有,侵权必究! */ package io.renren.common.xss; import io.renren.common.exception.RRException; import org.apache.commons.lang.StringUtils; /** * SQL过滤 * * @author Mark sunlightcs@gmail.com */ public class SQLFilter { /** * SQL注入过滤 * @param str 待验证的字符串 */ public static String sqlInject(String str){ if(StringUtils.isBlank(str)){ return null; } //去掉'|"|;|\字符 str = StringUtils.replace(str, "'", ""); str = StringUtils.replace(str, "\"", ""); str = StringUtils.replace(str, ";", ""); str = StringUtils.replace(str, "\\", ""); //转换成小写 str = str.toLowerCase(); //非法字符 String[] keywords = {"master", "truncate", "insert", "select", "delete", "update", "declare", "alter", "drop"}; //判断是否包含非法字符 for(String keyword : keywords){ if(str.indexOf(keyword) != -1){ throw new RRException("包含非法字符"); } } return str; } }
package com.jerusalem.common.utils; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.OrderItem; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.jerusalem.common.xss.SQLFilter; import org.apache.commons.lang.StringUtils; import java.util.Map; /**** * @Author: jerusalem * @Description: Query * 查询参数 * @Date 2020/4/16 10:00 *****/ public class Query<T> { public IPage<T> getPage(Map<String, Object> params) { return this.getPage(params, null, false); } public IPage<T> getPage(Map<String, Object> params, String defaultOrderField, boolean isAsc) { //分页参数 long curPage = 1; long limit = 10; if(params.get(Constant.PAGE) != null){ curPage = Long.parseLong((String)params.get(Constant.PAGE)); } if(params.get(Constant.LIMIT) != null){ limit = Long.parseLong((String)params.get(Constant.LIMIT)); } //分页对象 Page<T> page = new Page<>(curPage, limit); //分页参数 params.put(Constant.PAGE, page); //排序字段 //防止SQL注入(因为sidx、order是通过拼接SQL实现排序的,会有SQL注入风险) String orderField = SQLFilter.sqlInject((String)params.get(Constant.ORDER_FIELD)); String order = (String)params.get(Constant.ORDER); //前端字段排序 if(StringUtils.isNotEmpty(orderField) && StringUtils.isNotEmpty(order)){ if(Constant.ASC.equalsIgnoreCase(order)) { return page.addOrder(OrderItem.asc(orderField)); }else { return page.addOrder(OrderItem.desc(orderField)); } } //没有排序字段,则不排序 if(StringUtils.isBlank(defaultOrderField)){ return page; } //默认排序 if(isAsc) { page.addOrder(OrderItem.asc(defaultOrderField)); }else { page.addOrder(OrderItem.desc(defaultOrderField)); } return page; } }
package com.jerusalem.common.xss; import com.jerusalem.common.utils.RRException; import org.apache.commons.lang.StringUtils; /**** * @Author: jerusalem * @Description: SQLFilter * SQL过滤 * @Date 2020/4/16 10:00 *****/ public class SQLFilter { /** * SQL注入过滤 * @param str 待验证的字符串 */ public static String sqlInject(String str){ if(StringUtils.isBlank(str)){ return null; } //去掉'|"|;|\字符 str = StringUtils.replace(str, "'", ""); str = StringUtils.replace(str, "\"", ""); str = StringUtils.replace(str, ";", ""); str = StringUtils.replace(str, "\\", ""); //转换成小写 str = str.toLowerCase(); //非法字符 String[] keywords = {"master", "truncate", "insert", "select", "delete", "update", "declare", "alter", "drop"}; //判断是否包含非法字符 for(String keyword : keywords){ if(str.indexOf(keyword) != -1){ throw new RRException("包含非法字符"); } } return str; } }
package inside_payment.init; import inside_payment.entity.*; import inside_payment.repository.AddMoneyRepository; import inside_payment.repository.PaymentRepository; import inside_payment.service.InsidePaymentService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.stereotype.Component; /** * @author fdse */ @Component public class InitData implements CommandLineRunner { @Autowired InsidePaymentService service; @Autowired PaymentRepository paymentRepository; @Autowired AddMoneyRepository addMoneyRepository; @Override public void run(String... args) throws Exception{ AccountInfo info1 = new AccountInfo(); info1.setUserId("4d2a46c7-71cb-4cf1-b5bb-b68406d9da6f"); info1.setMoney("10000"); service.createAccount(info1,null); Payment payment = new Payment(); payment.setId("5ad7750ba68b49c0a8c035276b321701"); payment.setOrderId("5ad7750b-a68b-49c0-a8c0-32776b067702"); payment.setPrice("100.0"); payment.setUserId("4d2a46c7-71cb-4cf1-b5bb-b68406d9da6f"); payment.setType(PaymentType.P); service.initPayment(payment,null); } }
package security.init; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.stereotype.Component; import security.entity.SecurityConfig; import security.service.SecurityService; /** * @author fdse */ @Component public class InitData implements CommandLineRunner { @Autowired private SecurityService securityService; @Override public void run(String... args) throws Exception { // a man can not buy too many tickets in one hour SecurityConfig info1 = new SecurityConfig(); info1.setName("max_order_1_hour"); info1.setValue(Integer.MAX_VALUE + ""); info1.setDescription("Max in 1 hour"); securityService.addNewSecurityConfig(info1,null); SecurityConfig info2 = new SecurityConfig(); info2.setName("max_order_not_use"); info2.setValue(Integer.MAX_VALUE + ""); info2.setDescription("Max not used"); securityService.addNewSecurityConfig(info2,null); } }
package com.wanxin.repayment.message; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.wanxin.api.repayment.model.RepaymentRequest; import com.wanxin.repayment.entity.RepaymentPlan; import com.wanxin.repayment.mapper.RepaymentPlanMapper; import com.wanxin.repayment.service.RepaymentService; import org.apache.rocketmq.spring.annotation.RocketMQTransactionListener; import org.apache.rocketmq.spring.core.RocketMQLocalTransactionListener; import org.apache.rocketmq.spring.core.RocketMQLocalTransactionState; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.messaging.Message; import org.springframework.stereotype.Component; /** * @author yuelimin * @version 1.0.0 * @since 1.8 */ @Component @RocketMQTransactionListener(txProducerGroup = "PID_CONFIRM_REPAYMENT") public class ConfirmRepaymentTransactionListener implements RocketMQLocalTransactionListener { @Autowired private RepaymentService repaymentService; @Autowired private RepaymentPlanMapper repaymentPlanMapper; @Override public RocketMQLocalTransactionState executeLocalTransaction(Message message, Object o) { // 解析消息 final JSONObject jsonObject = JSON.parseObject(new String((byte[]) message.getPayload())); RepaymentPlan repaymentPlan = JSONObject.parseObject(jsonObject.getString("repaymentPlan"), RepaymentPlan.class); RepaymentRequest repaymentRequest = JSONObject.parseObject(jsonObject.getString("repaymentRequest"), RepaymentRequest.class); // 执行本地事务 final Boolean isCommit = repaymentService.confirmRepayment(repaymentPlan, repaymentRequest); // 返回结果 if (isCommit) { return RocketMQLocalTransactionState.COMMIT; } else { return RocketMQLocalTransactionState.ROLLBACK; } } @Override public RocketMQLocalTransactionState checkLocalTransaction(Message message) { // 解析消息 final JSONObject jsonObject = JSON.parseObject(new String((byte[]) message.getPayload())); RepaymentPlan repaymentPlan = JSONObject.parseObject(jsonObject.getString("repaymentPlan"), RepaymentPlan.class); // 事务状态回查 RepaymentPlan newRepaymentPlan = repaymentPlanMapper.selectById(repaymentPlan.getId()); // 返回结果 if (newRepaymentPlan != null && "1".equals(newRepaymentPlan.getRepaymentStatus())) { return RocketMQLocalTransactionState.COMMIT; } else { return RocketMQLocalTransactionState.ROLLBACK; } } }
package com.wanxin.transaction.message; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.wanxin.common.domain.ProjectCode; import com.wanxin.transaction.entity.Project; import com.wanxin.transaction.mapper.ProjectMapper; import com.wanxin.transaction.service.ProjectService; import org.apache.rocketmq.spring.annotation.RocketMQTransactionListener; import org.apache.rocketmq.spring.core.RocketMQLocalTransactionListener; import org.apache.rocketmq.spring.core.RocketMQLocalTransactionState; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.messaging.Message; import org.springframework.stereotype.Component; /** * @author yuelimin * @version 1.0.0 * @since 1.8 */ @Component @RocketMQTransactionListener(txProducerGroup = "PID_START_REPAYMENT") public class TransactionListenerImpl implements RocketMQLocalTransactionListener { @Autowired private ProjectService projectService; @Autowired private ProjectMapper projectMapper; /** * 执行本地事务 * * @param message * @param o * @return */ @Override public RocketMQLocalTransactionState executeLocalTransaction(Message message, Object o) { // 解析消息 final JSONObject jsonObject = JSON.parseObject(new String((byte[]) message.getPayload())); Project project = JSONObject.parseObject(jsonObject.getString("project"), Project.class); // 执行本地事务 Boolean result = projectService.updateProjectStatusAndStartRepayment(project); // 返回执行结果 if (result) { return RocketMQLocalTransactionState.COMMIT; } else { return RocketMQLocalTransactionState.ROLLBACK; } } /** * 事务回查 * * @param message * @return */ @Override public RocketMQLocalTransactionState checkLocalTransaction(Message message) { // 解析消息 final JSONObject jsonObject = JSON.parseObject(new String((byte[]) message.getPayload())); Project project = JSONObject.parseObject(jsonObject.getString("project"), Project.class); // 查询标的状态 Project pro = projectMapper.selectById(project.getId()); // 返回结果 if (pro.getProjectStatus().equals(ProjectCode.REPAYING.getCode())) { return RocketMQLocalTransactionState.COMMIT; } else { return RocketMQLocalTransactionState.ROLLBACK; } } }
package com.moxi.mogublog.admin.annotion.OperationLogger; import cn.hutool.core.date.DateUnit; import cn.hutool.core.date.DateUtil; import com.moxi.mogublog.admin.global.RedisConf; import com.moxi.mogublog.admin.global.SysConf; import com.moxi.mogublog.commons.config.security.SecurityUser; import com.moxi.mogublog.commons.entity.SysLog; import com.moxi.mogublog.utils.IpUtils; import com.moxi.mogublog.utils.RedisUtil; import com.moxi.mogublog.utils.StringUtils; import com.moxi.mougblog.base.global.Constants; import com.moxi.mougblog.base.holder.AbstractRequestAwareRunnable; import java.util.Date; import java.util.concurrent.TimeUnit; /** * 异步记录日志 * * @author: 陌溪 * @create: 2020-03-05-8:59 */ public class SysLogHandle extends AbstractRequestAwareRunnable { /** * Redis工具列 */ RedisUtil redisUtil; /** * 参数列表 */ private String paramsJson; /** * 类路径 */ private String classPath; /** * 方法名 */ private String methodName; /** * 方法请求时间 */ private Date startTime; /** * 操作名称 */ private String operationName; /** * 请求IP */ private String ip; /** * 请求类型 */ private String type; /** * 请求URL */ private String requestUrl; private SecurityUser securityUser; /** * 构造函数 * * @param ip * @param type * @param requestUrl * @param securityUser * @param paramsJson * @param classPath * @param methodName * @param operationName * @param startTime * @param redisUtil */ public SysLogHandle(String ip, String type, String requestUrl, SecurityUser securityUser, String paramsJson, String classPath, String methodName, String operationName, Date startTime, RedisUtil redisUtil) { this.ip = ip; this.type = type; this.requestUrl = requestUrl; this.securityUser = securityUser; this.paramsJson = paramsJson; this.classPath = classPath; this.methodName = methodName; this.operationName = operationName; this.startTime = startTime; this.redisUtil = redisUtil; } @Override protected void onRun() { SysLog sysLog = new SysLog(); //从Redis中获取IP来源 String jsonResult = redisUtil.get(RedisConf.IP_SOURCE + Constants.SYMBOL_COLON + ip); if (StringUtils.isEmpty(jsonResult)) { String addresses = IpUtils.getAddresses(SysConf.IP + SysConf.EQUAL_TO + ip, SysConf.UTF_8); if (StringUtils.isNotEmpty(addresses)) { sysLog.setIpSource(addresses); redisUtil.setEx(RedisConf.IP_SOURCE + Constants.SYMBOL_COLON + ip, addresses, 24, TimeUnit.HOURS); } } else { sysLog.setIpSource(jsonResult); } //设置请求信息 sysLog.setIp(ip); //设置调用的类 sysLog.setClassPath(classPath); //设置调用的方法 sysLog.setMethod(methodName); //设置Request的请求方式 GET POST sysLog.setType(type); sysLog.setUrl(requestUrl); sysLog.setOperation(operationName); sysLog.setCreateTime(new Date()); sysLog.setUpdateTime(new Date()); sysLog.setUserName(securityUser.getUsername()); sysLog.setAdminUid(securityUser.getUid()); sysLog.setParams(paramsJson); Date endTime = new Date(); Long spendTime = DateUtil.between(startTime, endTime, DateUnit.MS); // 计算请求接口花费的时间,单位毫秒 sysLog.setSpendTime(spendTime); sysLog.insert(); } }
package com.moxi.mogublog.web.annotion.log; import com.moxi.mogublog.commons.entity.WebVisit; import com.moxi.mogublog.utils.IpUtils; import com.moxi.mogublog.utils.RedisUtil; import com.moxi.mogublog.utils.StringUtils; import com.moxi.mogublog.web.global.RedisConf; import com.moxi.mogublog.web.global.SysConf; import com.moxi.mougblog.base.global.Constants; import com.moxi.mougblog.base.holder.AbstractRequestAwareRunnable; import java.util.concurrent.TimeUnit; /** * 异步记录日志 * * @author: 陌溪 * @create: 2020-03-05-8:59 */ public class SysLogHandle extends AbstractRequestAwareRunnable { /** * 模块UID */ String moduleUid; /** * 其它数据 */ String otherData; /** * Redis工具类对象 */ private RedisUtil redisUtil; /** * 用户UID */ private String userUid; /** * 用户行为 */ private String behavior; /** * ip地址 */ private String ip; /** * 操作系统 */ private String os; /** * 浏览器 */ private String browser; /** * 构造函数 * * @param userUid * @param ip * @param os * @param browser * @param behavior * @param moduleUid * @param otherData * @param redisUtil */ public SysLogHandle(String userUid, String ip, String os, String browser, String behavior, String moduleUid, String otherData, RedisUtil redisUtil) { this.userUid = userUid; this.ip = ip; this.os = os; this.browser = browser; this.behavior = behavior; this.moduleUid = moduleUid; this.otherData = otherData; this.redisUtil = redisUtil; } /** * 遇见语录:Request请求结束后,异步线程拿主进程里数据会出现空指针异常【因此不能在子线程里操作Request对象】 * 这个问题不一定每一次都出现,可能100次中有4~5次出现空指针异常,也就是说当 异步线程执行比主线程快 是没问题的 * 这里为了避免这种情况,将避免在异步线程中操作Request对象 */ @Override protected void onRun() { System.out.println("============" + Thread.currentThread().getName()); WebVisit webVisit = new WebVisit(); webVisit.setIp(ip); //从Redis中获取IP来源 String jsonResult = redisUtil.get(RedisConf.IP_SOURCE + Constants.SYMBOL_COLON + ip); if (StringUtils.isEmpty(jsonResult)) { String addresses = IpUtils.getAddresses(SysConf.IP + SysConf.EQUAL_TO + ip, SysConf.UTF_8); if (StringUtils.isNotEmpty(addresses)) { webVisit.setIpSource(addresses); redisUtil.setEx(RedisConf.IP_SOURCE + Constants.SYMBOL_COLON + ip, addresses, 24, TimeUnit.HOURS); } } else { webVisit.setIpSource(jsonResult); } webVisit.setOs(os); webVisit.setBrowser(browser); webVisit.setUserUid(userUid); webVisit.setBehavior(behavior); webVisit.setModuleUid(moduleUid); webVisit.setOtherData(otherData); webVisit.insert(); } }