|
|
@ -45,28 +45,28 @@ public interface HighOrderRefundMapper extends HighOrderRefundMapperExt { |
|
|
|
"goods_type, goods_id, ", |
|
|
|
"goods_type, goods_id, ", |
|
|
|
"goods_name, goods_desc, ", |
|
|
|
"goods_name, goods_desc, ", |
|
|
|
"goods_img, goods_spec_name, ", |
|
|
|
"goods_img, goods_spec_name, ", |
|
|
|
"goods_count, refund_order, ", |
|
|
|
"goods_count, refund_order_no, ", |
|
|
|
"return_total_price, refund_goods_num, ", |
|
|
|
"return_total_price, refund_goods_num, ", |
|
|
|
"refund_price, refund_integral, ", |
|
|
|
"refund_price, refund_integral, ", |
|
|
|
"refund_remark, refund_status, ", |
|
|
|
"refund_remark, refund_status, ", |
|
|
|
"refund_fail_reason, create_time, ", |
|
|
|
"refund_fail_reason, create_time, ", |
|
|
|
"update_time, ext_1, ", |
|
|
|
"refund_time, update_time, ", |
|
|
|
"ext_2, ext_3, ext_4, ", |
|
|
|
"ext_1, ext_2, ext_3, ", |
|
|
|
"ext_5, ext_6)", |
|
|
|
"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}, ", |
|
|
|
"#{goodsType,jdbcType=INTEGER}, #{goodsId,jdbcType=BIGINT}, ", |
|
|
|
"#{goodsType,jdbcType=INTEGER}, #{goodsId,jdbcType=BIGINT}, ", |
|
|
|
"#{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}, #{refundOrder,jdbcType=VARCHAR}, ", |
|
|
|
"#{goodsCount,jdbcType=INTEGER}, #{refundOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{returnTotalPrice,jdbcType=DECIMAL}, #{refundGoodsNum,jdbcType=INTEGER}, ", |
|
|
|
"#{returnTotalPrice,jdbcType=DECIMAL}, #{refundGoodsNum,jdbcType=INTEGER}, ", |
|
|
|
"#{refundPrice,jdbcType=DECIMAL}, #{refundIntegral,jdbcType=INTEGER}, ", |
|
|
|
"#{refundPrice,jdbcType=DECIMAL}, #{refundIntegral,jdbcType=INTEGER}, ", |
|
|
|
"#{refundRemark,jdbcType=VARCHAR}, #{refundStatus,jdbcType=INTEGER}, ", |
|
|
|
"#{refundRemark,jdbcType=VARCHAR}, #{refundStatus,jdbcType=INTEGER}, ", |
|
|
|
"#{refundFailReason,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{refundFailReason,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{refundTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, #{ext4,jdbcType=VARCHAR}, ", |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR}, ", |
|
|
|
"#{ext5,jdbcType=VARCHAR}, #{ext6,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); |
|
|
@ -92,7 +92,7 @@ public interface HighOrderRefundMapper extends HighOrderRefundMapperExt { |
|
|
|
@Result(column="goods_img", property="goodsImg", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="goods_img", property="goodsImg", jdbcType=JdbcType.VARCHAR), |
|
|
|
@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", property="refundOrder", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="refund_order_no", property="refundOrderNo", 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), |
|
|
@ -101,6 +101,7 @@ public interface HighOrderRefundMapper extends HighOrderRefundMapperExt { |
|
|
|
@Result(column="refund_status", property="refundStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="refund_status", property="refundStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="refund_fail_reason", property="refundFailReason", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="refund_fail_reason", property="refundFailReason", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@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), |
|
|
@ -115,9 +116,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, return_total_price, refund_goods_num, refund_price, refund_integral, ", |
|
|
|
"refund_order_no, return_total_price, refund_goods_num, refund_price, refund_integral, ", |
|
|
|
"refund_remark, refund_status, refund_fail_reason, create_time, update_time, ", |
|
|
|
"refund_remark, refund_status, refund_fail_reason, create_time, refund_time, ", |
|
|
|
"ext_1, ext_2, ext_3, ext_4, ext_5, ext_6", |
|
|
|
"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}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -137,7 +138,7 @@ public interface HighOrderRefundMapper extends HighOrderRefundMapperExt { |
|
|
|
@Result(column="goods_img", property="goodsImg", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="goods_img", property="goodsImg", jdbcType=JdbcType.VARCHAR), |
|
|
|
@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", property="refundOrder", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="refund_order_no", property="refundOrderNo", 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), |
|
|
@ -146,6 +147,7 @@ public interface HighOrderRefundMapper extends HighOrderRefundMapperExt { |
|
|
|
@Result(column="refund_status", property="refundStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="refund_status", property="refundStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="refund_fail_reason", property="refundFailReason", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="refund_fail_reason", property="refundFailReason", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
|
|
|
@Result(column="refund_time", property="refundTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@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), |
|
|
@ -181,7 +183,7 @@ public interface HighOrderRefundMapper extends HighOrderRefundMapperExt { |
|
|
|
"goods_img = #{goodsImg,jdbcType=VARCHAR},", |
|
|
|
"goods_img = #{goodsImg,jdbcType=VARCHAR},", |
|
|
|
"goods_spec_name = #{goodsSpecName,jdbcType=VARCHAR},", |
|
|
|
"goods_spec_name = #{goodsSpecName,jdbcType=VARCHAR},", |
|
|
|
"goods_count = #{goodsCount,jdbcType=INTEGER},", |
|
|
|
"goods_count = #{goodsCount,jdbcType=INTEGER},", |
|
|
|
"refund_order = #{refundOrder,jdbcType=VARCHAR},", |
|
|
|
"refund_order_no = #{refundOrderNo,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},", |
|
|
@ -190,6 +192,7 @@ public interface HighOrderRefundMapper extends HighOrderRefundMapperExt { |
|
|
|
"refund_status = #{refundStatus,jdbcType=INTEGER},", |
|
|
|
"refund_status = #{refundStatus,jdbcType=INTEGER},", |
|
|
|
"refund_fail_reason = #{refundFailReason,jdbcType=VARCHAR},", |
|
|
|
"refund_fail_reason = #{refundFailReason,jdbcType=VARCHAR},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
|
|
|
|
"refund_time = #{refundTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|