src/main/resources/mapper/otc/OtcBlackListDao.xml
@@ -2,4 +2,8 @@ <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.xcong.excoin.modules.otc.dao.OtcBlackListDao"> <select id="selectByMemberIdAndBlackMemberId" resultType="com.xcong.excoin.modules.otc.entity.OtcBlackList"> select * from otc_black_list where member_id=#{memberId} and black_member_id=#{blackMemberId} </select> </mapper>