08 2021 档案
摘要:除正在死锁的状态有两种方法: 第一种: 1.查询是否锁表 show OPEN TABLES where In_use > 0; 2.查询进程(如果您有SUPER权限,您可以看到所有线程。否则,您只能看到您自己的线程) show processlist 3.杀死进程id(就是上面命令的id列) kil
阅读全文
摘要:update tb_plo_artificialfactor b set cprefactornum=(SELECT cfactornum from (SELECT * FROM tb_plo_artificialfactor) a WHERE a.cstarttime< b.cstarttime
阅读全文
摘要:DROP PROCEDURE IF EXISTS `InitFactorSignal`; DELIMITER ;; CREATE PROCEDURE `InitFactorSignal`() BEGIN DECLARE t_error INTEGER DEFAULT 0; DECLARE v_id
阅读全文
摘要:using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.IO; using System.Linq; using System.R
阅读全文
摘要:note: 最近在对接微信支付V3,发现微信支付需要SHA256 with RSA签名,现在的项目是Net Core的,原来的RSA帮助类用不了,折腾了许久,终于把.Net Core版 的RSAHelper搞出来了。 其中使用了开源项目:The Legion of the Bouncy Castle
阅读全文