gao
2020-07-15 ccf1e6a64639904b6856ddf7541212da2ca73f64
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>