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