|
|
|
@ -34,9 +34,9 @@ public interface BsOrderOutsideMapper extends BsOrderOutsideMapperExt { |
|
|
|
|
|
|
|
|
|
@Delete({ |
|
|
|
|
"delete from bs_order_outside", |
|
|
|
|
"where id = #{id,jdbcType=INTEGER}" |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
|
int deleteByPrimaryKey(Integer id); |
|
|
|
|
int deleteByPrimaryKey(Long id); |
|
|
|
|
|
|
|
|
|
@Insert({ |
|
|
|
|
"insert into bs_order_outside (platform_code, platform_name, ", |
|
|
|
@ -59,7 +59,7 @@ public interface BsOrderOutsideMapper extends BsOrderOutsideMapperExt { |
|
|
|
|
|
|
|
|
|
@SelectProvider(type=BsOrderOutsideSqlProvider.class, method="selectByExample") |
|
|
|
|
@Results({ |
|
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true), |
|
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
|
@Result(column="platform_code", property="platformCode", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="platform_name", property="platformName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="login_type_code", property="loginTypeCode", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -79,10 +79,10 @@ public interface BsOrderOutsideMapper extends BsOrderOutsideMapperExt { |
|
|
|
|
"id, platform_code, platform_name, login_type_code, login_type_name, order_no, ", |
|
|
|
|
"create_time, update_time, `status`, ext_1, ext_2, ext_3", |
|
|
|
|
"from bs_order_outside", |
|
|
|
|
"where id = #{id,jdbcType=INTEGER}" |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
|
@Results({ |
|
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true), |
|
|
|
|
@Result(column="id", property="id", jdbcType=JdbcType.BIGINT, id=true), |
|
|
|
|
@Result(column="platform_code", property="platformCode", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="platform_name", property="platformName", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="login_type_code", property="loginTypeCode", jdbcType=JdbcType.VARCHAR), |
|
|
|
@ -95,7 +95,7 @@ public interface BsOrderOutsideMapper extends BsOrderOutsideMapperExt { |
|
|
|
|
@Result(column="ext_2", property="ext2", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="ext_3", property="ext3", jdbcType=JdbcType.VARCHAR) |
|
|
|
|
}) |
|
|
|
|
BsOrderOutside selectByPrimaryKey(Integer id); |
|
|
|
|
BsOrderOutside selectByPrimaryKey(Long id); |
|
|
|
|
|
|
|
|
|
@UpdateProvider(type=BsOrderOutsideSqlProvider.class, method="updateByExampleSelective") |
|
|
|
|
int updateByExampleSelective(@Param("record") BsOrderOutside record, @Param("example") BsOrderOutsideExample example); |
|
|
|
@ -119,7 +119,7 @@ public interface BsOrderOutsideMapper extends BsOrderOutsideMapperExt { |
|
|
|
|
"ext_1 = #{ext1,jdbcType=VARCHAR},", |
|
|
|
|
"ext_2 = #{ext2,jdbcType=VARCHAR},", |
|
|
|
|
"ext_3 = #{ext3,jdbcType=VARCHAR}", |
|
|
|
|
"where id = #{id,jdbcType=INTEGER}" |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
|
int updateByPrimaryKey(BsOrderOutside record); |
|
|
|
|
} |