|
@@ -4,10 +4,10 @@
|
|
|
|
|
|
<!-- 通用查询映射结果 -->
|
|
|
<resultMap id="BaseResultMap" type="com.qs.mp.admin.domain.TicketAwardsPrize">
|
|
|
- <id column="id" property="id" />
|
|
|
+ <id column="prize_id" property="prizeId" />
|
|
|
<result column="awards_id" property="awardsId" />
|
|
|
- <result column="prize_id" property="prizeId" />
|
|
|
- <result column="prize_type" property="prizeType" />
|
|
|
+ <result column="ref_id" property="refId" />
|
|
|
+ <result column="prize_type" property="refType" />
|
|
|
<result column="quantity" property="quantity" />
|
|
|
<result column="cashed_qty" property="cashedQty" />
|
|
|
<result column="created_time" property="createdTime" />
|
|
@@ -16,7 +16,7 @@
|
|
|
|
|
|
<!-- 通用查询结果列 -->
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, awards_id, prize_id, prize_type, quantity, cashed_qty, created_time, updated_time
|
|
|
+ prize_id, awards_id, ref_id, ref_type, quantity, cashed_qty, created_time, updated_time
|
|
|
</sql>
|
|
|
|
|
|
</mapper>
|