src/main/resources/mapper/fish/CannonOwnRecordDao.xml
@@ -9,7 +9,7 @@ <select id="selectCannonOwnRecordsByMemberId" resultType="com.xcong.excoin.modules.fish.vo.OwnCannonVo"> select a.*, case when b.id is null then 0 else 1 end isHas case when b.id is null then 2 else 1 end isHas from cannon_setting a left join cannon_own_record b on a.code=b.cannon_code and b.member_id=#{memberId} </select>