Helius
2021-04-22 1972a71f2cd42f679aee9968c386044e7e98af30
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>