|
|
@ -40,12 +40,14 @@ public interface BsCornucopiaLotteryRecordMapper extends BsCornucopiaLotteryReco |
|
|
|
|
|
|
|
|
|
|
|
@Insert({ |
|
|
|
@Insert({ |
|
|
|
"insert into bs_cornucopia_lottery_record (lottery_no, lottery_time, ", |
|
|
|
"insert into bs_cornucopia_lottery_record (lottery_no, lottery_time, ", |
|
|
|
"`type`, type_name, ", |
|
|
|
"`type`, proportion, ", |
|
|
|
|
|
|
|
"gold_coin, type_name, ", |
|
|
|
"config_msg, create_time, ", |
|
|
|
"config_msg, create_time, ", |
|
|
|
"update_time, `status`, ", |
|
|
|
"update_time, `status`, ", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
"values (#{lotteryNo,jdbcType=VARCHAR}, #{lotteryTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"values (#{lotteryNo,jdbcType=VARCHAR}, #{lotteryTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{type,jdbcType=INTEGER}, #{typeName,jdbcType=VARCHAR}, ", |
|
|
|
"#{type,jdbcType=INTEGER}, #{proportion,jdbcType=DECIMAL}, ", |
|
|
|
|
|
|
|
"#{goldCoin,jdbcType=DECIMAL}, #{typeName,jdbcType=VARCHAR}, ", |
|
|
|
"#{configMsg,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{configMsg,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, ", |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
|
"#{ext1,jdbcType=VARCHAR}, #{ext2,jdbcType=VARCHAR}, #{ext3,jdbcType=VARCHAR})" |
|
|
@ -63,6 +65,8 @@ public interface BsCornucopiaLotteryRecordMapper extends BsCornucopiaLotteryReco |
|
|
|
@Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="proportion", property="proportion", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="type_name", property="typeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="type_name", property="typeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="config_msg", property="configMsg", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="config_msg", property="configMsg", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -76,8 +80,8 @@ public interface BsCornucopiaLotteryRecordMapper extends BsCornucopiaLotteryReco |
|
|
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, lottery_no, lottery_time, `type`, type_name, config_msg, create_time, update_time, ", |
|
|
|
"id, lottery_no, lottery_time, `type`, proportion, gold_coin, type_name, config_msg, ", |
|
|
|
"`status`, ext_1, ext_2, ext_3", |
|
|
|
"create_time, update_time, `status`, ext_1, ext_2, ext_3", |
|
|
|
"from bs_cornucopia_lottery_record", |
|
|
|
"from bs_cornucopia_lottery_record", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
}) |
|
|
|
}) |
|
|
@ -86,6 +90,8 @@ public interface BsCornucopiaLotteryRecordMapper extends BsCornucopiaLotteryReco |
|
|
|
@Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
|
|
|
|
@Result(column="proportion", property="proportion", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="gold_coin", property="goldCoin", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="type_name", property="typeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="type_name", property="typeName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="config_msg", property="configMsg", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="config_msg", property="configMsg", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
@Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
@ -111,6 +117,8 @@ public interface BsCornucopiaLotteryRecordMapper extends BsCornucopiaLotteryReco |
|
|
|
"set lottery_no = #{lotteryNo,jdbcType=VARCHAR},", |
|
|
|
"set lottery_no = #{lotteryNo,jdbcType=VARCHAR},", |
|
|
|
"lottery_time = #{lotteryTime,jdbcType=TIMESTAMP},", |
|
|
|
"lottery_time = #{lotteryTime,jdbcType=TIMESTAMP},", |
|
|
|
"`type` = #{type,jdbcType=INTEGER},", |
|
|
|
"`type` = #{type,jdbcType=INTEGER},", |
|
|
|
|
|
|
|
"proportion = #{proportion,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"gold_coin = #{goldCoin,jdbcType=DECIMAL},", |
|
|
|
"type_name = #{typeName,jdbcType=VARCHAR},", |
|
|
|
"type_name = #{typeName,jdbcType=VARCHAR},", |
|
|
|
"config_msg = #{configMsg,jdbcType=VARCHAR},", |
|
|
|
"config_msg = #{configMsg,jdbcType=VARCHAR},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|
"create_time = #{createTime,jdbcType=TIMESTAMP},", |
|
|
|