上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 59 下一页
摘要: 安装前可以先检查一下有没有,再选择是否要安装 卸载 Nginx # 删除除了配置文件以外的所有文件。 sudo apt-get remove nginx nginx-common # 删除所有与nginx有关的东西,包括配置文件。 sudo apt-get purge nginx nginx-com 阅读全文
posted @ 2022-09-30 13:32 VipSoft 阅读(338) 评论(0) 推荐(0)
摘要: MySQL 数据分组后取第一条数据 SQL SERVER (mssql) 数据分组后取第一条数据 SQL 如下 找状态=1的数据,按 HospitalId,DeptId 组合并倒序排序,每组里面取第一条数据 SELECT * FROM ( SELECT *, ROW_NUMBER() OVER (P 阅读全文
posted @ 2022-09-30 10:24 VipSoft 阅读(1319) 评论(0) 推荐(0)
摘要: 静态资源( StaticResource )指的是在程序载入内存时对资源的一次性使用,之后就不再访问这个资源了;动态资源(DynamicResource)使用指的是在程序运行过程中然会去访问资源。 简单的可以理解为,如果换皮肤而不重启程序,就需要用 DynamicResource <Window x 阅读全文
posted @ 2022-09-29 14:43 VipSoft 阅读(479) 评论(0) 推荐(0)
摘要: 画一个 Border 对边框进行投影 <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micr 阅读全文
posted @ 2022-09-28 12:32 VipSoft 阅读(205) 评论(0) 推荐(0)
摘要: 要注意,拖拽的地方,需要加背景色,否则 DrageMove 将无效 MainWindows.xaml <Window x:Class="Report.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentatio 阅读全文
posted @ 2022-09-28 09:46 VipSoft 阅读(754) 评论(0) 推荐(1)
摘要: 驼峰下划线互转 /** * 将驼峰风格替换为下划线风格 */ public static String camelhumpToUnderline(String str) { final int size; final char[] chars; final StringBuilder sb = ne 阅读全文
posted @ 2022-09-21 09:30 VipSoft 阅读(137) 评论(0) 推荐(0)
摘要: Vue3+vite+ts 没找到类似的解决方案 没有使用 package.json 进行配置 ,改配置时不需要重新打包 Vue 多环境配置 package.json settings.js,并将其添加到 public/index.html 中 <!DOCTYPE html> <html> <head 阅读全文
posted @ 2022-09-15 15:10 VipSoft 阅读(289) 评论(0) 推荐(0)
摘要: Spring Boot JWT 用户认证 JWT token验证后,通过 ThreadLocal 进行传值,在服务层直接使用 Threadlocal 获取当前用户,的Id、姓名,进行行为记录 定义一个用户实体类 package com.vipsoft.core.user.entity; import 阅读全文
posted @ 2022-09-13 21:27 VipSoft 阅读(406) 评论(0) 推荐(0)
摘要: 数据库 SQL SERVER 2008,连接时报:[IM002]Navicat ODBC驱动器管理器 未发现数据源名称并且未指定默认驱动程序 到安装目录下找到 sqlncli_x64.mis 双击安装 下一步,直到安装完成 阅读全文
posted @ 2022-09-07 14:26 VipSoft 阅读(1716) 评论(0) 推荐(0)
摘要: [2022-09-07 11:45:35.517] [Druid-ConnectionPool-Create-5339735] [ERROR] com.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: 阅读全文
posted @ 2022-09-07 12:00 VipSoft 阅读(6234) 评论(0) 推荐(0)
摘要: SpringBoot 配置多数据源 无非就是namespace写错了、mapper接口或者xml文件名字没对应上等 mapper.xml中的namespace和实际的mapper文件不一致 mapper接口中的方法名和mapper.xml中的id标签不一致 Mapper.xml没有构建进去 打开ta 阅读全文
posted @ 2022-09-07 11:23 VipSoft 阅读(118) 评论(0) 推荐(0)
摘要: SpringBoot 接口输出文件流 & Vue 下载文件流,获取 Header 中的文件名 为什么浏览器中有些文件点击后是预览,有些是下载:https://www.cnblogs.com/vipsoft/p/18267174 Spring Boot 接口返回文件流 :https://www.cnb 阅读全文
posted @ 2022-09-06 17:50 VipSoft 阅读(3309) 评论(0) 推荐(0)
摘要: 根据前端传入不同的支付code,动态找到对应的支付方法,发起支付。我们先定义一个注解。 @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface PayCode { String value(); 阅读全文
posted @ 2022-09-05 09:25 VipSoft 阅读(148) 评论(0) 推荐(0)
摘要: Spring Boot 在Windows CMD 中运行,日志输出中文乱码name="CONSOLE" 设置成 charset utf-8 ,在windows cmd 中运行时,log日志输出显示乱码,去掉即口 <appender name="CONSOLE" class="ch.qos.logba 阅读全文
posted @ 2022-09-01 14:43 VipSoft 阅读(1645) 评论(0) 推荐(1)
摘要: logback.xml <?xml version="1.0" encoding="UTF-8"?> <configuration> <!--定义日志文件的存储地址 勿在 LogBack 的配置中使用相对路径--> <!--<property name="LOG_HOME" value="${LOG 阅读全文
posted @ 2022-09-01 14:38 VipSoft 阅读(844) 评论(0) 推荐(0)
摘要: Windows 资源管理器 CPU100% win + R打开运行框并输出:services.msc 点击确定打开服务;将服务中的Problem Reports Control Panel Support、HomeGroup Listener、HomeGroup Provider 三个服务禁用;(红 阅读全文
posted @ 2022-08-31 13:26 VipSoft 阅读(507) 评论(0) 推荐(0)
摘要: No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc 有一种可能,就是配置文件里面没有赋值 @FeignClient(name = "vipsoft-a 阅读全文
posted @ 2022-08-29 17:03 VipSoft 阅读(473) 评论(0) 推荐(0)
摘要: JAVA PDF 截取N页,生成新文件,转图片,多个PDF 合并 <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId> <version>5.5.13</version> </dependency 阅读全文
posted @ 2022-08-25 16:48 VipSoft 阅读(874) 评论(0) 推荐(0)
摘要: 一、安装MySQL 1. 删除Mysql 数据库 sudo apt autoremove --purge mysql-server-* sudo apt remove mysql-server sudo apt autoremove mysql-server sudo apt remove mysq 阅读全文
posted @ 2022-08-25 13:18 VipSoft 阅读(4988) 评论(2) 推荐(0)
摘要: 同步阿里云时间 ntpdate ntp1.aliyun.com 使用watch命令:周期性的执行一个命令,并全屏显示。 watch -n 1 date 即可:每1秒刷新date命令。 # 格式 watch [option] command watch -n 1 date # -n: --interv 阅读全文
posted @ 2022-08-17 14:47 VipSoft 阅读(2075) 评论(2) 推荐(2)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 59 下一页