From de00eeb45e3aee0cbb5f62210c05ef32bb7478b4 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 30 Nov 2021 14:22:49 +0800 Subject: [PATCH] fix --- src/main/resources/mapper/fish/CannonOwnRecordDao.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/fish/CannonOwnRecordDao.xml b/src/main/resources/mapper/fish/CannonOwnRecordDao.xml index b3a9c32..2b2239f 100644 --- a/src/main/resources/mapper/fish/CannonOwnRecordDao.xml +++ b/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> -- Gitblit v1.9.1