|
|
|
@ -40,12 +40,14 @@ public interface HighGroupOrderMapper extends HighGroupOrderMapperExt { |
|
|
|
|
|
|
|
|
|
@Insert({ |
|
|
|
|
"insert into high_group_order (order_no, group_id, ", |
|
|
|
|
"store_id, mer_no, create_time, ", |
|
|
|
|
"store_id, mer_no, price, ", |
|
|
|
|
"transfer, create_time, ", |
|
|
|
|
"update_time, `status`, ", |
|
|
|
|
"op_id, op_name, ext_1, ", |
|
|
|
|
"ext_2, ext_3)", |
|
|
|
|
"values (#{orderNo,jdbcType=VARCHAR}, #{groupId,jdbcType=BIGINT}, ", |
|
|
|
|
"#{storeId,jdbcType=BIGINT}, #{merNo,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{storeId,jdbcType=BIGINT}, #{merNo,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{transfer,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, ", |
|
|
|
|
"#{opId,jdbcType=BIGINT}, #{opName,jdbcType=VARCHAR}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
@ -64,6 +66,8 @@ public interface HighGroupOrderMapper extends HighGroupOrderMapperExt { |
|
|
|
|
@Result(column="group_id", property="groupId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="store_id", property="storeId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="mer_no", property="merNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="price", property="price", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="transfer", property="transfer", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@ -77,8 +81,8 @@ public interface HighGroupOrderMapper extends HighGroupOrderMapperExt { |
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, order_no, group_id, store_id, mer_no, create_time, update_time, `status`, ", |
|
|
|
|
"op_id, op_name, ext_1, ext_2, ext_3", |
|
|
|
|
"id, order_no, group_id, store_id, mer_no, price, transfer, create_time, update_time, ", |
|
|
|
|
"`status`, op_id, op_name, ext_1, ext_2, ext_3", |
|
|
|
|
"from high_group_order", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -88,6 +92,8 @@ public interface HighGroupOrderMapper extends HighGroupOrderMapperExt { |
|
|
|
|
@Result(column="group_id", property="groupId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="store_id", property="storeId", jdbcType=JdbcType.BIGINT), |
|
|
|
|
@Result(column="mer_no", property="merNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="price", property="price", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
@Result(column="transfer", property="transfer", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@ -114,6 +120,8 @@ public interface HighGroupOrderMapper extends HighGroupOrderMapperExt { |
|
|
|
|
"group_id = #{groupId,jdbcType=BIGINT},", |
|
|
|
|
"store_id = #{storeId,jdbcType=BIGINT},", |
|
|
|
|
"mer_no = #{merNo,jdbcType=VARCHAR},", |
|
|
|
|
"price = #{price,jdbcType=DECIMAL},", |
|
|
|
|
"transfer = #{transfer,jdbcType=INTEGER},", |
|
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"update_time = #{updateTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
|