Dao
List<Map<String,Object>> minuteSum(@Param("tableName") String tableName,@Param("dayTime") Date dayTime);
Mapper
<resultMap type="java.util.HashMap" id="resultMapMinute">
<result column="value" property="value" javaType="java.lang.Double" jdbcType="DOUBLE"/>
<result column="time" property="time" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
</resultMap>
<select id="minuteSum" resultMap="resultMapMinute" statementType="CALLABLE">
{CALL etl_minute_sum(#{tableName,mode=IN},#{dayTime,mode=IN})}
</select>