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