|
|
|
@ -39,10 +39,11 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
int deleteByPrimaryKey(Long id); |
|
|
|
|
|
|
|
|
|
@Insert({ |
|
|
|
|
"insert into high_order (product_type, company_id, ", |
|
|
|
|
"company_name, promote_code, ", |
|
|
|
|
"mem_discount_id, mem_discount_name, ", |
|
|
|
|
"mem_id, mem_name, mem_phone, ", |
|
|
|
|
"insert into high_order (search_title, product_type, ", |
|
|
|
|
"company_id, company_name, ", |
|
|
|
|
"promote_code, mem_discount_id, ", |
|
|
|
|
"mem_discount_name, mem_id, ", |
|
|
|
|
"mem_name, mem_phone, ", |
|
|
|
|
"order_no, pay_serial_no, ", |
|
|
|
|
"pay_type, mem_card_id, ", |
|
|
|
|
"mem_card_type, mem_card_no, ", |
|
|
|
@ -60,10 +61,11 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
"exception_content, ext_1, ", |
|
|
|
|
"ext_2, ext_3, ext_4, ", |
|
|
|
|
"ext_5, ext_6)", |
|
|
|
|
"values (#{productType,jdbcType=INTEGER}, #{companyId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{companyName,jdbcType=VARCHAR}, #{promoteCode,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{memDiscountId,jdbcType=BIGINT}, #{memDiscountName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{memId,jdbcType=BIGINT}, #{memName,jdbcType=VARCHAR}, #{memPhone,jdbcType=VARCHAR}, ", |
|
|
|
|
"values (#{searchTitle,jdbcType=VARCHAR}, #{productType,jdbcType=INTEGER}, ", |
|
|
|
|
"#{companyId,jdbcType=BIGINT}, #{companyName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{promoteCode,jdbcType=VARCHAR}, #{memDiscountId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{memDiscountName,jdbcType=VARCHAR}, #{memId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{memName,jdbcType=VARCHAR}, #{memPhone,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{orderNo,jdbcType=VARCHAR}, #{paySerialNo,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{payType,jdbcType=INTEGER}, #{memCardId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{memCardType,jdbcType=INTEGER}, #{memCardNo,jdbcType=VARCHAR}, ", |
|
|
|
@ -92,6 +94,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
@SelectProvider(type=HighOrderSqlProvider.class, method="selectByExample") |
|
|
|
|
@Results({ |
|
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
|
@Result(column="search_title", property="searchTitle", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="product_type", property="productType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="company_name", property="companyName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -141,12 +144,12 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, product_type, company_id, company_name, promote_code, mem_discount_id, mem_discount_name, ", |
|
|
|
|
"mem_id, mem_name, mem_phone, order_no, pay_serial_no, pay_type, mem_card_id, ", |
|
|
|
|
"mem_card_type, mem_card_no, total_price, deduction_price, pay_gold, payable_price, ", |
|
|
|
|
"pay_price, pay_real_price, order_status, remarks, create_time, surplus_refund_price, ", |
|
|
|
|
"surplus_refund_integral, pay_time, finish_time, cancel_time, cancel_remarks, ", |
|
|
|
|
"refund_time, account_merchant_num, profit_sharing_status, profit_sharing_record_id, ", |
|
|
|
|
"id, search_title, product_type, company_id, company_name, promote_code, mem_discount_id, ", |
|
|
|
|
"mem_discount_name, mem_id, mem_name, mem_phone, order_no, pay_serial_no, pay_type, ", |
|
|
|
|
"mem_card_id, mem_card_type, mem_card_no, total_price, deduction_price, pay_gold, ", |
|
|
|
|
"payable_price, pay_price, pay_real_price, order_status, remarks, create_time, ", |
|
|
|
|
"surplus_refund_price, surplus_refund_integral, pay_time, finish_time, cancel_time, ", |
|
|
|
|
"cancel_remarks, refund_time, account_merchant_num, profit_sharing_status, profit_sharing_record_id, ", |
|
|
|
|
"whether_check, whether_rebate, exception_status, exception_content, ext_1, ext_2, ", |
|
|
|
|
"ext_3, ext_4, ext_5, ext_6", |
|
|
|
|
"from high_order", |
|
|
|
@ -154,6 +157,7 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
}) |
|
|
|
|
@Results({ |
|
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
|
@Result(column="search_title", property="searchTitle", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="product_type", property="productType", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="company_id", property="companyId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="company_name", property="companyName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -212,7 +216,8 @@ public interface HighOrderMapper extends HighOrderMapperExt { |
|
|
|
|
|
|
|
|
|
@Update({ |
|
|
|
|
"update high_order", |
|
|
|
|
"set product_type = #{productType,jdbcType=INTEGER},", |
|
|
|
|
"set search_title = #{searchTitle,jdbcType=VARCHAR},", |
|
|
|
|
"product_type = #{productType,jdbcType=INTEGER},", |
|
|
|
|
"company_id = #{companyId,jdbcType=BIGINT},", |
|
|
|
|
"company_name = #{companyName,jdbcType=VARCHAR},", |
|
|
|
|
"promote_code = #{promoteCode,jdbcType=VARCHAR},", |
|
|
|
|