Commit ffe1e4f2 by wubh

新增:数据库实体类和Mapper - wubh

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@26958 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 1f16d352
package com.glsx.ordercenter.mapper.insurance;
import com.glsx.ordercenter.pojo.insurance.SysInsuranceData;
import com.glsx.ordercenter.pojo.insurance.SysInsuranceDataExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
/**
* <p>Description:
*
* <p>Project: car-service
*
* @author wbh
* @date 2020-05-26
*/
public interface SysInsuranceDataMapper {
long countByExample(SysInsuranceDataExample example);
int deleteByExample(SysInsuranceDataExample example);
int deleteByPrimaryKey(Integer dataId);
int insert(SysInsuranceData record);
int insertSelective(SysInsuranceData record);
List<SysInsuranceData> selectByExample(SysInsuranceDataExample example);
SysInsuranceData selectByPrimaryKey(Integer dataId);
int updateByExampleSelective(@Param("record") SysInsuranceData record,
@Param("example") SysInsuranceDataExample example);
int updateByExample(@Param("record") SysInsuranceData record,
@Param("example") SysInsuranceDataExample example);
int updateByPrimaryKeySelective(SysInsuranceData record);
int updateByPrimaryKey(SysInsuranceData record);
}
\ No newline at end of file \ No newline at end of file
package com.glsx.ordercenter.mapper.insurance;
import java.util.List;
import com.glsx.ordercenter.pojo.insurance.SysInsurancePolicy;
import com.glsx.ordercenter.pojo.insurance.SysInsurancePolicyExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
/**
* <p>Description:
*
* <p>Project: car-service
*
* @author wbh
* @date 2020-05-25
*/
@Repository
public interface SysInsurancePolicyMapper {
long countByExample(SysInsurancePolicyExample example);
int deleteByExample(SysInsurancePolicyExample example);
int deleteByPrimaryKey(Integer id);
int insert(SysInsurancePolicy record);
int insertSelective(SysInsurancePolicy record);
List<SysInsurancePolicy> selectByExample(SysInsurancePolicyExample example);
SysInsurancePolicy selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") SysInsurancePolicy record,
@Param("example") SysInsurancePolicyExample example);
int updateByExample(@Param("record") SysInsurancePolicy record,
@Param("example") SysInsurancePolicyExample example);
int updateByPrimaryKeySelective(SysInsurancePolicy record);
int updateByPrimaryKey(SysInsurancePolicy record);
Long selectCount(SysInsurancePolicyExample example);
}
package com.glsx.ordercenter.pojo.insurance;
/**
* <p>Description:
*
* <p>Project: car-service
*
* @author wbh
* @date 2020-05-26
*/
/**
* 保单接口数据表
*/
public class SysInsuranceData {
/**
* ID
*/
private Integer dataId;
/**
* 外键id,关联表sys_insurance_policy中id
*/
private Integer policyId;
/**
* 第三方公司接口传入数据
*/
private String responseData;
public Integer getDataId() {
return dataId;
}
public void setDataId(Integer dataId) {
this.dataId = dataId;
}
public Integer getPolicyId() {
return policyId;
}
public void setPolicyId(Integer policyId) {
this.policyId = policyId;
}
public String getResponseData() {
return responseData;
}
public void setResponseData(String responseData) {
this.responseData = responseData;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", dataId=").append(dataId);
sb.append(", policyId=").append(policyId);
sb.append(", responseData=").append(responseData);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file \ No newline at end of file
package com.glsx.ordercenter.pojo.insurance;
import java.util.ArrayList;
import java.util.List;
/**
* <p>Description:
*
* <p>Project: car-service
*
* @author wbh
* @date 2020-05-26
*/
public class SysInsuranceDataExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public SysInsuranceDataExample() {
oredCriteria = new ArrayList<>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<>();
}
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 andDataIdIsNull() {
addCriterion("data_id is null");
return (Criteria) this;
}
public Criteria andDataIdIsNotNull() {
addCriterion("data_id is not null");
return (Criteria) this;
}
public Criteria andDataIdEqualTo(Integer value) {
addCriterion("data_id =", value, "dataId");
return (Criteria) this;
}
public Criteria andDataIdNotEqualTo(Integer value) {
addCriterion("data_id <>", value, "dataId");
return (Criteria) this;
}
public Criteria andDataIdGreaterThan(Integer value) {
addCriterion("data_id >", value, "dataId");
return (Criteria) this;
}
public Criteria andDataIdGreaterThanOrEqualTo(Integer value) {
addCriterion("data_id >=", value, "dataId");
return (Criteria) this;
}
public Criteria andDataIdLessThan(Integer value) {
addCriterion("data_id <", value, "dataId");
return (Criteria) this;
}
public Criteria andDataIdLessThanOrEqualTo(Integer value) {
addCriterion("data_id <=", value, "dataId");
return (Criteria) this;
}
public Criteria andDataIdIn(List<Integer> values) {
addCriterion("data_id in", values, "dataId");
return (Criteria) this;
}
public Criteria andDataIdNotIn(List<Integer> values) {
addCriterion("data_id not in", values, "dataId");
return (Criteria) this;
}
public Criteria andDataIdBetween(Integer value1, Integer value2) {
addCriterion("data_id between", value1, value2, "dataId");
return (Criteria) this;
}
public Criteria andDataIdNotBetween(Integer value1, Integer value2) {
addCriterion("data_id not between", value1, value2, "dataId");
return (Criteria) this;
}
public Criteria andPolicyIdIsNull() {
addCriterion("policy_id is null");
return (Criteria) this;
}
public Criteria andPolicyIdIsNotNull() {
addCriterion("policy_id is not null");
return (Criteria) this;
}
public Criteria andPolicyIdEqualTo(Integer value) {
addCriterion("policy_id =", value, "policyId");
return (Criteria) this;
}
public Criteria andPolicyIdNotEqualTo(Integer value) {
addCriterion("policy_id <>", value, "policyId");
return (Criteria) this;
}
public Criteria andPolicyIdGreaterThan(Integer value) {
addCriterion("policy_id >", value, "policyId");
return (Criteria) this;
}
public Criteria andPolicyIdGreaterThanOrEqualTo(Integer value) {
addCriterion("policy_id >=", value, "policyId");
return (Criteria) this;
}
public Criteria andPolicyIdLessThan(Integer value) {
addCriterion("policy_id <", value, "policyId");
return (Criteria) this;
}
public Criteria andPolicyIdLessThanOrEqualTo(Integer value) {
addCriterion("policy_id <=", value, "policyId");
return (Criteria) this;
}
public Criteria andPolicyIdIn(List<Integer> values) {
addCriterion("policy_id in", values, "policyId");
return (Criteria) this;
}
public Criteria andPolicyIdNotIn(List<Integer> values) {
addCriterion("policy_id not in", values, "policyId");
return (Criteria) this;
}
public Criteria andPolicyIdBetween(Integer value1, Integer value2) {
addCriterion("policy_id between", value1, value2, "policyId");
return (Criteria) this;
}
public Criteria andPolicyIdNotBetween(Integer value1, Integer value2) {
addCriterion("policy_id not between", value1, value2, "policyId");
return (Criteria) this;
}
public Criteria andResponseDataIsNull() {
addCriterion("response_data is null");
return (Criteria) this;
}
public Criteria andResponseDataIsNotNull() {
addCriterion("response_data is not null");
return (Criteria) this;
}
public Criteria andResponseDataEqualTo(String value) {
addCriterion("response_data =", value, "responseData");
return (Criteria) this;
}
public Criteria andResponseDataNotEqualTo(String value) {
addCriterion("response_data <>", value, "responseData");
return (Criteria) this;
}
public Criteria andResponseDataGreaterThan(String value) {
addCriterion("response_data >", value, "responseData");
return (Criteria) this;
}
public Criteria andResponseDataGreaterThanOrEqualTo(String value) {
addCriterion("response_data >=", value, "responseData");
return (Criteria) this;
}
public Criteria andResponseDataLessThan(String value) {
addCriterion("response_data <", value, "responseData");
return (Criteria) this;
}
public Criteria andResponseDataLessThanOrEqualTo(String value) {
addCriterion("response_data <=", value, "responseData");
return (Criteria) this;
}
public Criteria andResponseDataLike(String value) {
addCriterion("response_data like", value, "responseData");
return (Criteria) this;
}
public Criteria andResponseDataNotLike(String value) {
addCriterion("response_data not like", value, "responseData");
return (Criteria) this;
}
public Criteria andResponseDataIn(List<String> values) {
addCriterion("response_data in", values, "responseData");
return (Criteria) this;
}
public Criteria andResponseDataNotIn(List<String> values) {
addCriterion("response_data not in", values, "responseData");
return (Criteria) this;
}
public Criteria andResponseDataBetween(String value1, String value2) {
addCriterion("response_data between", value1, value2, "responseData");
return (Criteria) this;
}
public Criteria andResponseDataNotBetween(String value1, String value2) {
addCriterion("response_data not between", value1, value2, "responseData");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
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);
}
}
}
\ No newline at end of file \ No newline at end of file
package com.glsx.ordercenter.pojo.insurance;
import java.math.BigDecimal;
import java.util.Date;
/**
* <p>Description:
*
* <p>Project: car-service
*
* @author wbh
* @date 2020-05-25
*/
/**
* 保单信息表
*/
public class SysInsurancePolicy {
/**
* ID
*/
private Integer id;
/**
* 第三方公司保单id
*/
private String insuranceId;
/**
* 保单来源:1长城欧拉
*/
private Byte source;
/**
* 保险状态(1待投保 2已投保 9已退保)
*/
private Byte status;
/**
* 保险公司保单号
*/
private String insuranceNo;
/**
* 保单序列号
*/
private String insuranceSeqNo;
/**
* 保险公司名称(华安:sinosafe,富德:sinofd,阳光:sinosig,人保:picc)
*/
private String insuranceCompany;
/**
* 设备sn
*/
private String gpsNo;
/**
* 设备安装时间
*/
private Date installationTime;
/**
* 车架号
*/
private String vin;
/**
* 车牌号
*/
private String vehicleNo;
/**
* 发动机号
*/
private String engineNumber;
/**
* 品牌车型
*/
private String carBrand;
/**
* 车辆类型(1:新车 2:二手车 3:进口车)
*/
private Byte vehicleType;
/**
* 车主姓名
*/
private String vehicleOwnerName;
/**
* 车主电话
*/
private String phone;
/**
* 车主地址
*/
private String vehicleOwnerAddress;
/**
* 客户类型(1:个人 2:企业)
*/
private Byte customerType;
/**
* 证件类型(1.身份证 2.统一社会信用代码 3.其他)
*/
private Byte idCardType;
/**
* 证件号码
*/
private String idCardNum;
/**
* 保险商品(1:盗抢监控服务)
*/
private Boolean insuranceCommodity;
/**
* 险额
*/
private BigDecimal pilferInsuranceMoney;
/**
* 保险期限(默认单位:月)
*/
private Integer insurancePeriod;
/**
* 车辆颜色
*/
private String vehicleColor;
/**
* 车辆价格
*/
private BigDecimal vehicleInvoiceMoney;
/**
* 受偿单位(第一受益人)
*/
private String tastingUnit;
/**
* 备注
*/
private String remark;
/**
* 预计生效时间
*/
private Date expectedEffectiveTime;
/**
* 实际生效时间
*/
private Date realEffectiveTime;
/**
* 保单信息地址
*/
private String insurancePdf;
/**
* 创建时间
*/
private Date createTime;
/**
* 更新时间
*/
private Date updateTime;
/**
* 创建人
*/
private Integer createBy;
/**
* 更新人
*/
private Integer updateBy;
/**
* 第三方公司接口传入数据
*/
private String responseData;
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getInsuranceId() {
return this.insuranceId;
}
public void setInsuranceId(String insuranceId) {
this.insuranceId = insuranceId;
}
public Byte getSource() {
return this.source;
}
public void setSource(Byte source) {
this.source = source;
}
public Byte getStatus() {
return this.status;
}
public void setStatus(Byte status) {
this.status = status;
}
public String getInsuranceNo() {
return this.insuranceNo;
}
public void setInsuranceNo(String insuranceNo) {
this.insuranceNo = insuranceNo;
}
public String getInsuranceSeqNo() {
return this.insuranceSeqNo;
}
public void setInsuranceSeqNo(String insuranceSeqNo) {
this.insuranceSeqNo = insuranceSeqNo;
}
public String getInsuranceCompany() {
return this.insuranceCompany;
}
public void setInsuranceCompany(String insuranceCompany) {
this.insuranceCompany = insuranceCompany;
}
public String getGpsNo() {
return this.gpsNo;
}
public void setGpsNo(String gpsNo) {
this.gpsNo = gpsNo;
}
public Date getInstallationTime() {
return this.installationTime;
}
public void setInstallationTime(Date installationTime) {
this.installationTime = installationTime;
}
public String getVin() {
return this.vin;
}
public void setVin(String vin) {
this.vin = vin;
}
public String getVehicleNo() {
return this.vehicleNo;
}
public void setVehicleNo(String vehicleNo) {
this.vehicleNo = vehicleNo;
}
public String getEngineNumber() {
return this.engineNumber;
}
public void setEngineNumber(String engineNumber) {
this.engineNumber = engineNumber;
}
public String getCarBrand() {
return this.carBrand;
}
public void setCarBrand(String carBrand) {
this.carBrand = carBrand;
}
public Byte getVehicleType() {
return this.vehicleType;
}
public void setVehicleType(Byte vehicleType) {
this.vehicleType = vehicleType;
}
public String getVehicleOwnerName() {
return this.vehicleOwnerName;
}
public void setVehicleOwnerName(String vehicleOwnerName) {
this.vehicleOwnerName = vehicleOwnerName;
}
public String getPhone() {
return this.phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getVehicleOwnerAddress() {
return this.vehicleOwnerAddress;
}
public void setVehicleOwnerAddress(String vehicleOwnerAddress) {
this.vehicleOwnerAddress = vehicleOwnerAddress;
}
public Byte getCustomerType() {
return this.customerType;
}
public void setCustomerType(Byte customerType) {
this.customerType = customerType;
}
public Byte getIdCardType() {
return this.idCardType;
}
public void setIdCardType(Byte idCardType) {
this.idCardType = idCardType;
}
public String getIdCardNum() {
return this.idCardNum;
}
public void setIdCardNum(String idCardNum) {
this.idCardNum = idCardNum;
}
public Boolean getInsuranceCommodity() {
return this.insuranceCommodity;
}
public void setInsuranceCommodity(Boolean insuranceCommodity) {
this.insuranceCommodity = insuranceCommodity;
}
public BigDecimal getPilferInsuranceMoney() {
return this.pilferInsuranceMoney;
}
public void setPilferInsuranceMoney(BigDecimal pilferInsuranceMoney) {
this.pilferInsuranceMoney = pilferInsuranceMoney;
}
public Integer getInsurancePeriod() {
return this.insurancePeriod;
}
public void setInsurancePeriod(Integer insurancePeriod) {
this.insurancePeriod = insurancePeriod;
}
public String getVehicleColor() {
return this.vehicleColor;
}
public void setVehicleColor(String vehicleColor) {
this.vehicleColor = vehicleColor;
}
public BigDecimal getVehicleInvoiceMoney() {
return this.vehicleInvoiceMoney;
}
public void setVehicleInvoiceMoney(BigDecimal vehicleInvoiceMoney) {
this.vehicleInvoiceMoney = vehicleInvoiceMoney;
}
public String getTastingUnit() {
return this.tastingUnit;
}
public void setTastingUnit(String tastingUnit) {
this.tastingUnit = tastingUnit;
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public Date getExpectedEffectiveTime() {
return this.expectedEffectiveTime;
}
public void setExpectedEffectiveTime(Date expectedEffectiveTime) {
this.expectedEffectiveTime = expectedEffectiveTime;
}
public Date getRealEffectiveTime() {
return this.realEffectiveTime;
}
public void setRealEffectiveTime(Date realEffectiveTime) {
this.realEffectiveTime = realEffectiveTime;
}
public String getInsurancePdf() {
return this.insurancePdf;
}
public void setInsurancePdf(String insurancePdf) {
this.insurancePdf = insurancePdf;
}
public Date getCreateTime() {
return this.createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return this.updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public Integer getCreateBy() {
return this.createBy;
}
public void setCreateBy(Integer createBy) {
this.createBy = createBy;
}
public Integer getUpdateBy() {
return this.updateBy;
}
public void setUpdateBy(Integer updateBy) {
this.updateBy = updateBy;
}
public String getResponseData() {
return this.responseData;
}
public void setResponseData(String responseData) {
this.responseData = responseData;
}
@Override
public String toString() {
return "SysInsurancePolicy{" +
"id=" + this.id +
", insuranceId='" + this.insuranceId + '\'' +
", source=" + this.source +
", status=" + this.status +
", insuranceNo='" + this.insuranceNo + '\'' +
", insuranceSeqNo='" + this.insuranceSeqNo + '\'' +
", insuranceCompany='" + this.insuranceCompany + '\'' +
", gpsNo='" + this.gpsNo + '\'' +
", installationTime=" + this.installationTime +
", vin='" + this.vin + '\'' +
", vehicleNo='" + this.vehicleNo + '\'' +
", engineNumber='" + this.engineNumber + '\'' +
", carBrand='" + this.carBrand + '\'' +
", vehicleType=" + this.vehicleType +
", vehicleOwnerName='" + this.vehicleOwnerName + '\'' +
", phone='" + this.phone + '\'' +
", vehicleOwnerAddress='" + this.vehicleOwnerAddress + '\'' +
", customerType=" + this.customerType +
", idCardType=" + this.idCardType +
", idCardNum='" + this.idCardNum + '\'' +
", insuranceCommodity=" + this.insuranceCommodity +
", pilferInsuranceMoney=" + this.pilferInsuranceMoney +
", insurancePeriod=" + this.insurancePeriod +
", vehicleColor='" + this.vehicleColor + '\'' +
", vehicleInvoiceMoney=" + this.vehicleInvoiceMoney +
", tastingUnit='" + this.tastingUnit + '\'' +
", remark='" + this.remark + '\'' +
", expectedEffectiveTime=" + this.expectedEffectiveTime +
", realEffectiveTime=" + this.realEffectiveTime +
", insurancePdf='" + this.insurancePdf + '\'' +
", createTime=" + this.createTime +
", updateTime=" + this.updateTime +
", createBy=" + this.createBy +
", updateBy=" + this.updateBy +
", responseData='" + this.responseData + '\'' +
'}';
}
}
package com.glsx.ordercenter.pojo.insurance;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* <p>Description:
*
* <p>Project: car-service
*
* @author wbh
* @date 2020-05-25
*/
public class SysInsurancePolicyExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public SysInsurancePolicyExample() {
oredCriteria = new ArrayList<>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<>();
}
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 andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andInsuranceIdIsNull() {
addCriterion("insurance_id is null");
return (Criteria) this;
}
public Criteria andInsuranceIdIsNotNull() {
addCriterion("insurance_id is not null");
return (Criteria) this;
}
public Criteria andInsuranceIdEqualTo(String value) {
addCriterion("insurance_id =", value, "insuranceId");
return (Criteria) this;
}
public Criteria andInsuranceIdNotEqualTo(String value) {
addCriterion("insurance_id <>", value, "insuranceId");
return (Criteria) this;
}
public Criteria andInsuranceIdGreaterThan(String value) {
addCriterion("insurance_id >", value, "insuranceId");
return (Criteria) this;
}
public Criteria andInsuranceIdGreaterThanOrEqualTo(String value) {
addCriterion("insurance_id >=", value, "insuranceId");
return (Criteria) this;
}
public Criteria andInsuranceIdLessThan(String value) {
addCriterion("insurance_id <", value, "insuranceId");
return (Criteria) this;
}
public Criteria andInsuranceIdLessThanOrEqualTo(String value) {
addCriterion("insurance_id <=", value, "insuranceId");
return (Criteria) this;
}
public Criteria andInsuranceIdLike(String value) {
addCriterion("insurance_id like", value, "insuranceId");
return (Criteria) this;
}
public Criteria andInsuranceIdNotLike(String value) {
addCriterion("insurance_id not like", value, "insuranceId");
return (Criteria) this;
}
public Criteria andInsuranceIdIn(List<String> values) {
addCriterion("insurance_id in", values, "insuranceId");
return (Criteria) this;
}
public Criteria andInsuranceIdNotIn(List<String> values) {
addCriterion("insurance_id not in", values, "insuranceId");
return (Criteria) this;
}
public Criteria andInsuranceIdBetween(String value1, String value2) {
addCriterion("insurance_id between", value1, value2, "insuranceId");
return (Criteria) this;
}
public Criteria andInsuranceIdNotBetween(String value1, String value2) {
addCriterion("insurance_id not between", value1, value2, "insuranceId");
return (Criteria) this;
}
public Criteria andSourceIsNull() {
addCriterion("`source` is null");
return (Criteria) this;
}
public Criteria andSourceIsNotNull() {
addCriterion("`source` is not null");
return (Criteria) this;
}
public Criteria andSourceEqualTo(Byte value) {
addCriterion("`source` =", value, "source");
return (Criteria) this;
}
public Criteria andSourceNotEqualTo(Byte value) {
addCriterion("`source` <>", value, "source");
return (Criteria) this;
}
public Criteria andSourceGreaterThan(Byte value) {
addCriterion("`source` >", value, "source");
return (Criteria) this;
}
public Criteria andSourceGreaterThanOrEqualTo(Byte value) {
addCriterion("`source` >=", value, "source");
return (Criteria) this;
}
public Criteria andSourceLessThan(Byte value) {
addCriterion("`source` <", value, "source");
return (Criteria) this;
}
public Criteria andSourceLessThanOrEqualTo(Byte value) {
addCriterion("`source` <=", value, "source");
return (Criteria) this;
}
public Criteria andSourceIn(List<Byte> values) {
addCriterion("`source` in", values, "source");
return (Criteria) this;
}
public Criteria andSourceNotIn(List<Byte> values) {
addCriterion("`source` not in", values, "source");
return (Criteria) this;
}
public Criteria andSourceBetween(Byte value1, Byte value2) {
addCriterion("`source` between", value1, value2, "source");
return (Criteria) this;
}
public Criteria andSourceNotBetween(Byte value1, Byte value2) {
addCriterion("`source` not between", value1, value2, "source");
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 andInsuranceNoIsNull() {
addCriterion("insurance_no is null");
return (Criteria) this;
}
public Criteria andInsuranceNoIsNotNull() {
addCriterion("insurance_no is not null");
return (Criteria) this;
}
public Criteria andInsuranceNoEqualTo(String value) {
addCriterion("insurance_no =", value, "insuranceNo");
return (Criteria) this;
}
public Criteria andInsuranceNoNotEqualTo(String value) {
addCriterion("insurance_no <>", value, "insuranceNo");
return (Criteria) this;
}
public Criteria andInsuranceNoGreaterThan(String value) {
addCriterion("insurance_no >", value, "insuranceNo");
return (Criteria) this;
}
public Criteria andInsuranceNoGreaterThanOrEqualTo(String value) {
addCriterion("insurance_no >=", value, "insuranceNo");
return (Criteria) this;
}
public Criteria andInsuranceNoLessThan(String value) {
addCriterion("insurance_no <", value, "insuranceNo");
return (Criteria) this;
}
public Criteria andInsuranceNoLessThanOrEqualTo(String value) {
addCriterion("insurance_no <=", value, "insuranceNo");
return (Criteria) this;
}
public Criteria andInsuranceNoLike(String value) {
addCriterion("insurance_no like", value, "insuranceNo");
return (Criteria) this;
}
public Criteria andInsuranceNoNotLike(String value) {
addCriterion("insurance_no not like", value, "insuranceNo");
return (Criteria) this;
}
public Criteria andInsuranceNoIn(List<String> values) {
addCriterion("insurance_no in", values, "insuranceNo");
return (Criteria) this;
}
public Criteria andInsuranceNoNotIn(List<String> values) {
addCriterion("insurance_no not in", values, "insuranceNo");
return (Criteria) this;
}
public Criteria andInsuranceNoBetween(String value1, String value2) {
addCriterion("insurance_no between", value1, value2, "insuranceNo");
return (Criteria) this;
}
public Criteria andInsuranceNoNotBetween(String value1, String value2) {
addCriterion("insurance_no not between", value1, value2, "insuranceNo");
return (Criteria) this;
}
public Criteria andInsuranceSeqNoIsNull() {
addCriterion("insurance_seq_no is null");
return (Criteria) this;
}
public Criteria andInsuranceSeqNoIsNotNull() {
addCriterion("insurance_seq_no is not null");
return (Criteria) this;
}
public Criteria andInsuranceSeqNoEqualTo(String value) {
addCriterion("insurance_seq_no =", value, "insuranceSeqNo");
return (Criteria) this;
}
public Criteria andInsuranceSeqNoNotEqualTo(String value) {
addCriterion("insurance_seq_no <>", value, "insuranceSeqNo");
return (Criteria) this;
}
public Criteria andInsuranceSeqNoGreaterThan(String value) {
addCriterion("insurance_seq_no >", value, "insuranceSeqNo");
return (Criteria) this;
}
public Criteria andInsuranceSeqNoGreaterThanOrEqualTo(String value) {
addCriterion("insurance_seq_no >=", value, "insuranceSeqNo");
return (Criteria) this;
}
public Criteria andInsuranceSeqNoLessThan(String value) {
addCriterion("insurance_seq_no <", value, "insuranceSeqNo");
return (Criteria) this;
}
public Criteria andInsuranceSeqNoLessThanOrEqualTo(String value) {
addCriterion("insurance_seq_no <=", value, "insuranceSeqNo");
return (Criteria) this;
}
public Criteria andInsuranceSeqNoLike(String value) {
addCriterion("insurance_seq_no like", value, "insuranceSeqNo");
return (Criteria) this;
}
public Criteria andInsuranceSeqNoNotLike(String value) {
addCriterion("insurance_seq_no not like", value, "insuranceSeqNo");
return (Criteria) this;
}
public Criteria andInsuranceSeqNoIn(List<String> values) {
addCriterion("insurance_seq_no in", values, "insuranceSeqNo");
return (Criteria) this;
}
public Criteria andInsuranceSeqNoNotIn(List<String> values) {
addCriterion("insurance_seq_no not in", values, "insuranceSeqNo");
return (Criteria) this;
}
public Criteria andInsuranceSeqNoBetween(String value1, String value2) {
addCriterion("insurance_seq_no between", value1, value2, "insuranceSeqNo");
return (Criteria) this;
}
public Criteria andInsuranceSeqNoNotBetween(String value1, String value2) {
addCriterion("insurance_seq_no not between", value1, value2, "insuranceSeqNo");
return (Criteria) this;
}
public Criteria andInsuranceCompanyIsNull() {
addCriterion("insurance_company is null");
return (Criteria) this;
}
public Criteria andInsuranceCompanyIsNotNull() {
addCriterion("insurance_company is not null");
return (Criteria) this;
}
public Criteria andInsuranceCompanyEqualTo(String value) {
addCriterion("insurance_company =", value, "insuranceCompany");
return (Criteria) this;
}
public Criteria andInsuranceCompanyNotEqualTo(String value) {
addCriterion("insurance_company <>", value, "insuranceCompany");
return (Criteria) this;
}
public Criteria andInsuranceCompanyGreaterThan(String value) {
addCriterion("insurance_company >", value, "insuranceCompany");
return (Criteria) this;
}
public Criteria andInsuranceCompanyGreaterThanOrEqualTo(String value) {
addCriterion("insurance_company >=", value, "insuranceCompany");
return (Criteria) this;
}
public Criteria andInsuranceCompanyLessThan(String value) {
addCriterion("insurance_company <", value, "insuranceCompany");
return (Criteria) this;
}
public Criteria andInsuranceCompanyLessThanOrEqualTo(String value) {
addCriterion("insurance_company <=", value, "insuranceCompany");
return (Criteria) this;
}
public Criteria andInsuranceCompanyLike(String value) {
addCriterion("insurance_company like", value, "insuranceCompany");
return (Criteria) this;
}
public Criteria andInsuranceCompanyNotLike(String value) {
addCriterion("insurance_company not like", value, "insuranceCompany");
return (Criteria) this;
}
public Criteria andInsuranceCompanyIn(List<String> values) {
addCriterion("insurance_company in", values, "insuranceCompany");
return (Criteria) this;
}
public Criteria andInsuranceCompanyNotIn(List<String> values) {
addCriterion("insurance_company not in", values, "insuranceCompany");
return (Criteria) this;
}
public Criteria andInsuranceCompanyBetween(String value1, String value2) {
addCriterion("insurance_company between", value1, value2, "insuranceCompany");
return (Criteria) this;
}
public Criteria andInsuranceCompanyNotBetween(String value1, String value2) {
addCriterion("insurance_company not between", value1, value2, "insuranceCompany");
return (Criteria) this;
}
public Criteria andGpsNoIsNull() {
addCriterion("gps_no is null");
return (Criteria) this;
}
public Criteria andGpsNoIsNotNull() {
addCriterion("gps_no is not null");
return (Criteria) this;
}
public Criteria andGpsNoEqualTo(String value) {
addCriterion("gps_no =", value, "gpsNo");
return (Criteria) this;
}
public Criteria andGpsNoNotEqualTo(String value) {
addCriterion("gps_no <>", value, "gpsNo");
return (Criteria) this;
}
public Criteria andGpsNoGreaterThan(String value) {
addCriterion("gps_no >", value, "gpsNo");
return (Criteria) this;
}
public Criteria andGpsNoGreaterThanOrEqualTo(String value) {
addCriterion("gps_no >=", value, "gpsNo");
return (Criteria) this;
}
public Criteria andGpsNoLessThan(String value) {
addCriterion("gps_no <", value, "gpsNo");
return (Criteria) this;
}
public Criteria andGpsNoLessThanOrEqualTo(String value) {
addCriterion("gps_no <=", value, "gpsNo");
return (Criteria) this;
}
public Criteria andGpsNoLike(String value) {
addCriterion("gps_no like", value, "gpsNo");
return (Criteria) this;
}
public Criteria andGpsNoNotLike(String value) {
addCriterion("gps_no not like", value, "gpsNo");
return (Criteria) this;
}
public Criteria andGpsNoIn(List<String> values) {
addCriterion("gps_no in", values, "gpsNo");
return (Criteria) this;
}
public Criteria andGpsNoNotIn(List<String> values) {
addCriterion("gps_no not in", values, "gpsNo");
return (Criteria) this;
}
public Criteria andGpsNoBetween(String value1, String value2) {
addCriterion("gps_no between", value1, value2, "gpsNo");
return (Criteria) this;
}
public Criteria andGpsNoNotBetween(String value1, String value2) {
addCriterion("gps_no not between", value1, value2, "gpsNo");
return (Criteria) this;
}
public Criteria andInstallationTimeIsNull() {
addCriterion("installation_time is null");
return (Criteria) this;
}
public Criteria andInstallationTimeIsNotNull() {
addCriterion("installation_time is not null");
return (Criteria) this;
}
public Criteria andInstallationTimeEqualTo(Date value) {
addCriterion("installation_time =", value, "installationTime");
return (Criteria) this;
}
public Criteria andInstallationTimeNotEqualTo(Date value) {
addCriterion("installation_time <>", value, "installationTime");
return (Criteria) this;
}
public Criteria andInstallationTimeGreaterThan(Date value) {
addCriterion("installation_time >", value, "installationTime");
return (Criteria) this;
}
public Criteria andInstallationTimeGreaterThanOrEqualTo(Date value) {
addCriterion("installation_time >=", value, "installationTime");
return (Criteria) this;
}
public Criteria andInstallationTimeLessThan(Date value) {
addCriterion("installation_time <", value, "installationTime");
return (Criteria) this;
}
public Criteria andInstallationTimeLessThanOrEqualTo(Date value) {
addCriterion("installation_time <=", value, "installationTime");
return (Criteria) this;
}
public Criteria andInstallationTimeIn(List<Date> values) {
addCriterion("installation_time in", values, "installationTime");
return (Criteria) this;
}
public Criteria andInstallationTimeNotIn(List<Date> values) {
addCriterion("installation_time not in", values, "installationTime");
return (Criteria) this;
}
public Criteria andInstallationTimeBetween(Date value1, Date value2) {
addCriterion("installation_time between", value1, value2, "installationTime");
return (Criteria) this;
}
public Criteria andInstallationTimeNotBetween(Date value1, Date value2) {
addCriterion("installation_time not between", value1, value2, "installationTime");
return (Criteria) this;
}
public Criteria andVinIsNull() {
addCriterion("vin is null");
return (Criteria) this;
}
public Criteria andVinIsNotNull() {
addCriterion("vin is not null");
return (Criteria) this;
}
public Criteria andVinEqualTo(String value) {
addCriterion("vin =", value, "vin");
return (Criteria) this;
}
public Criteria andVinNotEqualTo(String value) {
addCriterion("vin <>", value, "vin");
return (Criteria) this;
}
public Criteria andVinGreaterThan(String value) {
addCriterion("vin >", value, "vin");
return (Criteria) this;
}
public Criteria andVinGreaterThanOrEqualTo(String value) {
addCriterion("vin >=", value, "vin");
return (Criteria) this;
}
public Criteria andVinLessThan(String value) {
addCriterion("vin <", value, "vin");
return (Criteria) this;
}
public Criteria andVinLessThanOrEqualTo(String value) {
addCriterion("vin <=", value, "vin");
return (Criteria) this;
}
public Criteria andVinLike(String value) {
addCriterion("vin like", value, "vin");
return (Criteria) this;
}
public Criteria andVinNotLike(String value) {
addCriterion("vin not like", value, "vin");
return (Criteria) this;
}
public Criteria andVinIn(List<String> values) {
addCriterion("vin in", values, "vin");
return (Criteria) this;
}
public Criteria andVinNotIn(List<String> values) {
addCriterion("vin not in", values, "vin");
return (Criteria) this;
}
public Criteria andVinBetween(String value1, String value2) {
addCriterion("vin between", value1, value2, "vin");
return (Criteria) this;
}
public Criteria andVinNotBetween(String value1, String value2) {
addCriterion("vin not between", value1, value2, "vin");
return (Criteria) this;
}
public Criteria andVehicleNoIsNull() {
addCriterion("vehicle_no is null");
return (Criteria) this;
}
public Criteria andVehicleNoIsNotNull() {
addCriterion("vehicle_no is not null");
return (Criteria) this;
}
public Criteria andVehicleNoEqualTo(String value) {
addCriterion("vehicle_no =", value, "vehicleNo");
return (Criteria) this;
}
public Criteria andVehicleNoNotEqualTo(String value) {
addCriterion("vehicle_no <>", value, "vehicleNo");
return (Criteria) this;
}
public Criteria andVehicleNoGreaterThan(String value) {
addCriterion("vehicle_no >", value, "vehicleNo");
return (Criteria) this;
}
public Criteria andVehicleNoGreaterThanOrEqualTo(String value) {
addCriterion("vehicle_no >=", value, "vehicleNo");
return (Criteria) this;
}
public Criteria andVehicleNoLessThan(String value) {
addCriterion("vehicle_no <", value, "vehicleNo");
return (Criteria) this;
}
public Criteria andVehicleNoLessThanOrEqualTo(String value) {
addCriterion("vehicle_no <=", value, "vehicleNo");
return (Criteria) this;
}
public Criteria andVehicleNoLike(String value) {
addCriterion("vehicle_no like", value, "vehicleNo");
return (Criteria) this;
}
public Criteria andVehicleNoNotLike(String value) {
addCriterion("vehicle_no not like", value, "vehicleNo");
return (Criteria) this;
}
public Criteria andVehicleNoIn(List<String> values) {
addCriterion("vehicle_no in", values, "vehicleNo");
return (Criteria) this;
}
public Criteria andVehicleNoNotIn(List<String> values) {
addCriterion("vehicle_no not in", values, "vehicleNo");
return (Criteria) this;
}
public Criteria andVehicleNoBetween(String value1, String value2) {
addCriterion("vehicle_no between", value1, value2, "vehicleNo");
return (Criteria) this;
}
public Criteria andVehicleNoNotBetween(String value1, String value2) {
addCriterion("vehicle_no not between", value1, value2, "vehicleNo");
return (Criteria) this;
}
public Criteria andEngineNumberIsNull() {
addCriterion("engine_number is null");
return (Criteria) this;
}
public Criteria andEngineNumberIsNotNull() {
addCriterion("engine_number is not null");
return (Criteria) this;
}
public Criteria andEngineNumberEqualTo(String value) {
addCriterion("engine_number =", value, "engineNumber");
return (Criteria) this;
}
public Criteria andEngineNumberNotEqualTo(String value) {
addCriterion("engine_number <>", value, "engineNumber");
return (Criteria) this;
}
public Criteria andEngineNumberGreaterThan(String value) {
addCriterion("engine_number >", value, "engineNumber");
return (Criteria) this;
}
public Criteria andEngineNumberGreaterThanOrEqualTo(String value) {
addCriterion("engine_number >=", value, "engineNumber");
return (Criteria) this;
}
public Criteria andEngineNumberLessThan(String value) {
addCriterion("engine_number <", value, "engineNumber");
return (Criteria) this;
}
public Criteria andEngineNumberLessThanOrEqualTo(String value) {
addCriterion("engine_number <=", value, "engineNumber");
return (Criteria) this;
}
public Criteria andEngineNumberLike(String value) {
addCriterion("engine_number like", value, "engineNumber");
return (Criteria) this;
}
public Criteria andEngineNumberNotLike(String value) {
addCriterion("engine_number not like", value, "engineNumber");
return (Criteria) this;
}
public Criteria andEngineNumberIn(List<String> values) {
addCriterion("engine_number in", values, "engineNumber");
return (Criteria) this;
}
public Criteria andEngineNumberNotIn(List<String> values) {
addCriterion("engine_number not in", values, "engineNumber");
return (Criteria) this;
}
public Criteria andEngineNumberBetween(String value1, String value2) {
addCriterion("engine_number between", value1, value2, "engineNumber");
return (Criteria) this;
}
public Criteria andEngineNumberNotBetween(String value1, String value2) {
addCriterion("engine_number not between", value1, value2, "engineNumber");
return (Criteria) this;
}
public Criteria andCarBrandIsNull() {
addCriterion("car_brand is null");
return (Criteria) this;
}
public Criteria andCarBrandIsNotNull() {
addCriterion("car_brand is not null");
return (Criteria) this;
}
public Criteria andCarBrandEqualTo(String value) {
addCriterion("car_brand =", value, "carBrand");
return (Criteria) this;
}
public Criteria andCarBrandNotEqualTo(String value) {
addCriterion("car_brand <>", value, "carBrand");
return (Criteria) this;
}
public Criteria andCarBrandGreaterThan(String value) {
addCriterion("car_brand >", value, "carBrand");
return (Criteria) this;
}
public Criteria andCarBrandGreaterThanOrEqualTo(String value) {
addCriterion("car_brand >=", value, "carBrand");
return (Criteria) this;
}
public Criteria andCarBrandLessThan(String value) {
addCriterion("car_brand <", value, "carBrand");
return (Criteria) this;
}
public Criteria andCarBrandLessThanOrEqualTo(String value) {
addCriterion("car_brand <=", value, "carBrand");
return (Criteria) this;
}
public Criteria andCarBrandLike(String value) {
addCriterion("car_brand like", value, "carBrand");
return (Criteria) this;
}
public Criteria andCarBrandNotLike(String value) {
addCriterion("car_brand not like", value, "carBrand");
return (Criteria) this;
}
public Criteria andCarBrandIn(List<String> values) {
addCriterion("car_brand in", values, "carBrand");
return (Criteria) this;
}
public Criteria andCarBrandNotIn(List<String> values) {
addCriterion("car_brand not in", values, "carBrand");
return (Criteria) this;
}
public Criteria andCarBrandBetween(String value1, String value2) {
addCriterion("car_brand between", value1, value2, "carBrand");
return (Criteria) this;
}
public Criteria andCarBrandNotBetween(String value1, String value2) {
addCriterion("car_brand not between", value1, value2, "carBrand");
return (Criteria) this;
}
public Criteria andVehicleTypeIsNull() {
addCriterion("vehicle_type is null");
return (Criteria) this;
}
public Criteria andVehicleTypeIsNotNull() {
addCriterion("vehicle_type is not null");
return (Criteria) this;
}
public Criteria andVehicleTypeEqualTo(Byte value) {
addCriterion("vehicle_type =", value, "vehicleType");
return (Criteria) this;
}
public Criteria andVehicleTypeNotEqualTo(Byte value) {
addCriterion("vehicle_type <>", value, "vehicleType");
return (Criteria) this;
}
public Criteria andVehicleTypeGreaterThan(Byte value) {
addCriterion("vehicle_type >", value, "vehicleType");
return (Criteria) this;
}
public Criteria andVehicleTypeGreaterThanOrEqualTo(Byte value) {
addCriterion("vehicle_type >=", value, "vehicleType");
return (Criteria) this;
}
public Criteria andVehicleTypeLessThan(Byte value) {
addCriterion("vehicle_type <", value, "vehicleType");
return (Criteria) this;
}
public Criteria andVehicleTypeLessThanOrEqualTo(Byte value) {
addCriterion("vehicle_type <=", value, "vehicleType");
return (Criteria) this;
}
public Criteria andVehicleTypeIn(List<Byte> values) {
addCriterion("vehicle_type in", values, "vehicleType");
return (Criteria) this;
}
public Criteria andVehicleTypeNotIn(List<Byte> values) {
addCriterion("vehicle_type not in", values, "vehicleType");
return (Criteria) this;
}
public Criteria andVehicleTypeBetween(Byte value1, Byte value2) {
addCriterion("vehicle_type between", value1, value2, "vehicleType");
return (Criteria) this;
}
public Criteria andVehicleTypeNotBetween(Byte value1, Byte value2) {
addCriterion("vehicle_type not between", value1, value2, "vehicleType");
return (Criteria) this;
}
public Criteria andVehicleOwnerNameIsNull() {
addCriterion("vehicle_owner_name is null");
return (Criteria) this;
}
public Criteria andVehicleOwnerNameIsNotNull() {
addCriterion("vehicle_owner_name is not null");
return (Criteria) this;
}
public Criteria andVehicleOwnerNameEqualTo(String value) {
addCriterion("vehicle_owner_name =", value, "vehicleOwnerName");
return (Criteria) this;
}
public Criteria andVehicleOwnerNameNotEqualTo(String value) {
addCriterion("vehicle_owner_name <>", value, "vehicleOwnerName");
return (Criteria) this;
}
public Criteria andVehicleOwnerNameGreaterThan(String value) {
addCriterion("vehicle_owner_name >", value, "vehicleOwnerName");
return (Criteria) this;
}
public Criteria andVehicleOwnerNameGreaterThanOrEqualTo(String value) {
addCriterion("vehicle_owner_name >=", value, "vehicleOwnerName");
return (Criteria) this;
}
public Criteria andVehicleOwnerNameLessThan(String value) {
addCriterion("vehicle_owner_name <", value, "vehicleOwnerName");
return (Criteria) this;
}
public Criteria andVehicleOwnerNameLessThanOrEqualTo(String value) {
addCriterion("vehicle_owner_name <=", value, "vehicleOwnerName");
return (Criteria) this;
}
public Criteria andVehicleOwnerNameLike(String value) {
addCriterion("vehicle_owner_name like", value, "vehicleOwnerName");
return (Criteria) this;
}
public Criteria andVehicleOwnerNameNotLike(String value) {
addCriterion("vehicle_owner_name not like", value, "vehicleOwnerName");
return (Criteria) this;
}
public Criteria andVehicleOwnerNameIn(List<String> values) {
addCriterion("vehicle_owner_name in", values, "vehicleOwnerName");
return (Criteria) this;
}
public Criteria andVehicleOwnerNameNotIn(List<String> values) {
addCriterion("vehicle_owner_name not in", values, "vehicleOwnerName");
return (Criteria) this;
}
public Criteria andVehicleOwnerNameBetween(String value1, String value2) {
addCriterion("vehicle_owner_name between", value1, value2, "vehicleOwnerName");
return (Criteria) this;
}
public Criteria andVehicleOwnerNameNotBetween(String value1, String value2) {
addCriterion("vehicle_owner_name not between", value1, value2, "vehicleOwnerName");
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 andVehicleOwnerAddressIsNull() {
addCriterion("vehicle_owner_address is null");
return (Criteria) this;
}
public Criteria andVehicleOwnerAddressIsNotNull() {
addCriterion("vehicle_owner_address is not null");
return (Criteria) this;
}
public Criteria andVehicleOwnerAddressEqualTo(String value) {
addCriterion("vehicle_owner_address =", value, "vehicleOwnerAddress");
return (Criteria) this;
}
public Criteria andVehicleOwnerAddressNotEqualTo(String value) {
addCriterion("vehicle_owner_address <>", value, "vehicleOwnerAddress");
return (Criteria) this;
}
public Criteria andVehicleOwnerAddressGreaterThan(String value) {
addCriterion("vehicle_owner_address >", value, "vehicleOwnerAddress");
return (Criteria) this;
}
public Criteria andVehicleOwnerAddressGreaterThanOrEqualTo(String value) {
addCriterion("vehicle_owner_address >=", value, "vehicleOwnerAddress");
return (Criteria) this;
}
public Criteria andVehicleOwnerAddressLessThan(String value) {
addCriterion("vehicle_owner_address <", value, "vehicleOwnerAddress");
return (Criteria) this;
}
public Criteria andVehicleOwnerAddressLessThanOrEqualTo(String value) {
addCriterion("vehicle_owner_address <=", value, "vehicleOwnerAddress");
return (Criteria) this;
}
public Criteria andVehicleOwnerAddressLike(String value) {
addCriterion("vehicle_owner_address like", value, "vehicleOwnerAddress");
return (Criteria) this;
}
public Criteria andVehicleOwnerAddressNotLike(String value) {
addCriterion("vehicle_owner_address not like", value, "vehicleOwnerAddress");
return (Criteria) this;
}
public Criteria andVehicleOwnerAddressIn(List<String> values) {
addCriterion("vehicle_owner_address in", values, "vehicleOwnerAddress");
return (Criteria) this;
}
public Criteria andVehicleOwnerAddressNotIn(List<String> values) {
addCriterion("vehicle_owner_address not in", values, "vehicleOwnerAddress");
return (Criteria) this;
}
public Criteria andVehicleOwnerAddressBetween(String value1, String value2) {
addCriterion("vehicle_owner_address between", value1, value2, "vehicleOwnerAddress");
return (Criteria) this;
}
public Criteria andVehicleOwnerAddressNotBetween(String value1, String value2) {
addCriterion("vehicle_owner_address not between", value1, value2, "vehicleOwnerAddress");
return (Criteria) this;
}
public Criteria andCustomerTypeIsNull() {
addCriterion("customer_type is null");
return (Criteria) this;
}
public Criteria andCustomerTypeIsNotNull() {
addCriterion("customer_type is not null");
return (Criteria) this;
}
public Criteria andCustomerTypeEqualTo(Byte value) {
addCriterion("customer_type =", value, "customerType");
return (Criteria) this;
}
public Criteria andCustomerTypeNotEqualTo(Byte value) {
addCriterion("customer_type <>", value, "customerType");
return (Criteria) this;
}
public Criteria andCustomerTypeGreaterThan(Byte value) {
addCriterion("customer_type >", value, "customerType");
return (Criteria) this;
}
public Criteria andCustomerTypeGreaterThanOrEqualTo(Byte value) {
addCriterion("customer_type >=", value, "customerType");
return (Criteria) this;
}
public Criteria andCustomerTypeLessThan(Byte value) {
addCriterion("customer_type <", value, "customerType");
return (Criteria) this;
}
public Criteria andCustomerTypeLessThanOrEqualTo(Byte value) {
addCriterion("customer_type <=", value, "customerType");
return (Criteria) this;
}
public Criteria andCustomerTypeIn(List<Byte> values) {
addCriterion("customer_type in", values, "customerType");
return (Criteria) this;
}
public Criteria andCustomerTypeNotIn(List<Byte> values) {
addCriterion("customer_type not in", values, "customerType");
return (Criteria) this;
}
public Criteria andCustomerTypeBetween(Byte value1, Byte value2) {
addCriterion("customer_type between", value1, value2, "customerType");
return (Criteria) this;
}
public Criteria andCustomerTypeNotBetween(Byte value1, Byte value2) {
addCriterion("customer_type not between", value1, value2, "customerType");
return (Criteria) this;
}
public Criteria andIdCardTypeIsNull() {
addCriterion("id_card_type is null");
return (Criteria) this;
}
public Criteria andIdCardTypeIsNotNull() {
addCriterion("id_card_type is not null");
return (Criteria) this;
}
public Criteria andIdCardTypeEqualTo(Byte value) {
addCriterion("id_card_type =", value, "idCardType");
return (Criteria) this;
}
public Criteria andIdCardTypeNotEqualTo(Byte value) {
addCriterion("id_card_type <>", value, "idCardType");
return (Criteria) this;
}
public Criteria andIdCardTypeGreaterThan(Byte value) {
addCriterion("id_card_type >", value, "idCardType");
return (Criteria) this;
}
public Criteria andIdCardTypeGreaterThanOrEqualTo(Byte value) {
addCriterion("id_card_type >=", value, "idCardType");
return (Criteria) this;
}
public Criteria andIdCardTypeLessThan(Byte value) {
addCriterion("id_card_type <", value, "idCardType");
return (Criteria) this;
}
public Criteria andIdCardTypeLessThanOrEqualTo(Byte value) {
addCriterion("id_card_type <=", value, "idCardType");
return (Criteria) this;
}
public Criteria andIdCardTypeIn(List<Byte> values) {
addCriterion("id_card_type in", values, "idCardType");
return (Criteria) this;
}
public Criteria andIdCardTypeNotIn(List<Byte> values) {
addCriterion("id_card_type not in", values, "idCardType");
return (Criteria) this;
}
public Criteria andIdCardTypeBetween(Byte value1, Byte value2) {
addCriterion("id_card_type between", value1, value2, "idCardType");
return (Criteria) this;
}
public Criteria andIdCardTypeNotBetween(Byte value1, Byte value2) {
addCriterion("id_card_type not between", value1, value2, "idCardType");
return (Criteria) this;
}
public Criteria andIdCardNumIsNull() {
addCriterion("id_card_num is null");
return (Criteria) this;
}
public Criteria andIdCardNumIsNotNull() {
addCriterion("id_card_num is not null");
return (Criteria) this;
}
public Criteria andIdCardNumEqualTo(String value) {
addCriterion("id_card_num =", value, "idCardNum");
return (Criteria) this;
}
public Criteria andIdCardNumNotEqualTo(String value) {
addCriterion("id_card_num <>", value, "idCardNum");
return (Criteria) this;
}
public Criteria andIdCardNumGreaterThan(String value) {
addCriterion("id_card_num >", value, "idCardNum");
return (Criteria) this;
}
public Criteria andIdCardNumGreaterThanOrEqualTo(String value) {
addCriterion("id_card_num >=", value, "idCardNum");
return (Criteria) this;
}
public Criteria andIdCardNumLessThan(String value) {
addCriterion("id_card_num <", value, "idCardNum");
return (Criteria) this;
}
public Criteria andIdCardNumLessThanOrEqualTo(String value) {
addCriterion("id_card_num <=", value, "idCardNum");
return (Criteria) this;
}
public Criteria andIdCardNumLike(String value) {
addCriterion("id_card_num like", value, "idCardNum");
return (Criteria) this;
}
public Criteria andIdCardNumNotLike(String value) {
addCriterion("id_card_num not like", value, "idCardNum");
return (Criteria) this;
}
public Criteria andIdCardNumIn(List<String> values) {
addCriterion("id_card_num in", values, "idCardNum");
return (Criteria) this;
}
public Criteria andIdCardNumNotIn(List<String> values) {
addCriterion("id_card_num not in", values, "idCardNum");
return (Criteria) this;
}
public Criteria andIdCardNumBetween(String value1, String value2) {
addCriterion("id_card_num between", value1, value2, "idCardNum");
return (Criteria) this;
}
public Criteria andIdCardNumNotBetween(String value1, String value2) {
addCriterion("id_card_num not between", value1, value2, "idCardNum");
return (Criteria) this;
}
public Criteria andInsuranceCommodityIsNull() {
addCriterion("insurance_commodity is null");
return (Criteria) this;
}
public Criteria andInsuranceCommodityIsNotNull() {
addCriterion("insurance_commodity is not null");
return (Criteria) this;
}
public Criteria andInsuranceCommodityEqualTo(Boolean value) {
addCriterion("insurance_commodity =", value, "insuranceCommodity");
return (Criteria) this;
}
public Criteria andInsuranceCommodityNotEqualTo(Boolean value) {
addCriterion("insurance_commodity <>", value, "insuranceCommodity");
return (Criteria) this;
}
public Criteria andInsuranceCommodityGreaterThan(Boolean value) {
addCriterion("insurance_commodity >", value, "insuranceCommodity");
return (Criteria) this;
}
public Criteria andInsuranceCommodityGreaterThanOrEqualTo(Boolean value) {
addCriterion("insurance_commodity >=", value, "insuranceCommodity");
return (Criteria) this;
}
public Criteria andInsuranceCommodityLessThan(Boolean value) {
addCriterion("insurance_commodity <", value, "insuranceCommodity");
return (Criteria) this;
}
public Criteria andInsuranceCommodityLessThanOrEqualTo(Boolean value) {
addCriterion("insurance_commodity <=", value, "insuranceCommodity");
return (Criteria) this;
}
public Criteria andInsuranceCommodityIn(List<Boolean> values) {
addCriterion("insurance_commodity in", values, "insuranceCommodity");
return (Criteria) this;
}
public Criteria andInsuranceCommodityNotIn(List<Boolean> values) {
addCriterion("insurance_commodity not in", values, "insuranceCommodity");
return (Criteria) this;
}
public Criteria andInsuranceCommodityBetween(Boolean value1, Boolean value2) {
addCriterion("insurance_commodity between", value1, value2, "insuranceCommodity");
return (Criteria) this;
}
public Criteria andInsuranceCommodityNotBetween(Boolean value1, Boolean value2) {
addCriterion("insurance_commodity not between", value1, value2, "insuranceCommodity");
return (Criteria) this;
}
public Criteria andPilferInsuranceMoneyIsNull() {
addCriterion("pilfer_insurance_money is null");
return (Criteria) this;
}
public Criteria andPilferInsuranceMoneyIsNotNull() {
addCriterion("pilfer_insurance_money is not null");
return (Criteria) this;
}
public Criteria andPilferInsuranceMoneyEqualTo(BigDecimal value) {
addCriterion("pilfer_insurance_money =", value, "pilferInsuranceMoney");
return (Criteria) this;
}
public Criteria andPilferInsuranceMoneyNotEqualTo(BigDecimal value) {
addCriterion("pilfer_insurance_money <>", value, "pilferInsuranceMoney");
return (Criteria) this;
}
public Criteria andPilferInsuranceMoneyGreaterThan(BigDecimal value) {
addCriterion("pilfer_insurance_money >", value, "pilferInsuranceMoney");
return (Criteria) this;
}
public Criteria andPilferInsuranceMoneyGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("pilfer_insurance_money >=", value, "pilferInsuranceMoney");
return (Criteria) this;
}
public Criteria andPilferInsuranceMoneyLessThan(BigDecimal value) {
addCriterion("pilfer_insurance_money <", value, "pilferInsuranceMoney");
return (Criteria) this;
}
public Criteria andPilferInsuranceMoneyLessThanOrEqualTo(BigDecimal value) {
addCriterion("pilfer_insurance_money <=", value, "pilferInsuranceMoney");
return (Criteria) this;
}
public Criteria andPilferInsuranceMoneyIn(List<BigDecimal> values) {
addCriterion("pilfer_insurance_money in", values, "pilferInsuranceMoney");
return (Criteria) this;
}
public Criteria andPilferInsuranceMoneyNotIn(List<BigDecimal> values) {
addCriterion("pilfer_insurance_money not in", values, "pilferInsuranceMoney");
return (Criteria) this;
}
public Criteria andPilferInsuranceMoneyBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("pilfer_insurance_money between", value1, value2, "pilferInsuranceMoney");
return (Criteria) this;
}
public Criteria andPilferInsuranceMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("pilfer_insurance_money not between", value1, value2, "pilferInsuranceMoney");
return (Criteria) this;
}
public Criteria andInsurancePeriodIsNull() {
addCriterion("insurance_period is null");
return (Criteria) this;
}
public Criteria andInsurancePeriodIsNotNull() {
addCriterion("insurance_period is not null");
return (Criteria) this;
}
public Criteria andInsurancePeriodEqualTo(Integer value) {
addCriterion("insurance_period =", value, "insurancePeriod");
return (Criteria) this;
}
public Criteria andInsurancePeriodNotEqualTo(Integer value) {
addCriterion("insurance_period <>", value, "insurancePeriod");
return (Criteria) this;
}
public Criteria andInsurancePeriodGreaterThan(Integer value) {
addCriterion("insurance_period >", value, "insurancePeriod");
return (Criteria) this;
}
public Criteria andInsurancePeriodGreaterThanOrEqualTo(Integer value) {
addCriterion("insurance_period >=", value, "insurancePeriod");
return (Criteria) this;
}
public Criteria andInsurancePeriodLessThan(Integer value) {
addCriterion("insurance_period <", value, "insurancePeriod");
return (Criteria) this;
}
public Criteria andInsurancePeriodLessThanOrEqualTo(Integer value) {
addCriterion("insurance_period <=", value, "insurancePeriod");
return (Criteria) this;
}
public Criteria andInsurancePeriodIn(List<Integer> values) {
addCriterion("insurance_period in", values, "insurancePeriod");
return (Criteria) this;
}
public Criteria andInsurancePeriodNotIn(List<Integer> values) {
addCriterion("insurance_period not in", values, "insurancePeriod");
return (Criteria) this;
}
public Criteria andInsurancePeriodBetween(Integer value1, Integer value2) {
addCriterion("insurance_period between", value1, value2, "insurancePeriod");
return (Criteria) this;
}
public Criteria andInsurancePeriodNotBetween(Integer value1, Integer value2) {
addCriterion("insurance_period not between", value1, value2, "insurancePeriod");
return (Criteria) this;
}
public Criteria andVehicleColorIsNull() {
addCriterion("vehicle_color is null");
return (Criteria) this;
}
public Criteria andVehicleColorIsNotNull() {
addCriterion("vehicle_color is not null");
return (Criteria) this;
}
public Criteria andVehicleColorEqualTo(String value) {
addCriterion("vehicle_color =", value, "vehicleColor");
return (Criteria) this;
}
public Criteria andVehicleColorNotEqualTo(String value) {
addCriterion("vehicle_color <>", value, "vehicleColor");
return (Criteria) this;
}
public Criteria andVehicleColorGreaterThan(String value) {
addCriterion("vehicle_color >", value, "vehicleColor");
return (Criteria) this;
}
public Criteria andVehicleColorGreaterThanOrEqualTo(String value) {
addCriterion("vehicle_color >=", value, "vehicleColor");
return (Criteria) this;
}
public Criteria andVehicleColorLessThan(String value) {
addCriterion("vehicle_color <", value, "vehicleColor");
return (Criteria) this;
}
public Criteria andVehicleColorLessThanOrEqualTo(String value) {
addCriterion("vehicle_color <=", value, "vehicleColor");
return (Criteria) this;
}
public Criteria andVehicleColorLike(String value) {
addCriterion("vehicle_color like", value, "vehicleColor");
return (Criteria) this;
}
public Criteria andVehicleColorNotLike(String value) {
addCriterion("vehicle_color not like", value, "vehicleColor");
return (Criteria) this;
}
public Criteria andVehicleColorIn(List<String> values) {
addCriterion("vehicle_color in", values, "vehicleColor");
return (Criteria) this;
}
public Criteria andVehicleColorNotIn(List<String> values) {
addCriterion("vehicle_color not in", values, "vehicleColor");
return (Criteria) this;
}
public Criteria andVehicleColorBetween(String value1, String value2) {
addCriterion("vehicle_color between", value1, value2, "vehicleColor");
return (Criteria) this;
}
public Criteria andVehicleColorNotBetween(String value1, String value2) {
addCriterion("vehicle_color not between", value1, value2, "vehicleColor");
return (Criteria) this;
}
public Criteria andVehicleInvoiceMoneyIsNull() {
addCriterion("vehicle_invoice_money is null");
return (Criteria) this;
}
public Criteria andVehicleInvoiceMoneyIsNotNull() {
addCriterion("vehicle_invoice_money is not null");
return (Criteria) this;
}
public Criteria andVehicleInvoiceMoneyEqualTo(BigDecimal value) {
addCriterion("vehicle_invoice_money =", value, "vehicleInvoiceMoney");
return (Criteria) this;
}
public Criteria andVehicleInvoiceMoneyNotEqualTo(BigDecimal value) {
addCriterion("vehicle_invoice_money <>", value, "vehicleInvoiceMoney");
return (Criteria) this;
}
public Criteria andVehicleInvoiceMoneyGreaterThan(BigDecimal value) {
addCriterion("vehicle_invoice_money >", value, "vehicleInvoiceMoney");
return (Criteria) this;
}
public Criteria andVehicleInvoiceMoneyGreaterThanOrEqualTo(BigDecimal value) {
addCriterion("vehicle_invoice_money >=", value, "vehicleInvoiceMoney");
return (Criteria) this;
}
public Criteria andVehicleInvoiceMoneyLessThan(BigDecimal value) {
addCriterion("vehicle_invoice_money <", value, "vehicleInvoiceMoney");
return (Criteria) this;
}
public Criteria andVehicleInvoiceMoneyLessThanOrEqualTo(BigDecimal value) {
addCriterion("vehicle_invoice_money <=", value, "vehicleInvoiceMoney");
return (Criteria) this;
}
public Criteria andVehicleInvoiceMoneyIn(List<BigDecimal> values) {
addCriterion("vehicle_invoice_money in", values, "vehicleInvoiceMoney");
return (Criteria) this;
}
public Criteria andVehicleInvoiceMoneyNotIn(List<BigDecimal> values) {
addCriterion("vehicle_invoice_money not in", values, "vehicleInvoiceMoney");
return (Criteria) this;
}
public Criteria andVehicleInvoiceMoneyBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("vehicle_invoice_money between", value1, value2, "vehicleInvoiceMoney");
return (Criteria) this;
}
public Criteria andVehicleInvoiceMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
addCriterion("vehicle_invoice_money not between", value1, value2, "vehicleInvoiceMoney");
return (Criteria) this;
}
public Criteria andTastingUnitIsNull() {
addCriterion("tasting_unit is null");
return (Criteria) this;
}
public Criteria andTastingUnitIsNotNull() {
addCriterion("tasting_unit is not null");
return (Criteria) this;
}
public Criteria andTastingUnitEqualTo(String value) {
addCriterion("tasting_unit =", value, "tastingUnit");
return (Criteria) this;
}
public Criteria andTastingUnitNotEqualTo(String value) {
addCriterion("tasting_unit <>", value, "tastingUnit");
return (Criteria) this;
}
public Criteria andTastingUnitGreaterThan(String value) {
addCriterion("tasting_unit >", value, "tastingUnit");
return (Criteria) this;
}
public Criteria andTastingUnitGreaterThanOrEqualTo(String value) {
addCriterion("tasting_unit >=", value, "tastingUnit");
return (Criteria) this;
}
public Criteria andTastingUnitLessThan(String value) {
addCriterion("tasting_unit <", value, "tastingUnit");
return (Criteria) this;
}
public Criteria andTastingUnitLessThanOrEqualTo(String value) {
addCriterion("tasting_unit <=", value, "tastingUnit");
return (Criteria) this;
}
public Criteria andTastingUnitLike(String value) {
addCriterion("tasting_unit like", value, "tastingUnit");
return (Criteria) this;
}
public Criteria andTastingUnitNotLike(String value) {
addCriterion("tasting_unit not like", value, "tastingUnit");
return (Criteria) this;
}
public Criteria andTastingUnitIn(List<String> values) {
addCriterion("tasting_unit in", values, "tastingUnit");
return (Criteria) this;
}
public Criteria andTastingUnitNotIn(List<String> values) {
addCriterion("tasting_unit not in", values, "tastingUnit");
return (Criteria) this;
}
public Criteria andTastingUnitBetween(String value1, String value2) {
addCriterion("tasting_unit between", value1, value2, "tastingUnit");
return (Criteria) this;
}
public Criteria andTastingUnitNotBetween(String value1, String value2) {
addCriterion("tasting_unit not between", value1, value2, "tastingUnit");
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 andExpectedEffectiveTimeIsNull() {
addCriterion("expected_effective_time is null");
return (Criteria) this;
}
public Criteria andExpectedEffectiveTimeIsNotNull() {
addCriterion("expected_effective_time is not null");
return (Criteria) this;
}
public Criteria andExpectedEffectiveTimeEqualTo(Date value) {
addCriterion("expected_effective_time =", value, "expectedEffectiveTime");
return (Criteria) this;
}
public Criteria andExpectedEffectiveTimeNotEqualTo(Date value) {
addCriterion("expected_effective_time <>", value, "expectedEffectiveTime");
return (Criteria) this;
}
public Criteria andExpectedEffectiveTimeGreaterThan(Date value) {
addCriterion("expected_effective_time >", value, "expectedEffectiveTime");
return (Criteria) this;
}
public Criteria andExpectedEffectiveTimeGreaterThanOrEqualTo(Date value) {
addCriterion("expected_effective_time >=", value, "expectedEffectiveTime");
return (Criteria) this;
}
public Criteria andExpectedEffectiveTimeLessThan(Date value) {
addCriterion("expected_effective_time <", value, "expectedEffectiveTime");
return (Criteria) this;
}
public Criteria andExpectedEffectiveTimeLessThanOrEqualTo(Date value) {
addCriterion("expected_effective_time <=", value, "expectedEffectiveTime");
return (Criteria) this;
}
public Criteria andExpectedEffectiveTimeIn(List<Date> values) {
addCriterion("expected_effective_time in", values, "expectedEffectiveTime");
return (Criteria) this;
}
public Criteria andExpectedEffectiveTimeNotIn(List<Date> values) {
addCriterion("expected_effective_time not in", values, "expectedEffectiveTime");
return (Criteria) this;
}
public Criteria andExpectedEffectiveTimeBetween(Date value1, Date value2) {
addCriterion("expected_effective_time between", value1, value2, "expectedEffectiveTime");
return (Criteria) this;
}
public Criteria andExpectedEffectiveTimeNotBetween(Date value1, Date value2) {
addCriterion("expected_effective_time not between", value1, value2, "expectedEffectiveTime");
return (Criteria) this;
}
public Criteria andRealEffectiveTimeIsNull() {
addCriterion("real_effective_time is null");
return (Criteria) this;
}
public Criteria andRealEffectiveTimeIsNotNull() {
addCriterion("real_effective_time is not null");
return (Criteria) this;
}
public Criteria andRealEffectiveTimeEqualTo(Date value) {
addCriterion("real_effective_time =", value, "realEffectiveTime");
return (Criteria) this;
}
public Criteria andRealEffectiveTimeNotEqualTo(Date value) {
addCriterion("real_effective_time <>", value, "realEffectiveTime");
return (Criteria) this;
}
public Criteria andRealEffectiveTimeGreaterThan(Date value) {
addCriterion("real_effective_time >", value, "realEffectiveTime");
return (Criteria) this;
}
public Criteria andRealEffectiveTimeGreaterThanOrEqualTo(Date value) {
addCriterion("real_effective_time >=", value, "realEffectiveTime");
return (Criteria) this;
}
public Criteria andRealEffectiveTimeLessThan(Date value) {
addCriterion("real_effective_time <", value, "realEffectiveTime");
return (Criteria) this;
}
public Criteria andRealEffectiveTimeLessThanOrEqualTo(Date value) {
addCriterion("real_effective_time <=", value, "realEffectiveTime");
return (Criteria) this;
}
public Criteria andRealEffectiveTimeIn(List<Date> values) {
addCriterion("real_effective_time in", values, "realEffectiveTime");
return (Criteria) this;
}
public Criteria andRealEffectiveTimeNotIn(List<Date> values) {
addCriterion("real_effective_time not in", values, "realEffectiveTime");
return (Criteria) this;
}
public Criteria andRealEffectiveTimeBetween(Date value1, Date value2) {
addCriterion("real_effective_time between", value1, value2, "realEffectiveTime");
return (Criteria) this;
}
public Criteria andRealEffectiveTimeNotBetween(Date value1, Date value2) {
addCriterion("real_effective_time not between", value1, value2, "realEffectiveTime");
return (Criteria) this;
}
public Criteria andInsurancePdfIsNull() {
addCriterion("insurance_pdf is null");
return (Criteria) this;
}
public Criteria andInsurancePdfIsNotNull() {
addCriterion("insurance_pdf is not null");
return (Criteria) this;
}
public Criteria andInsurancePdfEqualTo(String value) {
addCriterion("insurance_pdf =", value, "insurancePdf");
return (Criteria) this;
}
public Criteria andInsurancePdfNotEqualTo(String value) {
addCriterion("insurance_pdf <>", value, "insurancePdf");
return (Criteria) this;
}
public Criteria andInsurancePdfGreaterThan(String value) {
addCriterion("insurance_pdf >", value, "insurancePdf");
return (Criteria) this;
}
public Criteria andInsurancePdfGreaterThanOrEqualTo(String value) {
addCriterion("insurance_pdf >=", value, "insurancePdf");
return (Criteria) this;
}
public Criteria andInsurancePdfLessThan(String value) {
addCriterion("insurance_pdf <", value, "insurancePdf");
return (Criteria) this;
}
public Criteria andInsurancePdfLessThanOrEqualTo(String value) {
addCriterion("insurance_pdf <=", value, "insurancePdf");
return (Criteria) this;
}
public Criteria andInsurancePdfLike(String value) {
addCriterion("insurance_pdf like", value, "insurancePdf");
return (Criteria) this;
}
public Criteria andInsurancePdfNotLike(String value) {
addCriterion("insurance_pdf not like", value, "insurancePdf");
return (Criteria) this;
}
public Criteria andInsurancePdfIn(List<String> values) {
addCriterion("insurance_pdf in", values, "insurancePdf");
return (Criteria) this;
}
public Criteria andInsurancePdfNotIn(List<String> values) {
addCriterion("insurance_pdf not in", values, "insurancePdf");
return (Criteria) this;
}
public Criteria andInsurancePdfBetween(String value1, String value2) {
addCriterion("insurance_pdf between", value1, value2, "insurancePdf");
return (Criteria) this;
}
public Criteria andInsurancePdfNotBetween(String value1, String value2) {
addCriterion("insurance_pdf not between", value1, value2, "insurancePdf");
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 andUpdateTimeIsNull() {
addCriterion("update_time is null");
return (Criteria) this;
}
public Criteria andUpdateTimeIsNotNull() {
addCriterion("update_time is not null");
return (Criteria) this;
}
public Criteria andUpdateTimeEqualTo(Date value) {
addCriterion("update_time =", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotEqualTo(Date value) {
addCriterion("update_time <>", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThan(Date value) {
addCriterion("update_time >", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
addCriterion("update_time >=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThan(Date value) {
addCriterion("update_time <", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
addCriterion("update_time <=", value, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeIn(List<Date> values) {
addCriterion("update_time in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotIn(List<Date> values) {
addCriterion("update_time not in", values, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
addCriterion("update_time between", value1, value2, "updateTime");
return (Criteria) this;
}
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
addCriterion("update_time not between", value1, value2, "updateTime");
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(Integer value) {
addCriterion("create_by =", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByNotEqualTo(Integer value) {
addCriterion("create_by <>", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByGreaterThan(Integer value) {
addCriterion("create_by >", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByGreaterThanOrEqualTo(Integer value) {
addCriterion("create_by >=", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByLessThan(Integer value) {
addCriterion("create_by <", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByLessThanOrEqualTo(Integer value) {
addCriterion("create_by <=", value, "createBy");
return (Criteria) this;
}
public Criteria andCreateByIn(List<Integer> values) {
addCriterion("create_by in", values, "createBy");
return (Criteria) this;
}
public Criteria andCreateByNotIn(List<Integer> values) {
addCriterion("create_by not in", values, "createBy");
return (Criteria) this;
}
public Criteria andCreateByBetween(Integer value1, Integer value2) {
addCriterion("create_by between", value1, value2, "createBy");
return (Criteria) this;
}
public Criteria andCreateByNotBetween(Integer value1, Integer value2) {
addCriterion("create_by not between", value1, value2, "createBy");
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(Integer value) {
addCriterion("update_by =", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByNotEqualTo(Integer value) {
addCriterion("update_by <>", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByGreaterThan(Integer value) {
addCriterion("update_by >", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByGreaterThanOrEqualTo(Integer value) {
addCriterion("update_by >=", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByLessThan(Integer value) {
addCriterion("update_by <", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByLessThanOrEqualTo(Integer value) {
addCriterion("update_by <=", value, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByIn(List<Integer> values) {
addCriterion("update_by in", values, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByNotIn(List<Integer> values) {
addCriterion("update_by not in", values, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByBetween(Integer value1, Integer value2) {
addCriterion("update_by between", value1, value2, "updateBy");
return (Criteria) this;
}
public Criteria andUpdateByNotBetween(Integer value1, Integer value2) {
addCriterion("update_by not between", value1, value2, "updateBy");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
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);
}
}
}
\ No newline at end of file \ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glsx.ordercenter.mapper.insurance.SysInsuranceDataMapper">
<resultMap id="BaseResultMap" type="com.glsx.ordercenter.pojo.insurance.SysInsuranceData">
<!--@mbg.generated-->
<!--@Table sys_insurance_data-->
<id column="data_id" jdbcType="INTEGER" property="dataId"/>
<result column="policy_id" jdbcType="INTEGER" property="policyId"/>
<result column="response_data" jdbcType="LONGVARCHAR" property="responseData"/>
</resultMap>
<sql id="Example_Where_Clause">
<!--@mbg.generated-->
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and
#{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem"
open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause">
<!--@mbg.generated-->
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and
#{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem"
open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List">
<!--@mbg.generated-->
data_id, policy_id, response_data
</sql>
<select id="selectByExample"
parameterType="com.glsx.ordercenter.pojo.insurance.SysInsuranceDataExample"
resultMap="BaseResultMap">
<!--@mbg.generated-->
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List"/>
from sys_insurance_data
<if test="_parameter != null">
<include refid="Example_Where_Clause"/>
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
<!--@mbg.generated-->
select
<include refid="Base_Column_List"/>
from sys_insurance_data
where data_id = #{dataId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
<!--@mbg.generated-->
delete from sys_insurance_data
where data_id = #{dataId,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample"
parameterType="com.glsx.ordercenter.pojo.insurance.SysInsuranceDataExample">
<!--@mbg.generated-->
delete from sys_insurance_data
<if test="_parameter != null">
<include refid="Example_Where_Clause"/>
</if>
</delete>
<insert id="insert" keyColumn="data_id" keyProperty="dataId"
parameterType="com.glsx.ordercenter.pojo.insurance.SysInsuranceData"
useGeneratedKeys="true">
<!--@mbg.generated-->
insert into sys_insurance_data (policy_id, response_data)
values (#{policyId,jdbcType=INTEGER}, #{responseData,jdbcType=LONGVARCHAR})
</insert>
<insert id="insertSelective" keyColumn="data_id" keyProperty="dataId"
parameterType="com.glsx.ordercenter.pojo.insurance.SysInsuranceData"
useGeneratedKeys="true">
<!--@mbg.generated-->
insert into sys_insurance_data
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="policyId != null">
policy_id,
</if>
<if test="responseData != null">
response_data,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="policyId != null">
#{policyId,jdbcType=INTEGER},
</if>
<if test="responseData != null">
#{responseData,jdbcType=LONGVARCHAR},
</if>
</trim>
</insert>
<select id="countByExample"
parameterType="com.glsx.ordercenter.pojo.insurance.SysInsuranceDataExample"
resultType="java.lang.Long">
<!--@mbg.generated-->
select count(*) from sys_insurance_data
<if test="_parameter != null">
<include refid="Example_Where_Clause"/>
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
<!--@mbg.generated-->
update sys_insurance_data
<set>
<if test="record.dataId != null">
data_id = #{record.dataId,jdbcType=INTEGER},
</if>
<if test="record.policyId != null">
policy_id = #{record.policyId,jdbcType=INTEGER},
</if>
<if test="record.responseData != null">
response_data = #{record.responseData,jdbcType=LONGVARCHAR},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause"/>
</if>
</update>
<update id="updateByExample" parameterType="map">
<!--@mbg.generated-->
update sys_insurance_data
set data_id = #{record.dataId,jdbcType=INTEGER},
policy_id = #{record.policyId,jdbcType=INTEGER},
response_data = #{record.responseData,jdbcType=LONGVARCHAR}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause"/>
</if>
</update>
<update id="updateByPrimaryKeySelective"
parameterType="com.glsx.ordercenter.pojo.insurance.SysInsuranceData">
<!--@mbg.generated-->
update sys_insurance_data
<set>
<if test="policyId != null">
policy_id = #{policyId,jdbcType=INTEGER},
</if>
<if test="responseData != null">
response_data = #{responseData,jdbcType=LONGVARCHAR},
</if>
</set>
where data_id = #{dataId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey"
parameterType="com.glsx.ordercenter.pojo.insurance.SysInsuranceData">
<!--@mbg.generated-->
update sys_insurance_data
set policy_id = #{policyId,jdbcType=INTEGER},
response_data = #{responseData,jdbcType=LONGVARCHAR}
where data_id = #{dataId,jdbcType=INTEGER}
</update>
</mapper>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glsx.ordercenter.mapper.insurance.SysInsurancePolicyMapper">
<resultMap id="BaseResultMap" type="com.glsx.ordercenter.pojo.insurance.SysInsurancePolicy">
<!--@mbg.generated-->
<!--@Table sys_insurance_policy-->
<id column="id" jdbcType="INTEGER" property="id"/>
<result column="insurance_id" jdbcType="VARCHAR" property="insuranceId"/>
<result column="source" jdbcType="TINYINT" property="source"/>
<result column="status" jdbcType="TINYINT" property="status"/>
<result column="insurance_no" jdbcType="VARCHAR" property="insuranceNo"/>
<result column="insurance_seq_no" jdbcType="VARCHAR" property="insuranceSeqNo"/>
<result column="insurance_company" jdbcType="VARCHAR" property="insuranceCompany"/>
<result column="gps_no" jdbcType="VARCHAR" property="gpsNo"/>
<result column="installation_time" jdbcType="TIMESTAMP" property="installationTime"/>
<result column="vin" jdbcType="VARCHAR" property="vin"/>
<result column="vehicle_no" jdbcType="VARCHAR" property="vehicleNo"/>
<result column="engine_number" jdbcType="VARCHAR" property="engineNumber"/>
<result column="car_brand" jdbcType="VARCHAR" property="carBrand"/>
<result column="vehicle_type" jdbcType="TINYINT" property="vehicleType"/>
<result column="vehicle_owner_name" jdbcType="VARCHAR" property="vehicleOwnerName"/>
<result column="phone" jdbcType="VARCHAR" property="phone"/>
<result column="vehicle_owner_address" jdbcType="VARCHAR" property="vehicleOwnerAddress"/>
<result column="customer_type" jdbcType="TINYINT" property="customerType"/>
<result column="id_card_type" jdbcType="TINYINT" property="idCardType"/>
<result column="id_card_num" jdbcType="VARCHAR" property="idCardNum"/>
<result column="insurance_commodity" jdbcType="BOOLEAN" property="insuranceCommodity"/>
<result column="pilfer_insurance_money" jdbcType="DECIMAL" property="pilferInsuranceMoney"/>
<result column="insurance_period" jdbcType="INTEGER" property="insurancePeriod"/>
<result column="vehicle_color" jdbcType="VARCHAR" property="vehicleColor"/>
<result column="vehicle_invoice_money" jdbcType="DECIMAL" property="vehicleInvoiceMoney"/>
<result column="tasting_unit" jdbcType="VARCHAR" property="tastingUnit"/>
<result column="remark" jdbcType="VARCHAR" property="remark"/>
<result column="expected_effective_time" jdbcType="TIMESTAMP"
property="expectedEffectiveTime"/>
<result column="real_effective_time" jdbcType="TIMESTAMP" property="realEffectiveTime"/>
<result column="insurance_pdf" jdbcType="VARCHAR" property="insurancePdf"/>
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
<result column="create_by" jdbcType="INTEGER" property="createBy"/>
<result column="update_by" jdbcType="INTEGER" property="updateBy"/>
<result column="response_data" jdbcType="VARCHAR" property="responseData"/>
</resultMap>
<sql id="Example_Where_Clause">
<!--@mbg.generated-->
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and
#{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem"
open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause">
<!--@mbg.generated-->
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and
#{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem"
open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List">
<!--@mbg.generated-->
sys_insurance_policy.id id, insurance_id, `source`, `status`, insurance_no, insurance_seq_no,
insurance_company,
gps_no, installation_time, vin, vehicle_no, engine_number, car_brand, vehicle_type,
vehicle_owner_name, phone, vehicle_owner_address, customer_type, id_card_type, id_card_num,
insurance_commodity, pilfer_insurance_money, insurance_period, vehicle_color,
vehicle_invoice_money,
tasting_unit, remark, expected_effective_time, real_effective_time, insurance_pdf,
create_time, update_time, create_by, update_by, response_data
</sql>
<sql id="joinClause">
JOIN sys_insurance_data ON sys_insurance_policy.id = sys_insurance_data.policy_id
</sql>
<select id="selectCount"
parameterType="com.glsx.ordercenter.pojo.insurance.SysInsurancePolicyExample"
resultType="java.lang.Long">
select
<if test="distinct">
distinct
</if>
count(0)
FROM sys_insurance_policy
<include refid="joinClause"/>
<if test="_parameter != null">
<include refid="Example_Where_Clause"/>
</if>
</select>
<select id="selectByExample"
parameterType="com.glsx.ordercenter.pojo.insurance.SysInsurancePolicyExample"
resultMap="BaseResultMap">
<!--@mbg.generated-->
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List"/>
from sys_insurance_policy
<include refid="joinClause"/>
<if test="_parameter != null">
<include refid="Example_Where_Clause"/>
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
<!--@mbg.generated-->
select
<include refid="Base_Column_List"/>
from sys_insurance_policy
<include refid="joinClause"/>
where data_id = #{id,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
<!--@mbg.generated-->
delete from sys_insurance_policy
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample"
parameterType="com.glsx.ordercenter.pojo.insurance.SysInsurancePolicyExample">
<!--@mbg.generated-->
delete from sys_insurance_policy
<if test="_parameter != null">
<include refid="Example_Where_Clause"/>
</if>
</delete>
<insert id="insert" keyColumn="id" keyProperty="id"
parameterType="com.glsx.ordercenter.pojo.insurance.SysInsurancePolicy"
useGeneratedKeys="true">
<!--@mbg.generated-->
insert into sys_insurance_policy (insurance_id, `source`, `status`,
insurance_no, insurance_seq_no, insurance_company,
gps_no, installation_time, vin,
vehicle_no, engine_number, car_brand,
vehicle_type, vehicle_owner_name, phone,
vehicle_owner_address, customer_type, id_card_type,
id_card_num, insurance_commodity, pilfer_insurance_money,
insurance_period, vehicle_color, vehicle_invoice_money,
tasting_unit, remark, expected_effective_time,
real_effective_time, insurance_pdf, create_time,
update_time, create_by, update_by
)
values (#{insuranceId,jdbcType=VARCHAR}, #{source,jdbcType=TINYINT},
#{status,jdbcType=TINYINT},
#{insuranceNo,jdbcType=VARCHAR}, #{insuranceSeqNo,jdbcType=VARCHAR},
#{insuranceCompany,jdbcType=VARCHAR},
#{gpsNo,jdbcType=VARCHAR}, #{installationTime,jdbcType=TIMESTAMP}, #{vin,jdbcType=VARCHAR},
#{vehicleNo,jdbcType=VARCHAR}, #{engineNumber,jdbcType=VARCHAR},
#{carBrand,jdbcType=VARCHAR},
#{vehicleType,jdbcType=TINYINT}, #{vehicleOwnerName,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR},
#{vehicleOwnerAddress,jdbcType=VARCHAR}, #{customerType,jdbcType=TINYINT},
#{idCardType,jdbcType=TINYINT},
#{idCardNum,jdbcType=VARCHAR}, #{insuranceCommodity,jdbcType=BOOLEAN},
#{pilferInsuranceMoney,jdbcType=DECIMAL},
#{insurancePeriod,jdbcType=INTEGER}, #{vehicleColor,jdbcType=VARCHAR},
#{vehicleInvoiceMoney,jdbcType=DECIMAL},
#{tastingUnit,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
#{expectedEffectiveTime,jdbcType=TIMESTAMP},
#{realEffectiveTime,jdbcType=TIMESTAMP}, #{insurancePdf,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{createBy,jdbcType=INTEGER}, #{updateBy,jdbcType=INTEGER}
)
</insert>
<insert id="insertSelective" keyColumn="id" keyProperty="id"
parameterType="com.glsx.ordercenter.pojo.insurance.SysInsurancePolicy"
useGeneratedKeys="true">
<!--@mbg.generated-->
insert into sys_insurance_policy
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="insuranceId != null">
insurance_id,
</if>
<if test="source != null">
`source`,
</if>
<if test="status != null">
`status`,
</if>
<if test="insuranceNo != null">
insurance_no,
</if>
<if test="insuranceSeqNo != null">
insurance_seq_no,
</if>
<if test="insuranceCompany != null">
insurance_company,
</if>
<if test="gpsNo != null">
gps_no,
</if>
<if test="installationTime != null">
installation_time,
</if>
<if test="vin != null">
vin,
</if>
<if test="vehicleNo != null">
vehicle_no,
</if>
<if test="engineNumber != null">
engine_number,
</if>
<if test="carBrand != null">
car_brand,
</if>
<if test="vehicleType != null">
vehicle_type,
</if>
<if test="vehicleOwnerName != null">
vehicle_owner_name,
</if>
<if test="phone != null">
phone,
</if>
<if test="vehicleOwnerAddress != null">
vehicle_owner_address,
</if>
<if test="customerType != null">
customer_type,
</if>
<if test="idCardType != null">
id_card_type,
</if>
<if test="idCardNum != null">
id_card_num,
</if>
<if test="insuranceCommodity != null">
insurance_commodity,
</if>
<if test="pilferInsuranceMoney != null">
pilfer_insurance_money,
</if>
<if test="insurancePeriod != null">
insurance_period,
</if>
<if test="vehicleColor != null">
vehicle_color,
</if>
<if test="vehicleInvoiceMoney != null">
vehicle_invoice_money,
</if>
<if test="tastingUnit != null">
tasting_unit,
</if>
<if test="remark != null">
remark,
</if>
<if test="expectedEffectiveTime != null">
expected_effective_time,
</if>
<if test="realEffectiveTime != null">
real_effective_time,
</if>
<if test="insurancePdf != null">
insurance_pdf,
</if>
<if test="createTime != null">
create_time,
</if>
<if test="updateTime != null">
update_time,
</if>
<if test="createBy != null">
create_by,
</if>
<if test="updateBy != null">
update_by,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="insuranceId != null">
#{insuranceId,jdbcType=VARCHAR},
</if>
<if test="source != null">
#{source,jdbcType=TINYINT},
</if>
<if test="status != null">
#{status,jdbcType=TINYINT},
</if>
<if test="insuranceNo != null">
#{insuranceNo,jdbcType=VARCHAR},
</if>
<if test="insuranceSeqNo != null">
#{insuranceSeqNo,jdbcType=VARCHAR},
</if>
<if test="insuranceCompany != null">
#{insuranceCompany,jdbcType=VARCHAR},
</if>
<if test="gpsNo != null">
#{gpsNo,jdbcType=VARCHAR},
</if>
<if test="installationTime != null">
#{installationTime,jdbcType=TIMESTAMP},
</if>
<if test="vin != null">
#{vin,jdbcType=VARCHAR},
</if>
<if test="vehicleNo != null">
#{vehicleNo,jdbcType=VARCHAR},
</if>
<if test="engineNumber != null">
#{engineNumber,jdbcType=VARCHAR},
</if>
<if test="carBrand != null">
#{carBrand,jdbcType=VARCHAR},
</if>
<if test="vehicleType != null">
#{vehicleType,jdbcType=TINYINT},
</if>
<if test="vehicleOwnerName != null">
#{vehicleOwnerName,jdbcType=VARCHAR},
</if>
<if test="phone != null">
#{phone,jdbcType=VARCHAR},
</if>
<if test="vehicleOwnerAddress != null">
#{vehicleOwnerAddress,jdbcType=VARCHAR},
</if>
<if test="customerType != null">
#{customerType,jdbcType=TINYINT},
</if>
<if test="idCardType != null">
#{idCardType,jdbcType=TINYINT},
</if>
<if test="idCardNum != null">
#{idCardNum,jdbcType=VARCHAR},
</if>
<if test="insuranceCommodity != null">
#{insuranceCommodity,jdbcType=BOOLEAN},
</if>
<if test="pilferInsuranceMoney != null">
#{pilferInsuranceMoney,jdbcType=DECIMAL},
</if>
<if test="insurancePeriod != null">
#{insurancePeriod,jdbcType=INTEGER},
</if>
<if test="vehicleColor != null">
#{vehicleColor,jdbcType=VARCHAR},
</if>
<if test="vehicleInvoiceMoney != null">
#{vehicleInvoiceMoney,jdbcType=DECIMAL},
</if>
<if test="tastingUnit != null">
#{tastingUnit,jdbcType=VARCHAR},
</if>
<if test="remark != null">
#{remark,jdbcType=VARCHAR},
</if>
<if test="expectedEffectiveTime != null">
#{expectedEffectiveTime,jdbcType=TIMESTAMP},
</if>
<if test="realEffectiveTime != null">
#{realEffectiveTime,jdbcType=TIMESTAMP},
</if>
<if test="insurancePdf != null">
#{insurancePdf,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null">
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="createBy != null">
#{createBy,jdbcType=INTEGER},
</if>
<if test="updateBy != null">
#{updateBy,jdbcType=INTEGER},
</if>
</trim>
</insert>
<select id="countByExample"
parameterType="com.glsx.ordercenter.pojo.insurance.SysInsurancePolicyExample"
resultType="java.lang.Long">
<!--@mbg.generated-->
select count(*) from sys_insurance_policy
<if test="_parameter != null">
<include refid="Example_Where_Clause"/>
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
<!--@mbg.generated-->
update sys_insurance_policy
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=INTEGER},
</if>
<if test="record.insuranceId != null">
insurance_id = #{record.insuranceId,jdbcType=VARCHAR},
</if>
<if test="record.source != null">
`source` = #{record.source,jdbcType=TINYINT},
</if>
<if test="record.status != null">
`status` = #{record.status,jdbcType=TINYINT},
</if>
<if test="record.insuranceNo != null">
insurance_no = #{record.insuranceNo,jdbcType=VARCHAR},
</if>
<if test="record.insuranceSeqNo != null">
insurance_seq_no = #{record.insuranceSeqNo,jdbcType=VARCHAR},
</if>
<if test="record.insuranceCompany != null">
insurance_company = #{record.insuranceCompany,jdbcType=VARCHAR},
</if>
<if test="record.gpsNo != null">
gps_no = #{record.gpsNo,jdbcType=VARCHAR},
</if>
<if test="record.installationTime != null">
installation_time = #{record.installationTime,jdbcType=TIMESTAMP},
</if>
<if test="record.vin != null">
vin = #{record.vin,jdbcType=VARCHAR},
</if>
<if test="record.vehicleNo != null">
vehicle_no = #{record.vehicleNo,jdbcType=VARCHAR},
</if>
<if test="record.engineNumber != null">
engine_number = #{record.engineNumber,jdbcType=VARCHAR},
</if>
<if test="record.carBrand != null">
car_brand = #{record.carBrand,jdbcType=VARCHAR},
</if>
<if test="record.vehicleType != null">
vehicle_type = #{record.vehicleType,jdbcType=TINYINT},
</if>
<if test="record.vehicleOwnerName != null">
vehicle_owner_name = #{record.vehicleOwnerName,jdbcType=VARCHAR},
</if>
<if test="record.phone != null">
phone = #{record.phone,jdbcType=VARCHAR},
</if>
<if test="record.vehicleOwnerAddress != null">
vehicle_owner_address = #{record.vehicleOwnerAddress,jdbcType=VARCHAR},
</if>
<if test="record.customerType != null">
customer_type = #{record.customerType,jdbcType=TINYINT},
</if>
<if test="record.idCardType != null">
id_card_type = #{record.idCardType,jdbcType=TINYINT},
</if>
<if test="record.idCardNum != null">
id_card_num = #{record.idCardNum,jdbcType=VARCHAR},
</if>
<if test="record.insuranceCommodity != null">
insurance_commodity = #{record.insuranceCommodity,jdbcType=BOOLEAN},
</if>
<if test="record.pilferInsuranceMoney != null">
pilfer_insurance_money = #{record.pilferInsuranceMoney,jdbcType=DECIMAL},
</if>
<if test="record.insurancePeriod != null">
insurance_period = #{record.insurancePeriod,jdbcType=INTEGER},
</if>
<if test="record.vehicleColor != null">
vehicle_color = #{record.vehicleColor,jdbcType=VARCHAR},
</if>
<if test="record.vehicleInvoiceMoney != null">
vehicle_invoice_money = #{record.vehicleInvoiceMoney,jdbcType=DECIMAL},
</if>
<if test="record.tastingUnit != null">
tasting_unit = #{record.tastingUnit,jdbcType=VARCHAR},
</if>
<if test="record.remark != null">
remark = #{record.remark,jdbcType=VARCHAR},
</if>
<if test="record.expectedEffectiveTime != null">
expected_effective_time = #{record.expectedEffectiveTime,jdbcType=TIMESTAMP},
</if>
<if test="record.realEffectiveTime != null">
real_effective_time = #{record.realEffectiveTime,jdbcType=TIMESTAMP},
</if>
<if test="record.insurancePdf != null">
insurance_pdf = #{record.insurancePdf,jdbcType=VARCHAR},
</if>
<if test="record.createTime != null">
create_time = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if test="record.updateTime != null">
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if test="record.createBy != null">
create_by = #{record.createBy,jdbcType=INTEGER},
</if>
<if test="record.updateBy != null">
update_by = #{record.updateBy,jdbcType=INTEGER},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause"/>
</if>
</update>
<update id="updateByExample" parameterType="map">
<!--@mbg.generated-->
update sys_insurance_policy
set id = #{record.id,jdbcType=INTEGER},
insurance_id = #{record.insuranceId,jdbcType=VARCHAR},
`source` = #{record.source,jdbcType=TINYINT},
`status` = #{record.status,jdbcType=TINYINT},
insurance_no = #{record.insuranceNo,jdbcType=VARCHAR},
insurance_seq_no = #{record.insuranceSeqNo,jdbcType=VARCHAR},
insurance_company = #{record.insuranceCompany,jdbcType=VARCHAR},
gps_no = #{record.gpsNo,jdbcType=VARCHAR},
installation_time = #{record.installationTime,jdbcType=TIMESTAMP},
vin = #{record.vin,jdbcType=VARCHAR},
vehicle_no = #{record.vehicleNo,jdbcType=VARCHAR},
engine_number = #{record.engineNumber,jdbcType=VARCHAR},
car_brand = #{record.carBrand,jdbcType=VARCHAR},
vehicle_type = #{record.vehicleType,jdbcType=TINYINT},
vehicle_owner_name = #{record.vehicleOwnerName,jdbcType=VARCHAR},
phone = #{record.phone,jdbcType=VARCHAR},
vehicle_owner_address = #{record.vehicleOwnerAddress,jdbcType=VARCHAR},
customer_type = #{record.customerType,jdbcType=TINYINT},
id_card_type = #{record.idCardType,jdbcType=TINYINT},
id_card_num = #{record.idCardNum,jdbcType=VARCHAR},
insurance_commodity = #{record.insuranceCommodity,jdbcType=BOOLEAN},
pilfer_insurance_money = #{record.pilferInsuranceMoney,jdbcType=DECIMAL},
insurance_period = #{record.insurancePeriod,jdbcType=INTEGER},
vehicle_color = #{record.vehicleColor,jdbcType=VARCHAR},
vehicle_invoice_money = #{record.vehicleInvoiceMoney,jdbcType=DECIMAL},
tasting_unit = #{record.tastingUnit,jdbcType=VARCHAR},
remark = #{record.remark,jdbcType=VARCHAR},
expected_effective_time = #{record.expectedEffectiveTime,jdbcType=TIMESTAMP},
real_effective_time = #{record.realEffectiveTime,jdbcType=TIMESTAMP},
insurance_pdf = #{record.insurancePdf,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
create_by = #{record.createBy,jdbcType=INTEGER},
update_by = #{record.updateBy,jdbcType=INTEGER}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause"/>
</if>
</update>
<update id="updateByPrimaryKeySelective"
parameterType="com.glsx.ordercenter.pojo.insurance.SysInsurancePolicy">
<!--@mbg.generated-->
update sys_insurance_policy
<set>
<if test="insuranceId != null">
insurance_id = #{insuranceId,jdbcType=VARCHAR},
</if>
<if test="source != null">
`source` = #{source,jdbcType=TINYINT},
</if>
<if test="status != null">
`status` = #{status,jdbcType=TINYINT},
</if>
<if test="insuranceNo != null">
insurance_no = #{insuranceNo,jdbcType=VARCHAR},
</if>
<if test="insuranceSeqNo != null">
insurance_seq_no = #{insuranceSeqNo,jdbcType=VARCHAR},
</if>
<if test="insuranceCompany != null">
insurance_company = #{insuranceCompany,jdbcType=VARCHAR},
</if>
<if test="gpsNo != null">
gps_no = #{gpsNo,jdbcType=VARCHAR},
</if>
<if test="installationTime != null">
installation_time = #{installationTime,jdbcType=TIMESTAMP},
</if>
<if test="vin != null">
vin = #{vin,jdbcType=VARCHAR},
</if>
<if test="vehicleNo != null">
vehicle_no = #{vehicleNo,jdbcType=VARCHAR},
</if>
<if test="engineNumber != null">
engine_number = #{engineNumber,jdbcType=VARCHAR},
</if>
<if test="carBrand != null">
car_brand = #{carBrand,jdbcType=VARCHAR},
</if>
<if test="vehicleType != null">
vehicle_type = #{vehicleType,jdbcType=TINYINT},
</if>
<if test="vehicleOwnerName != null">
vehicle_owner_name = #{vehicleOwnerName,jdbcType=VARCHAR},
</if>
<if test="phone != null">
phone = #{phone,jdbcType=VARCHAR},
</if>
<if test="vehicleOwnerAddress != null">
vehicle_owner_address = #{vehicleOwnerAddress,jdbcType=VARCHAR},
</if>
<if test="customerType != null">
customer_type = #{customerType,jdbcType=TINYINT},
</if>
<if test="idCardType != null">
id_card_type = #{idCardType,jdbcType=TINYINT},
</if>
<if test="idCardNum != null">
id_card_num = #{idCardNum,jdbcType=VARCHAR},
</if>
<if test="insuranceCommodity != null">
insurance_commodity = #{insuranceCommodity,jdbcType=BOOLEAN},
</if>
<if test="pilferInsuranceMoney != null">
pilfer_insurance_money = #{pilferInsuranceMoney,jdbcType=DECIMAL},
</if>
<if test="insurancePeriod != null">
insurance_period = #{insurancePeriod,jdbcType=INTEGER},
</if>
<if test="vehicleColor != null">
vehicle_color = #{vehicleColor,jdbcType=VARCHAR},
</if>
<if test="vehicleInvoiceMoney != null">
vehicle_invoice_money = #{vehicleInvoiceMoney,jdbcType=DECIMAL},
</if>
<if test="tastingUnit != null">
tasting_unit = #{tastingUnit,jdbcType=VARCHAR},
</if>
<if test="remark != null">
remark = #{remark,jdbcType=VARCHAR},
</if>
<if test="expectedEffectiveTime != null">
expected_effective_time = #{expectedEffectiveTime,jdbcType=TIMESTAMP},
</if>
<if test="realEffectiveTime != null">
real_effective_time = #{realEffectiveTime,jdbcType=TIMESTAMP},
</if>
<if test="insurancePdf != null">
insurance_pdf = #{insurancePdf,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=TIMESTAMP},
</if>
<if test="updateTime != null">
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if test="createBy != null">
create_by = #{createBy,jdbcType=INTEGER},
</if>
<if test="updateBy != null">
update_by = #{updateBy,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey"
parameterType="com.glsx.ordercenter.pojo.insurance.SysInsurancePolicy">
<!--@mbg.generated-->
update sys_insurance_policy
set insurance_id = #{insuranceId,jdbcType=VARCHAR},
`source` = #{source,jdbcType=TINYINT},
`status` = #{status,jdbcType=TINYINT},
insurance_no = #{insuranceNo,jdbcType=VARCHAR},
insurance_seq_no = #{insuranceSeqNo,jdbcType=VARCHAR},
insurance_company = #{insuranceCompany,jdbcType=VARCHAR},
gps_no = #{gpsNo,jdbcType=VARCHAR},
installation_time = #{installationTime,jdbcType=TIMESTAMP},
vin = #{vin,jdbcType=VARCHAR},
vehicle_no = #{vehicleNo,jdbcType=VARCHAR},
engine_number = #{engineNumber,jdbcType=VARCHAR},
car_brand = #{carBrand,jdbcType=VARCHAR},
vehicle_type = #{vehicleType,jdbcType=TINYINT},
vehicle_owner_name = #{vehicleOwnerName,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
vehicle_owner_address = #{vehicleOwnerAddress,jdbcType=VARCHAR},
customer_type = #{customerType,jdbcType=TINYINT},
id_card_type = #{idCardType,jdbcType=TINYINT},
id_card_num = #{idCardNum,jdbcType=VARCHAR},
insurance_commodity = #{insuranceCommodity,jdbcType=BOOLEAN},
pilfer_insurance_money = #{pilferInsuranceMoney,jdbcType=DECIMAL},
insurance_period = #{insurancePeriod,jdbcType=INTEGER},
vehicle_color = #{vehicleColor,jdbcType=VARCHAR},
vehicle_invoice_money = #{vehicleInvoiceMoney,jdbcType=DECIMAL},
tasting_unit = #{tastingUnit,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
expected_effective_time = #{expectedEffectiveTime,jdbcType=TIMESTAMP},
real_effective_time = #{realEffectiveTime,jdbcType=TIMESTAMP},
insurance_pdf = #{insurancePdf,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
create_by = #{createBy,jdbcType=INTEGER},
update_by = #{updateBy,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
</mapper>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!