- 博客(12)
- 收藏
- 关注
原创 上传本地项目到GitHub
1,在github上创建仓库2,复制仓库地址3,到本地项目所在的根目录,右键git bash here4,在打开的git 窗口中,粘贴复制的仓库地址git clone https://github.com/.../xx.git此时会看到代码根目录里面又多了一个与仓库同名的文件夹,将根目录里所有其他的文件都移到这个新的文件夹里;然后进到此文件夹中5,将项目所有文件添加到git,然后提交git add .git commit -m "first commi..
2022-04-02 10:03:12
337
原创 go-wkhtmltopdf实现(测试)
package mainimport ( "fmt" "github.com/SebastiaanKlippert/go-wkhtmltopdf" "log")func main() { pdfGenerator, err := wkhtmltopdf.NewPDFGenerator() if err != nil { log.Fatal(err) } // Set global options pdfGenerator.Orientation.Set(wkhtmltopdf.
2021-12-06 17:15:11
499
原创 Oracle查询去重组合(两条记录只有一个字段不同,将其合并)
需求 :如上图所示,3,4 和5,6,仅仅有一个字段(file_name)不同,想要将这两条记录组合成一条进行展示效果:工具:去重、分组:listagg() within group(order by)完成
2021-12-02 14:18:45
2974
原创 Oracle创建自增主键ID(序列+触发器)
根据需求创建了一张表,主要做插入操作,需要主键自增;把我的建表详情分享如下:-- Create tablecreate table auto_incre( auto_id NUMBER(10) not null, auto_des VARCHAR2(20), auto_sort VARCHAR2(20))tablespace CREDIT pctfree 10 initrans 1 maxtrans 255 storage (
2021-11-25 10:47:46
978
原创 This is an error with npm itself. Please report this error at: npm ERR <https://npm.community>
具体原因不清楚,删除下载包再重试、加上--force重试也不行,清除了缓存再试也没效果;最后解决途径:重新下载nodejs download将版本更新为最新长期维护版
2021-11-22 17:20:48
4781
1
原创 记一次Linux上部署前后端项目(Springboot+Angular CLI)
后端四个模块分别打包,看了别的文章,在IDEA的project structure窗口操作也可以,但很简单的直接利用IDEA提供的maven工具就行,一键package后端项目就打包完成了;在相应模块的target目录中可以找到jar包前端项目在终端使用命令 ‘npm run build’就OK,会生成一个dist包,(前端项目打包过程中可能会出现各种问题,依据报错提示排查一下)前后端打包完成后,就要把包部署到Linux上这里推荐安装一个xmanager,这样文件传...
2021-11-16 11:38:51
2259
原创 Oracle 拼接日期和时间SQL
日期和时间是分开存放的,在页面展示的时候要获得‘yyyy-mm-dd hh24:mi:ss’格式展示,使用CONCAT函数展示结果
2021-11-10 16:26:46
2931
1
原创 服务器发生异常: Unable to connect to Redis; nested exception is lettuce.core.RedisConnectionException:
以为版本问题啥的,原来是这次打开项目,防火墙忘了关了o(╥﹏╥)opom依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId></dependency>如果不是我这种低级错误,参考其他能人志士的建议:版本问题https://blog...
2021-06-23 10:57:26
381
原创 Spring Cloud:org.springframework.web.client.HttpClientErrorException: 404 null
@RestController@RequestMapping("/page")public class PageController { @Autowired private RestTemplate restTemplate; @GetMapping("/getProduct/{id}") public Products getProduct(@PathVariable Integer id){ String url = "http://127.0.
2021-06-02 13:12:46
277
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人