|
|
@ -46,8 +46,8 @@ public interface ApiOrderMapper extends ApiOrderMapperExt { |
|
|
|
"order_price, create_time, ", |
|
|
|
"order_price, create_time, ", |
|
|
|
"update_time, notify_url, ", |
|
|
|
"update_time, notify_url, ", |
|
|
|
"content, remark, ", |
|
|
|
"content, remark, ", |
|
|
|
"`status`, ext_1, ext_2, ", |
|
|
|
"`status`, whether_exception, ", |
|
|
|
"ext_3)", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"values (#{title,jdbcType=VARCHAR}, #{productType,jdbcType=INTEGER}, ", |
|
|
|
"values (#{title,jdbcType=VARCHAR}, #{productType,jdbcType=INTEGER}, ", |
|
|
|
"#{orderNo,jdbcType=VARCHAR}, #{mchOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{orderNo,jdbcType=VARCHAR}, #{mchOrderNo,jdbcType=VARCHAR}, ", |
|
|
|
"#{mchName,jdbcType=VARCHAR}, #{mchId,jdbcType=VARCHAR}, ", |
|
|
|
"#{mchName,jdbcType=VARCHAR}, #{mchId,jdbcType=VARCHAR}, ", |
|
|
@ -55,8 +55,8 @@ public interface ApiOrderMapper extends ApiOrderMapperExt { |
|
|
|
"#{orderPrice,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{orderPrice,jdbcType=DECIMAL}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{notifyUrl,jdbcType=VARCHAR}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{notifyUrl,jdbcType=VARCHAR}, ", |
|
|
|
"#{content,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, ", |
|
|
|
"#{content,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, ", |
|
|
|
"#{status,jdbcType=INTEGER}, #{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, ", |
|
|
|
"#{status,jdbcType=INTEGER}, #{whetherException,jdbcType=BIT}, ", |
|
|
|
"#{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
}) |
|
|
|
}) |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
@Options(useGeneratedKeys=true,keyProperty="id") |
|
|
|
int insert(ApiOrder record); |
|
|
|
int insert(ApiOrder record); |
|
|
@ -83,6 +83,7 @@ public interface ApiOrderMapper extends ApiOrderMapperExt { |
|
|
|
@Result(column="content", property="content", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="content", property="content", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="whether_exception", property="whetherException", jdbcType=JdbcType.BIT), |
|
|
|
@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), |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) |
|
|
@ -93,7 +94,7 @@ public interface ApiOrderMapper extends ApiOrderMapperExt { |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, title, product_type, order_no, mch_order_no, mch_name, mch_id, cost_price, ", |
|
|
|
"id, title, product_type, order_no, mch_order_no, mch_name, mch_id, cost_price, ", |
|
|
|
"face_price, order_price, create_time, update_time, notify_url, content, remark, ", |
|
|
|
"face_price, order_price, create_time, update_time, notify_url, content, remark, ", |
|
|
|
"`status`, ext_1, ext_2, ext_3", |
|
|
|
"`status`, whether_exception, ext_1, ext_2, ext_3", |
|
|
|
"from api_order", |
|
|
|
"from api_order", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -114,6 +115,7 @@ public interface ApiOrderMapper extends ApiOrderMapperExt { |
|
|
|
@Result(column="content", property="content", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="content", property="content", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="whether_exception", property="whetherException", jdbcType=JdbcType.BIT), |
|
|
|
@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), |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) |
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) |
|
|
@ -146,6 +148,7 @@ public interface ApiOrderMapper extends ApiOrderMapperExt { |
|
|
|
"content = #{content,jdbcType=VARCHAR},", |
|
|
|
"content = #{content,jdbcType=VARCHAR},", |
|
|
|
"remark = #{remark,jdbcType=VARCHAR},", |
|
|
|
"remark = #{remark,jdbcType=VARCHAR},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"whether_exception = #{whetherException,jdbcType=BIT},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR}", |
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR}", |
|
|
|