|
|
|
@ -45,22 +45,22 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"pay_model, pay_type, ", |
|
|
|
|
"pay_gold, pay_price, ", |
|
|
|
|
"pay_real_price, pay_serial_no, ", |
|
|
|
|
"order_status, total_price, ", |
|
|
|
|
"create_time, pay_time, ", |
|
|
|
|
"cancel_time, finish_time, ", |
|
|
|
|
"remarks, ext_1, ext_2, ", |
|
|
|
|
"ext_3)", |
|
|
|
|
"deduction_price, order_status, ", |
|
|
|
|
"total_price, create_time, ", |
|
|
|
|
"pay_time, cancel_time, ", |
|
|
|
|
"finish_time, remarks, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{memDiscountId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{memDiscountName,jdbcType=VARCHAR}, #{memId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{memName,jdbcType=VARCHAR}, #{memPhone,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{payModel,jdbcType=INTEGER}, #{payType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{payGold,jdbcType=INTEGER}, #{payPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{payRealPrice,jdbcType=DECIMAL}, #{paySerialNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{orderStatus,jdbcType=INTEGER}, #{totalPrice,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{createTime,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{cancelTime,jdbcType=TIMESTAMP}, #{finishTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{remarks,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext3,jdbcType=VARCHAR})" |
|
|
|
|
"#{deductionPrice,jdbcType=DECIMAL}, #{orderStatus,jdbcType=INTEGER}, ", |
|
|
|
|
"#{totalPrice,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{payTime,jdbcType=TIMESTAMP}, #{cancelTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{finishTime,jdbcType=TIMESTAMP}, #{remarks,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
|
}) |
|
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
|
int insert(HighOrder record); |
|
|
|
@ -84,6 +84,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="deduction_price", property="deductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="order_status", property="orderStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@ -100,9 +101,9 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, order_no, mem_discount_id, mem_discount_name, mem_id, mem_name, mem_phone, ", |
|
|
|
|
"pay_model, pay_type, pay_gold, pay_price, pay_real_price, pay_serial_no, order_status, ", |
|
|
|
|
"total_price, create_time, pay_time, cancel_time, finish_time, remarks, ext_1, ", |
|
|
|
|
"ext_2, ext_3", |
|
|
|
|
"pay_model, pay_type, pay_gold, pay_price, pay_real_price, pay_serial_no, deduction_price, ", |
|
|
|
|
"order_status, total_price, create_time, pay_time, cancel_time, finish_time, ", |
|
|
|
|
"remarks, ext_1, ext_2, ext_3", |
|
|
|
|
"from high_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -120,6 +121,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_real_price", property="payRealPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="pay_serial_no", property="paySerialNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="deduction_price", property="deductionPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="order_status", property="orderStatus", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@ -156,6 +158,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"pay_price = #{payPrice,jdbcType=DECIMAL},", |
|
|
|
|
"pay_real_price = #{payRealPrice,jdbcType=DECIMAL},", |
|
|
|
|
"pay_serial_no = #{paySerialNo,jdbcType=VARCHAR},", |
|
|
|
|
"deduction_price = #{deductionPrice,jdbcType=DECIMAL},", |
|
|
|
|
"order_status = #{orderStatus,jdbcType=INTEGER},", |
|
|
|
|
"total_price = #{totalPrice,jdbcType=DECIMAL},", |
|
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
|