| | |
| | | |
| | | |
| | | public static void main(String[] args) { |
| | | System.out.println(UUID.randomUUID().toString()); |
| | | } |
| | | |
| | | |
| | |
| | | @ApiModelProperty(value = "奖品名称") |
| | | private String name; |
| | | |
| | | @ApiModelProperty(value = "奖品数量") |
| | | private Integer quantity; |
| | | |
| | | } |
| | |
| | | <result property="consume" column="consume" /> |
| | | <collection property="awardVo" ofType="com.xcong.excoin.modules.fish.vo.AwardVo" > |
| | | <result property="name" column="name" /> |
| | | <result property="quantity" column="quantity" /> |
| | | </collection> |
| | | </resultMap> |
| | | |
| | | <select id="getAwards" resultMap="awardsMap"> |
| | | select |
| | | a.consume, |
| | | b.quantity, |
| | | b.name |
| | | from cannon_award_set a |
| | | inner join cannon_award b on a.code = b.activity_code |