|
|
|
@ -46,13 +46,14 @@ public interface HighOrderRefundMapper extends HighOrderRefundMapperExt { |
|
|
|
|
"goods_name, goods_desc, ", |
|
|
|
|
"goods_img, goods_spec_name, ", |
|
|
|
|
"goods_count, refund_order_no, ", |
|
|
|
|
"return_total_price, refund_goods_num, ", |
|
|
|
|
"refund_price, refund_integral, ", |
|
|
|
|
"refund_remark, refund_status, ", |
|
|
|
|
"refund_fail_reason, create_time, ", |
|
|
|
|
"refund_time, update_time, ", |
|
|
|
|
"ext_1, ext_2, ext_3, ", |
|
|
|
|
"ext_4, ext_5, ext_6)", |
|
|
|
|
"third_party_refund_order_no, return_total_price, ", |
|
|
|
|
"refund_goods_num, refund_price, ", |
|
|
|
|
"refund_integral, refund_remark, ", |
|
|
|
|
"refund_status, refund_fail_reason, ", |
|
|
|
|
"create_time, refund_time, ", |
|
|
|
|
"update_time, ext_1, ", |
|
|
|
|
"ext_2, ext_3, ext_4, ", |
|
|
|
|
"ext_5, ext_6)", |
|
|
|
|
"values (#{orderId,jdbcType=BIGINT}, #{orderNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{orderChildId,jdbcType=BIGINT}, #{orderChildNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{memId,jdbcType=BIGINT}, #{memName,jdbcType=VARCHAR}, #{memPhone,jdbcType=VARCHAR}, ", |
|
|
|
@ -60,13 +61,14 @@ public interface HighOrderRefundMapper extends HighOrderRefundMapperExt { |
|
|
|
|
"#{goodsName,jdbcType=VARCHAR}, #{goodsDesc,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{goodsImg,jdbcType=VARCHAR}, #{goodsSpecName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{goodsCount,jdbcType=INTEGER}, #{refundOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{returnTotalPrice,jdbcType=DECIMAL}, #{refundGoodsNum,jdbcType=INTEGER}, ", |
|
|
|
|
"#{refundPrice,jdbcType=DECIMAL}, #{refundIntegral,jdbcType=INTEGER}, ", |
|
|
|
|
"#{refundRemark,jdbcType=VARCHAR}, #{refundStatus,jdbcType=INTEGER}, ", |
|
|
|
|
"#{refundFailReason,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext4,jdbcType=VARCHAR}, #{ext5,jdbcType=VARCHAR}, #{ext6,jdbcType=VARCHAR})" |
|
|
|
|
"#{thirdPartyRefundOrderNo,jdbcType=VARCHAR}, #{returnTotalPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{refundGoodsNum,jdbcType=INTEGER}, #{refundPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{refundIntegral,jdbcType=INTEGER}, #{refundRemark,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{refundStatus,jdbcType=INTEGER}, #{refundFailReason,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{refundTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{ext4,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext5,jdbcType=VARCHAR}, #{ext6,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(HighOrderRefund record); |
|
|
|
@ -93,6 +95,7 @@ public interface HighOrderRefundMapper extends HighOrderRefundMapperExt { |
|
|
|
|
@Result(column="goods_spec_name", property="goodsSpecName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="goods_count", property="goodsCount", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="refund_order_no", property="refundOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="third_party_refund_order_no", property="thirdPartyRefundOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="return_total_price", property="returnTotalPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="refund_goods_num", property="refundGoodsNum", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@ -116,9 +119,9 @@ public interface HighOrderRefundMapper extends HighOrderRefundMapperExt { |
|
|
|
|
"select", |
|
|
|
|
"id, order_id, order_no, order_child_id, order_child_no, mem_id, mem_name, mem_phone, ", |
|
|
|
|
"goods_type, goods_id, goods_name, goods_desc, goods_img, goods_spec_name, goods_count, ", |
|
|
|
|
"refund_order_no, return_total_price, refund_goods_num, refund_price, refund_integral, ", |
|
|
|
|
"refund_remark, refund_status, refund_fail_reason, create_time, refund_time, ", |
|
|
|
|
"update_time, ext_1, ext_2, ext_3, ext_4, ext_5, ext_6", |
|
|
|
|
"refund_order_no, third_party_refund_order_no, return_total_price, refund_goods_num, ", |
|
|
|
|
"refund_price, refund_integral, refund_remark, refund_status, refund_fail_reason, ", |
|
|
|
|
"create_time, refund_time, update_time, ext_1, ext_2, ext_3, ext_4, ext_5, ext_6", |
|
|
|
|
"from high_order_refund", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -139,6 +142,7 @@ public interface HighOrderRefundMapper extends HighOrderRefundMapperExt { |
|
|
|
|
@Result(column="goods_spec_name", property="goodsSpecName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="goods_count", property="goodsCount", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="refund_order_no", property="refundOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="third_party_refund_order_no", property="thirdPartyRefundOrderNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="return_total_price", property="returnTotalPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="refund_goods_num", property="refundGoodsNum", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="refund_price", property="refundPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
@ -184,6 +188,7 @@ public interface HighOrderRefundMapper extends HighOrderRefundMapperExt { |
|
|
|
|
"goods_spec_name = #{goodsSpecName,jdbcType=VARCHAR},", |
|
|
|
|
"goods_count = #{goodsCount,jdbcType=INTEGER},", |
|
|
|
|
"refund_order_no = #{refundOrderNo,jdbcType=VARCHAR},", |
|
|
|
|
"third_party_refund_order_no = #{thirdPartyRefundOrderNo,jdbcType=VARCHAR},", |
|
|
|
|
"return_total_price = #{returnTotalPrice,jdbcType=DECIMAL},", |
|
|
|
|
"refund_goods_num = #{refundGoodsNum,jdbcType=INTEGER},", |
|
|
|
|
"refund_price = #{refundPrice,jdbcType=DECIMAL},", |
|
|
|
|