摘要:
this.$refs.tabs.activeKey = 'name1'
阅读全文
posted @ 2022-07-08 14:53
田坤坤
阅读(121)
推荐(0)
摘要:
1、安装dblink 2、将一个表的字段更新至另一张表 UPDATE public.information set public.information.creator_id=admaf.id from ( SELECT * FROM dblink('hostaddr=1127.0.0.1 port
阅读全文
posted @ 2022-07-03 20:21
田坤坤
阅读(448)
推荐(0)
摘要:
import org.springframework.web.multipart.MultipartFile; import org.apache.commons.fileupload.FileItemFactory; import org.apache.commons.fileupload.dis
阅读全文
posted @ 2022-06-20 17:24
田坤坤
阅读(1751)
推荐(0)
摘要:
<dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox</artifactId> <version>2.0.20</version></dependency> import org.apache.pdfbox.io.M
阅读全文
posted @ 2022-06-20 17:21
田坤坤
阅读(685)
推荐(0)
摘要:
<dependency> <groupId>e-iceblue</groupId> <artifactId>spire.doc.free</artifactId> <version>5.2.0</version></dependency> import com.spire.doc.*; /** *
阅读全文
posted @ 2022-06-20 17:19
田坤坤
阅读(623)
推荐(0)
摘要:
InputStream input; if (jar) { input = this.getClass().getResourceAsStream("/templateFile" + "/" + item);} else if (war) { input = new ClassPathResourc
阅读全文
posted @ 2022-06-20 17:17
田坤坤
阅读(26)
推荐(0)
摘要:
#!/usr/bin/env bash APP_NAME=sysmanagent.jarLOG_FILE=/log/console_log/sysmanagent.logFILE_PATH=/home/deploy/ #使用说明,用来提示输入参数usage() { echo "Usage: sh 执
阅读全文
posted @ 2022-01-19 14:13
田坤坤
阅读(330)
推荐(0)
摘要:
前提:网站访问需要https 1、引用百度地图的js <script type="text/javascript" src="https://api.map.baidu.com/api?v=3.0&ak=rAyx5z"></script> 其中ak需要再百度上进行申请,请自行百度 2、代码 <tem
阅读全文
posted @ 2021-12-17 17:14
田坤坤
阅读(2424)
推荐(0)
摘要:
今天学习了工厂模式,跟大家分享一下。 工厂模式有三种,分别为:简单工厂模式、工厂方法模式、抽象工厂模式;其中注意:简单工厂模式不属于23种设计模式 下面进行分别介绍这三种工厂模式: 一、简单工厂模式 简单工厂模式的组成:一个产品的接口、多个产品类分别实现这个接口、生产产品的工厂类 生产汽车举个例子:
阅读全文
posted @ 2021-11-22 16:35
田坤坤
阅读(639)
推荐(0)
摘要:
1、安装vue-pdf npm install --save vue-pdf 2、前端示例代码如下 <template> <div class="pdf" v-show="fileType 'pdf'"> <sticky class-name="sub-navbar"> <Button @click
阅读全文
posted @ 2021-11-08 15:22
田坤坤
阅读(1492)
推荐(0)