src/main/resources/mapper/member/MemberCoinChargeDao.xml
@@ -12,4 +12,15 @@ order by create_time desc limit 1 </select> <select id="selectAllBySymbolAndTag" resultType="com.xcong.excoin.modules.member.entity.MemberCoinChargeEntity"> select * from member_coin_charge where symbol=#{symbol} <if test="tag !=null and tag != ''"> and tag = #{tag} </if> <if test="status !=null and status != ''"> and status = #{status} </if> </select> </mapper>