Helius
2021-05-26 5575818556096be1dadaf5ff356b5db4c832aaa2
src/main/resources/mapper/documentary/FollowFollowerSettingDao.xml
@@ -18,4 +18,20 @@
         member_id = #{memberId} 
         and trader_id = #{traderId} 
    </select>
   <select id="selectAllFollowerSettingByTradeMemberId" resultType="com.xcong.excoin.modules.documentary.entity.FollowFollowerSettingEntity">
      select a.*
      from follow_follower_setting a, follow_follower_profit b
      where a.member_id=b.member_id and a.trader_member_id=b.trade_member_id and a.trader_member_id=#{memberId} and b.is_follow=1
   </select>
   <select id="selectDocumentaryOrderSetInfosBymemberId" resultType="com.xcong.excoin.modules.documentary.entity.FollowFollowerSettingEntity">
      SELECT
         *
      FROM
         follow_follower_setting
      WHERE
         member_id = #{memberId}
   </select>
</mapper>