xAxis -----x轴
type: ‘category’, 种类(即键)
series: [{
data: [820, 932, 901, 934, 1290, 1330, 1320],
type: ‘line’
}]--------------------------------展示方式
yAxis: {
type: ‘value’
},----------------------------是其真正对应的值
----------------------------以饼图形式渲染数据
series: {
type: ‘pie’,
data: [
{name: ‘A’, value: 1212},
{name: ‘B’, value: 2323},
{name: ‘C’, value: 1919}
-------------------------以曲线展示数据
series: [{
type: ‘line’,
smooth: true,
data: [[12, 5], [24, 20], [36, 36], [48, 10], [60, 10], [72, 20]]
}]
实现接口的类功能更强
-
SQL查询语句中的 limit 与 offset 的区别
https://blog.csdn.net/cnwyt/article/details/81945663 -
limit 2,1;和limit 2 offset 1的区别。
extends JpaRepository<T, ID>
接口必须继承类型参数化为实体类型和实体类中的Id类型的Repository,T 需要类型化为实体类(Entity)User,ID需要实体类User中Id(我定义的Id类型是Long)的类型。
https://blog.csdn.net/tt____tt/article/details/81105257
因为spring data使用动态代理,其中会默认为其实现一些方法,其底层还是sql语句,其delete,update,insert中默认都是根据id来