diff --git a/service/src/main/java/com/hfkj/dao/BsOrderMapper.java b/service/src/main/java/com/hfkj/dao/BsOrderMapper.java index 9e6377a..2262bd5 100644 --- a/service/src/main/java/com/hfkj/dao/BsOrderMapper.java +++ b/service/src/main/java/com/hfkj/dao/BsOrderMapper.java @@ -39,27 +39,23 @@ public interface BsOrderMapper extends BsOrderMapperExt { int deleteByPrimaryKey(Long id); @Insert({ - "insert into bs_order (user_id, user_name, ", - "user_phone, order_no, ", - "pay_channel, pay_channel_order_no, ", - "pay_serial_no, pay_type, ", - "total_price, pay_real_price, ", - "payment, product_total_price, ", - "create_time, update_time, ", - "pay_time, finish_time, ", + "insert into bs_order (order_no, user_id, ", + "user_phone, img, ", + "goods_name, customParameters, ", + "goods_count, total_price, ", + "promotionAmount, `status`, ", + "create_time, pay_time, ", "cancel_time, refund_time, ", - "order_status, remarks, ", + "finish_time, update_time, ", "ext_1, ext_2, ext_3)", - "values (#{userId,jdbcType=BIGINT}, #{userName,jdbcType=VARCHAR}, ", - "#{userPhone,jdbcType=VARCHAR}, #{orderNo,jdbcType=VARCHAR}, ", - "#{payChannel,jdbcType=INTEGER}, #{payChannelOrderNo,jdbcType=VARCHAR}, ", - "#{paySerialNo,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, ", - "#{totalPrice,jdbcType=DECIMAL}, #{payRealPrice,jdbcType=DECIMAL}, ", - "#{payment,jdbcType=DECIMAL}, #{productTotalPrice,jdbcType=DECIMAL}, ", - "#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", - "#{payTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", + "values (#{orderNo,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", + "#{userPhone,jdbcType=VARCHAR}, #{img,jdbcType=VARCHAR}, ", + "#{goodsName,jdbcType=VARCHAR}, #{customparameters,jdbcType=VARCHAR}, ", + "#{goodsCount,jdbcType=INTEGER}, #{totalPrice,jdbcType=DECIMAL}, ", + "#{promotionamount,jdbcType=DECIMAL}, #{status,jdbcType=INTEGER}, ", + "#{createTime,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, ", "#{cancelTime,jdbcType=TIMESTAMP}, #{refundTime,jdbcType=TIMESTAMP}, ", - "#{orderStatus,jdbcType=INTEGER}, #{remarks,jdbcType=VARCHAR}, ", + "#{finishTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", "#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" }) @Options(useGeneratedKeys=true,keyProperty="id") @@ -72,26 +68,22 @@ public interface BsOrderMapper extends BsOrderMapperExt { @SelectProvider(type=BsOrderSqlProvider.class, method="selectByExample") @Results({ @Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), + @Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), @Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), - @Result(column="user_name", property="userName", jdbcType=JdbcType.VARCHAR), @Result(column="user_phone", property="userPhone", jdbcType=JdbcType.VARCHAR), - @Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), - @Result(column="pay_channel", property="payChannel", jdbcType=JdbcType.INTEGER), - @Result(column="pay_channel_order_no", property="payChannelOrderNo", jdbcType=JdbcType.VARCHAR), - @Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), - @Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), + @Result(column="img", property="img", jdbcType=JdbcType.VARCHAR), + @Result(column="goods_name", property="goodsName", jdbcType=JdbcType.VARCHAR), + @Result(column="customParameters", property="customparameters", jdbcType=JdbcType.VARCHAR), + @Result(column="goods_count", property="goodsCount", jdbcType=JdbcType.INTEGER), @Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL), - @Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), - @Result(column="payment", property="payment", jdbcType=JdbcType.DECIMAL), - @Result(column="product_total_price", property="productTotalPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="promotionAmount", property="promotionamount", jdbcType=JdbcType.DECIMAL), + @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), - @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), - @Result(column="finish_time", property="finishTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), - @Result(column="order_status", property="orderStatus", jdbcType=JdbcType.INTEGER), - @Result(column="remarks", property="remarks", jdbcType=JdbcType.VARCHAR), + @Result(column="finish_time", property="finishTime", 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) @@ -100,35 +92,30 @@ public interface BsOrderMapper extends BsOrderMapperExt { @Select({ "select", - "id, user_id, user_name, user_phone, order_no, pay_channel, pay_channel_order_no, ", - "pay_serial_no, pay_type, total_price, pay_real_price, payment, product_total_price, ", - "create_time, update_time, pay_time, finish_time, cancel_time, refund_time, order_status, ", - "remarks, ext_1, ext_2, ext_3", + "id, order_no, user_id, user_phone, img, goods_name, customParameters, goods_count, ", + "total_price, promotionAmount, `status`, create_time, pay_time, cancel_time, ", + "refund_time, finish_time, update_time, ext_1, ext_2, ext_3", "from bs_order", "where id = #{id,jdbcType=BIGINT}" }) @Results({ @Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), + @Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), @Result(column="user_id", property="userId", jdbcType=JdbcType.BIGINT), - @Result(column="user_name", property="userName", jdbcType=JdbcType.VARCHAR), @Result(column="user_phone", property="userPhone", jdbcType=JdbcType.VARCHAR), - @Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), - @Result(column="pay_channel", property="payChannel", jdbcType=JdbcType.INTEGER), - @Result(column="pay_channel_order_no", property="payChannelOrderNo", jdbcType=JdbcType.VARCHAR), - @Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), - @Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER), + @Result(column="img", property="img", jdbcType=JdbcType.VARCHAR), + @Result(column="goods_name", property="goodsName", jdbcType=JdbcType.VARCHAR), + @Result(column="customParameters", property="customparameters", jdbcType=JdbcType.VARCHAR), + @Result(column="goods_count", property="goodsCount", jdbcType=JdbcType.INTEGER), @Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL), - @Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), - @Result(column="payment", property="payment", jdbcType=JdbcType.DECIMAL), - @Result(column="product_total_price", property="productTotalPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="promotionAmount", property="promotionamount", jdbcType=JdbcType.DECIMAL), + @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), - @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), - @Result(column="finish_time", property="finishTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), - @Result(column="order_status", property="orderStatus", jdbcType=JdbcType.INTEGER), - @Result(column="remarks", property="remarks", jdbcType=JdbcType.VARCHAR), + @Result(column="finish_time", property="finishTime", 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) @@ -146,26 +133,22 @@ public interface BsOrderMapper extends BsOrderMapperExt { @Update({ "update bs_order", - "set user_id = #{userId,jdbcType=BIGINT},", - "user_name = #{userName,jdbcType=VARCHAR},", + "set order_no = #{orderNo,jdbcType=VARCHAR},", + "user_id = #{userId,jdbcType=BIGINT},", "user_phone = #{userPhone,jdbcType=VARCHAR},", - "order_no = #{orderNo,jdbcType=VARCHAR},", - "pay_channel = #{payChannel,jdbcType=INTEGER},", - "pay_channel_order_no = #{payChannelOrderNo,jdbcType=VARCHAR},", - "pay_serial_no = #{paySerialNo,jdbcType=VARCHAR},", - "pay_type = #{payType,jdbcType=INTEGER},", + "img = #{img,jdbcType=VARCHAR},", + "goods_name = #{goodsName,jdbcType=VARCHAR},", + "customParameters = #{customparameters,jdbcType=VARCHAR},", + "goods_count = #{goodsCount,jdbcType=INTEGER},", "total_price = #{totalPrice,jdbcType=DECIMAL},", - "pay_real_price = #{payRealPrice,jdbcType=DECIMAL},", - "payment = #{payment,jdbcType=DECIMAL},", - "product_total_price = #{productTotalPrice,jdbcType=DECIMAL},", + "promotionAmount = #{promotionamount,jdbcType=DECIMAL},", + "`status` = #{status,jdbcType=INTEGER},", "create_time = #{createTime,jdbcType=TIMESTAMP},", - "update_time = #{updateTime,jdbcType=TIMESTAMP},", "pay_time = #{payTime,jdbcType=TIMESTAMP},", - "finish_time = #{finishTime,jdbcType=TIMESTAMP},", "cancel_time = #{cancelTime,jdbcType=TIMESTAMP},", "refund_time = #{refundTime,jdbcType=TIMESTAMP},", - "order_status = #{orderStatus,jdbcType=INTEGER},", - "remarks = #{remarks,jdbcType=VARCHAR},", + "finish_time = #{finishTime,jdbcType=TIMESTAMP},", + "update_time = #{updateTime,jdbcType=TIMESTAMP},", "ext_1 = #{ext1,jdbcType=VARCHAR},", "ext_2 = #{ext2,jdbcType=VARCHAR},", "ext_3 = #{ext3,jdbcType=VARCHAR}", diff --git a/service/src/main/java/com/hfkj/dao/BsOrderSqlProvider.java b/service/src/main/java/com/hfkj/dao/BsOrderSqlProvider.java index aa3e5b8..cce9761 100644 --- a/service/src/main/java/com/hfkj/dao/BsOrderSqlProvider.java +++ b/service/src/main/java/com/hfkj/dao/BsOrderSqlProvider.java @@ -28,70 +28,54 @@ public class BsOrderSqlProvider { SQL sql = new SQL(); sql.INSERT_INTO("bs_order"); - if (record.getUserId() != null) { - sql.VALUES("user_id", "#{userId,jdbcType=BIGINT}"); + if (record.getOrderNo() != null) { + sql.VALUES("order_no", "#{orderNo,jdbcType=VARCHAR}"); } - if (record.getUserName() != null) { - sql.VALUES("user_name", "#{userName,jdbcType=VARCHAR}"); + if (record.getUserId() != null) { + sql.VALUES("user_id", "#{userId,jdbcType=BIGINT}"); } if (record.getUserPhone() != null) { sql.VALUES("user_phone", "#{userPhone,jdbcType=VARCHAR}"); } - if (record.getOrderNo() != null) { - sql.VALUES("order_no", "#{orderNo,jdbcType=VARCHAR}"); + if (record.getImg() != null) { + sql.VALUES("img", "#{img,jdbcType=VARCHAR}"); } - if (record.getPayChannel() != null) { - sql.VALUES("pay_channel", "#{payChannel,jdbcType=INTEGER}"); + if (record.getGoodsName() != null) { + sql.VALUES("goods_name", "#{goodsName,jdbcType=VARCHAR}"); } - if (record.getPayChannelOrderNo() != null) { - sql.VALUES("pay_channel_order_no", "#{payChannelOrderNo,jdbcType=VARCHAR}"); + if (record.getCustomparameters() != null) { + sql.VALUES("customParameters", "#{customparameters,jdbcType=VARCHAR}"); } - if (record.getPaySerialNo() != null) { - sql.VALUES("pay_serial_no", "#{paySerialNo,jdbcType=VARCHAR}"); - } - - if (record.getPayType() != null) { - sql.VALUES("pay_type", "#{payType,jdbcType=INTEGER}"); + if (record.getGoodsCount() != null) { + sql.VALUES("goods_count", "#{goodsCount,jdbcType=INTEGER}"); } if (record.getTotalPrice() != null) { sql.VALUES("total_price", "#{totalPrice,jdbcType=DECIMAL}"); } - if (record.getPayRealPrice() != null) { - sql.VALUES("pay_real_price", "#{payRealPrice,jdbcType=DECIMAL}"); + if (record.getPromotionamount() != null) { + sql.VALUES("promotionAmount", "#{promotionamount,jdbcType=DECIMAL}"); } - if (record.getPayment() != null) { - sql.VALUES("payment", "#{payment,jdbcType=DECIMAL}"); - } - - if (record.getProductTotalPrice() != null) { - sql.VALUES("product_total_price", "#{productTotalPrice,jdbcType=DECIMAL}"); + if (record.getStatus() != null) { + sql.VALUES("`status`", "#{status,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.getPayTime() != null) { sql.VALUES("pay_time", "#{payTime,jdbcType=TIMESTAMP}"); } - if (record.getFinishTime() != null) { - sql.VALUES("finish_time", "#{finishTime,jdbcType=TIMESTAMP}"); - } - if (record.getCancelTime() != null) { sql.VALUES("cancel_time", "#{cancelTime,jdbcType=TIMESTAMP}"); } @@ -100,12 +84,12 @@ public class BsOrderSqlProvider { sql.VALUES("refund_time", "#{refundTime,jdbcType=TIMESTAMP}"); } - if (record.getOrderStatus() != null) { - sql.VALUES("order_status", "#{orderStatus,jdbcType=INTEGER}"); + if (record.getFinishTime() != null) { + sql.VALUES("finish_time", "#{finishTime,jdbcType=TIMESTAMP}"); } - if (record.getRemarks() != null) { - sql.VALUES("remarks", "#{remarks,jdbcType=VARCHAR}"); + if (record.getUpdateTime() != null) { + sql.VALUES("update_time", "#{updateTime,jdbcType=TIMESTAMP}"); } if (record.getExt1() != null) { @@ -130,26 +114,22 @@ public class BsOrderSqlProvider { } else { sql.SELECT("id"); } + sql.SELECT("order_no"); sql.SELECT("user_id"); - sql.SELECT("user_name"); sql.SELECT("user_phone"); - sql.SELECT("order_no"); - sql.SELECT("pay_channel"); - sql.SELECT("pay_channel_order_no"); - sql.SELECT("pay_serial_no"); - sql.SELECT("pay_type"); + sql.SELECT("img"); + sql.SELECT("goods_name"); + sql.SELECT("customParameters"); + sql.SELECT("goods_count"); sql.SELECT("total_price"); - sql.SELECT("pay_real_price"); - sql.SELECT("payment"); - sql.SELECT("product_total_price"); + sql.SELECT("promotionAmount"); + sql.SELECT("`status`"); sql.SELECT("create_time"); - sql.SELECT("update_time"); sql.SELECT("pay_time"); - sql.SELECT("finish_time"); sql.SELECT("cancel_time"); sql.SELECT("refund_time"); - sql.SELECT("order_status"); - sql.SELECT("remarks"); + sql.SELECT("finish_time"); + sql.SELECT("update_time"); sql.SELECT("ext_1"); sql.SELECT("ext_2"); sql.SELECT("ext_3"); @@ -174,70 +154,54 @@ public class BsOrderSqlProvider { sql.SET("id = #{record.id,jdbcType=BIGINT}"); } - if (record.getUserId() != null) { - sql.SET("user_id = #{record.userId,jdbcType=BIGINT}"); + if (record.getOrderNo() != null) { + sql.SET("order_no = #{record.orderNo,jdbcType=VARCHAR}"); } - if (record.getUserName() != null) { - sql.SET("user_name = #{record.userName,jdbcType=VARCHAR}"); + if (record.getUserId() != null) { + sql.SET("user_id = #{record.userId,jdbcType=BIGINT}"); } if (record.getUserPhone() != null) { sql.SET("user_phone = #{record.userPhone,jdbcType=VARCHAR}"); } - if (record.getOrderNo() != null) { - sql.SET("order_no = #{record.orderNo,jdbcType=VARCHAR}"); - } - - if (record.getPayChannel() != null) { - sql.SET("pay_channel = #{record.payChannel,jdbcType=INTEGER}"); + if (record.getImg() != null) { + sql.SET("img = #{record.img,jdbcType=VARCHAR}"); } - if (record.getPayChannelOrderNo() != null) { - sql.SET("pay_channel_order_no = #{record.payChannelOrderNo,jdbcType=VARCHAR}"); + if (record.getGoodsName() != null) { + sql.SET("goods_name = #{record.goodsName,jdbcType=VARCHAR}"); } - if (record.getPaySerialNo() != null) { - sql.SET("pay_serial_no = #{record.paySerialNo,jdbcType=VARCHAR}"); + if (record.getCustomparameters() != null) { + sql.SET("customParameters = #{record.customparameters,jdbcType=VARCHAR}"); } - if (record.getPayType() != null) { - sql.SET("pay_type = #{record.payType,jdbcType=INTEGER}"); + if (record.getGoodsCount() != null) { + sql.SET("goods_count = #{record.goodsCount,jdbcType=INTEGER}"); } if (record.getTotalPrice() != null) { sql.SET("total_price = #{record.totalPrice,jdbcType=DECIMAL}"); } - if (record.getPayRealPrice() != null) { - sql.SET("pay_real_price = #{record.payRealPrice,jdbcType=DECIMAL}"); - } - - if (record.getPayment() != null) { - sql.SET("payment = #{record.payment,jdbcType=DECIMAL}"); + if (record.getPromotionamount() != null) { + sql.SET("promotionAmount = #{record.promotionamount,jdbcType=DECIMAL}"); } - if (record.getProductTotalPrice() != null) { - sql.SET("product_total_price = #{record.productTotalPrice,jdbcType=DECIMAL}"); + if (record.getStatus() != null) { + sql.SET("`status` = #{record.status,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.getPayTime() != null) { sql.SET("pay_time = #{record.payTime,jdbcType=TIMESTAMP}"); } - if (record.getFinishTime() != null) { - sql.SET("finish_time = #{record.finishTime,jdbcType=TIMESTAMP}"); - } - if (record.getCancelTime() != null) { sql.SET("cancel_time = #{record.cancelTime,jdbcType=TIMESTAMP}"); } @@ -246,12 +210,12 @@ public class BsOrderSqlProvider { sql.SET("refund_time = #{record.refundTime,jdbcType=TIMESTAMP}"); } - if (record.getOrderStatus() != null) { - sql.SET("order_status = #{record.orderStatus,jdbcType=INTEGER}"); + if (record.getFinishTime() != null) { + sql.SET("finish_time = #{record.finishTime,jdbcType=TIMESTAMP}"); } - if (record.getRemarks() != null) { - sql.SET("remarks = #{record.remarks,jdbcType=VARCHAR}"); + if (record.getUpdateTime() != null) { + sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); } if (record.getExt1() != null) { @@ -275,26 +239,22 @@ public class BsOrderSqlProvider { sql.UPDATE("bs_order"); sql.SET("id = #{record.id,jdbcType=BIGINT}"); + sql.SET("order_no = #{record.orderNo,jdbcType=VARCHAR}"); sql.SET("user_id = #{record.userId,jdbcType=BIGINT}"); - sql.SET("user_name = #{record.userName,jdbcType=VARCHAR}"); sql.SET("user_phone = #{record.userPhone,jdbcType=VARCHAR}"); - sql.SET("order_no = #{record.orderNo,jdbcType=VARCHAR}"); - sql.SET("pay_channel = #{record.payChannel,jdbcType=INTEGER}"); - sql.SET("pay_channel_order_no = #{record.payChannelOrderNo,jdbcType=VARCHAR}"); - sql.SET("pay_serial_no = #{record.paySerialNo,jdbcType=VARCHAR}"); - sql.SET("pay_type = #{record.payType,jdbcType=INTEGER}"); + sql.SET("img = #{record.img,jdbcType=VARCHAR}"); + sql.SET("goods_name = #{record.goodsName,jdbcType=VARCHAR}"); + sql.SET("customParameters = #{record.customparameters,jdbcType=VARCHAR}"); + sql.SET("goods_count = #{record.goodsCount,jdbcType=INTEGER}"); sql.SET("total_price = #{record.totalPrice,jdbcType=DECIMAL}"); - sql.SET("pay_real_price = #{record.payRealPrice,jdbcType=DECIMAL}"); - sql.SET("payment = #{record.payment,jdbcType=DECIMAL}"); - sql.SET("product_total_price = #{record.productTotalPrice,jdbcType=DECIMAL}"); + sql.SET("promotionAmount = #{record.promotionamount,jdbcType=DECIMAL}"); + sql.SET("`status` = #{record.status,jdbcType=INTEGER}"); sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}"); - sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); sql.SET("pay_time = #{record.payTime,jdbcType=TIMESTAMP}"); - sql.SET("finish_time = #{record.finishTime,jdbcType=TIMESTAMP}"); sql.SET("cancel_time = #{record.cancelTime,jdbcType=TIMESTAMP}"); sql.SET("refund_time = #{record.refundTime,jdbcType=TIMESTAMP}"); - sql.SET("order_status = #{record.orderStatus,jdbcType=INTEGER}"); - sql.SET("remarks = #{record.remarks,jdbcType=VARCHAR}"); + sql.SET("finish_time = #{record.finishTime,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}"); @@ -308,70 +268,54 @@ public class BsOrderSqlProvider { SQL sql = new SQL(); sql.UPDATE("bs_order"); - if (record.getUserId() != null) { - sql.SET("user_id = #{userId,jdbcType=BIGINT}"); + if (record.getOrderNo() != null) { + sql.SET("order_no = #{orderNo,jdbcType=VARCHAR}"); } - if (record.getUserName() != null) { - sql.SET("user_name = #{userName,jdbcType=VARCHAR}"); + if (record.getUserId() != null) { + sql.SET("user_id = #{userId,jdbcType=BIGINT}"); } if (record.getUserPhone() != null) { sql.SET("user_phone = #{userPhone,jdbcType=VARCHAR}"); } - if (record.getOrderNo() != null) { - sql.SET("order_no = #{orderNo,jdbcType=VARCHAR}"); + if (record.getImg() != null) { + sql.SET("img = #{img,jdbcType=VARCHAR}"); } - if (record.getPayChannel() != null) { - sql.SET("pay_channel = #{payChannel,jdbcType=INTEGER}"); + if (record.getGoodsName() != null) { + sql.SET("goods_name = #{goodsName,jdbcType=VARCHAR}"); } - if (record.getPayChannelOrderNo() != null) { - sql.SET("pay_channel_order_no = #{payChannelOrderNo,jdbcType=VARCHAR}"); + if (record.getCustomparameters() != null) { + sql.SET("customParameters = #{customparameters,jdbcType=VARCHAR}"); } - if (record.getPaySerialNo() != null) { - sql.SET("pay_serial_no = #{paySerialNo,jdbcType=VARCHAR}"); - } - - if (record.getPayType() != null) { - sql.SET("pay_type = #{payType,jdbcType=INTEGER}"); + if (record.getGoodsCount() != null) { + sql.SET("goods_count = #{goodsCount,jdbcType=INTEGER}"); } if (record.getTotalPrice() != null) { sql.SET("total_price = #{totalPrice,jdbcType=DECIMAL}"); } - if (record.getPayRealPrice() != null) { - sql.SET("pay_real_price = #{payRealPrice,jdbcType=DECIMAL}"); - } - - if (record.getPayment() != null) { - sql.SET("payment = #{payment,jdbcType=DECIMAL}"); + if (record.getPromotionamount() != null) { + sql.SET("promotionAmount = #{promotionamount,jdbcType=DECIMAL}"); } - if (record.getProductTotalPrice() != null) { - sql.SET("product_total_price = #{productTotalPrice,jdbcType=DECIMAL}"); + if (record.getStatus() != null) { + sql.SET("`status` = #{status,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.getPayTime() != null) { sql.SET("pay_time = #{payTime,jdbcType=TIMESTAMP}"); } - if (record.getFinishTime() != null) { - sql.SET("finish_time = #{finishTime,jdbcType=TIMESTAMP}"); - } - if (record.getCancelTime() != null) { sql.SET("cancel_time = #{cancelTime,jdbcType=TIMESTAMP}"); } @@ -380,12 +324,12 @@ public class BsOrderSqlProvider { sql.SET("refund_time = #{refundTime,jdbcType=TIMESTAMP}"); } - if (record.getOrderStatus() != null) { - sql.SET("order_status = #{orderStatus,jdbcType=INTEGER}"); + if (record.getFinishTime() != null) { + sql.SET("finish_time = #{finishTime,jdbcType=TIMESTAMP}"); } - if (record.getRemarks() != null) { - sql.SET("remarks = #{remarks,jdbcType=VARCHAR}"); + if (record.getUpdateTime() != null) { + sql.SET("update_time = #{updateTime,jdbcType=TIMESTAMP}"); } if (record.getExt1() != null) { diff --git a/service/src/main/java/com/hfkj/dao/GoodsShoppingCartMapper.java b/service/src/main/java/com/hfkj/dao/GoodsShoppingCartMapper.java index 041e679..93fa7f8 100644 --- a/service/src/main/java/com/hfkj/dao/GoodsShoppingCartMapper.java +++ b/service/src/main/java/com/hfkj/dao/GoodsShoppingCartMapper.java @@ -153,4 +153,4 @@ public interface GoodsShoppingCartMapper extends GoodsShoppingCartMapperExt { "where id = #{id,jdbcType=BIGINT}" }) int updateByPrimaryKey(GoodsShoppingCart record); -} +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/dao/GoodsShoppingCartSqlProvider.java b/service/src/main/java/com/hfkj/dao/GoodsShoppingCartSqlProvider.java index 7176d41..4fb833d 100644 --- a/service/src/main/java/com/hfkj/dao/GoodsShoppingCartSqlProvider.java +++ b/service/src/main/java/com/hfkj/dao/GoodsShoppingCartSqlProvider.java @@ -441,4 +441,4 @@ public class GoodsShoppingCartSqlProvider { sql.WHERE(sb.toString()); } } -} +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/entity/BsOrder.java b/service/src/main/java/com/hfkj/entity/BsOrder.java index cfee38b..4a7dbe3 100644 --- a/service/src/main/java/com/hfkj/entity/BsOrder.java +++ b/service/src/main/java/com/hfkj/entity/BsOrder.java @@ -15,19 +15,19 @@ import java.util.Date; **/ public class BsOrder implements Serializable { /** - * 主键ID + * 主键 */ private Long id; /** - * 用户id + * 交易订单号 */ - private Long userId; + private String orderNo; /** - * 用户名称 + * 用户id */ - private String userName; + private Long userId; /** * 用户手机号 @@ -35,70 +35,50 @@ public class BsOrder implements Serializable { private String userPhone; /** - * 订单号 - */ - private String orderNo; - - /** - * 支付渠道 1:惠支付 2:微信合作商 3:贵州银行 4:汇联通 + * 图片 */ - private Integer payChannel; + private String img; /** - * 支付渠道流水号 + * 商品名称 */ - private String payChannelOrderNo; + private String goodsName; /** - * 客户支付流水号 + * 自定义参数 */ - private String paySerialNo; + private String customparameters; /** - * 支付方式 1:微信 2: 支付宝 3:快捷支付 4:工会卡 + * 商品数量 */ - private Integer payType; + private Integer goodsCount; /** - * 订单总金额 + * 交易金额 */ private BigDecimal totalPrice; /** - * 应付金额 - */ - private BigDecimal payRealPrice; - - /** - * 支付金额 + * 佣金金额 */ - private BigDecimal payment; + private BigDecimal promotionamount; /** - * 商品总金额 + * 0-已支付;1-已成团;2-确认收货;3-审核成功;4-审核失败(不可提现);5-已经结算 ;10-已处罚 */ - private BigDecimal productTotalPrice; + private Integer status; /** * 创建时间 */ private Date createTime; - /** - * 修改时间 - */ - private Date updateTime; - /** * 支付时间 */ private Date payTime; - /** - * 完成时间 - */ - private Date finishTime; - /** * 取消时间 */ @@ -110,14 +90,14 @@ public class BsOrder implements Serializable { private Date refundTime; /** - * 订单状态:1 待支付 2 已支付 3.已完成 4. 已退款 5.已取消 + * 完成时间 */ - private Integer orderStatus; + private Date finishTime; /** - * 备注 + * 更新时间 */ - private String remarks; + private Date updateTime; private String ext1; @@ -135,20 +115,20 @@ public class BsOrder implements Serializable { this.id = id; } - public Long getUserId() { - return userId; + public String getOrderNo() { + return orderNo; } - public void setUserId(Long userId) { - this.userId = userId; + public void setOrderNo(String orderNo) { + this.orderNo = orderNo; } - public String getUserName() { - return userName; + public Long getUserId() { + return userId; } - public void setUserName(String userName) { - this.userName = userName; + public void setUserId(Long userId) { + this.userId = userId; } public String getUserPhone() { @@ -159,44 +139,36 @@ public class BsOrder implements Serializable { this.userPhone = userPhone; } - public String getOrderNo() { - return orderNo; + public String getImg() { + return img; } - public void setOrderNo(String orderNo) { - this.orderNo = orderNo; + public void setImg(String img) { + this.img = img; } - public Integer getPayChannel() { - return payChannel; + public String getGoodsName() { + return goodsName; } - public void setPayChannel(Integer payChannel) { - this.payChannel = payChannel; + public void setGoodsName(String goodsName) { + this.goodsName = goodsName; } - public String getPayChannelOrderNo() { - return payChannelOrderNo; + public String getCustomparameters() { + return customparameters; } - public void setPayChannelOrderNo(String payChannelOrderNo) { - this.payChannelOrderNo = payChannelOrderNo; + public void setCustomparameters(String customparameters) { + this.customparameters = customparameters; } - public String getPaySerialNo() { - return paySerialNo; + public Integer getGoodsCount() { + return goodsCount; } - public void setPaySerialNo(String paySerialNo) { - this.paySerialNo = paySerialNo; - } - - public Integer getPayType() { - return payType; - } - - public void setPayType(Integer payType) { - this.payType = payType; + public void setGoodsCount(Integer goodsCount) { + this.goodsCount = goodsCount; } public BigDecimal getTotalPrice() { @@ -207,28 +179,20 @@ public class BsOrder implements Serializable { this.totalPrice = totalPrice; } - public BigDecimal getPayRealPrice() { - return payRealPrice; - } - - public void setPayRealPrice(BigDecimal payRealPrice) { - this.payRealPrice = payRealPrice; - } - - public BigDecimal getPayment() { - return payment; + public BigDecimal getPromotionamount() { + return promotionamount; } - public void setPayment(BigDecimal payment) { - this.payment = payment; + public void setPromotionamount(BigDecimal promotionamount) { + this.promotionamount = promotionamount; } - public BigDecimal getProductTotalPrice() { - return productTotalPrice; + public Integer getStatus() { + return status; } - public void setProductTotalPrice(BigDecimal productTotalPrice) { - this.productTotalPrice = productTotalPrice; + public void setStatus(Integer status) { + this.status = status; } public Date getCreateTime() { @@ -239,14 +203,6 @@ public class BsOrder implements Serializable { this.createTime = createTime; } - public Date getUpdateTime() { - return updateTime; - } - - public void setUpdateTime(Date updateTime) { - this.updateTime = updateTime; - } - public Date getPayTime() { return payTime; } @@ -255,14 +211,6 @@ public class BsOrder implements Serializable { this.payTime = payTime; } - public Date getFinishTime() { - return finishTime; - } - - public void setFinishTime(Date finishTime) { - this.finishTime = finishTime; - } - public Date getCancelTime() { return cancelTime; } @@ -279,20 +227,20 @@ public class BsOrder implements Serializable { this.refundTime = refundTime; } - public Integer getOrderStatus() { - return orderStatus; + public Date getFinishTime() { + return finishTime; } - public void setOrderStatus(Integer orderStatus) { - this.orderStatus = orderStatus; + public void setFinishTime(Date finishTime) { + this.finishTime = finishTime; } - public String getRemarks() { - return remarks; + public Date getUpdateTime() { + return updateTime; } - public void setRemarks(String remarks) { - this.remarks = remarks; + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; } public String getExt1() { @@ -332,26 +280,22 @@ public class BsOrder implements Serializable { } BsOrder other = (BsOrder) that; return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) + && (this.getOrderNo() == null ? other.getOrderNo() == null : this.getOrderNo().equals(other.getOrderNo())) && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) - && (this.getUserName() == null ? other.getUserName() == null : this.getUserName().equals(other.getUserName())) && (this.getUserPhone() == null ? other.getUserPhone() == null : this.getUserPhone().equals(other.getUserPhone())) - && (this.getOrderNo() == null ? other.getOrderNo() == null : this.getOrderNo().equals(other.getOrderNo())) - && (this.getPayChannel() == null ? other.getPayChannel() == null : this.getPayChannel().equals(other.getPayChannel())) - && (this.getPayChannelOrderNo() == null ? other.getPayChannelOrderNo() == null : this.getPayChannelOrderNo().equals(other.getPayChannelOrderNo())) - && (this.getPaySerialNo() == null ? other.getPaySerialNo() == null : this.getPaySerialNo().equals(other.getPaySerialNo())) - && (this.getPayType() == null ? other.getPayType() == null : this.getPayType().equals(other.getPayType())) + && (this.getImg() == null ? other.getImg() == null : this.getImg().equals(other.getImg())) + && (this.getGoodsName() == null ? other.getGoodsName() == null : this.getGoodsName().equals(other.getGoodsName())) + && (this.getCustomparameters() == null ? other.getCustomparameters() == null : this.getCustomparameters().equals(other.getCustomparameters())) + && (this.getGoodsCount() == null ? other.getGoodsCount() == null : this.getGoodsCount().equals(other.getGoodsCount())) && (this.getTotalPrice() == null ? other.getTotalPrice() == null : this.getTotalPrice().equals(other.getTotalPrice())) - && (this.getPayRealPrice() == null ? other.getPayRealPrice() == null : this.getPayRealPrice().equals(other.getPayRealPrice())) - && (this.getPayment() == null ? other.getPayment() == null : this.getPayment().equals(other.getPayment())) - && (this.getProductTotalPrice() == null ? other.getProductTotalPrice() == null : this.getProductTotalPrice().equals(other.getProductTotalPrice())) + && (this.getPromotionamount() == null ? other.getPromotionamount() == null : this.getPromotionamount().equals(other.getPromotionamount())) + && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) - && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) && (this.getPayTime() == null ? other.getPayTime() == null : this.getPayTime().equals(other.getPayTime())) - && (this.getFinishTime() == null ? other.getFinishTime() == null : this.getFinishTime().equals(other.getFinishTime())) && (this.getCancelTime() == null ? other.getCancelTime() == null : this.getCancelTime().equals(other.getCancelTime())) && (this.getRefundTime() == null ? other.getRefundTime() == null : this.getRefundTime().equals(other.getRefundTime())) - && (this.getOrderStatus() == null ? other.getOrderStatus() == null : this.getOrderStatus().equals(other.getOrderStatus())) - && (this.getRemarks() == null ? other.getRemarks() == null : this.getRemarks().equals(other.getRemarks())) + && (this.getFinishTime() == null ? other.getFinishTime() == null : this.getFinishTime().equals(other.getFinishTime())) + && (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())); @@ -362,26 +306,22 @@ public class BsOrder implements Serializable { final int prime = 31; int result = 1; result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); + result = prime * result + ((getOrderNo() == null) ? 0 : getOrderNo().hashCode()); result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); - result = prime * result + ((getUserName() == null) ? 0 : getUserName().hashCode()); result = prime * result + ((getUserPhone() == null) ? 0 : getUserPhone().hashCode()); - result = prime * result + ((getOrderNo() == null) ? 0 : getOrderNo().hashCode()); - result = prime * result + ((getPayChannel() == null) ? 0 : getPayChannel().hashCode()); - result = prime * result + ((getPayChannelOrderNo() == null) ? 0 : getPayChannelOrderNo().hashCode()); - result = prime * result + ((getPaySerialNo() == null) ? 0 : getPaySerialNo().hashCode()); - result = prime * result + ((getPayType() == null) ? 0 : getPayType().hashCode()); + result = prime * result + ((getImg() == null) ? 0 : getImg().hashCode()); + result = prime * result + ((getGoodsName() == null) ? 0 : getGoodsName().hashCode()); + result = prime * result + ((getCustomparameters() == null) ? 0 : getCustomparameters().hashCode()); + result = prime * result + ((getGoodsCount() == null) ? 0 : getGoodsCount().hashCode()); result = prime * result + ((getTotalPrice() == null) ? 0 : getTotalPrice().hashCode()); - result = prime * result + ((getPayRealPrice() == null) ? 0 : getPayRealPrice().hashCode()); - result = prime * result + ((getPayment() == null) ? 0 : getPayment().hashCode()); - result = prime * result + ((getProductTotalPrice() == null) ? 0 : getProductTotalPrice().hashCode()); + result = prime * result + ((getPromotionamount() == null) ? 0 : getPromotionamount().hashCode()); + result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); - result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); result = prime * result + ((getPayTime() == null) ? 0 : getPayTime().hashCode()); - result = prime * result + ((getFinishTime() == null) ? 0 : getFinishTime().hashCode()); result = prime * result + ((getCancelTime() == null) ? 0 : getCancelTime().hashCode()); result = prime * result + ((getRefundTime() == null) ? 0 : getRefundTime().hashCode()); - result = prime * result + ((getOrderStatus() == null) ? 0 : getOrderStatus().hashCode()); - result = prime * result + ((getRemarks() == null) ? 0 : getRemarks().hashCode()); + result = prime * result + ((getFinishTime() == null) ? 0 : getFinishTime().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()); @@ -395,26 +335,22 @@ public class BsOrder implements Serializable { sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", id=").append(id); + sb.append(", orderNo=").append(orderNo); sb.append(", userId=").append(userId); - sb.append(", userName=").append(userName); sb.append(", userPhone=").append(userPhone); - sb.append(", orderNo=").append(orderNo); - sb.append(", payChannel=").append(payChannel); - sb.append(", payChannelOrderNo=").append(payChannelOrderNo); - sb.append(", paySerialNo=").append(paySerialNo); - sb.append(", payType=").append(payType); + sb.append(", img=").append(img); + sb.append(", goodsName=").append(goodsName); + sb.append(", customparameters=").append(customparameters); + sb.append(", goodsCount=").append(goodsCount); sb.append(", totalPrice=").append(totalPrice); - sb.append(", payRealPrice=").append(payRealPrice); - sb.append(", payment=").append(payment); - sb.append(", productTotalPrice=").append(productTotalPrice); + sb.append(", promotionamount=").append(promotionamount); + sb.append(", status=").append(status); sb.append(", createTime=").append(createTime); - sb.append(", updateTime=").append(updateTime); sb.append(", payTime=").append(payTime); - sb.append(", finishTime=").append(finishTime); sb.append(", cancelTime=").append(cancelTime); sb.append(", refundTime=").append(refundTime); - sb.append(", orderStatus=").append(orderStatus); - sb.append(", remarks=").append(remarks); + sb.append(", finishTime=").append(finishTime); + sb.append(", updateTime=").append(updateTime); sb.append(", ext1=").append(ext1); sb.append(", ext2=").append(ext2); sb.append(", ext3=").append(ext3); diff --git a/service/src/main/java/com/hfkj/entity/BsOrderExample.java b/service/src/main/java/com/hfkj/entity/BsOrderExample.java index 9c98c82..4e9a40a 100644 --- a/service/src/main/java/com/hfkj/entity/BsOrderExample.java +++ b/service/src/main/java/com/hfkj/entity/BsOrderExample.java @@ -186,133 +186,133 @@ public class BsOrderExample { return (Criteria) this; } - public Criteria andUserIdIsNull() { - addCriterion("user_id is null"); + public Criteria andOrderNoIsNull() { + addCriterion("order_no is null"); return (Criteria) this; } - public Criteria andUserIdIsNotNull() { - addCriterion("user_id is not null"); + public Criteria andOrderNoIsNotNull() { + addCriterion("order_no is not null"); return (Criteria) this; } - public Criteria andUserIdEqualTo(Long value) { - addCriterion("user_id =", value, "userId"); + public Criteria andOrderNoEqualTo(String value) { + addCriterion("order_no =", value, "orderNo"); return (Criteria) this; } - public Criteria andUserIdNotEqualTo(Long value) { - addCriterion("user_id <>", value, "userId"); + public Criteria andOrderNoNotEqualTo(String value) { + addCriterion("order_no <>", value, "orderNo"); return (Criteria) this; } - public Criteria andUserIdGreaterThan(Long value) { - addCriterion("user_id >", value, "userId"); + public Criteria andOrderNoGreaterThan(String value) { + addCriterion("order_no >", value, "orderNo"); return (Criteria) this; } - public Criteria andUserIdGreaterThanOrEqualTo(Long value) { - addCriterion("user_id >=", value, "userId"); + public Criteria andOrderNoGreaterThanOrEqualTo(String value) { + addCriterion("order_no >=", value, "orderNo"); return (Criteria) this; } - public Criteria andUserIdLessThan(Long value) { - addCriterion("user_id <", value, "userId"); + public Criteria andOrderNoLessThan(String value) { + addCriterion("order_no <", value, "orderNo"); return (Criteria) this; } - public Criteria andUserIdLessThanOrEqualTo(Long value) { - addCriterion("user_id <=", value, "userId"); + public Criteria andOrderNoLessThanOrEqualTo(String value) { + addCriterion("order_no <=", value, "orderNo"); return (Criteria) this; } - public Criteria andUserIdIn(List values) { - addCriterion("user_id in", values, "userId"); + public Criteria andOrderNoLike(String value) { + addCriterion("order_no like", value, "orderNo"); return (Criteria) this; } - public Criteria andUserIdNotIn(List values) { - addCriterion("user_id not in", values, "userId"); + public Criteria andOrderNoNotLike(String value) { + addCriterion("order_no not like", value, "orderNo"); return (Criteria) this; } - public Criteria andUserIdBetween(Long value1, Long value2) { - addCriterion("user_id between", value1, value2, "userId"); + public Criteria andOrderNoIn(List values) { + addCriterion("order_no in", values, "orderNo"); return (Criteria) this; } - public Criteria andUserIdNotBetween(Long value1, Long value2) { - addCriterion("user_id not between", value1, value2, "userId"); + public Criteria andOrderNoNotIn(List values) { + addCriterion("order_no not in", values, "orderNo"); return (Criteria) this; } - public Criteria andUserNameIsNull() { - addCriterion("user_name is null"); + public Criteria andOrderNoBetween(String value1, String value2) { + addCriterion("order_no between", value1, value2, "orderNo"); return (Criteria) this; } - public Criteria andUserNameIsNotNull() { - addCriterion("user_name is not null"); + public Criteria andOrderNoNotBetween(String value1, String value2) { + addCriterion("order_no not between", value1, value2, "orderNo"); return (Criteria) this; } - public Criteria andUserNameEqualTo(String value) { - addCriterion("user_name =", value, "userName"); + public Criteria andUserIdIsNull() { + addCriterion("user_id is null"); return (Criteria) this; } - public Criteria andUserNameNotEqualTo(String value) { - addCriterion("user_name <>", value, "userName"); + public Criteria andUserIdIsNotNull() { + addCriterion("user_id is not null"); return (Criteria) this; } - public Criteria andUserNameGreaterThan(String value) { - addCriterion("user_name >", value, "userName"); + public Criteria andUserIdEqualTo(Long value) { + addCriterion("user_id =", value, "userId"); return (Criteria) this; } - public Criteria andUserNameGreaterThanOrEqualTo(String value) { - addCriterion("user_name >=", value, "userName"); + public Criteria andUserIdNotEqualTo(Long value) { + addCriterion("user_id <>", value, "userId"); return (Criteria) this; } - public Criteria andUserNameLessThan(String value) { - addCriterion("user_name <", value, "userName"); + public Criteria andUserIdGreaterThan(Long value) { + addCriterion("user_id >", value, "userId"); return (Criteria) this; } - public Criteria andUserNameLessThanOrEqualTo(String value) { - addCriterion("user_name <=", value, "userName"); + public Criteria andUserIdGreaterThanOrEqualTo(Long value) { + addCriterion("user_id >=", value, "userId"); return (Criteria) this; } - public Criteria andUserNameLike(String value) { - addCriterion("user_name like", value, "userName"); + public Criteria andUserIdLessThan(Long value) { + addCriterion("user_id <", value, "userId"); return (Criteria) this; } - public Criteria andUserNameNotLike(String value) { - addCriterion("user_name not like", value, "userName"); + public Criteria andUserIdLessThanOrEqualTo(Long value) { + addCriterion("user_id <=", value, "userId"); return (Criteria) this; } - public Criteria andUserNameIn(List values) { - addCriterion("user_name in", values, "userName"); + public Criteria andUserIdIn(List values) { + addCriterion("user_id in", values, "userId"); return (Criteria) this; } - public Criteria andUserNameNotIn(List values) { - addCriterion("user_name not in", values, "userName"); + public Criteria andUserIdNotIn(List values) { + addCriterion("user_id not in", values, "userId"); return (Criteria) this; } - public Criteria andUserNameBetween(String value1, String value2) { - addCriterion("user_name between", value1, value2, "userName"); + public Criteria andUserIdBetween(Long value1, Long value2) { + addCriterion("user_id between", value1, value2, "userId"); return (Criteria) this; } - public Criteria andUserNameNotBetween(String value1, String value2) { - addCriterion("user_name not between", value1, value2, "userName"); + public Criteria andUserIdNotBetween(Long value1, Long value2) { + addCriterion("user_id not between", value1, value2, "userId"); return (Criteria) this; } @@ -386,333 +386,273 @@ public class BsOrderExample { return (Criteria) this; } - public Criteria andOrderNoIsNull() { - addCriterion("order_no is null"); + public Criteria andImgIsNull() { + addCriterion("img is null"); return (Criteria) this; } - public Criteria andOrderNoIsNotNull() { - addCriterion("order_no is not null"); + public Criteria andImgIsNotNull() { + addCriterion("img is not null"); return (Criteria) this; } - public Criteria andOrderNoEqualTo(String value) { - addCriterion("order_no =", value, "orderNo"); + public Criteria andImgEqualTo(String value) { + addCriterion("img =", value, "img"); return (Criteria) this; } - public Criteria andOrderNoNotEqualTo(String value) { - addCriterion("order_no <>", value, "orderNo"); + public Criteria andImgNotEqualTo(String value) { + addCriterion("img <>", value, "img"); return (Criteria) this; } - public Criteria andOrderNoGreaterThan(String value) { - addCriterion("order_no >", value, "orderNo"); + public Criteria andImgGreaterThan(String value) { + addCriterion("img >", value, "img"); return (Criteria) this; } - public Criteria andOrderNoGreaterThanOrEqualTo(String value) { - addCriterion("order_no >=", value, "orderNo"); + public Criteria andImgGreaterThanOrEqualTo(String value) { + addCriterion("img >=", value, "img"); return (Criteria) this; } - public Criteria andOrderNoLessThan(String value) { - addCriterion("order_no <", value, "orderNo"); - return (Criteria) this; - } - - public Criteria andOrderNoLessThanOrEqualTo(String value) { - addCriterion("order_no <=", value, "orderNo"); - return (Criteria) this; - } - - public Criteria andOrderNoLike(String value) { - addCriterion("order_no like", value, "orderNo"); - return (Criteria) this; - } - - public Criteria andOrderNoNotLike(String value) { - addCriterion("order_no not like", value, "orderNo"); - return (Criteria) this; - } - - public Criteria andOrderNoIn(List values) { - addCriterion("order_no in", values, "orderNo"); + public Criteria andImgLessThan(String value) { + addCriterion("img <", value, "img"); return (Criteria) this; } - public Criteria andOrderNoNotIn(List values) { - addCriterion("order_no not in", values, "orderNo"); - return (Criteria) this; - } - - public Criteria andOrderNoBetween(String value1, String value2) { - addCriterion("order_no between", value1, value2, "orderNo"); - return (Criteria) this; - } - - public Criteria andOrderNoNotBetween(String value1, String value2) { - addCriterion("order_no not between", value1, value2, "orderNo"); - return (Criteria) this; - } - - public Criteria andPayChannelIsNull() { - addCriterion("pay_channel is null"); + public Criteria andImgLessThanOrEqualTo(String value) { + addCriterion("img <=", value, "img"); return (Criteria) this; } - public Criteria andPayChannelIsNotNull() { - addCriterion("pay_channel is not null"); + public Criteria andImgLike(String value) { + addCriterion("img like", value, "img"); return (Criteria) this; } - public Criteria andPayChannelEqualTo(Integer value) { - addCriterion("pay_channel =", value, "payChannel"); + public Criteria andImgNotLike(String value) { + addCriterion("img not like", value, "img"); return (Criteria) this; } - public Criteria andPayChannelNotEqualTo(Integer value) { - addCriterion("pay_channel <>", value, "payChannel"); + public Criteria andImgIn(List values) { + addCriterion("img in", values, "img"); return (Criteria) this; } - public Criteria andPayChannelGreaterThan(Integer value) { - addCriterion("pay_channel >", value, "payChannel"); + public Criteria andImgNotIn(List values) { + addCriterion("img not in", values, "img"); return (Criteria) this; } - public Criteria andPayChannelGreaterThanOrEqualTo(Integer value) { - addCriterion("pay_channel >=", value, "payChannel"); + public Criteria andImgBetween(String value1, String value2) { + addCriterion("img between", value1, value2, "img"); return (Criteria) this; } - public Criteria andPayChannelLessThan(Integer value) { - addCriterion("pay_channel <", value, "payChannel"); + public Criteria andImgNotBetween(String value1, String value2) { + addCriterion("img not between", value1, value2, "img"); return (Criteria) this; } - public Criteria andPayChannelLessThanOrEqualTo(Integer value) { - addCriterion("pay_channel <=", value, "payChannel"); + public Criteria andGoodsNameIsNull() { + addCriterion("goods_name is null"); return (Criteria) this; } - public Criteria andPayChannelIn(List values) { - addCriterion("pay_channel in", values, "payChannel"); + public Criteria andGoodsNameIsNotNull() { + addCriterion("goods_name is not null"); return (Criteria) this; } - public Criteria andPayChannelNotIn(List values) { - addCriterion("pay_channel not in", values, "payChannel"); + public Criteria andGoodsNameEqualTo(String value) { + addCriterion("goods_name =", value, "goodsName"); return (Criteria) this; } - public Criteria andPayChannelBetween(Integer value1, Integer value2) { - addCriterion("pay_channel between", value1, value2, "payChannel"); + public Criteria andGoodsNameNotEqualTo(String value) { + addCriterion("goods_name <>", value, "goodsName"); return (Criteria) this; } - public Criteria andPayChannelNotBetween(Integer value1, Integer value2) { - addCriterion("pay_channel not between", value1, value2, "payChannel"); + public Criteria andGoodsNameGreaterThan(String value) { + addCriterion("goods_name >", value, "goodsName"); return (Criteria) this; } - public Criteria andPayChannelOrderNoIsNull() { - addCriterion("pay_channel_order_no is null"); + public Criteria andGoodsNameGreaterThanOrEqualTo(String value) { + addCriterion("goods_name >=", value, "goodsName"); return (Criteria) this; } - public Criteria andPayChannelOrderNoIsNotNull() { - addCriterion("pay_channel_order_no is not null"); + public Criteria andGoodsNameLessThan(String value) { + addCriterion("goods_name <", value, "goodsName"); return (Criteria) this; } - public Criteria andPayChannelOrderNoEqualTo(String value) { - addCriterion("pay_channel_order_no =", value, "payChannelOrderNo"); + public Criteria andGoodsNameLessThanOrEqualTo(String value) { + addCriterion("goods_name <=", value, "goodsName"); return (Criteria) this; } - public Criteria andPayChannelOrderNoNotEqualTo(String value) { - addCriterion("pay_channel_order_no <>", value, "payChannelOrderNo"); + public Criteria andGoodsNameLike(String value) { + addCriterion("goods_name like", value, "goodsName"); return (Criteria) this; } - public Criteria andPayChannelOrderNoGreaterThan(String value) { - addCriterion("pay_channel_order_no >", value, "payChannelOrderNo"); + public Criteria andGoodsNameNotLike(String value) { + addCriterion("goods_name not like", value, "goodsName"); return (Criteria) this; } - public Criteria andPayChannelOrderNoGreaterThanOrEqualTo(String value) { - addCriterion("pay_channel_order_no >=", value, "payChannelOrderNo"); + public Criteria andGoodsNameIn(List values) { + addCriterion("goods_name in", values, "goodsName"); return (Criteria) this; } - public Criteria andPayChannelOrderNoLessThan(String value) { - addCriterion("pay_channel_order_no <", value, "payChannelOrderNo"); + public Criteria andGoodsNameNotIn(List values) { + addCriterion("goods_name not in", values, "goodsName"); return (Criteria) this; } - public Criteria andPayChannelOrderNoLessThanOrEqualTo(String value) { - addCriterion("pay_channel_order_no <=", value, "payChannelOrderNo"); + public Criteria andGoodsNameBetween(String value1, String value2) { + addCriterion("goods_name between", value1, value2, "goodsName"); return (Criteria) this; } - public Criteria andPayChannelOrderNoLike(String value) { - addCriterion("pay_channel_order_no like", value, "payChannelOrderNo"); + public Criteria andGoodsNameNotBetween(String value1, String value2) { + addCriterion("goods_name not between", value1, value2, "goodsName"); return (Criteria) this; } - public Criteria andPayChannelOrderNoNotLike(String value) { - addCriterion("pay_channel_order_no not like", value, "payChannelOrderNo"); + public Criteria andCustomparametersIsNull() { + addCriterion("customParameters is null"); return (Criteria) this; } - public Criteria andPayChannelOrderNoIn(List values) { - addCriterion("pay_channel_order_no in", values, "payChannelOrderNo"); + public Criteria andCustomparametersIsNotNull() { + addCriterion("customParameters is not null"); return (Criteria) this; } - public Criteria andPayChannelOrderNoNotIn(List values) { - addCriterion("pay_channel_order_no not in", values, "payChannelOrderNo"); + public Criteria andCustomparametersEqualTo(String value) { + addCriterion("customParameters =", value, "customparameters"); return (Criteria) this; } - public Criteria andPayChannelOrderNoBetween(String value1, String value2) { - addCriterion("pay_channel_order_no between", value1, value2, "payChannelOrderNo"); + public Criteria andCustomparametersNotEqualTo(String value) { + addCriterion("customParameters <>", value, "customparameters"); return (Criteria) this; } - public Criteria andPayChannelOrderNoNotBetween(String value1, String value2) { - addCriterion("pay_channel_order_no not between", value1, value2, "payChannelOrderNo"); + public Criteria andCustomparametersGreaterThan(String value) { + addCriterion("customParameters >", value, "customparameters"); return (Criteria) this; } - public Criteria andPaySerialNoIsNull() { - addCriterion("pay_serial_no is null"); + public Criteria andCustomparametersGreaterThanOrEqualTo(String value) { + addCriterion("customParameters >=", value, "customparameters"); return (Criteria) this; } - public Criteria andPaySerialNoIsNotNull() { - addCriterion("pay_serial_no is not null"); + public Criteria andCustomparametersLessThan(String value) { + addCriterion("customParameters <", value, "customparameters"); return (Criteria) this; } - public Criteria andPaySerialNoEqualTo(String value) { - addCriterion("pay_serial_no =", value, "paySerialNo"); + public Criteria andCustomparametersLessThanOrEqualTo(String value) { + addCriterion("customParameters <=", value, "customparameters"); return (Criteria) this; } - public Criteria andPaySerialNoNotEqualTo(String value) { - addCriterion("pay_serial_no <>", value, "paySerialNo"); + public Criteria andCustomparametersLike(String value) { + addCriterion("customParameters like", value, "customparameters"); return (Criteria) this; } - public Criteria andPaySerialNoGreaterThan(String value) { - addCriterion("pay_serial_no >", value, "paySerialNo"); + public Criteria andCustomparametersNotLike(String value) { + addCriterion("customParameters not like", value, "customparameters"); return (Criteria) this; } - public Criteria andPaySerialNoGreaterThanOrEqualTo(String value) { - addCriterion("pay_serial_no >=", value, "paySerialNo"); + public Criteria andCustomparametersIn(List values) { + addCriterion("customParameters in", values, "customparameters"); return (Criteria) this; } - public Criteria andPaySerialNoLessThan(String value) { - addCriterion("pay_serial_no <", value, "paySerialNo"); + public Criteria andCustomparametersNotIn(List values) { + addCriterion("customParameters not in", values, "customparameters"); return (Criteria) this; } - public Criteria andPaySerialNoLessThanOrEqualTo(String value) { - addCriterion("pay_serial_no <=", value, "paySerialNo"); + public Criteria andCustomparametersBetween(String value1, String value2) { + addCriterion("customParameters between", value1, value2, "customparameters"); return (Criteria) this; } - public Criteria andPaySerialNoLike(String value) { - addCriterion("pay_serial_no like", value, "paySerialNo"); + public Criteria andCustomparametersNotBetween(String value1, String value2) { + addCriterion("customParameters not between", value1, value2, "customparameters"); return (Criteria) this; } - public Criteria andPaySerialNoNotLike(String value) { - addCriterion("pay_serial_no not like", value, "paySerialNo"); + public Criteria andGoodsCountIsNull() { + addCriterion("goods_count is null"); return (Criteria) this; } - public Criteria andPaySerialNoIn(List values) { - addCriterion("pay_serial_no in", values, "paySerialNo"); + public Criteria andGoodsCountIsNotNull() { + addCriterion("goods_count is not null"); return (Criteria) this; } - public Criteria andPaySerialNoNotIn(List values) { - addCriterion("pay_serial_no not in", values, "paySerialNo"); + public Criteria andGoodsCountEqualTo(Integer value) { + addCriterion("goods_count =", value, "goodsCount"); return (Criteria) this; } - public Criteria andPaySerialNoBetween(String value1, String value2) { - addCriterion("pay_serial_no between", value1, value2, "paySerialNo"); + public Criteria andGoodsCountNotEqualTo(Integer value) { + addCriterion("goods_count <>", value, "goodsCount"); return (Criteria) this; } - public Criteria andPaySerialNoNotBetween(String value1, String value2) { - addCriterion("pay_serial_no not between", value1, value2, "paySerialNo"); + public Criteria andGoodsCountGreaterThan(Integer value) { + addCriterion("goods_count >", value, "goodsCount"); return (Criteria) this; } - public Criteria andPayTypeIsNull() { - addCriterion("pay_type is null"); + public Criteria andGoodsCountGreaterThanOrEqualTo(Integer value) { + addCriterion("goods_count >=", value, "goodsCount"); return (Criteria) this; } - public Criteria andPayTypeIsNotNull() { - addCriterion("pay_type is not null"); + public Criteria andGoodsCountLessThan(Integer value) { + addCriterion("goods_count <", value, "goodsCount"); return (Criteria) this; } - public Criteria andPayTypeEqualTo(Integer value) { - addCriterion("pay_type =", value, "payType"); + public Criteria andGoodsCountLessThanOrEqualTo(Integer value) { + addCriterion("goods_count <=", value, "goodsCount"); return (Criteria) this; } - public Criteria andPayTypeNotEqualTo(Integer value) { - addCriterion("pay_type <>", value, "payType"); + public Criteria andGoodsCountIn(List values) { + addCriterion("goods_count in", values, "goodsCount"); return (Criteria) this; } - public Criteria andPayTypeGreaterThan(Integer value) { - addCriterion("pay_type >", value, "payType"); + public Criteria andGoodsCountNotIn(List values) { + addCriterion("goods_count not in", values, "goodsCount"); return (Criteria) this; } - public Criteria andPayTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("pay_type >=", value, "payType"); + public Criteria andGoodsCountBetween(Integer value1, Integer value2) { + addCriterion("goods_count between", value1, value2, "goodsCount"); return (Criteria) this; } - public Criteria andPayTypeLessThan(Integer value) { - addCriterion("pay_type <", value, "payType"); - return (Criteria) this; - } - - public Criteria andPayTypeLessThanOrEqualTo(Integer value) { - addCriterion("pay_type <=", value, "payType"); - return (Criteria) this; - } - - public Criteria andPayTypeIn(List values) { - addCriterion("pay_type in", values, "payType"); - return (Criteria) this; - } - - public Criteria andPayTypeNotIn(List values) { - addCriterion("pay_type not in", values, "payType"); - return (Criteria) this; - } - - public Criteria andPayTypeBetween(Integer value1, Integer value2) { - addCriterion("pay_type between", value1, value2, "payType"); - return (Criteria) this; - } - - public Criteria andPayTypeNotBetween(Integer value1, Integer value2) { - addCriterion("pay_type not between", value1, value2, "payType"); + public Criteria andGoodsCountNotBetween(Integer value1, Integer value2) { + addCriterion("goods_count not between", value1, value2, "goodsCount"); return (Criteria) this; } @@ -776,183 +716,123 @@ public class BsOrderExample { return (Criteria) this; } - public Criteria andPayRealPriceIsNull() { - addCriterion("pay_real_price is null"); - return (Criteria) this; - } - - public Criteria andPayRealPriceIsNotNull() { - addCriterion("pay_real_price is not null"); - return (Criteria) this; - } - - public Criteria andPayRealPriceEqualTo(BigDecimal value) { - addCriterion("pay_real_price =", value, "payRealPrice"); - return (Criteria) this; - } - - public Criteria andPayRealPriceNotEqualTo(BigDecimal value) { - addCriterion("pay_real_price <>", value, "payRealPrice"); - return (Criteria) this; - } - - public Criteria andPayRealPriceGreaterThan(BigDecimal value) { - addCriterion("pay_real_price >", value, "payRealPrice"); - return (Criteria) this; - } - - public Criteria andPayRealPriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("pay_real_price >=", value, "payRealPrice"); - return (Criteria) this; - } - - public Criteria andPayRealPriceLessThan(BigDecimal value) { - addCriterion("pay_real_price <", value, "payRealPrice"); - return (Criteria) this; - } - - public Criteria andPayRealPriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("pay_real_price <=", value, "payRealPrice"); - return (Criteria) this; - } - - public Criteria andPayRealPriceIn(List values) { - addCriterion("pay_real_price in", values, "payRealPrice"); - return (Criteria) this; - } - - public Criteria andPayRealPriceNotIn(List values) { - addCriterion("pay_real_price not in", values, "payRealPrice"); - return (Criteria) this; - } - - public Criteria andPayRealPriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("pay_real_price between", value1, value2, "payRealPrice"); - return (Criteria) this; - } - - public Criteria andPayRealPriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("pay_real_price not between", value1, value2, "payRealPrice"); - return (Criteria) this; - } - - public Criteria andPaymentIsNull() { - addCriterion("payment is null"); + public Criteria andPromotionamountIsNull() { + addCriterion("promotionAmount is null"); return (Criteria) this; } - public Criteria andPaymentIsNotNull() { - addCriterion("payment is not null"); + public Criteria andPromotionamountIsNotNull() { + addCriterion("promotionAmount is not null"); return (Criteria) this; } - public Criteria andPaymentEqualTo(BigDecimal value) { - addCriterion("payment =", value, "payment"); + public Criteria andPromotionamountEqualTo(BigDecimal value) { + addCriterion("promotionAmount =", value, "promotionamount"); return (Criteria) this; } - public Criteria andPaymentNotEqualTo(BigDecimal value) { - addCriterion("payment <>", value, "payment"); + public Criteria andPromotionamountNotEqualTo(BigDecimal value) { + addCriterion("promotionAmount <>", value, "promotionamount"); return (Criteria) this; } - public Criteria andPaymentGreaterThan(BigDecimal value) { - addCriterion("payment >", value, "payment"); + public Criteria andPromotionamountGreaterThan(BigDecimal value) { + addCriterion("promotionAmount >", value, "promotionamount"); return (Criteria) this; } - public Criteria andPaymentGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("payment >=", value, "payment"); + public Criteria andPromotionamountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("promotionAmount >=", value, "promotionamount"); return (Criteria) this; } - public Criteria andPaymentLessThan(BigDecimal value) { - addCriterion("payment <", value, "payment"); + public Criteria andPromotionamountLessThan(BigDecimal value) { + addCriterion("promotionAmount <", value, "promotionamount"); return (Criteria) this; } - public Criteria andPaymentLessThanOrEqualTo(BigDecimal value) { - addCriterion("payment <=", value, "payment"); + public Criteria andPromotionamountLessThanOrEqualTo(BigDecimal value) { + addCriterion("promotionAmount <=", value, "promotionamount"); return (Criteria) this; } - public Criteria andPaymentIn(List values) { - addCriterion("payment in", values, "payment"); + public Criteria andPromotionamountIn(List values) { + addCriterion("promotionAmount in", values, "promotionamount"); return (Criteria) this; } - public Criteria andPaymentNotIn(List values) { - addCriterion("payment not in", values, "payment"); + public Criteria andPromotionamountNotIn(List values) { + addCriterion("promotionAmount not in", values, "promotionamount"); return (Criteria) this; } - public Criteria andPaymentBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("payment between", value1, value2, "payment"); + public Criteria andPromotionamountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("promotionAmount between", value1, value2, "promotionamount"); return (Criteria) this; } - public Criteria andPaymentNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("payment not between", value1, value2, "payment"); + public Criteria andPromotionamountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("promotionAmount not between", value1, value2, "promotionamount"); return (Criteria) this; } - public Criteria andProductTotalPriceIsNull() { - addCriterion("product_total_price is null"); + public Criteria andStatusIsNull() { + addCriterion("`status` is null"); return (Criteria) this; } - public Criteria andProductTotalPriceIsNotNull() { - addCriterion("product_total_price is not null"); + public Criteria andStatusIsNotNull() { + addCriterion("`status` is not null"); return (Criteria) this; } - public Criteria andProductTotalPriceEqualTo(BigDecimal value) { - addCriterion("product_total_price =", value, "productTotalPrice"); + public Criteria andStatusEqualTo(Integer value) { + addCriterion("`status` =", value, "status"); return (Criteria) this; } - public Criteria andProductTotalPriceNotEqualTo(BigDecimal value) { - addCriterion("product_total_price <>", value, "productTotalPrice"); + public Criteria andStatusNotEqualTo(Integer value) { + addCriterion("`status` <>", value, "status"); return (Criteria) this; } - public Criteria andProductTotalPriceGreaterThan(BigDecimal value) { - addCriterion("product_total_price >", value, "productTotalPrice"); + public Criteria andStatusGreaterThan(Integer value) { + addCriterion("`status` >", value, "status"); return (Criteria) this; } - public Criteria andProductTotalPriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("product_total_price >=", value, "productTotalPrice"); + public Criteria andStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("`status` >=", value, "status"); return (Criteria) this; } - public Criteria andProductTotalPriceLessThan(BigDecimal value) { - addCriterion("product_total_price <", value, "productTotalPrice"); + public Criteria andStatusLessThan(Integer value) { + addCriterion("`status` <", value, "status"); return (Criteria) this; } - public Criteria andProductTotalPriceLessThanOrEqualTo(BigDecimal value) { - addCriterion("product_total_price <=", value, "productTotalPrice"); + public Criteria andStatusLessThanOrEqualTo(Integer value) { + addCriterion("`status` <=", value, "status"); return (Criteria) this; } - public Criteria andProductTotalPriceIn(List values) { - addCriterion("product_total_price in", values, "productTotalPrice"); + public Criteria andStatusIn(List values) { + addCriterion("`status` in", values, "status"); return (Criteria) this; } - public Criteria andProductTotalPriceNotIn(List values) { - addCriterion("product_total_price not in", values, "productTotalPrice"); + public Criteria andStatusNotIn(List values) { + addCriterion("`status` not in", values, "status"); return (Criteria) this; } - public Criteria andProductTotalPriceBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("product_total_price between", value1, value2, "productTotalPrice"); + public Criteria andStatusBetween(Integer value1, Integer value2) { + addCriterion("`status` between", value1, value2, "status"); return (Criteria) this; } - public Criteria andProductTotalPriceNotBetween(BigDecimal value1, BigDecimal value2) { - addCriterion("product_total_price not between", value1, value2, "productTotalPrice"); + public Criteria andStatusNotBetween(Integer value1, Integer value2) { + addCriterion("`status` not between", value1, value2, "status"); return (Criteria) this; } @@ -1016,66 +896,6 @@ public class BsOrderExample { 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 andPayTimeIsNull() { addCriterion("pay_time is null"); return (Criteria) this; @@ -1136,66 +956,6 @@ public class BsOrderExample { return (Criteria) this; } - public Criteria andFinishTimeIsNull() { - addCriterion("finish_time is null"); - return (Criteria) this; - } - - public Criteria andFinishTimeIsNotNull() { - addCriterion("finish_time is not null"); - return (Criteria) this; - } - - public Criteria andFinishTimeEqualTo(Date value) { - addCriterion("finish_time =", value, "finishTime"); - return (Criteria) this; - } - - public Criteria andFinishTimeNotEqualTo(Date value) { - addCriterion("finish_time <>", value, "finishTime"); - return (Criteria) this; - } - - public Criteria andFinishTimeGreaterThan(Date value) { - addCriterion("finish_time >", value, "finishTime"); - return (Criteria) this; - } - - public Criteria andFinishTimeGreaterThanOrEqualTo(Date value) { - addCriterion("finish_time >=", value, "finishTime"); - return (Criteria) this; - } - - public Criteria andFinishTimeLessThan(Date value) { - addCriterion("finish_time <", value, "finishTime"); - return (Criteria) this; - } - - public Criteria andFinishTimeLessThanOrEqualTo(Date value) { - addCriterion("finish_time <=", value, "finishTime"); - return (Criteria) this; - } - - public Criteria andFinishTimeIn(List values) { - addCriterion("finish_time in", values, "finishTime"); - return (Criteria) this; - } - - public Criteria andFinishTimeNotIn(List values) { - addCriterion("finish_time not in", values, "finishTime"); - return (Criteria) this; - } - - public Criteria andFinishTimeBetween(Date value1, Date value2) { - addCriterion("finish_time between", value1, value2, "finishTime"); - return (Criteria) this; - } - - public Criteria andFinishTimeNotBetween(Date value1, Date value2) { - addCriterion("finish_time not between", value1, value2, "finishTime"); - return (Criteria) this; - } - public Criteria andCancelTimeIsNull() { addCriterion("cancel_time is null"); return (Criteria) this; @@ -1316,133 +1076,123 @@ public class BsOrderExample { 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"); + public Criteria andFinishTimeIsNull() { + addCriterion("finish_time is null"); return (Criteria) this; } - public Criteria andOrderStatusNotEqualTo(Integer value) { - addCriterion("order_status <>", value, "orderStatus"); + public Criteria andFinishTimeIsNotNull() { + addCriterion("finish_time is not null"); return (Criteria) this; } - public Criteria andOrderStatusGreaterThan(Integer value) { - addCriterion("order_status >", value, "orderStatus"); + public Criteria andFinishTimeEqualTo(Date value) { + addCriterion("finish_time =", value, "finishTime"); return (Criteria) this; } - public Criteria andOrderStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("order_status >=", value, "orderStatus"); + public Criteria andFinishTimeNotEqualTo(Date value) { + addCriterion("finish_time <>", value, "finishTime"); return (Criteria) this; } - public Criteria andOrderStatusLessThan(Integer value) { - addCriterion("order_status <", value, "orderStatus"); + public Criteria andFinishTimeGreaterThan(Date value) { + addCriterion("finish_time >", value, "finishTime"); return (Criteria) this; } - public Criteria andOrderStatusLessThanOrEqualTo(Integer value) { - addCriterion("order_status <=", value, "orderStatus"); + public Criteria andFinishTimeGreaterThanOrEqualTo(Date value) { + addCriterion("finish_time >=", value, "finishTime"); return (Criteria) this; } - public Criteria andOrderStatusIn(List values) { - addCriterion("order_status in", values, "orderStatus"); + public Criteria andFinishTimeLessThan(Date value) { + addCriterion("finish_time <", value, "finishTime"); return (Criteria) this; } - public Criteria andOrderStatusNotIn(List values) { - addCriterion("order_status not in", values, "orderStatus"); + public Criteria andFinishTimeLessThanOrEqualTo(Date value) { + addCriterion("finish_time <=", value, "finishTime"); return (Criteria) this; } - public Criteria andOrderStatusBetween(Integer value1, Integer value2) { - addCriterion("order_status between", value1, value2, "orderStatus"); + public Criteria andFinishTimeIn(List values) { + addCriterion("finish_time in", values, "finishTime"); return (Criteria) this; } - public Criteria andOrderStatusNotBetween(Integer value1, Integer value2) { - addCriterion("order_status not between", value1, value2, "orderStatus"); + public Criteria andFinishTimeNotIn(List values) { + addCriterion("finish_time not in", values, "finishTime"); return (Criteria) this; } - public Criteria andRemarksIsNull() { - addCriterion("remarks is null"); + public Criteria andFinishTimeBetween(Date value1, Date value2) { + addCriterion("finish_time between", value1, value2, "finishTime"); return (Criteria) this; } - public Criteria andRemarksIsNotNull() { - addCriterion("remarks is not null"); + public Criteria andFinishTimeNotBetween(Date value1, Date value2) { + addCriterion("finish_time not between", value1, value2, "finishTime"); return (Criteria) this; } - public Criteria andRemarksEqualTo(String value) { - addCriterion("remarks =", value, "remarks"); + public Criteria andUpdateTimeIsNull() { + addCriterion("update_time is null"); return (Criteria) this; } - public Criteria andRemarksNotEqualTo(String value) { - addCriterion("remarks <>", value, "remarks"); + public Criteria andUpdateTimeIsNotNull() { + addCriterion("update_time is not null"); return (Criteria) this; } - public Criteria andRemarksGreaterThan(String value) { - addCriterion("remarks >", value, "remarks"); + public Criteria andUpdateTimeEqualTo(Date value) { + addCriterion("update_time =", value, "updateTime"); return (Criteria) this; } - public Criteria andRemarksGreaterThanOrEqualTo(String value) { - addCriterion("remarks >=", value, "remarks"); + public Criteria andUpdateTimeNotEqualTo(Date value) { + addCriterion("update_time <>", value, "updateTime"); return (Criteria) this; } - public Criteria andRemarksLessThan(String value) { - addCriterion("remarks <", value, "remarks"); + public Criteria andUpdateTimeGreaterThan(Date value) { + addCriterion("update_time >", value, "updateTime"); return (Criteria) this; } - public Criteria andRemarksLessThanOrEqualTo(String value) { - addCriterion("remarks <=", value, "remarks"); + public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("update_time >=", value, "updateTime"); return (Criteria) this; } - public Criteria andRemarksLike(String value) { - addCriterion("remarks like", value, "remarks"); + public Criteria andUpdateTimeLessThan(Date value) { + addCriterion("update_time <", value, "updateTime"); return (Criteria) this; } - public Criteria andRemarksNotLike(String value) { - addCriterion("remarks not like", value, "remarks"); + public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { + addCriterion("update_time <=", value, "updateTime"); return (Criteria) this; } - public Criteria andRemarksIn(List values) { - addCriterion("remarks in", values, "remarks"); + public Criteria andUpdateTimeIn(List values) { + addCriterion("update_time in", values, "updateTime"); return (Criteria) this; } - public Criteria andRemarksNotIn(List values) { - addCriterion("remarks not in", values, "remarks"); + public Criteria andUpdateTimeNotIn(List values) { + addCriterion("update_time not in", values, "updateTime"); return (Criteria) this; } - public Criteria andRemarksBetween(String value1, String value2) { - addCriterion("remarks between", value1, value2, "remarks"); + public Criteria andUpdateTimeBetween(Date value1, Date value2) { + addCriterion("update_time between", value1, value2, "updateTime"); return (Criteria) this; } - public Criteria andRemarksNotBetween(String value1, String value2) { - addCriterion("remarks not between", value1, value2, "remarks"); + public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { + addCriterion("update_time not between", value1, value2, "updateTime"); return (Criteria) this; } diff --git a/service/src/main/java/com/hfkj/entity/GoodsShoppingCart.java b/service/src/main/java/com/hfkj/entity/GoodsShoppingCart.java index a6eb078..0cf49c9 100644 --- a/service/src/main/java/com/hfkj/entity/GoodsShoppingCart.java +++ b/service/src/main/java/com/hfkj/entity/GoodsShoppingCart.java @@ -367,4 +367,4 @@ public class GoodsShoppingCart implements Serializable { sb.append("]"); return sb.toString(); } -} +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/entity/GoodsShoppingCartExample.java b/service/src/main/java/com/hfkj/entity/GoodsShoppingCartExample.java index 0f9166b..cb0fc61 100644 --- a/service/src/main/java/com/hfkj/entity/GoodsShoppingCartExample.java +++ b/service/src/main/java/com/hfkj/entity/GoodsShoppingCartExample.java @@ -1491,4 +1491,4 @@ public class GoodsShoppingCartExample { this(condition, value, secondValue, null); } } -} +} \ No newline at end of file