diff --git a/hai-service/src/main/java/com/hai/dao/ApiBlxOrderMapper.java b/hai-service/src/main/java/com/hai/dao/ApiBlxOrderMapper.java new file mode 100644 index 00000000..9e46309e --- /dev/null +++ b/hai-service/src/main/java/com/hai/dao/ApiBlxOrderMapper.java @@ -0,0 +1,169 @@ +package com.hai.dao; + +import com.hai.entity.ApiBlxOrder; +import com.hai.entity.ApiBlxOrderExample; +import java.util.List; +import org.apache.ibatis.annotations.Delete; +import org.apache.ibatis.annotations.DeleteProvider; +import org.apache.ibatis.annotations.Insert; +import org.apache.ibatis.annotations.InsertProvider; +import org.apache.ibatis.annotations.Options; +import org.apache.ibatis.annotations.Param; +import org.apache.ibatis.annotations.Result; +import org.apache.ibatis.annotations.Results; +import org.apache.ibatis.annotations.Select; +import org.apache.ibatis.annotations.SelectProvider; +import org.apache.ibatis.annotations.Update; +import org.apache.ibatis.annotations.UpdateProvider; +import org.apache.ibatis.type.JdbcType; +import org.springframework.stereotype.Repository; + +/** + * + * 代码由工具生成,请勿修改!!! + * 如果需要扩展请在其父类进行扩展 + * + **/ +@Repository +public interface ApiBlxOrderMapper extends ApiBlxOrderMapperExt { + @SelectProvider(type=ApiBlxOrderSqlProvider.class, method="countByExample") + long countByExample(ApiBlxOrderExample example); + + @DeleteProvider(type=ApiBlxOrderSqlProvider.class, method="deleteByExample") + int deleteByExample(ApiBlxOrderExample example); + + @Delete({ + "delete from api_blx_order", + "where id = #{id,jdbcType=BIGINT}" + }) + int deleteByPrimaryKey(Long id); + + @Insert({ + "insert into api_blx_order (mer_id, order_id, ", + "mer_order_id, park_order_id, ", + "in_time, out_time, ", + "park_time, park_name, ", + "park_id, car_seat_id, ", + "prak_price, coupon_price, ", + "order_type, order_status, ", + "create_time, update_time, ", + "ext_1, ext_2, ext_3, ", + "ext_4, ext_5, ext_6)", + "values (#{merId,jdbcType=VARCHAR}, #{orderId,jdbcType=BIGINT}, ", + "#{merOrderId,jdbcType=VARCHAR}, #{parkOrderId,jdbcType=VARCHAR}, ", + "#{inTime,jdbcType=TIMESTAMP}, #{outTime,jdbcType=TIMESTAMP}, ", + "#{parkTime,jdbcType=INTEGER}, #{parkName,jdbcType=VARCHAR}, ", + "#{parkId,jdbcType=BIGINT}, #{carSeatId,jdbcType=BIGINT}, ", + "#{prakPrice,jdbcType=DECIMAL}, #{couponPrice,jdbcType=DECIMAL}, ", + "#{orderType,jdbcType=INTEGER}, #{orderStatus,jdbcType=INTEGER}, ", + "#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", + "#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, ", + "#{ext4,jdbcType=VARCHAR}, #{ext5,jdbcType=VARCHAR}, #{ext6,jdbcType=VARCHAR})" + }) + @Options(useGeneratedKeys=true,keyProperty="id") + int insert(ApiBlxOrder record); + + @InsertProvider(type=ApiBlxOrderSqlProvider.class, method="insertSelective") + @Options(useGeneratedKeys=true,keyProperty="id") + int insertSelective(ApiBlxOrder record); + + @SelectProvider(type=ApiBlxOrderSqlProvider.class, method="selectByExample") + @Results({ + @Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), + @Result(column="mer_id", property="merId", jdbcType=JdbcType.VARCHAR), + @Result(column="order_id", property="orderId", jdbcType=JdbcType.BIGINT), + @Result(column="mer_order_id", property="merOrderId", jdbcType=JdbcType.VARCHAR), + @Result(column="park_order_id", property="parkOrderId", jdbcType=JdbcType.VARCHAR), + @Result(column="in_time", property="inTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="out_time", property="outTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="park_time", property="parkTime", jdbcType=JdbcType.INTEGER), + @Result(column="park_name", property="parkName", jdbcType=JdbcType.VARCHAR), + @Result(column="park_id", property="parkId", jdbcType=JdbcType.BIGINT), + @Result(column="car_seat_id", property="carSeatId", jdbcType=JdbcType.BIGINT), + @Result(column="prak_price", property="prakPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="coupon_price", property="couponPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="order_type", property="orderType", jdbcType=JdbcType.INTEGER), + @Result(column="order_status", property="orderStatus", jdbcType=JdbcType.INTEGER), + @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), + @Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), + @Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR), + @Result(column="ext_4", property="ext4", jdbcType=JdbcType.VARCHAR), + @Result(column="ext_5", property="ext5", jdbcType=JdbcType.VARCHAR), + @Result(column="ext_6", property="ext6", jdbcType=JdbcType.VARCHAR) + }) + List selectByExample(ApiBlxOrderExample example); + + @Select({ + "select", + "id, mer_id, order_id, mer_order_id, park_order_id, in_time, out_time, park_time, ", + "park_name, park_id, car_seat_id, prak_price, coupon_price, order_type, order_status, ", + "create_time, update_time, ext_1, ext_2, ext_3, ext_4, ext_5, ext_6", + "from api_blx_order", + "where id = #{id,jdbcType=BIGINT}" + }) + @Results({ + @Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), + @Result(column="mer_id", property="merId", jdbcType=JdbcType.VARCHAR), + @Result(column="order_id", property="orderId", jdbcType=JdbcType.BIGINT), + @Result(column="mer_order_id", property="merOrderId", jdbcType=JdbcType.VARCHAR), + @Result(column="park_order_id", property="parkOrderId", jdbcType=JdbcType.VARCHAR), + @Result(column="in_time", property="inTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="out_time", property="outTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="park_time", property="parkTime", jdbcType=JdbcType.INTEGER), + @Result(column="park_name", property="parkName", jdbcType=JdbcType.VARCHAR), + @Result(column="park_id", property="parkId", jdbcType=JdbcType.BIGINT), + @Result(column="car_seat_id", property="carSeatId", jdbcType=JdbcType.BIGINT), + @Result(column="prak_price", property="prakPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="coupon_price", property="couponPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="order_type", property="orderType", jdbcType=JdbcType.INTEGER), + @Result(column="order_status", property="orderStatus", jdbcType=JdbcType.INTEGER), + @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), + @Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), + @Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR), + @Result(column="ext_4", property="ext4", jdbcType=JdbcType.VARCHAR), + @Result(column="ext_5", property="ext5", jdbcType=JdbcType.VARCHAR), + @Result(column="ext_6", property="ext6", jdbcType=JdbcType.VARCHAR) + }) + ApiBlxOrder selectByPrimaryKey(Long id); + + @UpdateProvider(type=ApiBlxOrderSqlProvider.class, method="updateByExampleSelective") + int updateByExampleSelective(@Param("record") ApiBlxOrder record, @Param("example") ApiBlxOrderExample example); + + @UpdateProvider(type=ApiBlxOrderSqlProvider.class, method="updateByExample") + int updateByExample(@Param("record") ApiBlxOrder record, @Param("example") ApiBlxOrderExample example); + + @UpdateProvider(type=ApiBlxOrderSqlProvider.class, method="updateByPrimaryKeySelective") + int updateByPrimaryKeySelective(ApiBlxOrder record); + + @Update({ + "update api_blx_order", + "set mer_id = #{merId,jdbcType=VARCHAR},", + "order_id = #{orderId,jdbcType=BIGINT},", + "mer_order_id = #{merOrderId,jdbcType=VARCHAR},", + "park_order_id = #{parkOrderId,jdbcType=VARCHAR},", + "in_time = #{inTime,jdbcType=TIMESTAMP},", + "out_time = #{outTime,jdbcType=TIMESTAMP},", + "park_time = #{parkTime,jdbcType=INTEGER},", + "park_name = #{parkName,jdbcType=VARCHAR},", + "park_id = #{parkId,jdbcType=BIGINT},", + "car_seat_id = #{carSeatId,jdbcType=BIGINT},", + "prak_price = #{prakPrice,jdbcType=DECIMAL},", + "coupon_price = #{couponPrice,jdbcType=DECIMAL},", + "order_type = #{orderType,jdbcType=INTEGER},", + "order_status = #{orderStatus,jdbcType=INTEGER},", + "create_time = #{createTime,jdbcType=TIMESTAMP},", + "update_time = #{updateTime,jdbcType=TIMESTAMP},", + "ext_1 = #{ext1,jdbcType=VARCHAR},", + "ext_2 = #{ext2,jdbcType=VARCHAR},", + "ext_3 = #{ext3,jdbcType=VARCHAR},", + "ext_4 = #{ext4,jdbcType=VARCHAR},", + "ext_5 = #{ext5,jdbcType=VARCHAR},", + "ext_6 = #{ext6,jdbcType=VARCHAR}", + "where id = #{id,jdbcType=BIGINT}" + }) + int updateByPrimaryKey(ApiBlxOrder record); +} \ No newline at end of file diff --git a/hai-service/src/main/java/com/hai/dao/ApiBlxOrderMapperExt.java b/hai-service/src/main/java/com/hai/dao/ApiBlxOrderMapperExt.java new file mode 100644 index 00000000..142dcf47 --- /dev/null +++ b/hai-service/src/main/java/com/hai/dao/ApiBlxOrderMapperExt.java @@ -0,0 +1,7 @@ +package com.hai.dao; + +/** + * mapper扩展类 + */ +public interface ApiBlxOrderMapperExt { +} \ No newline at end of file diff --git a/hai-service/src/main/java/com/hai/dao/ApiBlxOrderSqlProvider.java b/hai-service/src/main/java/com/hai/dao/ApiBlxOrderSqlProvider.java new file mode 100644 index 00000000..1e70959e --- /dev/null +++ b/hai-service/src/main/java/com/hai/dao/ApiBlxOrderSqlProvider.java @@ -0,0 +1,486 @@ +package com.hai.dao; + +import com.hai.entity.ApiBlxOrder; +import com.hai.entity.ApiBlxOrderExample.Criteria; +import com.hai.entity.ApiBlxOrderExample.Criterion; +import com.hai.entity.ApiBlxOrderExample; +import java.util.List; +import java.util.Map; +import org.apache.ibatis.jdbc.SQL; + +public class ApiBlxOrderSqlProvider { + + public String countByExample(ApiBlxOrderExample example) { + SQL sql = new SQL(); + sql.SELECT("count(*)").FROM("api_blx_order"); + applyWhere(sql, example, false); + return sql.toString(); + } + + public String deleteByExample(ApiBlxOrderExample example) { + SQL sql = new SQL(); + sql.DELETE_FROM("api_blx_order"); + applyWhere(sql, example, false); + return sql.toString(); + } + + public String insertSelective(ApiBlxOrder record) { + SQL sql = new SQL(); + sql.INSERT_INTO("api_blx_order"); + + if (record.getMerId() != null) { + sql.VALUES("mer_id", "#{merId,jdbcType=VARCHAR}"); + } + + if (record.getOrderId() != null) { + sql.VALUES("order_id", "#{orderId,jdbcType=BIGINT}"); + } + + if (record.getMerOrderId() != null) { + sql.VALUES("mer_order_id", "#{merOrderId,jdbcType=VARCHAR}"); + } + + if (record.getParkOrderId() != null) { + sql.VALUES("park_order_id", "#{parkOrderId,jdbcType=VARCHAR}"); + } + + if (record.getInTime() != null) { + sql.VALUES("in_time", "#{inTime,jdbcType=TIMESTAMP}"); + } + + if (record.getOutTime() != null) { + sql.VALUES("out_time", "#{outTime,jdbcType=TIMESTAMP}"); + } + + if (record.getParkTime() != null) { + sql.VALUES("park_time", "#{parkTime,jdbcType=INTEGER}"); + } + + if (record.getParkName() != null) { + sql.VALUES("park_name", "#{parkName,jdbcType=VARCHAR}"); + } + + if (record.getParkId() != null) { + sql.VALUES("park_id", "#{parkId,jdbcType=BIGINT}"); + } + + if (record.getCarSeatId() != null) { + sql.VALUES("car_seat_id", "#{carSeatId,jdbcType=BIGINT}"); + } + + if (record.getPrakPrice() != null) { + sql.VALUES("prak_price", "#{prakPrice,jdbcType=DECIMAL}"); + } + + if (record.getCouponPrice() != null) { + sql.VALUES("coupon_price", "#{couponPrice,jdbcType=DECIMAL}"); + } + + if (record.getOrderType() != null) { + sql.VALUES("order_type", "#{orderType,jdbcType=INTEGER}"); + } + + if (record.getOrderStatus() != null) { + sql.VALUES("order_status", "#{orderStatus,jdbcType=INTEGER}"); + } + + if (record.getCreateTime() != null) { + sql.VALUES("create_time", "#{createTime,jdbcType=TIMESTAMP}"); + } + + if (record.getUpdateTime() != null) { + sql.VALUES("update_time", "#{updateTime,jdbcType=TIMESTAMP}"); + } + + if (record.getExt1() != null) { + sql.VALUES("ext_1", "#{ext1,jdbcType=VARCHAR}"); + } + + if (record.getExt2() != null) { + sql.VALUES("ext_2", "#{ext2,jdbcType=VARCHAR}"); + } + + if (record.getExt3() != null) { + sql.VALUES("ext_3", "#{ext3,jdbcType=VARCHAR}"); + } + + if (record.getExt4() != null) { + sql.VALUES("ext_4", "#{ext4,jdbcType=VARCHAR}"); + } + + if (record.getExt5() != null) { + sql.VALUES("ext_5", "#{ext5,jdbcType=VARCHAR}"); + } + + if (record.getExt6() != null) { + sql.VALUES("ext_6", "#{ext6,jdbcType=VARCHAR}"); + } + + return sql.toString(); + } + + public String selectByExample(ApiBlxOrderExample example) { + SQL sql = new SQL(); + if (example != null && example.isDistinct()) { + sql.SELECT_DISTINCT("id"); + } else { + sql.SELECT("id"); + } + sql.SELECT("mer_id"); + sql.SELECT("order_id"); + sql.SELECT("mer_order_id"); + sql.SELECT("park_order_id"); + sql.SELECT("in_time"); + sql.SELECT("out_time"); + sql.SELECT("park_time"); + sql.SELECT("park_name"); + sql.SELECT("park_id"); + sql.SELECT("car_seat_id"); + sql.SELECT("prak_price"); + sql.SELECT("coupon_price"); + sql.SELECT("order_type"); + sql.SELECT("order_status"); + sql.SELECT("create_time"); + sql.SELECT("update_time"); + sql.SELECT("ext_1"); + sql.SELECT("ext_2"); + sql.SELECT("ext_3"); + sql.SELECT("ext_4"); + sql.SELECT("ext_5"); + sql.SELECT("ext_6"); + sql.FROM("api_blx_order"); + applyWhere(sql, example, false); + + if (example != null && example.getOrderByClause() != null) { + sql.ORDER_BY(example.getOrderByClause()); + } + + return sql.toString(); + } + + public String updateByExampleSelective(Map parameter) { + ApiBlxOrder record = (ApiBlxOrder) parameter.get("record"); + ApiBlxOrderExample example = (ApiBlxOrderExample) parameter.get("example"); + + SQL sql = new SQL(); + sql.UPDATE("api_blx_order"); + + if (record.getId() != null) { + sql.SET("id = #{record.id,jdbcType=BIGINT}"); + } + + if (record.getMerId() != null) { + sql.SET("mer_id = #{record.merId,jdbcType=VARCHAR}"); + } + + if (record.getOrderId() != null) { + sql.SET("order_id = #{record.orderId,jdbcType=BIGINT}"); + } + + if (record.getMerOrderId() != null) { + sql.SET("mer_order_id = #{record.merOrderId,jdbcType=VARCHAR}"); + } + + if (record.getParkOrderId() != null) { + sql.SET("park_order_id = #{record.parkOrderId,jdbcType=VARCHAR}"); + } + + if (record.getInTime() != null) { + sql.SET("in_time = #{record.inTime,jdbcType=TIMESTAMP}"); + } + + if (record.getOutTime() != null) { + sql.SET("out_time = #{record.outTime,jdbcType=TIMESTAMP}"); + } + + if (record.getParkTime() != null) { + sql.SET("park_time = #{record.parkTime,jdbcType=INTEGER}"); + } + + if (record.getParkName() != null) { + sql.SET("park_name = #{record.parkName,jdbcType=VARCHAR}"); + } + + if (record.getParkId() != null) { + sql.SET("park_id = #{record.parkId,jdbcType=BIGINT}"); + } + + if (record.getCarSeatId() != null) { + sql.SET("car_seat_id = #{record.carSeatId,jdbcType=BIGINT}"); + } + + if (record.getPrakPrice() != null) { + sql.SET("prak_price = #{record.prakPrice,jdbcType=DECIMAL}"); + } + + if (record.getCouponPrice() != null) { + sql.SET("coupon_price = #{record.couponPrice,jdbcType=DECIMAL}"); + } + + if (record.getOrderType() != null) { + sql.SET("order_type = #{record.orderType,jdbcType=INTEGER}"); + } + + if (record.getOrderStatus() != null) { + sql.SET("order_status = #{record.orderStatus,jdbcType=INTEGER}"); + } + + if (record.getCreateTime() != null) { + sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}"); + } + + if (record.getUpdateTime() != null) { + sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); + } + + if (record.getExt1() != null) { + sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}"); + } + + if (record.getExt2() != null) { + sql.SET("ext_2 = #{record.ext2,jdbcType=VARCHAR}"); + } + + if (record.getExt3() != null) { + sql.SET("ext_3 = #{record.ext3,jdbcType=VARCHAR}"); + } + + if (record.getExt4() != null) { + sql.SET("ext_4 = #{record.ext4,jdbcType=VARCHAR}"); + } + + if (record.getExt5() != null) { + sql.SET("ext_5 = #{record.ext5,jdbcType=VARCHAR}"); + } + + if (record.getExt6() != null) { + sql.SET("ext_6 = #{record.ext6,jdbcType=VARCHAR}"); + } + + applyWhere(sql, example, true); + return sql.toString(); + } + + public String updateByExample(Map parameter) { + SQL sql = new SQL(); + sql.UPDATE("api_blx_order"); + + sql.SET("id = #{record.id,jdbcType=BIGINT}"); + sql.SET("mer_id = #{record.merId,jdbcType=VARCHAR}"); + sql.SET("order_id = #{record.orderId,jdbcType=BIGINT}"); + sql.SET("mer_order_id = #{record.merOrderId,jdbcType=VARCHAR}"); + sql.SET("park_order_id = #{record.parkOrderId,jdbcType=VARCHAR}"); + sql.SET("in_time = #{record.inTime,jdbcType=TIMESTAMP}"); + sql.SET("out_time = #{record.outTime,jdbcType=TIMESTAMP}"); + sql.SET("park_time = #{record.parkTime,jdbcType=INTEGER}"); + sql.SET("park_name = #{record.parkName,jdbcType=VARCHAR}"); + sql.SET("park_id = #{record.parkId,jdbcType=BIGINT}"); + sql.SET("car_seat_id = #{record.carSeatId,jdbcType=BIGINT}"); + sql.SET("prak_price = #{record.prakPrice,jdbcType=DECIMAL}"); + sql.SET("coupon_price = #{record.couponPrice,jdbcType=DECIMAL}"); + sql.SET("order_type = #{record.orderType,jdbcType=INTEGER}"); + sql.SET("order_status = #{record.orderStatus,jdbcType=INTEGER}"); + sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}"); + sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); + sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}"); + sql.SET("ext_2 = #{record.ext2,jdbcType=VARCHAR}"); + sql.SET("ext_3 = #{record.ext3,jdbcType=VARCHAR}"); + sql.SET("ext_4 = #{record.ext4,jdbcType=VARCHAR}"); + sql.SET("ext_5 = #{record.ext5,jdbcType=VARCHAR}"); + sql.SET("ext_6 = #{record.ext6,jdbcType=VARCHAR}"); + + ApiBlxOrderExample example = (ApiBlxOrderExample) parameter.get("example"); + applyWhere(sql, example, true); + return sql.toString(); + } + + public String updateByPrimaryKeySelective(ApiBlxOrder record) { + SQL sql = new SQL(); + sql.UPDATE("api_blx_order"); + + if (record.getMerId() != null) { + sql.SET("mer_id = #{merId,jdbcType=VARCHAR}"); + } + + if (record.getOrderId() != null) { + sql.SET("order_id = #{orderId,jdbcType=BIGINT}"); + } + + if (record.getMerOrderId() != null) { + sql.SET("mer_order_id = #{merOrderId,jdbcType=VARCHAR}"); + } + + if (record.getParkOrderId() != null) { + sql.SET("park_order_id = #{parkOrderId,jdbcType=VARCHAR}"); + } + + if (record.getInTime() != null) { + sql.SET("in_time = #{inTime,jdbcType=TIMESTAMP}"); + } + + if (record.getOutTime() != null) { + sql.SET("out_time = #{outTime,jdbcType=TIMESTAMP}"); + } + + if (record.getParkTime() != null) { + sql.SET("park_time = #{parkTime,jdbcType=INTEGER}"); + } + + if (record.getParkName() != null) { + sql.SET("park_name = #{parkName,jdbcType=VARCHAR}"); + } + + if (record.getParkId() != null) { + sql.SET("park_id = #{parkId,jdbcType=BIGINT}"); + } + + if (record.getCarSeatId() != null) { + sql.SET("car_seat_id = #{carSeatId,jdbcType=BIGINT}"); + } + + if (record.getPrakPrice() != null) { + sql.SET("prak_price = #{prakPrice,jdbcType=DECIMAL}"); + } + + if (record.getCouponPrice() != null) { + sql.SET("coupon_price = #{couponPrice,jdbcType=DECIMAL}"); + } + + if (record.getOrderType() != null) { + sql.SET("order_type = #{orderType,jdbcType=INTEGER}"); + } + + if (record.getOrderStatus() != null) { + sql.SET("order_status = #{orderStatus,jdbcType=INTEGER}"); + } + + if (record.getCreateTime() != null) { + sql.SET("create_time = #{createTime,jdbcType=TIMESTAMP}"); + } + + if (record.getUpdateTime() != null) { + sql.SET("update_time = #{updateTime,jdbcType=TIMESTAMP}"); + } + + if (record.getExt1() != null) { + sql.SET("ext_1 = #{ext1,jdbcType=VARCHAR}"); + } + + if (record.getExt2() != null) { + sql.SET("ext_2 = #{ext2,jdbcType=VARCHAR}"); + } + + if (record.getExt3() != null) { + sql.SET("ext_3 = #{ext3,jdbcType=VARCHAR}"); + } + + if (record.getExt4() != null) { + sql.SET("ext_4 = #{ext4,jdbcType=VARCHAR}"); + } + + if (record.getExt5() != null) { + sql.SET("ext_5 = #{ext5,jdbcType=VARCHAR}"); + } + + if (record.getExt6() != null) { + sql.SET("ext_6 = #{ext6,jdbcType=VARCHAR}"); + } + + sql.WHERE("id = #{id,jdbcType=BIGINT}"); + + return sql.toString(); + } + + protected void applyWhere(SQL sql, ApiBlxOrderExample example, boolean includeExamplePhrase) { + if (example == null) { + return; + } + + String parmPhrase1; + String parmPhrase1_th; + String parmPhrase2; + String parmPhrase2_th; + String parmPhrase3; + String parmPhrase3_th; + if (includeExamplePhrase) { + parmPhrase1 = "%s #{example.oredCriteria[%d].allCriteria[%d].value}"; + parmPhrase1_th = "%s #{example.oredCriteria[%d].allCriteria[%d].value,typeHandler=%s}"; + parmPhrase2 = "%s #{example.oredCriteria[%d].allCriteria[%d].value} and #{example.oredCriteria[%d].criteria[%d].secondValue}"; + parmPhrase2_th = "%s #{example.oredCriteria[%d].allCriteria[%d].value,typeHandler=%s} and #{example.oredCriteria[%d].criteria[%d].secondValue,typeHandler=%s}"; + parmPhrase3 = "#{example.oredCriteria[%d].allCriteria[%d].value[%d]}"; + parmPhrase3_th = "#{example.oredCriteria[%d].allCriteria[%d].value[%d],typeHandler=%s}"; + } else { + parmPhrase1 = "%s #{oredCriteria[%d].allCriteria[%d].value}"; + parmPhrase1_th = "%s #{oredCriteria[%d].allCriteria[%d].value,typeHandler=%s}"; + parmPhrase2 = "%s #{oredCriteria[%d].allCriteria[%d].value} and #{oredCriteria[%d].criteria[%d].secondValue}"; + parmPhrase2_th = "%s #{oredCriteria[%d].allCriteria[%d].value,typeHandler=%s} and #{oredCriteria[%d].criteria[%d].secondValue,typeHandler=%s}"; + parmPhrase3 = "#{oredCriteria[%d].allCriteria[%d].value[%d]}"; + parmPhrase3_th = "#{oredCriteria[%d].allCriteria[%d].value[%d],typeHandler=%s}"; + } + + StringBuilder sb = new StringBuilder(); + List oredCriteria = example.getOredCriteria(); + boolean firstCriteria = true; + for (int i = 0; i < oredCriteria.size(); i++) { + Criteria criteria = oredCriteria.get(i); + if (criteria.isValid()) { + if (firstCriteria) { + firstCriteria = false; + } else { + sb.append(" or "); + } + + sb.append('('); + List criterions = criteria.getAllCriteria(); + boolean firstCriterion = true; + for (int j = 0; j < criterions.size(); j++) { + Criterion criterion = criterions.get(j); + if (firstCriterion) { + firstCriterion = false; + } else { + sb.append(" and "); + } + + if (criterion.isNoValue()) { + sb.append(criterion.getCondition()); + } else if (criterion.isSingleValue()) { + if (criterion.getTypeHandler() == null) { + sb.append(String.format(parmPhrase1, criterion.getCondition(), i, j)); + } else { + sb.append(String.format(parmPhrase1_th, criterion.getCondition(), i, j,criterion.getTypeHandler())); + } + } else if (criterion.isBetweenValue()) { + if (criterion.getTypeHandler() == null) { + sb.append(String.format(parmPhrase2, criterion.getCondition(), i, j, i, j)); + } else { + sb.append(String.format(parmPhrase2_th, criterion.getCondition(), i, j, criterion.getTypeHandler(), i, j, criterion.getTypeHandler())); + } + } else if (criterion.isListValue()) { + sb.append(criterion.getCondition()); + sb.append(" ("); + List listItems = (List) criterion.getValue(); + boolean comma = false; + for (int k = 0; k < listItems.size(); k++) { + if (comma) { + sb.append(", "); + } else { + comma = true; + } + if (criterion.getTypeHandler() == null) { + sb.append(String.format(parmPhrase3, i, j, k)); + } else { + sb.append(String.format(parmPhrase3_th, i, j, k, criterion.getTypeHandler())); + } + } + sb.append(')'); + } + } + sb.append(')'); + } + } + + if (sb.length() > 0) { + sql.WHERE(sb.toString()); + } + } +} \ No newline at end of file diff --git a/hai-service/src/main/java/com/hai/entity/ApiBlxOrder.java b/hai-service/src/main/java/com/hai/entity/ApiBlxOrder.java new file mode 100644 index 00000000..7a9d2bab --- /dev/null +++ b/hai-service/src/main/java/com/hai/entity/ApiBlxOrder.java @@ -0,0 +1,418 @@ +package com.hai.entity; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +/** + * api_blx_order + * @author + */ +/** + * + * 代码由工具生成 + * + **/ +public class ApiBlxOrder implements Serializable { + /** + * ID + */ + private Long id; + + /** + * 商户Id + */ + private String merId; + + /** + * 订单ID + */ + private Long orderId; + + /** + * 商户订单ID + */ + private String merOrderId; + + /** + * 停车订单ID + */ + private String parkOrderId; + + /** + * 入场时间 + */ + private Date inTime; + + /** + * 出场时间 + */ + private Date outTime; + + /** + * 停车时长 + */ + private Integer parkTime; + + /** + * 停车场名称 + */ + private String parkName; + + /** + * 停车场Id + */ + private Long parkId; + + /** + * 车位ID + */ + private Long carSeatId; + + /** + * 停车金额 + */ + private BigDecimal prakPrice; + + /** + * 停车券金额 + */ + private BigDecimal couponPrice; + + /** + * 订单类型:10-路边订单、20-室内订单 + */ + private Integer orderType; + + /** + * 订单状态:01-已下单、02-已取消、03-停车中、04-待支付、05-已完成 + */ + private Integer orderStatus; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 更新时间 + */ + private Date updateTime; + + /** + * ext_1 + */ + private String ext1; + + /** + * ext_2 + */ + private String ext2; + + /** + * ext_3 + */ + private String ext3; + + /** + * ext_4 + */ + private String ext4; + + /** + * ext_5 + */ + private String ext5; + + /** + * ext_6 + */ + private String ext6; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getMerId() { + return merId; + } + + public void setMerId(String merId) { + this.merId = merId; + } + + public Long getOrderId() { + return orderId; + } + + public void setOrderId(Long orderId) { + this.orderId = orderId; + } + + public String getMerOrderId() { + return merOrderId; + } + + public void setMerOrderId(String merOrderId) { + this.merOrderId = merOrderId; + } + + public String getParkOrderId() { + return parkOrderId; + } + + public void setParkOrderId(String parkOrderId) { + this.parkOrderId = parkOrderId; + } + + public Date getInTime() { + return inTime; + } + + public void setInTime(Date inTime) { + this.inTime = inTime; + } + + public Date getOutTime() { + return outTime; + } + + public void setOutTime(Date outTime) { + this.outTime = outTime; + } + + public Integer getParkTime() { + return parkTime; + } + + public void setParkTime(Integer parkTime) { + this.parkTime = parkTime; + } + + public String getParkName() { + return parkName; + } + + public void setParkName(String parkName) { + this.parkName = parkName; + } + + public Long getParkId() { + return parkId; + } + + public void setParkId(Long parkId) { + this.parkId = parkId; + } + + public Long getCarSeatId() { + return carSeatId; + } + + public void setCarSeatId(Long carSeatId) { + this.carSeatId = carSeatId; + } + + public BigDecimal getPrakPrice() { + return prakPrice; + } + + public void setPrakPrice(BigDecimal prakPrice) { + this.prakPrice = prakPrice; + } + + public BigDecimal getCouponPrice() { + return couponPrice; + } + + public void setCouponPrice(BigDecimal couponPrice) { + this.couponPrice = couponPrice; + } + + public Integer getOrderType() { + return orderType; + } + + public void setOrderType(Integer orderType) { + this.orderType = orderType; + } + + public Integer getOrderStatus() { + return orderStatus; + } + + public void setOrderStatus(Integer orderStatus) { + this.orderStatus = orderStatus; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public String getExt1() { + return ext1; + } + + public void setExt1(String ext1) { + this.ext1 = ext1; + } + + public String getExt2() { + return ext2; + } + + public void setExt2(String ext2) { + this.ext2 = ext2; + } + + public String getExt3() { + return ext3; + } + + public void setExt3(String ext3) { + this.ext3 = ext3; + } + + public String getExt4() { + return ext4; + } + + public void setExt4(String ext4) { + this.ext4 = ext4; + } + + public String getExt5() { + return ext5; + } + + public void setExt5(String ext5) { + this.ext5 = ext5; + } + + public String getExt6() { + return ext6; + } + + public void setExt6(String ext6) { + this.ext6 = ext6; + } + + @Override + public boolean equals(Object that) { + if (this == that) { + return true; + } + if (that == null) { + return false; + } + if (getClass() != that.getClass()) { + return false; + } + ApiBlxOrder other = (ApiBlxOrder) that; + return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) + && (this.getMerId() == null ? other.getMerId() == null : this.getMerId().equals(other.getMerId())) + && (this.getOrderId() == null ? other.getOrderId() == null : this.getOrderId().equals(other.getOrderId())) + && (this.getMerOrderId() == null ? other.getMerOrderId() == null : this.getMerOrderId().equals(other.getMerOrderId())) + && (this.getParkOrderId() == null ? other.getParkOrderId() == null : this.getParkOrderId().equals(other.getParkOrderId())) + && (this.getInTime() == null ? other.getInTime() == null : this.getInTime().equals(other.getInTime())) + && (this.getOutTime() == null ? other.getOutTime() == null : this.getOutTime().equals(other.getOutTime())) + && (this.getParkTime() == null ? other.getParkTime() == null : this.getParkTime().equals(other.getParkTime())) + && (this.getParkName() == null ? other.getParkName() == null : this.getParkName().equals(other.getParkName())) + && (this.getParkId() == null ? other.getParkId() == null : this.getParkId().equals(other.getParkId())) + && (this.getCarSeatId() == null ? other.getCarSeatId() == null : this.getCarSeatId().equals(other.getCarSeatId())) + && (this.getPrakPrice() == null ? other.getPrakPrice() == null : this.getPrakPrice().equals(other.getPrakPrice())) + && (this.getCouponPrice() == null ? other.getCouponPrice() == null : this.getCouponPrice().equals(other.getCouponPrice())) + && (this.getOrderType() == null ? other.getOrderType() == null : this.getOrderType().equals(other.getOrderType())) + && (this.getOrderStatus() == null ? other.getOrderStatus() == null : this.getOrderStatus().equals(other.getOrderStatus())) + && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) + && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) + && (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1())) + && (this.getExt2() == null ? other.getExt2() == null : this.getExt2().equals(other.getExt2())) + && (this.getExt3() == null ? other.getExt3() == null : this.getExt3().equals(other.getExt3())) + && (this.getExt4() == null ? other.getExt4() == null : this.getExt4().equals(other.getExt4())) + && (this.getExt5() == null ? other.getExt5() == null : this.getExt5().equals(other.getExt5())) + && (this.getExt6() == null ? other.getExt6() == null : this.getExt6().equals(other.getExt6())); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); + result = prime * result + ((getMerId() == null) ? 0 : getMerId().hashCode()); + result = prime * result + ((getOrderId() == null) ? 0 : getOrderId().hashCode()); + result = prime * result + ((getMerOrderId() == null) ? 0 : getMerOrderId().hashCode()); + result = prime * result + ((getParkOrderId() == null) ? 0 : getParkOrderId().hashCode()); + result = prime * result + ((getInTime() == null) ? 0 : getInTime().hashCode()); + result = prime * result + ((getOutTime() == null) ? 0 : getOutTime().hashCode()); + result = prime * result + ((getParkTime() == null) ? 0 : getParkTime().hashCode()); + result = prime * result + ((getParkName() == null) ? 0 : getParkName().hashCode()); + result = prime * result + ((getParkId() == null) ? 0 : getParkId().hashCode()); + result = prime * result + ((getCarSeatId() == null) ? 0 : getCarSeatId().hashCode()); + result = prime * result + ((getPrakPrice() == null) ? 0 : getPrakPrice().hashCode()); + result = prime * result + ((getCouponPrice() == null) ? 0 : getCouponPrice().hashCode()); + result = prime * result + ((getOrderType() == null) ? 0 : getOrderType().hashCode()); + result = prime * result + ((getOrderStatus() == null) ? 0 : getOrderStatus().hashCode()); + result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); + result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); + result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode()); + result = prime * result + ((getExt2() == null) ? 0 : getExt2().hashCode()); + result = prime * result + ((getExt3() == null) ? 0 : getExt3().hashCode()); + result = prime * result + ((getExt4() == null) ? 0 : getExt4().hashCode()); + result = prime * result + ((getExt5() == null) ? 0 : getExt5().hashCode()); + result = prime * result + ((getExt6() == null) ? 0 : getExt6().hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", merId=").append(merId); + sb.append(", orderId=").append(orderId); + sb.append(", merOrderId=").append(merOrderId); + sb.append(", parkOrderId=").append(parkOrderId); + sb.append(", inTime=").append(inTime); + sb.append(", outTime=").append(outTime); + sb.append(", parkTime=").append(parkTime); + sb.append(", parkName=").append(parkName); + sb.append(", parkId=").append(parkId); + sb.append(", carSeatId=").append(carSeatId); + sb.append(", prakPrice=").append(prakPrice); + sb.append(", couponPrice=").append(couponPrice); + sb.append(", orderType=").append(orderType); + sb.append(", orderStatus=").append(orderStatus); + sb.append(", createTime=").append(createTime); + sb.append(", updateTime=").append(updateTime); + sb.append(", ext1=").append(ext1); + sb.append(", ext2=").append(ext2); + sb.append(", ext3=").append(ext3); + sb.append(", ext4=").append(ext4); + sb.append(", ext5=").append(ext5); + sb.append(", ext6=").append(ext6); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/hai-service/src/main/java/com/hai/entity/ApiBlxOrderExample.java b/hai-service/src/main/java/com/hai/entity/ApiBlxOrderExample.java new file mode 100644 index 00000000..6c8e56d6 --- /dev/null +++ b/hai-service/src/main/java/com/hai/entity/ApiBlxOrderExample.java @@ -0,0 +1,1704 @@ +package com.hai.entity; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class ApiBlxOrderExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + private Integer limit; + + private Long offset; + + public ApiBlxOrderExample() { + 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 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; + } + + public void setLimit(Integer limit) { + this.limit = limit; + } + + public Integer getLimit() { + return limit; + } + + public void setOffset(Long offset) { + this.offset = offset; + } + + public Long getOffset() { + return offset; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List 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(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMerIdIsNull() { + addCriterion("mer_id is null"); + return (Criteria) this; + } + + public Criteria andMerIdIsNotNull() { + addCriterion("mer_id is not null"); + return (Criteria) this; + } + + public Criteria andMerIdEqualTo(String value) { + addCriterion("mer_id =", value, "merId"); + return (Criteria) this; + } + + public Criteria andMerIdNotEqualTo(String value) { + addCriterion("mer_id <>", value, "merId"); + return (Criteria) this; + } + + public Criteria andMerIdGreaterThan(String value) { + addCriterion("mer_id >", value, "merId"); + return (Criteria) this; + } + + public Criteria andMerIdGreaterThanOrEqualTo(String value) { + addCriterion("mer_id >=", value, "merId"); + return (Criteria) this; + } + + public Criteria andMerIdLessThan(String value) { + addCriterion("mer_id <", value, "merId"); + return (Criteria) this; + } + + public Criteria andMerIdLessThanOrEqualTo(String value) { + addCriterion("mer_id <=", value, "merId"); + return (Criteria) this; + } + + public Criteria andMerIdLike(String value) { + addCriterion("mer_id like", value, "merId"); + return (Criteria) this; + } + + public Criteria andMerIdNotLike(String value) { + addCriterion("mer_id not like", value, "merId"); + return (Criteria) this; + } + + public Criteria andMerIdIn(List values) { + addCriterion("mer_id in", values, "merId"); + return (Criteria) this; + } + + public Criteria andMerIdNotIn(List values) { + addCriterion("mer_id not in", values, "merId"); + return (Criteria) this; + } + + public Criteria andMerIdBetween(String value1, String value2) { + addCriterion("mer_id between", value1, value2, "merId"); + return (Criteria) this; + } + + public Criteria andMerIdNotBetween(String value1, String value2) { + addCriterion("mer_id not between", value1, value2, "merId"); + return (Criteria) this; + } + + public Criteria andOrderIdIsNull() { + addCriterion("order_id is null"); + return (Criteria) this; + } + + public Criteria andOrderIdIsNotNull() { + addCriterion("order_id is not null"); + return (Criteria) this; + } + + public Criteria andOrderIdEqualTo(Long value) { + addCriterion("order_id =", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotEqualTo(Long value) { + addCriterion("order_id <>", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdGreaterThan(Long value) { + addCriterion("order_id >", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdGreaterThanOrEqualTo(Long value) { + addCriterion("order_id >=", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdLessThan(Long value) { + addCriterion("order_id <", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdLessThanOrEqualTo(Long value) { + addCriterion("order_id <=", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdIn(List values) { + addCriterion("order_id in", values, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotIn(List values) { + addCriterion("order_id not in", values, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdBetween(Long value1, Long value2) { + addCriterion("order_id between", value1, value2, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotBetween(Long value1, Long value2) { + addCriterion("order_id not between", value1, value2, "orderId"); + return (Criteria) this; + } + + public Criteria andMerOrderIdIsNull() { + addCriterion("mer_order_id is null"); + return (Criteria) this; + } + + public Criteria andMerOrderIdIsNotNull() { + addCriterion("mer_order_id is not null"); + return (Criteria) this; + } + + public Criteria andMerOrderIdEqualTo(String value) { + addCriterion("mer_order_id =", value, "merOrderId"); + return (Criteria) this; + } + + public Criteria andMerOrderIdNotEqualTo(String value) { + addCriterion("mer_order_id <>", value, "merOrderId"); + return (Criteria) this; + } + + public Criteria andMerOrderIdGreaterThan(String value) { + addCriterion("mer_order_id >", value, "merOrderId"); + return (Criteria) this; + } + + public Criteria andMerOrderIdGreaterThanOrEqualTo(String value) { + addCriterion("mer_order_id >=", value, "merOrderId"); + return (Criteria) this; + } + + public Criteria andMerOrderIdLessThan(String value) { + addCriterion("mer_order_id <", value, "merOrderId"); + return (Criteria) this; + } + + public Criteria andMerOrderIdLessThanOrEqualTo(String value) { + addCriterion("mer_order_id <=", value, "merOrderId"); + return (Criteria) this; + } + + public Criteria andMerOrderIdLike(String value) { + addCriterion("mer_order_id like", value, "merOrderId"); + return (Criteria) this; + } + + public Criteria andMerOrderIdNotLike(String value) { + addCriterion("mer_order_id not like", value, "merOrderId"); + return (Criteria) this; + } + + public Criteria andMerOrderIdIn(List values) { + addCriterion("mer_order_id in", values, "merOrderId"); + return (Criteria) this; + } + + public Criteria andMerOrderIdNotIn(List values) { + addCriterion("mer_order_id not in", values, "merOrderId"); + return (Criteria) this; + } + + public Criteria andMerOrderIdBetween(String value1, String value2) { + addCriterion("mer_order_id between", value1, value2, "merOrderId"); + return (Criteria) this; + } + + public Criteria andMerOrderIdNotBetween(String value1, String value2) { + addCriterion("mer_order_id not between", value1, value2, "merOrderId"); + return (Criteria) this; + } + + public Criteria andParkOrderIdIsNull() { + addCriterion("park_order_id is null"); + return (Criteria) this; + } + + public Criteria andParkOrderIdIsNotNull() { + addCriterion("park_order_id is not null"); + return (Criteria) this; + } + + public Criteria andParkOrderIdEqualTo(String value) { + addCriterion("park_order_id =", value, "parkOrderId"); + return (Criteria) this; + } + + public Criteria andParkOrderIdNotEqualTo(String value) { + addCriterion("park_order_id <>", value, "parkOrderId"); + return (Criteria) this; + } + + public Criteria andParkOrderIdGreaterThan(String value) { + addCriterion("park_order_id >", value, "parkOrderId"); + return (Criteria) this; + } + + public Criteria andParkOrderIdGreaterThanOrEqualTo(String value) { + addCriterion("park_order_id >=", value, "parkOrderId"); + return (Criteria) this; + } + + public Criteria andParkOrderIdLessThan(String value) { + addCriterion("park_order_id <", value, "parkOrderId"); + return (Criteria) this; + } + + public Criteria andParkOrderIdLessThanOrEqualTo(String value) { + addCriterion("park_order_id <=", value, "parkOrderId"); + return (Criteria) this; + } + + public Criteria andParkOrderIdLike(String value) { + addCriterion("park_order_id like", value, "parkOrderId"); + return (Criteria) this; + } + + public Criteria andParkOrderIdNotLike(String value) { + addCriterion("park_order_id not like", value, "parkOrderId"); + return (Criteria) this; + } + + public Criteria andParkOrderIdIn(List values) { + addCriterion("park_order_id in", values, "parkOrderId"); + return (Criteria) this; + } + + public Criteria andParkOrderIdNotIn(List values) { + addCriterion("park_order_id not in", values, "parkOrderId"); + return (Criteria) this; + } + + public Criteria andParkOrderIdBetween(String value1, String value2) { + addCriterion("park_order_id between", value1, value2, "parkOrderId"); + return (Criteria) this; + } + + public Criteria andParkOrderIdNotBetween(String value1, String value2) { + addCriterion("park_order_id not between", value1, value2, "parkOrderId"); + return (Criteria) this; + } + + public Criteria andInTimeIsNull() { + addCriterion("in_time is null"); + return (Criteria) this; + } + + public Criteria andInTimeIsNotNull() { + addCriterion("in_time is not null"); + return (Criteria) this; + } + + public Criteria andInTimeEqualTo(Date value) { + addCriterion("in_time =", value, "inTime"); + return (Criteria) this; + } + + public Criteria andInTimeNotEqualTo(Date value) { + addCriterion("in_time <>", value, "inTime"); + return (Criteria) this; + } + + public Criteria andInTimeGreaterThan(Date value) { + addCriterion("in_time >", value, "inTime"); + return (Criteria) this; + } + + public Criteria andInTimeGreaterThanOrEqualTo(Date value) { + addCriterion("in_time >=", value, "inTime"); + return (Criteria) this; + } + + public Criteria andInTimeLessThan(Date value) { + addCriterion("in_time <", value, "inTime"); + return (Criteria) this; + } + + public Criteria andInTimeLessThanOrEqualTo(Date value) { + addCriterion("in_time <=", value, "inTime"); + return (Criteria) this; + } + + public Criteria andInTimeIn(List values) { + addCriterion("in_time in", values, "inTime"); + return (Criteria) this; + } + + public Criteria andInTimeNotIn(List values) { + addCriterion("in_time not in", values, "inTime"); + return (Criteria) this; + } + + public Criteria andInTimeBetween(Date value1, Date value2) { + addCriterion("in_time between", value1, value2, "inTime"); + return (Criteria) this; + } + + public Criteria andInTimeNotBetween(Date value1, Date value2) { + addCriterion("in_time not between", value1, value2, "inTime"); + return (Criteria) this; + } + + public Criteria andOutTimeIsNull() { + addCriterion("out_time is null"); + return (Criteria) this; + } + + public Criteria andOutTimeIsNotNull() { + addCriterion("out_time is not null"); + return (Criteria) this; + } + + public Criteria andOutTimeEqualTo(Date value) { + addCriterion("out_time =", value, "outTime"); + return (Criteria) this; + } + + public Criteria andOutTimeNotEqualTo(Date value) { + addCriterion("out_time <>", value, "outTime"); + return (Criteria) this; + } + + public Criteria andOutTimeGreaterThan(Date value) { + addCriterion("out_time >", value, "outTime"); + return (Criteria) this; + } + + public Criteria andOutTimeGreaterThanOrEqualTo(Date value) { + addCriterion("out_time >=", value, "outTime"); + return (Criteria) this; + } + + public Criteria andOutTimeLessThan(Date value) { + addCriterion("out_time <", value, "outTime"); + return (Criteria) this; + } + + public Criteria andOutTimeLessThanOrEqualTo(Date value) { + addCriterion("out_time <=", value, "outTime"); + return (Criteria) this; + } + + public Criteria andOutTimeIn(List values) { + addCriterion("out_time in", values, "outTime"); + return (Criteria) this; + } + + public Criteria andOutTimeNotIn(List values) { + addCriterion("out_time not in", values, "outTime"); + return (Criteria) this; + } + + public Criteria andOutTimeBetween(Date value1, Date value2) { + addCriterion("out_time between", value1, value2, "outTime"); + return (Criteria) this; + } + + public Criteria andOutTimeNotBetween(Date value1, Date value2) { + addCriterion("out_time not between", value1, value2, "outTime"); + return (Criteria) this; + } + + public Criteria andParkTimeIsNull() { + addCriterion("park_time is null"); + return (Criteria) this; + } + + public Criteria andParkTimeIsNotNull() { + addCriterion("park_time is not null"); + return (Criteria) this; + } + + public Criteria andParkTimeEqualTo(Integer value) { + addCriterion("park_time =", value, "parkTime"); + return (Criteria) this; + } + + public Criteria andParkTimeNotEqualTo(Integer value) { + addCriterion("park_time <>", value, "parkTime"); + return (Criteria) this; + } + + public Criteria andParkTimeGreaterThan(Integer value) { + addCriterion("park_time >", value, "parkTime"); + return (Criteria) this; + } + + public Criteria andParkTimeGreaterThanOrEqualTo(Integer value) { + addCriterion("park_time >=", value, "parkTime"); + return (Criteria) this; + } + + public Criteria andParkTimeLessThan(Integer value) { + addCriterion("park_time <", value, "parkTime"); + return (Criteria) this; + } + + public Criteria andParkTimeLessThanOrEqualTo(Integer value) { + addCriterion("park_time <=", value, "parkTime"); + return (Criteria) this; + } + + public Criteria andParkTimeIn(List values) { + addCriterion("park_time in", values, "parkTime"); + return (Criteria) this; + } + + public Criteria andParkTimeNotIn(List values) { + addCriterion("park_time not in", values, "parkTime"); + return (Criteria) this; + } + + public Criteria andParkTimeBetween(Integer value1, Integer value2) { + addCriterion("park_time between", value1, value2, "parkTime"); + return (Criteria) this; + } + + public Criteria andParkTimeNotBetween(Integer value1, Integer value2) { + addCriterion("park_time not between", value1, value2, "parkTime"); + return (Criteria) this; + } + + public Criteria andParkNameIsNull() { + addCriterion("park_name is null"); + return (Criteria) this; + } + + public Criteria andParkNameIsNotNull() { + addCriterion("park_name is not null"); + return (Criteria) this; + } + + public Criteria andParkNameEqualTo(String value) { + addCriterion("park_name =", value, "parkName"); + return (Criteria) this; + } + + public Criteria andParkNameNotEqualTo(String value) { + addCriterion("park_name <>", value, "parkName"); + return (Criteria) this; + } + + public Criteria andParkNameGreaterThan(String value) { + addCriterion("park_name >", value, "parkName"); + return (Criteria) this; + } + + public Criteria andParkNameGreaterThanOrEqualTo(String value) { + addCriterion("park_name >=", value, "parkName"); + return (Criteria) this; + } + + public Criteria andParkNameLessThan(String value) { + addCriterion("park_name <", value, "parkName"); + return (Criteria) this; + } + + public Criteria andParkNameLessThanOrEqualTo(String value) { + addCriterion("park_name <=", value, "parkName"); + return (Criteria) this; + } + + public Criteria andParkNameLike(String value) { + addCriterion("park_name like", value, "parkName"); + return (Criteria) this; + } + + public Criteria andParkNameNotLike(String value) { + addCriterion("park_name not like", value, "parkName"); + return (Criteria) this; + } + + public Criteria andParkNameIn(List values) { + addCriterion("park_name in", values, "parkName"); + return (Criteria) this; + } + + public Criteria andParkNameNotIn(List values) { + addCriterion("park_name not in", values, "parkName"); + return (Criteria) this; + } + + public Criteria andParkNameBetween(String value1, String value2) { + addCriterion("park_name between", value1, value2, "parkName"); + return (Criteria) this; + } + + public Criteria andParkNameNotBetween(String value1, String value2) { + addCriterion("park_name not between", value1, value2, "parkName"); + return (Criteria) this; + } + + public Criteria andParkIdIsNull() { + addCriterion("park_id is null"); + return (Criteria) this; + } + + public Criteria andParkIdIsNotNull() { + addCriterion("park_id is not null"); + return (Criteria) this; + } + + public Criteria andParkIdEqualTo(Long value) { + addCriterion("park_id =", value, "parkId"); + return (Criteria) this; + } + + public Criteria andParkIdNotEqualTo(Long value) { + addCriterion("park_id <>", value, "parkId"); + return (Criteria) this; + } + + public Criteria andParkIdGreaterThan(Long value) { + addCriterion("park_id >", value, "parkId"); + return (Criteria) this; + } + + public Criteria andParkIdGreaterThanOrEqualTo(Long value) { + addCriterion("park_id >=", value, "parkId"); + return (Criteria) this; + } + + public Criteria andParkIdLessThan(Long value) { + addCriterion("park_id <", value, "parkId"); + return (Criteria) this; + } + + public Criteria andParkIdLessThanOrEqualTo(Long value) { + addCriterion("park_id <=", value, "parkId"); + return (Criteria) this; + } + + public Criteria andParkIdIn(List values) { + addCriterion("park_id in", values, "parkId"); + return (Criteria) this; + } + + public Criteria andParkIdNotIn(List values) { + addCriterion("park_id not in", values, "parkId"); + return (Criteria) this; + } + + public Criteria andParkIdBetween(Long value1, Long value2) { + addCriterion("park_id between", value1, value2, "parkId"); + return (Criteria) this; + } + + public Criteria andParkIdNotBetween(Long value1, Long value2) { + addCriterion("park_id not between", value1, value2, "parkId"); + return (Criteria) this; + } + + public Criteria andCarSeatIdIsNull() { + addCriterion("car_seat_id is null"); + return (Criteria) this; + } + + public Criteria andCarSeatIdIsNotNull() { + addCriterion("car_seat_id is not null"); + return (Criteria) this; + } + + public Criteria andCarSeatIdEqualTo(Long value) { + addCriterion("car_seat_id =", value, "carSeatId"); + return (Criteria) this; + } + + public Criteria andCarSeatIdNotEqualTo(Long value) { + addCriterion("car_seat_id <>", value, "carSeatId"); + return (Criteria) this; + } + + public Criteria andCarSeatIdGreaterThan(Long value) { + addCriterion("car_seat_id >", value, "carSeatId"); + return (Criteria) this; + } + + public Criteria andCarSeatIdGreaterThanOrEqualTo(Long value) { + addCriterion("car_seat_id >=", value, "carSeatId"); + return (Criteria) this; + } + + public Criteria andCarSeatIdLessThan(Long value) { + addCriterion("car_seat_id <", value, "carSeatId"); + return (Criteria) this; + } + + public Criteria andCarSeatIdLessThanOrEqualTo(Long value) { + addCriterion("car_seat_id <=", value, "carSeatId"); + return (Criteria) this; + } + + public Criteria andCarSeatIdIn(List values) { + addCriterion("car_seat_id in", values, "carSeatId"); + return (Criteria) this; + } + + public Criteria andCarSeatIdNotIn(List values) { + addCriterion("car_seat_id not in", values, "carSeatId"); + return (Criteria) this; + } + + public Criteria andCarSeatIdBetween(Long value1, Long value2) { + addCriterion("car_seat_id between", value1, value2, "carSeatId"); + return (Criteria) this; + } + + public Criteria andCarSeatIdNotBetween(Long value1, Long value2) { + addCriterion("car_seat_id not between", value1, value2, "carSeatId"); + return (Criteria) this; + } + + public Criteria andPrakPriceIsNull() { + addCriterion("prak_price is null"); + return (Criteria) this; + } + + public Criteria andPrakPriceIsNotNull() { + addCriterion("prak_price is not null"); + return (Criteria) this; + } + + public Criteria andPrakPriceEqualTo(BigDecimal value) { + addCriterion("prak_price =", value, "prakPrice"); + return (Criteria) this; + } + + public Criteria andPrakPriceNotEqualTo(BigDecimal value) { + addCriterion("prak_price <>", value, "prakPrice"); + return (Criteria) this; + } + + public Criteria andPrakPriceGreaterThan(BigDecimal value) { + addCriterion("prak_price >", value, "prakPrice"); + return (Criteria) this; + } + + public Criteria andPrakPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("prak_price >=", value, "prakPrice"); + return (Criteria) this; + } + + public Criteria andPrakPriceLessThan(BigDecimal value) { + addCriterion("prak_price <", value, "prakPrice"); + return (Criteria) this; + } + + public Criteria andPrakPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("prak_price <=", value, "prakPrice"); + return (Criteria) this; + } + + public Criteria andPrakPriceIn(List values) { + addCriterion("prak_price in", values, "prakPrice"); + return (Criteria) this; + } + + public Criteria andPrakPriceNotIn(List values) { + addCriterion("prak_price not in", values, "prakPrice"); + return (Criteria) this; + } + + public Criteria andPrakPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("prak_price between", value1, value2, "prakPrice"); + return (Criteria) this; + } + + public Criteria andPrakPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("prak_price not between", value1, value2, "prakPrice"); + return (Criteria) this; + } + + public Criteria andCouponPriceIsNull() { + addCriterion("coupon_price is null"); + return (Criteria) this; + } + + public Criteria andCouponPriceIsNotNull() { + addCriterion("coupon_price is not null"); + return (Criteria) this; + } + + public Criteria andCouponPriceEqualTo(BigDecimal value) { + addCriterion("coupon_price =", value, "couponPrice"); + return (Criteria) this; + } + + public Criteria andCouponPriceNotEqualTo(BigDecimal value) { + addCriterion("coupon_price <>", value, "couponPrice"); + return (Criteria) this; + } + + public Criteria andCouponPriceGreaterThan(BigDecimal value) { + addCriterion("coupon_price >", value, "couponPrice"); + return (Criteria) this; + } + + public Criteria andCouponPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("coupon_price >=", value, "couponPrice"); + return (Criteria) this; + } + + public Criteria andCouponPriceLessThan(BigDecimal value) { + addCriterion("coupon_price <", value, "couponPrice"); + return (Criteria) this; + } + + public Criteria andCouponPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("coupon_price <=", value, "couponPrice"); + return (Criteria) this; + } + + public Criteria andCouponPriceIn(List values) { + addCriterion("coupon_price in", values, "couponPrice"); + return (Criteria) this; + } + + public Criteria andCouponPriceNotIn(List values) { + addCriterion("coupon_price not in", values, "couponPrice"); + return (Criteria) this; + } + + public Criteria andCouponPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("coupon_price between", value1, value2, "couponPrice"); + return (Criteria) this; + } + + public Criteria andCouponPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("coupon_price not between", value1, value2, "couponPrice"); + return (Criteria) this; + } + + public Criteria andOrderTypeIsNull() { + addCriterion("order_type is null"); + return (Criteria) this; + } + + public Criteria andOrderTypeIsNotNull() { + addCriterion("order_type is not null"); + return (Criteria) this; + } + + public Criteria andOrderTypeEqualTo(Integer value) { + addCriterion("order_type =", value, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeNotEqualTo(Integer value) { + addCriterion("order_type <>", value, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeGreaterThan(Integer value) { + addCriterion("order_type >", value, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("order_type >=", value, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeLessThan(Integer value) { + addCriterion("order_type <", value, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeLessThanOrEqualTo(Integer value) { + addCriterion("order_type <=", value, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeIn(List values) { + addCriterion("order_type in", values, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeNotIn(List values) { + addCriterion("order_type not in", values, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeBetween(Integer value1, Integer value2) { + addCriterion("order_type between", value1, value2, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeNotBetween(Integer value1, Integer value2) { + addCriterion("order_type not between", value1, value2, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderStatusIsNull() { + addCriterion("order_status is null"); + return (Criteria) this; + } + + public Criteria andOrderStatusIsNotNull() { + addCriterion("order_status is not null"); + return (Criteria) this; + } + + public Criteria andOrderStatusEqualTo(Integer value) { + addCriterion("order_status =", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusNotEqualTo(Integer value) { + addCriterion("order_status <>", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusGreaterThan(Integer value) { + addCriterion("order_status >", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("order_status >=", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusLessThan(Integer value) { + addCriterion("order_status <", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusLessThanOrEqualTo(Integer value) { + addCriterion("order_status <=", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusIn(List values) { + addCriterion("order_status in", values, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusNotIn(List values) { + addCriterion("order_status not in", values, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusBetween(Integer value1, Integer value2) { + addCriterion("order_status between", value1, value2, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusNotBetween(Integer value1, Integer value2) { + addCriterion("order_status not between", value1, value2, "orderStatus"); + 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 values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List 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 values) { + addCriterion("update_time in", values, "updateTime"); + return (Criteria) this; + } + + public Criteria andUpdateTimeNotIn(List 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 andExt1IsNull() { + addCriterion("ext_1 is null"); + return (Criteria) this; + } + + public Criteria andExt1IsNotNull() { + addCriterion("ext_1 is not null"); + return (Criteria) this; + } + + public Criteria andExt1EqualTo(String value) { + addCriterion("ext_1 =", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1NotEqualTo(String value) { + addCriterion("ext_1 <>", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1GreaterThan(String value) { + addCriterion("ext_1 >", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1GreaterThanOrEqualTo(String value) { + addCriterion("ext_1 >=", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1LessThan(String value) { + addCriterion("ext_1 <", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1LessThanOrEqualTo(String value) { + addCriterion("ext_1 <=", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1Like(String value) { + addCriterion("ext_1 like", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1NotLike(String value) { + addCriterion("ext_1 not like", value, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1In(List values) { + addCriterion("ext_1 in", values, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1NotIn(List values) { + addCriterion("ext_1 not in", values, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1Between(String value1, String value2) { + addCriterion("ext_1 between", value1, value2, "ext1"); + return (Criteria) this; + } + + public Criteria andExt1NotBetween(String value1, String value2) { + addCriterion("ext_1 not between", value1, value2, "ext1"); + return (Criteria) this; + } + + public Criteria andExt2IsNull() { + addCriterion("ext_2 is null"); + return (Criteria) this; + } + + public Criteria andExt2IsNotNull() { + addCriterion("ext_2 is not null"); + return (Criteria) this; + } + + public Criteria andExt2EqualTo(String value) { + addCriterion("ext_2 =", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2NotEqualTo(String value) { + addCriterion("ext_2 <>", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2GreaterThan(String value) { + addCriterion("ext_2 >", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2GreaterThanOrEqualTo(String value) { + addCriterion("ext_2 >=", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2LessThan(String value) { + addCriterion("ext_2 <", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2LessThanOrEqualTo(String value) { + addCriterion("ext_2 <=", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2Like(String value) { + addCriterion("ext_2 like", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2NotLike(String value) { + addCriterion("ext_2 not like", value, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2In(List values) { + addCriterion("ext_2 in", values, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2NotIn(List values) { + addCriterion("ext_2 not in", values, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2Between(String value1, String value2) { + addCriterion("ext_2 between", value1, value2, "ext2"); + return (Criteria) this; + } + + public Criteria andExt2NotBetween(String value1, String value2) { + addCriterion("ext_2 not between", value1, value2, "ext2"); + return (Criteria) this; + } + + public Criteria andExt3IsNull() { + addCriterion("ext_3 is null"); + return (Criteria) this; + } + + public Criteria andExt3IsNotNull() { + addCriterion("ext_3 is not null"); + return (Criteria) this; + } + + public Criteria andExt3EqualTo(String value) { + addCriterion("ext_3 =", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3NotEqualTo(String value) { + addCriterion("ext_3 <>", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3GreaterThan(String value) { + addCriterion("ext_3 >", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3GreaterThanOrEqualTo(String value) { + addCriterion("ext_3 >=", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3LessThan(String value) { + addCriterion("ext_3 <", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3LessThanOrEqualTo(String value) { + addCriterion("ext_3 <=", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3Like(String value) { + addCriterion("ext_3 like", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3NotLike(String value) { + addCriterion("ext_3 not like", value, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3In(List values) { + addCriterion("ext_3 in", values, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3NotIn(List values) { + addCriterion("ext_3 not in", values, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3Between(String value1, String value2) { + addCriterion("ext_3 between", value1, value2, "ext3"); + return (Criteria) this; + } + + public Criteria andExt3NotBetween(String value1, String value2) { + addCriterion("ext_3 not between", value1, value2, "ext3"); + return (Criteria) this; + } + + public Criteria andExt4IsNull() { + addCriterion("ext_4 is null"); + return (Criteria) this; + } + + public Criteria andExt4IsNotNull() { + addCriterion("ext_4 is not null"); + return (Criteria) this; + } + + public Criteria andExt4EqualTo(String value) { + addCriterion("ext_4 =", value, "ext4"); + return (Criteria) this; + } + + public Criteria andExt4NotEqualTo(String value) { + addCriterion("ext_4 <>", value, "ext4"); + return (Criteria) this; + } + + public Criteria andExt4GreaterThan(String value) { + addCriterion("ext_4 >", value, "ext4"); + return (Criteria) this; + } + + public Criteria andExt4GreaterThanOrEqualTo(String value) { + addCriterion("ext_4 >=", value, "ext4"); + return (Criteria) this; + } + + public Criteria andExt4LessThan(String value) { + addCriterion("ext_4 <", value, "ext4"); + return (Criteria) this; + } + + public Criteria andExt4LessThanOrEqualTo(String value) { + addCriterion("ext_4 <=", value, "ext4"); + return (Criteria) this; + } + + public Criteria andExt4Like(String value) { + addCriterion("ext_4 like", value, "ext4"); + return (Criteria) this; + } + + public Criteria andExt4NotLike(String value) { + addCriterion("ext_4 not like", value, "ext4"); + return (Criteria) this; + } + + public Criteria andExt4In(List values) { + addCriterion("ext_4 in", values, "ext4"); + return (Criteria) this; + } + + public Criteria andExt4NotIn(List values) { + addCriterion("ext_4 not in", values, "ext4"); + return (Criteria) this; + } + + public Criteria andExt4Between(String value1, String value2) { + addCriterion("ext_4 between", value1, value2, "ext4"); + return (Criteria) this; + } + + public Criteria andExt4NotBetween(String value1, String value2) { + addCriterion("ext_4 not between", value1, value2, "ext4"); + return (Criteria) this; + } + + public Criteria andExt5IsNull() { + addCriterion("ext_5 is null"); + return (Criteria) this; + } + + public Criteria andExt5IsNotNull() { + addCriterion("ext_5 is not null"); + return (Criteria) this; + } + + public Criteria andExt5EqualTo(String value) { + addCriterion("ext_5 =", value, "ext5"); + return (Criteria) this; + } + + public Criteria andExt5NotEqualTo(String value) { + addCriterion("ext_5 <>", value, "ext5"); + return (Criteria) this; + } + + public Criteria andExt5GreaterThan(String value) { + addCriterion("ext_5 >", value, "ext5"); + return (Criteria) this; + } + + public Criteria andExt5GreaterThanOrEqualTo(String value) { + addCriterion("ext_5 >=", value, "ext5"); + return (Criteria) this; + } + + public Criteria andExt5LessThan(String value) { + addCriterion("ext_5 <", value, "ext5"); + return (Criteria) this; + } + + public Criteria andExt5LessThanOrEqualTo(String value) { + addCriterion("ext_5 <=", value, "ext5"); + return (Criteria) this; + } + + public Criteria andExt5Like(String value) { + addCriterion("ext_5 like", value, "ext5"); + return (Criteria) this; + } + + public Criteria andExt5NotLike(String value) { + addCriterion("ext_5 not like", value, "ext5"); + return (Criteria) this; + } + + public Criteria andExt5In(List values) { + addCriterion("ext_5 in", values, "ext5"); + return (Criteria) this; + } + + public Criteria andExt5NotIn(List values) { + addCriterion("ext_5 not in", values, "ext5"); + return (Criteria) this; + } + + public Criteria andExt5Between(String value1, String value2) { + addCriterion("ext_5 between", value1, value2, "ext5"); + return (Criteria) this; + } + + public Criteria andExt5NotBetween(String value1, String value2) { + addCriterion("ext_5 not between", value1, value2, "ext5"); + return (Criteria) this; + } + + public Criteria andExt6IsNull() { + addCriterion("ext_6 is null"); + return (Criteria) this; + } + + public Criteria andExt6IsNotNull() { + addCriterion("ext_6 is not null"); + return (Criteria) this; + } + + public Criteria andExt6EqualTo(String value) { + addCriterion("ext_6 =", value, "ext6"); + return (Criteria) this; + } + + public Criteria andExt6NotEqualTo(String value) { + addCriterion("ext_6 <>", value, "ext6"); + return (Criteria) this; + } + + public Criteria andExt6GreaterThan(String value) { + addCriterion("ext_6 >", value, "ext6"); + return (Criteria) this; + } + + public Criteria andExt6GreaterThanOrEqualTo(String value) { + addCriterion("ext_6 >=", value, "ext6"); + return (Criteria) this; + } + + public Criteria andExt6LessThan(String value) { + addCriterion("ext_6 <", value, "ext6"); + return (Criteria) this; + } + + public Criteria andExt6LessThanOrEqualTo(String value) { + addCriterion("ext_6 <=", value, "ext6"); + return (Criteria) this; + } + + public Criteria andExt6Like(String value) { + addCriterion("ext_6 like", value, "ext6"); + return (Criteria) this; + } + + public Criteria andExt6NotLike(String value) { + addCriterion("ext_6 not like", value, "ext6"); + return (Criteria) this; + } + + public Criteria andExt6In(List values) { + addCriterion("ext_6 in", values, "ext6"); + return (Criteria) this; + } + + public Criteria andExt6NotIn(List values) { + addCriterion("ext_6 not in", values, "ext6"); + return (Criteria) this; + } + + public Criteria andExt6Between(String value1, String value2) { + addCriterion("ext_6 between", value1, value2, "ext6"); + return (Criteria) this; + } + + public Criteria andExt6NotBetween(String value1, String value2) { + addCriterion("ext_6 not between", value1, value2, "ext6"); + 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