package com.se.system.mapper; import org.apache.ibatis.annotations.MapKey; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; @Mapper @Repository @SuppressWarnings("ALL") public interface IndexMapper { public int newUserCount(@Param("createTime") String createTime); //@MapKey("username") public List> userCountList(@Param("createTime") String createTime, @Param("amount") Integer amount); }