自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 问答 (1)
  • 收藏
  • 关注

原创 mysql笔记

select * from 表名 limit 起始行,返回行数 超始行:从0开始,从哪一行开始查询 返回数:返回的记录行数 -- 查询人数大于或等于2地区,分组以后再使用条件 select city, count(city) from student group by city having count(city) >= 2 1.4.3 Having与Where的区别 where 子句 对查询结果进行分组前,将不符合where条件的行去掉,即在分组之前 过滤数据,where条件中不能包含聚

2020-10-09 09:53:32 125

原创 ajax+pagehelper+mybatis+前段展示分页

maven <!-- pagehelper --> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.3.2</version>

2020-09-22 10:10:51 220

原创 ajax异步请求controller并遍历对象集合

window.onload = function () { var html = ""; $.ajax( { url: '/findAllType', // 请求地址, 就是你的控制器, 如 test.com/home/index/index type: 'POST', // 请求方式 contentType: 'application/json

2020-09-19 11:37:50 363

原创 错误日志 给function传字符出现Uncaught ReferenceError显示“is not defined错误”

需要在传输的前后加上"来转义为" 从而保证字符串的传输 html += "<td><a onclick='update(" + result[i].id + ",&quot;" + result[i].name + "&quot;)' class='ui primary button'>修改</a>" function update(id, name) { document.getElementById("id").value

2020-09-18 17:26:42 297

原创 SpringBoot+SpringSecurity基本使用代码笔记(未加密)

1,引入pom <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId>

2020-09-16 17:19:24 207

原创 <笔记>使用jquery-star-rating进行评分

插件:https://github.com/zhanguangcheng/jquery-star-rating demo中有具体使用教程 <!doctype html> <html xmlns:javascript="http://www.w3.org/1999/xhtml"> <html xmlns:th="http://www.thymeleaf.org"> <meta charset="utf-8"> <title></title&g

2020-08-01 10:07:23 428

原创 <笔记>使用ajax访问controller得到对象集合并添加至html页面table

</head> <body> <center><form id="form1" onsubmit="return false" action="##" method="get"> <h6>起始日期:</h6><p><input type="date" name="startDate"/></p> <h6>结束日期:</h6><p><input

2020-08-01 10:01:35 179

转载 <笔记>使用js导出html页面的表格

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" language="javascript"> var idTmr; function getExplorer() { var explorer = window.navigat

2020-08-01 09:50:12 493

转载 <笔记>关于git,gitee与idea的一些基本操作

gitee上传: 1)本地项目文件夹右键选择git bash here 或者打开gitbas然后cd “本地地址” 2)git config --global user.name “xxxx” git config --global user.email xxxxx@qq.com 3) git init 4)git add . (注意add后面有个点,与add之间有一空格)这样就把代码上传到本地仓库了 5)git commit -m “initial commit” 6)在gitee上新建项目,复制ht

2020-08-01 09:46:18 243

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除