袁野 1 month ago
parent ff042ed941
commit 9437f6a390
  1. 107
      service/src/main/java/com/hfkj/dao/BsOrderMapper.java
  2. 212
      service/src/main/java/com/hfkj/dao/BsOrderSqlProvider.java
  3. 242
      service/src/main/java/com/hfkj/entity/BsOrder.java
  4. 762
      service/src/main/java/com/hfkj/entity/BsOrderExample.java

@ -39,23 +39,27 @@ public interface BsOrderMapper extends BsOrderMapperExt {
int deleteByPrimaryKey(Long id); int deleteByPrimaryKey(Long id);
@Insert({ @Insert({
"insert into bs_order (order_no, user_id, ", "insert into bs_order (user_id, user_name, ",
"user_phone, img, ", "user_phone, order_no, ",
"goods_name, customParameters, ", "pay_channel, pay_channel_order_no, ",
"goods_count, total_price, ", "pay_serial_no, pay_type, ",
"promotionAmount, `status`, ", "total_price, pay_real_price, ",
"create_time, pay_time, ", "payment, product_total_price, ",
"create_time, update_time, ",
"pay_time, finish_time, ",
"cancel_time, refund_time, ", "cancel_time, refund_time, ",
"finish_time, update_time, ", "order_status, remarks, ",
"ext_1, ext_2, ext_3)", "ext_1, ext_2, ext_3)",
"values (#{orderNo,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, ", "values (#{userId,jdbcType=BIGINT}, #{userName,jdbcType=VARCHAR}, ",
"#{userPhone,jdbcType=VARCHAR}, #{img,jdbcType=VARCHAR}, ", "#{userPhone,jdbcType=VARCHAR}, #{orderNo,jdbcType=VARCHAR}, ",
"#{goodsName,jdbcType=VARCHAR}, #{customparameters,jdbcType=VARCHAR}, ", "#{payChannel,jdbcType=INTEGER}, #{payChannelOrderNo,jdbcType=VARCHAR}, ",
"#{goodsCount,jdbcType=INTEGER}, #{totalPrice,jdbcType=DECIMAL}, ", "#{paySerialNo,jdbcType=VARCHAR}, #{payType,jdbcType=INTEGER}, ",
"#{promotionamount,jdbcType=DECIMAL}, #{status,jdbcType=INTEGER}, ", "#{totalPrice,jdbcType=DECIMAL}, #{payRealPrice,jdbcType=DECIMAL}, ",
"#{createTime,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, ", "#{payment,jdbcType=DECIMAL}, #{productTotalPrice,jdbcType=DECIMAL}, ",
"#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ",
"#{payTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ",
"#{cancelTime,jdbcType=TIMESTAMP}, #{refundTime,jdbcType=TIMESTAMP}, ", "#{cancelTime,jdbcType=TIMESTAMP}, #{refundTime,jdbcType=TIMESTAMP}, ",
"#{finishTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", "#{orderStatus,jdbcType=INTEGER}, #{remarks,jdbcType=VARCHAR}, ",
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" "#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})"
}) })
@Options(useGeneratedKeys=true,keyProperty="id") @Options(useGeneratedKeys=true,keyProperty="id")
@ -68,22 +72,26 @@ public interface BsOrderMapper extends BsOrderMapperExt {
@SelectProvider(type=BsOrderSqlProvider.class, method="selectByExample") @SelectProvider(type=BsOrderSqlProvider.class, method="selectByExample")
@Results({ @Results({
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), @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_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="user_phone", property="userPhone", jdbcType=JdbcType.VARCHAR),
@Result(column="img", property="img", jdbcType=JdbcType.VARCHAR), @Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR),
@Result(column="goods_name", property="goodsName", jdbcType=JdbcType.VARCHAR), @Result(column="pay_channel", property="payChannel", jdbcType=JdbcType.INTEGER),
@Result(column="customParameters", property="customparameters", jdbcType=JdbcType.VARCHAR), @Result(column="pay_channel_order_no", property="payChannelOrderNo", jdbcType=JdbcType.VARCHAR),
@Result(column="goods_count", property="goodsCount", jdbcType=JdbcType.INTEGER), @Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR),
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER),
@Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL), @Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="promotionAmount", property="promotionamount", jdbcType=JdbcType.DECIMAL), @Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="payment", property="payment", jdbcType=JdbcType.DECIMAL),
@Result(column="product_total_price", property="productTotalPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), @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="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="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="finish_time", property="finishTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="order_status", property="orderStatus", jdbcType=JdbcType.INTEGER),
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="remarks", property="remarks", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), @Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), @Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) @Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR)
@ -92,30 +100,35 @@ public interface BsOrderMapper extends BsOrderMapperExt {
@Select({ @Select({
"select", "select",
"id, order_no, user_id, user_phone, img, goods_name, customParameters, goods_count, ", "id, user_id, user_name, user_phone, order_no, pay_channel, pay_channel_order_no, ",
"total_price, promotionAmount, `status`, create_time, pay_time, cancel_time, ", "pay_serial_no, pay_type, total_price, pay_real_price, payment, product_total_price, ",
"refund_time, finish_time, update_time, ext_1, ext_2, ext_3", "create_time, update_time, pay_time, finish_time, cancel_time, refund_time, order_status, ",
"remarks, ext_1, ext_2, ext_3",
"from bs_order", "from bs_order",
"where id = #{id,jdbcType=BIGINT}" "where id = #{id,jdbcType=BIGINT}"
}) })
@Results({ @Results({
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), @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_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="user_phone", property="userPhone", jdbcType=JdbcType.VARCHAR),
@Result(column="img", property="img", jdbcType=JdbcType.VARCHAR), @Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR),
@Result(column="goods_name", property="goodsName", jdbcType=JdbcType.VARCHAR), @Result(column="pay_channel", property="payChannel", jdbcType=JdbcType.INTEGER),
@Result(column="customParameters", property="customparameters", jdbcType=JdbcType.VARCHAR), @Result(column="pay_channel_order_no", property="payChannelOrderNo", jdbcType=JdbcType.VARCHAR),
@Result(column="goods_count", property="goodsCount", jdbcType=JdbcType.INTEGER), @Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR),
@Result(column="pay_type", property="payType", jdbcType=JdbcType.INTEGER),
@Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL), @Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="promotionAmount", property="promotionamount", jdbcType=JdbcType.DECIMAL), @Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), @Result(column="payment", property="payment", jdbcType=JdbcType.DECIMAL),
@Result(column="product_total_price", property="productTotalPrice", jdbcType=JdbcType.DECIMAL),
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), @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="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="cancel_time", property="cancelTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP),
@Result(column="finish_time", property="finishTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="order_status", property="orderStatus", jdbcType=JdbcType.INTEGER),
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), @Result(column="remarks", property="remarks", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR), @Result(column="ext_1", property="ext1", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), @Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) @Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR)
@ -133,22 +146,26 @@ public interface BsOrderMapper extends BsOrderMapperExt {
@Update({ @Update({
"update bs_order", "update bs_order",
"set order_no = #{orderNo,jdbcType=VARCHAR},", "set user_id = #{userId,jdbcType=BIGINT},",
"user_id = #{userId,jdbcType=BIGINT},", "user_name = #{userName,jdbcType=VARCHAR},",
"user_phone = #{userPhone,jdbcType=VARCHAR},", "user_phone = #{userPhone,jdbcType=VARCHAR},",
"img = #{img,jdbcType=VARCHAR},", "order_no = #{orderNo,jdbcType=VARCHAR},",
"goods_name = #{goodsName,jdbcType=VARCHAR},", "pay_channel = #{payChannel,jdbcType=INTEGER},",
"customParameters = #{customparameters,jdbcType=VARCHAR},", "pay_channel_order_no = #{payChannelOrderNo,jdbcType=VARCHAR},",
"goods_count = #{goodsCount,jdbcType=INTEGER},", "pay_serial_no = #{paySerialNo,jdbcType=VARCHAR},",
"pay_type = #{payType,jdbcType=INTEGER},",
"total_price = #{totalPrice,jdbcType=DECIMAL},", "total_price = #{totalPrice,jdbcType=DECIMAL},",
"promotionAmount = #{promotionamount,jdbcType=DECIMAL},", "pay_real_price = #{payRealPrice,jdbcType=DECIMAL},",
"`status` = #{status,jdbcType=INTEGER},", "payment = #{payment,jdbcType=DECIMAL},",
"product_total_price = #{productTotalPrice,jdbcType=DECIMAL},",
"create_time = #{createTime,jdbcType=TIMESTAMP},", "create_time = #{createTime,jdbcType=TIMESTAMP},",
"update_time = #{updateTime,jdbcType=TIMESTAMP},",
"pay_time = #{payTime,jdbcType=TIMESTAMP},", "pay_time = #{payTime,jdbcType=TIMESTAMP},",
"finish_time = #{finishTime,jdbcType=TIMESTAMP},",
"cancel_time = #{cancelTime,jdbcType=TIMESTAMP},", "cancel_time = #{cancelTime,jdbcType=TIMESTAMP},",
"refund_time = #{refundTime,jdbcType=TIMESTAMP},", "refund_time = #{refundTime,jdbcType=TIMESTAMP},",
"finish_time = #{finishTime,jdbcType=TIMESTAMP},", "order_status = #{orderStatus,jdbcType=INTEGER},",
"update_time = #{updateTime,jdbcType=TIMESTAMP},", "remarks = #{remarks,jdbcType=VARCHAR},",
"ext_1 = #{ext1,jdbcType=VARCHAR},", "ext_1 = #{ext1,jdbcType=VARCHAR},",
"ext_2 = #{ext2,jdbcType=VARCHAR},", "ext_2 = #{ext2,jdbcType=VARCHAR},",
"ext_3 = #{ext3,jdbcType=VARCHAR}", "ext_3 = #{ext3,jdbcType=VARCHAR}",

@ -28,54 +28,70 @@ public class BsOrderSqlProvider {
SQL sql = new SQL(); SQL sql = new SQL();
sql.INSERT_INTO("bs_order"); sql.INSERT_INTO("bs_order");
if (record.getOrderNo() != null) {
sql.VALUES("order_no", "#{orderNo,jdbcType=VARCHAR}");
}
if (record.getUserId() != null) { if (record.getUserId() != null) {
sql.VALUES("user_id", "#{userId,jdbcType=BIGINT}"); sql.VALUES("user_id", "#{userId,jdbcType=BIGINT}");
} }
if (record.getUserName() != null) {
sql.VALUES("user_name", "#{userName,jdbcType=VARCHAR}");
}
if (record.getUserPhone() != null) { if (record.getUserPhone() != null) {
sql.VALUES("user_phone", "#{userPhone,jdbcType=VARCHAR}"); sql.VALUES("user_phone", "#{userPhone,jdbcType=VARCHAR}");
} }
if (record.getImg() != null) { if (record.getOrderNo() != null) {
sql.VALUES("img", "#{img,jdbcType=VARCHAR}"); sql.VALUES("order_no", "#{orderNo,jdbcType=VARCHAR}");
} }
if (record.getGoodsName() != null) { if (record.getPayChannel() != null) {
sql.VALUES("goods_name", "#{goodsName,jdbcType=VARCHAR}"); sql.VALUES("pay_channel", "#{payChannel,jdbcType=INTEGER}");
} }
if (record.getCustomparameters() != null) { if (record.getPayChannelOrderNo() != null) {
sql.VALUES("customParameters", "#{customparameters,jdbcType=VARCHAR}"); sql.VALUES("pay_channel_order_no", "#{payChannelOrderNo,jdbcType=VARCHAR}");
} }
if (record.getGoodsCount() != null) { if (record.getPaySerialNo() != null) {
sql.VALUES("goods_count", "#{goodsCount,jdbcType=INTEGER}"); sql.VALUES("pay_serial_no", "#{paySerialNo,jdbcType=VARCHAR}");
}
if (record.getPayType() != null) {
sql.VALUES("pay_type", "#{payType,jdbcType=INTEGER}");
} }
if (record.getTotalPrice() != null) { if (record.getTotalPrice() != null) {
sql.VALUES("total_price", "#{totalPrice,jdbcType=DECIMAL}"); sql.VALUES("total_price", "#{totalPrice,jdbcType=DECIMAL}");
} }
if (record.getPromotionamount() != null) { if (record.getPayRealPrice() != null) {
sql.VALUES("promotionAmount", "#{promotionamount,jdbcType=DECIMAL}"); sql.VALUES("pay_real_price", "#{payRealPrice,jdbcType=DECIMAL}");
} }
if (record.getStatus() != null) { if (record.getPayment() != null) {
sql.VALUES("`status`", "#{status,jdbcType=INTEGER}"); sql.VALUES("payment", "#{payment,jdbcType=DECIMAL}");
}
if (record.getProductTotalPrice() != null) {
sql.VALUES("product_total_price", "#{productTotalPrice,jdbcType=DECIMAL}");
} }
if (record.getCreateTime() != null) { if (record.getCreateTime() != null) {
sql.VALUES("create_time", "#{createTime,jdbcType=TIMESTAMP}"); sql.VALUES("create_time", "#{createTime,jdbcType=TIMESTAMP}");
} }
if (record.getUpdateTime() != null) {
sql.VALUES("update_time", "#{updateTime,jdbcType=TIMESTAMP}");
}
if (record.getPayTime() != null) { if (record.getPayTime() != null) {
sql.VALUES("pay_time", "#{payTime,jdbcType=TIMESTAMP}"); sql.VALUES("pay_time", "#{payTime,jdbcType=TIMESTAMP}");
} }
if (record.getFinishTime() != null) {
sql.VALUES("finish_time", "#{finishTime,jdbcType=TIMESTAMP}");
}
if (record.getCancelTime() != null) { if (record.getCancelTime() != null) {
sql.VALUES("cancel_time", "#{cancelTime,jdbcType=TIMESTAMP}"); sql.VALUES("cancel_time", "#{cancelTime,jdbcType=TIMESTAMP}");
} }
@ -84,12 +100,12 @@ public class BsOrderSqlProvider {
sql.VALUES("refund_time", "#{refundTime,jdbcType=TIMESTAMP}"); sql.VALUES("refund_time", "#{refundTime,jdbcType=TIMESTAMP}");
} }
if (record.getFinishTime() != null) { if (record.getOrderStatus() != null) {
sql.VALUES("finish_time", "#{finishTime,jdbcType=TIMESTAMP}"); sql.VALUES("order_status", "#{orderStatus,jdbcType=INTEGER}");
} }
if (record.getUpdateTime() != null) { if (record.getRemarks() != null) {
sql.VALUES("update_time", "#{updateTime,jdbcType=TIMESTAMP}"); sql.VALUES("remarks", "#{remarks,jdbcType=VARCHAR}");
} }
if (record.getExt1() != null) { if (record.getExt1() != null) {
@ -114,22 +130,26 @@ public class BsOrderSqlProvider {
} else { } else {
sql.SELECT("id"); sql.SELECT("id");
} }
sql.SELECT("order_no");
sql.SELECT("user_id"); sql.SELECT("user_id");
sql.SELECT("user_name");
sql.SELECT("user_phone"); sql.SELECT("user_phone");
sql.SELECT("img"); sql.SELECT("order_no");
sql.SELECT("goods_name"); sql.SELECT("pay_channel");
sql.SELECT("customParameters"); sql.SELECT("pay_channel_order_no");
sql.SELECT("goods_count"); sql.SELECT("pay_serial_no");
sql.SELECT("pay_type");
sql.SELECT("total_price"); sql.SELECT("total_price");
sql.SELECT("promotionAmount"); sql.SELECT("pay_real_price");
sql.SELECT("`status`"); sql.SELECT("payment");
sql.SELECT("product_total_price");
sql.SELECT("create_time"); sql.SELECT("create_time");
sql.SELECT("update_time");
sql.SELECT("pay_time"); sql.SELECT("pay_time");
sql.SELECT("finish_time");
sql.SELECT("cancel_time"); sql.SELECT("cancel_time");
sql.SELECT("refund_time"); sql.SELECT("refund_time");
sql.SELECT("finish_time"); sql.SELECT("order_status");
sql.SELECT("update_time"); sql.SELECT("remarks");
sql.SELECT("ext_1"); sql.SELECT("ext_1");
sql.SELECT("ext_2"); sql.SELECT("ext_2");
sql.SELECT("ext_3"); sql.SELECT("ext_3");
@ -154,54 +174,70 @@ public class BsOrderSqlProvider {
sql.SET("id = #{record.id,jdbcType=BIGINT}"); sql.SET("id = #{record.id,jdbcType=BIGINT}");
} }
if (record.getOrderNo() != null) {
sql.SET("order_no = #{record.orderNo,jdbcType=VARCHAR}");
}
if (record.getUserId() != null) { if (record.getUserId() != null) {
sql.SET("user_id = #{record.userId,jdbcType=BIGINT}"); sql.SET("user_id = #{record.userId,jdbcType=BIGINT}");
} }
if (record.getUserName() != null) {
sql.SET("user_name = #{record.userName,jdbcType=VARCHAR}");
}
if (record.getUserPhone() != null) { if (record.getUserPhone() != null) {
sql.SET("user_phone = #{record.userPhone,jdbcType=VARCHAR}"); sql.SET("user_phone = #{record.userPhone,jdbcType=VARCHAR}");
} }
if (record.getImg() != null) { if (record.getOrderNo() != null) {
sql.SET("img = #{record.img,jdbcType=VARCHAR}"); sql.SET("order_no = #{record.orderNo,jdbcType=VARCHAR}");
}
if (record.getPayChannel() != null) {
sql.SET("pay_channel = #{record.payChannel,jdbcType=INTEGER}");
} }
if (record.getGoodsName() != null) { if (record.getPayChannelOrderNo() != null) {
sql.SET("goods_name = #{record.goodsName,jdbcType=VARCHAR}"); sql.SET("pay_channel_order_no = #{record.payChannelOrderNo,jdbcType=VARCHAR}");
} }
if (record.getCustomparameters() != null) { if (record.getPaySerialNo() != null) {
sql.SET("customParameters = #{record.customparameters,jdbcType=VARCHAR}"); sql.SET("pay_serial_no = #{record.paySerialNo,jdbcType=VARCHAR}");
} }
if (record.getGoodsCount() != null) { if (record.getPayType() != null) {
sql.SET("goods_count = #{record.goodsCount,jdbcType=INTEGER}"); sql.SET("pay_type = #{record.payType,jdbcType=INTEGER}");
} }
if (record.getTotalPrice() != null) { if (record.getTotalPrice() != null) {
sql.SET("total_price = #{record.totalPrice,jdbcType=DECIMAL}"); sql.SET("total_price = #{record.totalPrice,jdbcType=DECIMAL}");
} }
if (record.getPromotionamount() != null) { if (record.getPayRealPrice() != null) {
sql.SET("promotionAmount = #{record.promotionamount,jdbcType=DECIMAL}"); sql.SET("pay_real_price = #{record.payRealPrice,jdbcType=DECIMAL}");
}
if (record.getPayment() != null) {
sql.SET("payment = #{record.payment,jdbcType=DECIMAL}");
} }
if (record.getStatus() != null) { if (record.getProductTotalPrice() != null) {
sql.SET("`status` = #{record.status,jdbcType=INTEGER}"); sql.SET("product_total_price = #{record.productTotalPrice,jdbcType=DECIMAL}");
} }
if (record.getCreateTime() != null) { if (record.getCreateTime() != null) {
sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}"); sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}");
} }
if (record.getUpdateTime() != null) {
sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}");
}
if (record.getPayTime() != null) { if (record.getPayTime() != null) {
sql.SET("pay_time = #{record.payTime,jdbcType=TIMESTAMP}"); sql.SET("pay_time = #{record.payTime,jdbcType=TIMESTAMP}");
} }
if (record.getFinishTime() != null) {
sql.SET("finish_time = #{record.finishTime,jdbcType=TIMESTAMP}");
}
if (record.getCancelTime() != null) { if (record.getCancelTime() != null) {
sql.SET("cancel_time = #{record.cancelTime,jdbcType=TIMESTAMP}"); sql.SET("cancel_time = #{record.cancelTime,jdbcType=TIMESTAMP}");
} }
@ -210,12 +246,12 @@ public class BsOrderSqlProvider {
sql.SET("refund_time = #{record.refundTime,jdbcType=TIMESTAMP}"); sql.SET("refund_time = #{record.refundTime,jdbcType=TIMESTAMP}");
} }
if (record.getFinishTime() != null) { if (record.getOrderStatus() != null) {
sql.SET("finish_time = #{record.finishTime,jdbcType=TIMESTAMP}"); sql.SET("order_status = #{record.orderStatus,jdbcType=INTEGER}");
} }
if (record.getUpdateTime() != null) { if (record.getRemarks() != null) {
sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); sql.SET("remarks = #{record.remarks,jdbcType=VARCHAR}");
} }
if (record.getExt1() != null) { if (record.getExt1() != null) {
@ -239,22 +275,26 @@ public class BsOrderSqlProvider {
sql.UPDATE("bs_order"); sql.UPDATE("bs_order");
sql.SET("id = #{record.id,jdbcType=BIGINT}"); 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_id = #{record.userId,jdbcType=BIGINT}");
sql.SET("user_name = #{record.userName,jdbcType=VARCHAR}");
sql.SET("user_phone = #{record.userPhone,jdbcType=VARCHAR}"); sql.SET("user_phone = #{record.userPhone,jdbcType=VARCHAR}");
sql.SET("img = #{record.img,jdbcType=VARCHAR}"); sql.SET("order_no = #{record.orderNo,jdbcType=VARCHAR}");
sql.SET("goods_name = #{record.goodsName,jdbcType=VARCHAR}"); sql.SET("pay_channel = #{record.payChannel,jdbcType=INTEGER}");
sql.SET("customParameters = #{record.customparameters,jdbcType=VARCHAR}"); sql.SET("pay_channel_order_no = #{record.payChannelOrderNo,jdbcType=VARCHAR}");
sql.SET("goods_count = #{record.goodsCount,jdbcType=INTEGER}"); sql.SET("pay_serial_no = #{record.paySerialNo,jdbcType=VARCHAR}");
sql.SET("pay_type = #{record.payType,jdbcType=INTEGER}");
sql.SET("total_price = #{record.totalPrice,jdbcType=DECIMAL}"); sql.SET("total_price = #{record.totalPrice,jdbcType=DECIMAL}");
sql.SET("promotionAmount = #{record.promotionamount,jdbcType=DECIMAL}"); sql.SET("pay_real_price = #{record.payRealPrice,jdbcType=DECIMAL}");
sql.SET("`status` = #{record.status,jdbcType=INTEGER}"); sql.SET("payment = #{record.payment,jdbcType=DECIMAL}");
sql.SET("product_total_price = #{record.productTotalPrice,jdbcType=DECIMAL}");
sql.SET("create_time = #{record.createTime,jdbcType=TIMESTAMP}"); 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("pay_time = #{record.payTime,jdbcType=TIMESTAMP}");
sql.SET("finish_time = #{record.finishTime,jdbcType=TIMESTAMP}");
sql.SET("cancel_time = #{record.cancelTime,jdbcType=TIMESTAMP}"); sql.SET("cancel_time = #{record.cancelTime,jdbcType=TIMESTAMP}");
sql.SET("refund_time = #{record.refundTime,jdbcType=TIMESTAMP}"); sql.SET("refund_time = #{record.refundTime,jdbcType=TIMESTAMP}");
sql.SET("finish_time = #{record.finishTime,jdbcType=TIMESTAMP}"); sql.SET("order_status = #{record.orderStatus,jdbcType=INTEGER}");
sql.SET("update_time = #{record.updateTime,jdbcType=TIMESTAMP}"); sql.SET("remarks = #{record.remarks,jdbcType=VARCHAR}");
sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}"); sql.SET("ext_1 = #{record.ext1,jdbcType=VARCHAR}");
sql.SET("ext_2 = #{record.ext2,jdbcType=VARCHAR}"); sql.SET("ext_2 = #{record.ext2,jdbcType=VARCHAR}");
sql.SET("ext_3 = #{record.ext3,jdbcType=VARCHAR}"); sql.SET("ext_3 = #{record.ext3,jdbcType=VARCHAR}");
@ -268,54 +308,70 @@ public class BsOrderSqlProvider {
SQL sql = new SQL(); SQL sql = new SQL();
sql.UPDATE("bs_order"); sql.UPDATE("bs_order");
if (record.getOrderNo() != null) {
sql.SET("order_no = #{orderNo,jdbcType=VARCHAR}");
}
if (record.getUserId() != null) { if (record.getUserId() != null) {
sql.SET("user_id = #{userId,jdbcType=BIGINT}"); sql.SET("user_id = #{userId,jdbcType=BIGINT}");
} }
if (record.getUserName() != null) {
sql.SET("user_name = #{userName,jdbcType=VARCHAR}");
}
if (record.getUserPhone() != null) { if (record.getUserPhone() != null) {
sql.SET("user_phone = #{userPhone,jdbcType=VARCHAR}"); sql.SET("user_phone = #{userPhone,jdbcType=VARCHAR}");
} }
if (record.getImg() != null) { if (record.getOrderNo() != null) {
sql.SET("img = #{img,jdbcType=VARCHAR}"); sql.SET("order_no = #{orderNo,jdbcType=VARCHAR}");
} }
if (record.getGoodsName() != null) { if (record.getPayChannel() != null) {
sql.SET("goods_name = #{goodsName,jdbcType=VARCHAR}"); sql.SET("pay_channel = #{payChannel,jdbcType=INTEGER}");
} }
if (record.getCustomparameters() != null) { if (record.getPayChannelOrderNo() != null) {
sql.SET("customParameters = #{customparameters,jdbcType=VARCHAR}"); sql.SET("pay_channel_order_no = #{payChannelOrderNo,jdbcType=VARCHAR}");
} }
if (record.getGoodsCount() != null) { if (record.getPaySerialNo() != null) {
sql.SET("goods_count = #{goodsCount,jdbcType=INTEGER}"); sql.SET("pay_serial_no = #{paySerialNo,jdbcType=VARCHAR}");
}
if (record.getPayType() != null) {
sql.SET("pay_type = #{payType,jdbcType=INTEGER}");
} }
if (record.getTotalPrice() != null) { if (record.getTotalPrice() != null) {
sql.SET("total_price = #{totalPrice,jdbcType=DECIMAL}"); sql.SET("total_price = #{totalPrice,jdbcType=DECIMAL}");
} }
if (record.getPromotionamount() != null) { if (record.getPayRealPrice() != null) {
sql.SET("promotionAmount = #{promotionamount,jdbcType=DECIMAL}"); sql.SET("pay_real_price = #{payRealPrice,jdbcType=DECIMAL}");
}
if (record.getPayment() != null) {
sql.SET("payment = #{payment,jdbcType=DECIMAL}");
} }
if (record.getStatus() != null) { if (record.getProductTotalPrice() != null) {
sql.SET("`status` = #{status,jdbcType=INTEGER}"); sql.SET("product_total_price = #{productTotalPrice,jdbcType=DECIMAL}");
} }
if (record.getCreateTime() != null) { if (record.getCreateTime() != null) {
sql.SET("create_time = #{createTime,jdbcType=TIMESTAMP}"); sql.SET("create_time = #{createTime,jdbcType=TIMESTAMP}");
} }
if (record.getUpdateTime() != null) {
sql.SET("update_time = #{updateTime,jdbcType=TIMESTAMP}");
}
if (record.getPayTime() != null) { if (record.getPayTime() != null) {
sql.SET("pay_time = #{payTime,jdbcType=TIMESTAMP}"); sql.SET("pay_time = #{payTime,jdbcType=TIMESTAMP}");
} }
if (record.getFinishTime() != null) {
sql.SET("finish_time = #{finishTime,jdbcType=TIMESTAMP}");
}
if (record.getCancelTime() != null) { if (record.getCancelTime() != null) {
sql.SET("cancel_time = #{cancelTime,jdbcType=TIMESTAMP}"); sql.SET("cancel_time = #{cancelTime,jdbcType=TIMESTAMP}");
} }
@ -324,12 +380,12 @@ public class BsOrderSqlProvider {
sql.SET("refund_time = #{refundTime,jdbcType=TIMESTAMP}"); sql.SET("refund_time = #{refundTime,jdbcType=TIMESTAMP}");
} }
if (record.getFinishTime() != null) { if (record.getOrderStatus() != null) {
sql.SET("finish_time = #{finishTime,jdbcType=TIMESTAMP}"); sql.SET("order_status = #{orderStatus,jdbcType=INTEGER}");
} }
if (record.getUpdateTime() != null) { if (record.getRemarks() != null) {
sql.SET("update_time = #{updateTime,jdbcType=TIMESTAMP}"); sql.SET("remarks = #{remarks,jdbcType=VARCHAR}");
} }
if (record.getExt1() != null) { if (record.getExt1() != null) {

@ -15,19 +15,19 @@ import java.util.Date;
**/ **/
public class BsOrder implements Serializable { public class BsOrder implements Serializable {
/** /**
* 主键 * 主键ID
*/ */
private Long id; private Long id;
/** /**
* 交易订单号 * 用户id
*/ */
private String orderNo; private Long userId;
/** /**
* 用户id * 用户名称
*/ */
private Long userId; private String userName;
/** /**
* 用户手机号 * 用户手机号
@ -35,50 +35,70 @@ public class BsOrder implements Serializable {
private String userPhone; private String userPhone;
/** /**
* 图片 * 订单号
*/
private String orderNo;
/**
* 支付渠道 1惠支付 2微信合作商 3贵州银行 4汇联通
*/ */
private String img; private Integer payChannel;
/** /**
* 商品名称 * 支付渠道流水号
*/ */
private String goodsName; private String payChannelOrderNo;
/** /**
* 自定义参数 * 客户支付流水号
*/ */
private String customparameters; private String paySerialNo;
/** /**
* 商品数量 * 支付方式 1微信 2: 支付宝 3快捷支付 4工会卡
*/ */
private Integer goodsCount; private Integer payType;
/** /**
* 交易金额 * 订单总金额
*/ */
private BigDecimal totalPrice; private BigDecimal totalPrice;
/** /**
* 佣金金额 * 应付金额
*/
private BigDecimal payRealPrice;
/**
* 支付金额
*/ */
private BigDecimal promotionamount; private BigDecimal payment;
/** /**
* 0-已支付1-已成团2-确认收货3-审核成功4-审核失败不可提现5-已经结算 ;10-已处罚 * 商品总金额
*/ */
private Integer status; private BigDecimal productTotalPrice;
/** /**
* 创建时间 * 创建时间
*/ */
private Date createTime; private Date createTime;
/**
* 修改时间
*/
private Date updateTime;
/** /**
* 支付时间 * 支付时间
*/ */
private Date payTime; private Date payTime;
/**
* 完成时间
*/
private Date finishTime;
/** /**
* 取消时间 * 取消时间
*/ */
@ -90,14 +110,14 @@ public class BsOrder implements Serializable {
private Date refundTime; private Date refundTime;
/** /**
* 完成时间 * 订单状态1 待支付 2 已支付 3.已完成 4. 已退款 5.已取消
*/ */
private Date finishTime; private Integer orderStatus;
/** /**
* 更新时间 * 备注
*/ */
private Date updateTime; private String remarks;
private String ext1; private String ext1;
@ -115,14 +135,6 @@ public class BsOrder implements Serializable {
this.id = id; this.id = id;
} }
public String getOrderNo() {
return orderNo;
}
public void setOrderNo(String orderNo) {
this.orderNo = orderNo;
}
public Long getUserId() { public Long getUserId() {
return userId; return userId;
} }
@ -131,6 +143,14 @@ public class BsOrder implements Serializable {
this.userId = userId; this.userId = userId;
} }
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getUserPhone() { public String getUserPhone() {
return userPhone; return userPhone;
} }
@ -139,36 +159,44 @@ public class BsOrder implements Serializable {
this.userPhone = userPhone; this.userPhone = userPhone;
} }
public String getImg() { public String getOrderNo() {
return img; return orderNo;
} }
public void setImg(String img) { public void setOrderNo(String orderNo) {
this.img = img; this.orderNo = orderNo;
} }
public String getGoodsName() { public Integer getPayChannel() {
return goodsName; return payChannel;
} }
public void setGoodsName(String goodsName) { public void setPayChannel(Integer payChannel) {
this.goodsName = goodsName; this.payChannel = payChannel;
} }
public String getCustomparameters() { public String getPayChannelOrderNo() {
return customparameters; return payChannelOrderNo;
} }
public void setCustomparameters(String customparameters) { public void setPayChannelOrderNo(String payChannelOrderNo) {
this.customparameters = customparameters; this.payChannelOrderNo = payChannelOrderNo;
} }
public Integer getGoodsCount() { public String getPaySerialNo() {
return goodsCount; return paySerialNo;
} }
public void setGoodsCount(Integer goodsCount) { public void setPaySerialNo(String paySerialNo) {
this.goodsCount = goodsCount; this.paySerialNo = paySerialNo;
}
public Integer getPayType() {
return payType;
}
public void setPayType(Integer payType) {
this.payType = payType;
} }
public BigDecimal getTotalPrice() { public BigDecimal getTotalPrice() {
@ -179,20 +207,28 @@ public class BsOrder implements Serializable {
this.totalPrice = totalPrice; this.totalPrice = totalPrice;
} }
public BigDecimal getPromotionamount() { public BigDecimal getPayRealPrice() {
return promotionamount; return payRealPrice;
}
public void setPayRealPrice(BigDecimal payRealPrice) {
this.payRealPrice = payRealPrice;
}
public BigDecimal getPayment() {
return payment;
} }
public void setPromotionamount(BigDecimal promotionamount) { public void setPayment(BigDecimal payment) {
this.promotionamount = promotionamount; this.payment = payment;
} }
public Integer getStatus() { public BigDecimal getProductTotalPrice() {
return status; return productTotalPrice;
} }
public void setStatus(Integer status) { public void setProductTotalPrice(BigDecimal productTotalPrice) {
this.status = status; this.productTotalPrice = productTotalPrice;
} }
public Date getCreateTime() { public Date getCreateTime() {
@ -203,6 +239,14 @@ public class BsOrder implements Serializable {
this.createTime = createTime; this.createTime = createTime;
} }
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
public Date getPayTime() { public Date getPayTime() {
return payTime; return payTime;
} }
@ -211,6 +255,14 @@ public class BsOrder implements Serializable {
this.payTime = payTime; this.payTime = payTime;
} }
public Date getFinishTime() {
return finishTime;
}
public void setFinishTime(Date finishTime) {
this.finishTime = finishTime;
}
public Date getCancelTime() { public Date getCancelTime() {
return cancelTime; return cancelTime;
} }
@ -227,20 +279,20 @@ public class BsOrder implements Serializable {
this.refundTime = refundTime; this.refundTime = refundTime;
} }
public Date getFinishTime() { public Integer getOrderStatus() {
return finishTime; return orderStatus;
} }
public void setFinishTime(Date finishTime) { public void setOrderStatus(Integer orderStatus) {
this.finishTime = finishTime; this.orderStatus = orderStatus;
} }
public Date getUpdateTime() { public String getRemarks() {
return updateTime; return remarks;
} }
public void setUpdateTime(Date updateTime) { public void setRemarks(String remarks) {
this.updateTime = updateTime; this.remarks = remarks;
} }
public String getExt1() { public String getExt1() {
@ -280,22 +332,26 @@ public class BsOrder implements Serializable {
} }
BsOrder other = (BsOrder) that; BsOrder other = (BsOrder) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) 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.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.getUserPhone() == null ? other.getUserPhone() == null : this.getUserPhone().equals(other.getUserPhone()))
&& (this.getImg() == null ? other.getImg() == null : this.getImg().equals(other.getImg())) && (this.getOrderNo() == null ? other.getOrderNo() == null : this.getOrderNo().equals(other.getOrderNo()))
&& (this.getGoodsName() == null ? other.getGoodsName() == null : this.getGoodsName().equals(other.getGoodsName())) && (this.getPayChannel() == null ? other.getPayChannel() == null : this.getPayChannel().equals(other.getPayChannel()))
&& (this.getCustomparameters() == null ? other.getCustomparameters() == null : this.getCustomparameters().equals(other.getCustomparameters())) && (this.getPayChannelOrderNo() == null ? other.getPayChannelOrderNo() == null : this.getPayChannelOrderNo().equals(other.getPayChannelOrderNo()))
&& (this.getGoodsCount() == null ? other.getGoodsCount() == null : this.getGoodsCount().equals(other.getGoodsCount())) && (this.getPaySerialNo() == null ? other.getPaySerialNo() == null : this.getPaySerialNo().equals(other.getPaySerialNo()))
&& (this.getPayType() == null ? other.getPayType() == null : this.getPayType().equals(other.getPayType()))
&& (this.getTotalPrice() == null ? other.getTotalPrice() == null : this.getTotalPrice().equals(other.getTotalPrice())) && (this.getTotalPrice() == null ? other.getTotalPrice() == null : this.getTotalPrice().equals(other.getTotalPrice()))
&& (this.getPromotionamount() == null ? other.getPromotionamount() == null : this.getPromotionamount().equals(other.getPromotionamount())) && (this.getPayRealPrice() == null ? other.getPayRealPrice() == null : this.getPayRealPrice().equals(other.getPayRealPrice()))
&& (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getPayment() == null ? other.getPayment() == null : this.getPayment().equals(other.getPayment()))
&& (this.getProductTotalPrice() == null ? other.getProductTotalPrice() == null : this.getProductTotalPrice().equals(other.getProductTotalPrice()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) && (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.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.getCancelTime() == null ? other.getCancelTime() == null : this.getCancelTime().equals(other.getCancelTime()))
&& (this.getRefundTime() == null ? other.getRefundTime() == null : this.getRefundTime().equals(other.getRefundTime())) && (this.getRefundTime() == null ? other.getRefundTime() == null : this.getRefundTime().equals(other.getRefundTime()))
&& (this.getFinishTime() == null ? other.getFinishTime() == null : this.getFinishTime().equals(other.getFinishTime())) && (this.getOrderStatus() == null ? other.getOrderStatus() == null : this.getOrderStatus().equals(other.getOrderStatus()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) && (this.getRemarks() == null ? other.getRemarks() == null : this.getRemarks().equals(other.getRemarks()))
&& (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1())) && (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1()))
&& (this.getExt2() == null ? other.getExt2() == null : this.getExt2().equals(other.getExt2())) && (this.getExt2() == null ? other.getExt2() == null : this.getExt2().equals(other.getExt2()))
&& (this.getExt3() == null ? other.getExt3() == null : this.getExt3().equals(other.getExt3())); && (this.getExt3() == null ? other.getExt3() == null : this.getExt3().equals(other.getExt3()));
@ -306,22 +362,26 @@ public class BsOrder implements Serializable {
final int prime = 31; final int prime = 31;
int result = 1; int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); 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 + ((getUserId() == null) ? 0 : getUserId().hashCode());
result = prime * result + ((getUserName() == null) ? 0 : getUserName().hashCode());
result = prime * result + ((getUserPhone() == null) ? 0 : getUserPhone().hashCode()); result = prime * result + ((getUserPhone() == null) ? 0 : getUserPhone().hashCode());
result = prime * result + ((getImg() == null) ? 0 : getImg().hashCode()); result = prime * result + ((getOrderNo() == null) ? 0 : getOrderNo().hashCode());
result = prime * result + ((getGoodsName() == null) ? 0 : getGoodsName().hashCode()); result = prime * result + ((getPayChannel() == null) ? 0 : getPayChannel().hashCode());
result = prime * result + ((getCustomparameters() == null) ? 0 : getCustomparameters().hashCode()); result = prime * result + ((getPayChannelOrderNo() == null) ? 0 : getPayChannelOrderNo().hashCode());
result = prime * result + ((getGoodsCount() == null) ? 0 : getGoodsCount().hashCode()); result = prime * result + ((getPaySerialNo() == null) ? 0 : getPaySerialNo().hashCode());
result = prime * result + ((getPayType() == null) ? 0 : getPayType().hashCode());
result = prime * result + ((getTotalPrice() == null) ? 0 : getTotalPrice().hashCode()); result = prime * result + ((getTotalPrice() == null) ? 0 : getTotalPrice().hashCode());
result = prime * result + ((getPromotionamount() == null) ? 0 : getPromotionamount().hashCode()); result = prime * result + ((getPayRealPrice() == null) ? 0 : getPayRealPrice().hashCode());
result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getPayment() == null) ? 0 : getPayment().hashCode());
result = prime * result + ((getProductTotalPrice() == null) ? 0 : getProductTotalPrice().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().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 + ((getPayTime() == null) ? 0 : getPayTime().hashCode());
result = prime * result + ((getFinishTime() == null) ? 0 : getFinishTime().hashCode());
result = prime * result + ((getCancelTime() == null) ? 0 : getCancelTime().hashCode()); result = prime * result + ((getCancelTime() == null) ? 0 : getCancelTime().hashCode());
result = prime * result + ((getRefundTime() == null) ? 0 : getRefundTime().hashCode()); result = prime * result + ((getRefundTime() == null) ? 0 : getRefundTime().hashCode());
result = prime * result + ((getFinishTime() == null) ? 0 : getFinishTime().hashCode()); result = prime * result + ((getOrderStatus() == null) ? 0 : getOrderStatus().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); result = prime * result + ((getRemarks() == null) ? 0 : getRemarks().hashCode());
result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode()); result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode());
result = prime * result + ((getExt2() == null) ? 0 : getExt2().hashCode()); result = prime * result + ((getExt2() == null) ? 0 : getExt2().hashCode());
result = prime * result + ((getExt3() == null) ? 0 : getExt3().hashCode()); result = prime * result + ((getExt3() == null) ? 0 : getExt3().hashCode());
@ -335,22 +395,26 @@ public class BsOrder implements Serializable {
sb.append(" ["); sb.append(" [");
sb.append("Hash = ").append(hashCode()); sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id); sb.append(", id=").append(id);
sb.append(", orderNo=").append(orderNo);
sb.append(", userId=").append(userId); sb.append(", userId=").append(userId);
sb.append(", userName=").append(userName);
sb.append(", userPhone=").append(userPhone); sb.append(", userPhone=").append(userPhone);
sb.append(", img=").append(img); sb.append(", orderNo=").append(orderNo);
sb.append(", goodsName=").append(goodsName); sb.append(", payChannel=").append(payChannel);
sb.append(", customparameters=").append(customparameters); sb.append(", payChannelOrderNo=").append(payChannelOrderNo);
sb.append(", goodsCount=").append(goodsCount); sb.append(", paySerialNo=").append(paySerialNo);
sb.append(", payType=").append(payType);
sb.append(", totalPrice=").append(totalPrice); sb.append(", totalPrice=").append(totalPrice);
sb.append(", promotionamount=").append(promotionamount); sb.append(", payRealPrice=").append(payRealPrice);
sb.append(", status=").append(status); sb.append(", payment=").append(payment);
sb.append(", productTotalPrice=").append(productTotalPrice);
sb.append(", createTime=").append(createTime); sb.append(", createTime=").append(createTime);
sb.append(", updateTime=").append(updateTime);
sb.append(", payTime=").append(payTime); sb.append(", payTime=").append(payTime);
sb.append(", finishTime=").append(finishTime);
sb.append(", cancelTime=").append(cancelTime); sb.append(", cancelTime=").append(cancelTime);
sb.append(", refundTime=").append(refundTime); sb.append(", refundTime=").append(refundTime);
sb.append(", finishTime=").append(finishTime); sb.append(", orderStatus=").append(orderStatus);
sb.append(", updateTime=").append(updateTime); sb.append(", remarks=").append(remarks);
sb.append(", ext1=").append(ext1); sb.append(", ext1=").append(ext1);
sb.append(", ext2=").append(ext2); sb.append(", ext2=").append(ext2);
sb.append(", ext3=").append(ext3); sb.append(", ext3=").append(ext3);

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save