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