|
|
@ -43,8 +43,8 @@ public interface BsOrderMapper extends BsOrderMapperExt { |
|
|
|
"user_phone, img, ", |
|
|
|
"user_phone, img, ", |
|
|
|
"goods_name, customParameters, ", |
|
|
|
"goods_name, customParameters, ", |
|
|
|
"goods_count, `type`, ", |
|
|
|
"goods_count, `type`, ", |
|
|
|
"total_price, promotionAmount, ", |
|
|
|
"total_price, promotion_amount, ", |
|
|
|
"`status`, create_time, ", |
|
|
|
"gold, `status`, create_time, ", |
|
|
|
"pay_time, cancel_time, ", |
|
|
|
"pay_time, cancel_time, ", |
|
|
|
"refund_time, finish_time, ", |
|
|
|
"refund_time, finish_time, ", |
|
|
|
"update_time, ext_1, ", |
|
|
|
"update_time, ext_1, ", |
|
|
@ -53,8 +53,8 @@ public interface BsOrderMapper extends BsOrderMapperExt { |
|
|
|
"#{userPhone,jdbcType=VARCHAR}, #{img,jdbcType=VARCHAR}, ", |
|
|
|
"#{userPhone,jdbcType=VARCHAR}, #{img,jdbcType=VARCHAR}, ", |
|
|
|
"#{goodsName,jdbcType=VARCHAR}, #{customparameters,jdbcType=VARCHAR}, ", |
|
|
|
"#{goodsName,jdbcType=VARCHAR}, #{customparameters,jdbcType=VARCHAR}, ", |
|
|
|
"#{goodsCount,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, ", |
|
|
|
"#{goodsCount,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, ", |
|
|
|
"#{totalPrice,jdbcType=DECIMAL}, #{promotionamount,jdbcType=DECIMAL}, ", |
|
|
|
"#{totalPrice,jdbcType=DECIMAL}, #{promotionAmount,jdbcType=DECIMAL}, ", |
|
|
|
"#{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{gold,jdbcType=DECIMAL}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
@ -79,7 +79,8 @@ public interface BsOrderMapper extends BsOrderMapperExt { |
|
|
|
@Result(column="goods_count", property="goodsCount", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="goods_count", property="goodsCount", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="type", property="type", 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="promotion_amount", property="promotionAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="gold", property="gold", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -96,8 +97,8 @@ public interface BsOrderMapper extends BsOrderMapperExt { |
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, order_no, user_id, user_phone, img, goods_name, customParameters, goods_count, ", |
|
|
|
"id, order_no, user_id, user_phone, img, goods_name, customParameters, goods_count, ", |
|
|
|
"`type`, total_price, promotionAmount, `status`, create_time, pay_time, cancel_time, ", |
|
|
|
"`type`, total_price, promotion_amount, gold, `status`, create_time, pay_time, ", |
|
|
|
"refund_time, finish_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
"cancel_time, refund_time, finish_time, update_time, ext_1, ext_2, ext_3", |
|
|
|
"from bs_order", |
|
|
|
"from bs_order", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -112,7 +113,8 @@ public interface BsOrderMapper extends BsOrderMapperExt { |
|
|
|
@Result(column="goods_count", property="goodsCount", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="goods_count", property="goodsCount", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="type", property="type", 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="promotion_amount", property="promotionAmount", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="gold", property="gold", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="pay_time", property="payTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -146,7 +148,8 @@ public interface BsOrderMapper extends BsOrderMapperExt { |
|
|
|
"goods_count = #{goodsCount,jdbcType=INTEGER},", |
|
|
|
"goods_count = #{goodsCount,jdbcType=INTEGER},", |
|
|
|
"`type` = #{type,jdbcType=INTEGER},", |
|
|
|
"`type` = #{type,jdbcType=INTEGER},", |
|
|
|
"total_price = #{totalPrice,jdbcType=DECIMAL},", |
|
|
|
"total_price = #{totalPrice,jdbcType=DECIMAL},", |
|
|
|
"promotionAmount = #{promotionamount,jdbcType=DECIMAL},", |
|
|
|
"promotion_amount = #{promotionAmount,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"gold = #{gold,jdbcType=DECIMAL},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"pay_time = #{payTime,jdbcType=TIMESTAMP},", |
|
|
|
"pay_time = #{payTime,jdbcType=TIMESTAMP},", |
|
|
|