Helius
2021-05-26 0eb68e935e7a09fb2c20abb0276bdf4e4f554c5d
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>