自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 mysql 笛卡尔乘积 + 左右连接+全连接

部分来源于https://blog.csdn.net/u013272574/article/details/87916669用于测试的有两张表表,student(id,name,psd),grade(stu_id,score)1.SELECT * FROM student a,grade b ----笛卡尔乘积,共有6*4条数据2.SELECT * FROM studen...

2020-06-02 16:02:07 453

原创 ORA-04062 timestamp of procedure '''xxxx' has changed

P_XX失败!ORA-04062: timestamp of procedure "A" has been changed.原因是P_XX中调用了存过A,但是P_XX编译后,A又被修改了,所以A修改后要重新编译P_XX。

2019-10-12 11:15:02 734

原创 oracle的循环

在存储过程中,BEGIN FOR REC IN(SELECT * FROM table_name) LOOP SQL_TEXT:='INSERT INTO table_name (column1,c2,c3....) select '||param1||','||REC.column||',''常量'' from table_n...

2019-08-06 14:34:13 216

原创 where exists(select 1 from...)与where a.id=b.id的区别

测试表有student(id,name,psd),grade(stu_id,score)SELECT * FROM student a,grade b WHERE a.`id`=b.`stu_id`等价于SELECT * FROM student a INNER JOIN grade bON a.`id`=b.`stu_id`这个写法给出的结果是有重复值的SELE...

2019-08-05 17:13:05 8966

原创 后台doc转pdf文件

最近做一个投稿系统,投稿之后要将.doc文件转换成.pdf文件,经过查找资料,过程如下:后台:@PostMapping(value = "/auTouSubmit") public String auTouSubmit(@ModelAttribute("manuScript") Manuscript manuscript, @RequestParam("file") Multip...

2019-05-28 11:46:04 613 1

原创 配置QQ邮件客户端,后台处理发送邮件

1.首先获取QQ邮箱授权码开启POP3服务https://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=10012562.在.yml文件中配置 mail: host: smtp.qq.com port: 465 username: [email protected]...

2019-05-28 11:29:50 2851

原创 点击头像更换头像

<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <!--引进jquery,script才有效果--> <script src="https://cdn.j...

2019-05-27 19:08:34 3005 1

原创 word制作二维码

2019-04-22 11:27:38 745

原创 springboot + thymeleaf连接表达式,多参数

单参数<a href="xx.html" th:href="@{/user/details(id=${user.id})}" th:text="${user.name}"></a>结果:<a target="_blank" href="/user/order/details?id=1">userName</a>多参数,用,隔开&...

2019-04-20 22:41:30 1031 1

原创 springboot+jpa+thymeleaf 按条件分页

1.添加依赖,pom.xml<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="h...

2019-04-12 22:18:18 1544

原创 前端出现的问题

1.让子div的宽度一直和父div的宽度保持一致-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;

2019-03-29 12:32:08 138

原创 springboot集成themeleaf问题

Deprecated configuration property 'spring.thymeleaf.content-type' spring.thymeleaf.content-type=text/html已过时, 改成: spring.thymeleaf.servlet.content-type=text/html springboot集成themeleaf报Namesp...

2019-03-06 15:26:23 511

原创 Servlet.service() for servlet [dispatcherServlet] in context with path [/shdemo] threw exception

controller层: @RequestMapping(value = "/hello",method = RequestMethod.GET) public ModelAndView sayHi(){ return new ModelAndView("index"); }application.yml servlet: #项目访问前缀 ...

2019-03-04 20:40:01 12302

原创 @RequestMapping和@GetMapping @PostMapping 的关系

Spring4.3中引进了{@GetMapping、@PostMapping、@PutMapping、@DeleteMapping、@PatchMapping},来帮助简化常用的HTTP方法的映射,并更好地表达被注解方法的语义。@RequestMapping如果没有指定请求方式,将接收Get,Post,Head,Options等所有的请求方式原文:https://blog.csdn.net/...

2019-03-03 15:19:41 353

原创 搭建springboot+Hibernate时出现的问题

idea:2018环境:springboot+Hibernate问题1:ava.net.BindException: Address already in use: bind解决:端口被占用,一般是tomcat的端口被占用,找出占用端口的程序结束任务即可。如端口是8080,win+r→takcmd→netstat -ano|findstr "8080"→tasklist|findstr...

2019-03-03 11:49:40 331

原创 idea导入git项目但是找不到git.exe

idea版本:2018git版本:2.20.11.idea导入git项目首先在github上复制要导入的项目的链接,即url,其次,在idea中2.添加git.exe2.1下载git.exe,官网:自行百度 安装包:https://pan.baidu.com/s/1sL02UPEXoJpL5eKsfUumfA 密码:...

2019-03-01 16:03:13 7672 2

原创 idea连接数据库并创建实体

IDEA版本:20181.连接数据库找到Database选项,第一种,在左下角点击正方形图案,第二种在工具栏选择,均如图2.找到MySQL,上一步之后右边会出现数据库窗口,如图3.连接数据库4.添加数据库连接的jar包,点击蓝色的MySQL5.建立表映射5.1配置hibernate.cfg.xmlFile→Project Structure→...

2019-02-23 21:20:26 3852 11

原创 “ERROR 2003: Can't connect to MySQL server on 'localhost' (0)”

“ERROR 2003: Can't connect to MySQL server on 'localhost' (0)” 的错误:原因:MySQL服务未打开解决办法:(1)右击“计算机”→“管理”→“服务和应用程序”→“服务”,找到MySql的服务,右键启动。                    (2)以管理员身份运行cmd(右击开始选择),输入命令net start mysql...

2019-02-23 16:51:39 889

原创 The origin server did not find ...原始服务器没有找到目标资源的当前表示

出现404,并且报错信息为:The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.即原始服务器没有找到目标资源的当前表示,或者不愿意透露存在该目标资源。解决办法:每个web.xml须对应一个...

2019-02-23 15:03:20 932

转载 Spring-IoC

一位大神的见解https://www.cnblogs.com/xdp-gacl/p/4249939.html

2019-01-21 21:47:16 78

原创 将本地仓库文件上传到git

在要上传的的文件所在目录下右击选择“git bash here”git status  --------查看是否有增加的新的或已修该的文件git add .   ---------add 空格 .    将新的或修改的上传(覆盖)到gitgit status  ---------查看是否增加成功git commit -m "注释"  ---------提交到commit -m后面是

2017-11-02 19:47:13 150

原创 字符串""和NULL的区别

strcat("123",NULL);找不到第二个参数的对象,程序奔溃“”指字符串内容为空NULL指没有这个对象。

2017-11-02 18:07:10 261

空空如也

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

TA关注的人

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