摘要:
子页面调用父页面 函数: parent.$(window.parent.document).find('#J_remotemodal').modal('hide'); //元素事件 window.parent.dele(id); 元素: parent.document.getElementById( 阅读全文
摘要:
多数据源: 1、数据源配置类 DB***Config.java(几个数据源写几个此类) 2、数据源对应数据库连接pom 3、启动类加注解 //关闭springBoot关于mybatis的一些自动注入(多数据源),DataSourceTransactionManagerAutoConfiguratio 阅读全文
摘要:
mybatis也发现了我们需要重复的去创建pojo类、mapper文件以及dao类并且需要配置它们之间的依赖关系可能会很麻烦,所以mybtis提供了一个mybatis generator工具来帮我们自动创建pojo类、mapper文件以及dao类并且会帮我们配置好它们的依赖关系,而我们只需要关系我们 阅读全文
摘要:
<dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5.1.8</version> </dependency> <dependency> <groupId 阅读全文
摘要:
打war包 步骤:三步 一、<!-- <packaging>war</packaging> --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifa 阅读全文
摘要:
Spring 定时任务之 @Scheduled cron表达式 一、一个基于Spring boot的一个demo: Java配置中开户对Scheduled的支持 import org.springframework.context.annotation.Configuration; import o 阅读全文
摘要:
发送邮件,配置 需要引入依赖: <!-- 发送邮件 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> </dependency> 阅读全文
摘要:
🔺行的起始位置和结束位置^和$ 🔺字符组:[esd]匹配若干字符之一。字符组[ea]表示匹配e或a字符组内部(不在边界)连字符“ -”属于元字符,问号,点号不是元字符(字符组外是元字符)🔺排除型字符组 [^...] [^1-6] 匹配除了1到6以外的任何字符脱字符在字符组内部且是 [ 之后是元 阅读全文
摘要:
1、新建web项目,将所需jar包放到 lib 目录下 2、配置web.xml 配置文件 1 <?xml version="1.0" encoding="UTF-8"?> 2 <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文
摘要:
自己整理了一下平时遇到的一些 SQL 函数 一个表字段内容插入另一个表字段内容中 sql server : STUFF ( character_expression , start , length , replaceWith_expression )函数功能 mysql: 中可以用concat(s 阅读全文