xiaoyong931011
2021-12-07 0b4ddcc6cd1b3ca9973ba4bf1732be010a7de4e2
20211207  fish
3 files modified
6 ■■■■ changed files
src/main/java/com/xcong/excoin/modules/fish/service/impl/MemberCannonServiceImpl.java 1 ●●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/fish/vo/AwardVo.java 3 ●●●●● patch | view | raw | blame | history
src/main/resources/mapper/fish/CannonOwnRecordDao.xml 2 ●●●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/modules/fish/service/impl/MemberCannonServiceImpl.java
@@ -380,7 +380,6 @@
    public static void main(String[] args) {
        System.out.println(UUID.randomUUID().toString());
    }
src/main/java/com/xcong/excoin/modules/fish/vo/AwardVo.java
@@ -11,4 +11,7 @@
    @ApiModelProperty(value = "奖品名称")
    private String name;
    @ApiModelProperty(value = "奖品数量")
    private Integer quantity;
}
src/main/resources/mapper/fish/CannonOwnRecordDao.xml
@@ -23,12 +23,14 @@
        <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