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