摘要: winsw 本文基于开源工具 winsw 以windows服务启动jar包 或者 dotnetcore dll 或者exe https://github.com/kohsuke/winsw/releases 官方原始Start文档 Use WinSW as a bundled tool 使用WinS 阅读全文
posted @ 2020-12-14 23:43 Herenwei_Wayne 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 前面讲了SqlServer死锁捕捉,其中有个工具叫sqllocalfinder比较好用 SQL lock finder http://www.sqllockfinder.com/ SQL lock finder SQL lock finder is a tool that helps you fin 阅读全文
posted @ 2020-12-01 16:15 Herenwei_Wayne 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 获取当前时间 new Date() Calendar calendar= Calendar.getInstance(); calendar.getTime() LocalDateTime.now() System.currentTimeMillis(); // 毫秒 Instant.now() ja 阅读全文
posted @ 2020-12-01 15:55 Herenwei_Wayne 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 死锁 数据库 SELECT @@version Microsoft SQL Server 2017 (RTM) - 14.0.1000.169 (X64) Aug 22 2017 17:04:49 Copyright (C) 2017 Microsoft Corporation Developer 阅读全文
posted @ 2020-12-01 15:41 Herenwei_Wayne 阅读(489) 评论(0) 推荐(1) 编辑
摘要: 在动态构造Sql语句时,有时候参数里面可能说出现 ‘、 “ 、 \,特殊字符,直接执行就会出现问题。 public sealed class MySqlHelper { [Obsolete("Use MySqlConnection.ClearAllPools or MySqlConnection.C 阅读全文
posted @ 2020-09-24 10:10 Herenwei_Wayne 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 数据来源: https://docs.alipay.com/isv/10327 链接:https://pan.baidu.com/s/14cQCRzU6QxAvknDrQfhyUA 提取码:baaf 复制这段内容后打开百度网盘手机App,操作更方便哦 阅读全文
posted @ 2019-09-29 17:12 Herenwei_Wayne 阅读(419) 评论(0) 推荐(0) 编辑
摘要: SELECT cpr.Id, cpr.CreateTime, cpr.Number FROM CarParkingRegistration cpr SELECT CONCAT(FORMAT(cpr.CreateTime, 'yyyyMMdd'), FORMAT(ROW_NUMBER() OVER ( 阅读全文
posted @ 2019-09-10 19:06 Herenwei_Wayne 阅读(803) 评论(0) 推荐(0) 编辑
摘要: 什么是YAPI: 高效、易用、功能强大的API管理平台 http://yapi.demo.qunar.com/ github: https://github.com/YMFE/yapi 可以去那里下载源代码,我下载的是 release 1.7.0版本 优势:提供基本的项目分组,项目管理,接口管理功能 阅读全文
posted @ 2019-07-06 15:53 Herenwei_Wayne 阅读(1884) 评论(10) 推荐(0) 编辑
摘要: 引子 阅读以下代码,并尝试分析 代码解析 在主线程中,线程Id为1,为线程变量赋值 变量==d6ff 开启一个新的task,此时线程Id为4,变量==d6ff,并调用Task1 开启一个同步Task3,线程Id为1。变量==d6ff,修改值==f598 此时第二步启动的Task1运行,线程Id为4, 阅读全文
posted @ 2019-02-02 10:21 Herenwei_Wayne 阅读(922) 评论(0) 推荐(0) 编辑
摘要: ORCHARD CMS a free, open source, community-focused Content Management System built on the ASP.NET MVC platform https://herenwei.github.io/orchardchine 阅读全文
posted @ 2019-02-01 09:50 Herenwei_Wayne 阅读(359) 评论(0) 推荐(0) 编辑