xiaoyong931011
2020-11-20 4c4d1e52ee25f9d77c132144521df6694cd8e63e
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>