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