上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: ##### 查看被锁表: ``` select spId from master..SysProcesses where db_Name(dbID) = '数据库名称' and spId @@SpId and dbID 0 ``` ##### 解除锁: ``` exec ('Kill '+cast( 阅读全文
posted @ 2023-08-25 16:00 o李一波o 阅读(12) 评论(0) 推荐(0)
摘要: 背景:.Net6.0 常规依赖注入需要不断修改Program.cs文件 #### 需求:实现Repository、IRepository、Razor动态生成并依赖注入(AutoBuildHelper先记录未优化) ###### 引入Autofac、Autofac.Extensions.Depende 阅读全文
posted @ 2023-08-25 15:55 o李一波o 阅读(29) 评论(0) 推荐(0)
摘要: No constructors on type 'JK.TitanData.Repository.Fact_Sales_GMVTargetTotalRepository' can be found with the constructor finder 'Autofac.Core.Activator 阅读全文
posted @ 2023-08-25 15:39 o李一波o 阅读(298) 评论(0) 推荐(0)
摘要: ###$.get不指定数据格式默认会智能解析成相应类型,如果后端返回null,会导致解析异常,最好加上异常捕捉 ``` $.get(api,{},function(result){}); $.get(api,{},function(result){}, "json"); ``` 资料地址:https 阅读全文
posted @ 2023-07-28 10:46 o李一波o 阅读(26) 评论(0) 推荐(0)
摘要: ### 1、安装 ![](https://img2023.cnblogs.com/blog/1151397/202307/1151397-20230727144229435-1918312200.png) ![](https://img2023.cnblogs.com/blog/1151397/20 阅读全文
posted @ 2023-07-27 21:19 o李一波o 阅读(15) 评论(0) 推荐(0)
摘要: 点击查看代码 ``` Document {{msg}} ``` 阅读全文
posted @ 2023-07-25 22:17 o李一波o 阅读(12) 评论(0) 推荐(0)
摘要: ###由于ES不能像关系型数据库直接修改类型,所以要借助中间索引来完成 ####1、创建中间索引(字段维护正确的) ``` put: https://localhost/track_bak { "settings": { "index": { "number_of_shards": "3", "nu 阅读全文
posted @ 2023-06-09 09:42 o李一波o 阅读(817) 评论(0) 推荐(2)
摘要: ## 一、CSS 单位 ### css 单位 %:百分比单位,相对于父元素(宽度,高度)的百分 px:像素单位,表示屏幕上的一个点 in:英寸单位,像素与英寸的转化与分辨率有关, 分辨率是96,一英寸单位下,包含96个像素点 cm:厘米单位 ​ 1米等于100cm, ​ 1英寸等于2.54cm ​ 阅读全文
posted @ 2023-06-01 23:15 o李一波o 阅读(45) 评论(0) 推荐(0)
摘要: 获取当前操作行数据 var cols = [ [ { title: '操作', toolbar: '#option', align: 'center', height: 80, width: 120, fixed: 'right' } ] ] <script type="text/html" id= 阅读全文
posted @ 2023-04-25 12:00 o李一波o 阅读(481) 评论(0) 推荐(0)
摘要: ####背景:工单管理功能,供应商信息字段是存的JSON字符串(数据库是2008R2版本),这个功能没有使用ES,现在业务需要增加供应商相关信息的查询 #####实现:利用OPENJSON函数 用ADO拼接Sql执行的时候报以上错误,复制sql出来放到DBeaver里面执行又没有问题,同样的sql, 阅读全文
posted @ 2023-04-20 14:24 o李一波o 阅读(34) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 11 下一页