|
|
|
@ -40,13 +40,13 @@ public interface BsCornucopiaLotteryRecordMapper extends BsCornucopiaLotteryReco |
|
|
|
|
|
|
|
|
|
@Insert({ |
|
|
|
|
"insert into bs_cornucopia_lottery_record (lottery_no, lottery_time, ", |
|
|
|
|
"`type`, proportion, ", |
|
|
|
|
"`type`, user_num, proportion, ", |
|
|
|
|
"gold_coin, type_name, ", |
|
|
|
|
"config_msg, create_time, ", |
|
|
|
|
"update_time, `status`, ", |
|
|
|
|
"ext_1, ext_2, ext_3)", |
|
|
|
|
"values (#{lotteryNo,jdbcType=VARCHAR}, #{lotteryTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{type,jdbcType=INTEGER}, #{proportion,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{type,jdbcType=INTEGER}, #{userNum,jdbcType=INTEGER}, #{proportion,jdbcType=DECIMAL}, ", |
|
|
|
|
"#{goldCoin,jdbcType=DECIMAL}, #{typeName,jdbcType=VARCHAR}, ", |
|
|
|
|
"#{configMsg,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, ", |
|
|
|
@ -65,6 +65,7 @@ public interface BsCornucopiaLotteryRecordMapper extends BsCornucopiaLotteryReco |
|
|
|
|
@Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="user_num", property="userNum", 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), |
|
|
|
@ -80,8 +81,8 @@ public interface BsCornucopiaLotteryRecordMapper extends BsCornucopiaLotteryReco |
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
|
"select", |
|
|
|
|
"id, lottery_no, lottery_time, `type`, proportion, gold_coin, type_name, config_msg, ", |
|
|
|
|
"create_time, update_time, `status`, ext_1, ext_2, ext_3", |
|
|
|
|
"id, lottery_no, lottery_time, `type`, user_num, proportion, gold_coin, type_name, ", |
|
|
|
|
"config_msg, create_time, update_time, `status`, ext_1, ext_2, ext_3", |
|
|
|
|
"from bs_cornucopia_lottery_record", |
|
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
|
}) |
|
|
|
@ -90,6 +91,7 @@ public interface BsCornucopiaLotteryRecordMapper extends BsCornucopiaLotteryReco |
|
|
|
|
@Result(column="lottery_no", property="lotteryNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
@Result(column="lottery_time", property="lotteryTime", jdbcType=JdbcType.TIMESTAMP), |
|
|
|
|
@Result(column="type", property="type", jdbcType=JdbcType.INTEGER), |
|
|
|
|
@Result(column="user_num", property="userNum", 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), |
|
|
|
@ -117,6 +119,7 @@ public interface BsCornucopiaLotteryRecordMapper extends BsCornucopiaLotteryReco |
|
|
|
|
"set lottery_no = #{lotteryNo,jdbcType=VARCHAR},", |
|
|
|
|
"lottery_time = #{lotteryTime,jdbcType=TIMESTAMP},", |
|
|
|
|
"`type` = #{type,jdbcType=INTEGER},", |
|
|
|
|
"user_num = #{userNum,jdbcType=INTEGER},", |
|
|
|
|
"proportion = #{proportion,jdbcType=DECIMAL},", |
|
|
|
|
"gold_coin = #{goldCoin,jdbcType=DECIMAL},", |
|
|
|
|
"type_name = #{typeName,jdbcType=VARCHAR},", |
|
|
|
|