摘要: 由于sqlsugar源码中只支持主键的递归,所以改写了下sqlsuger递归写法 /// <summary> /// 递归查询树形结构 /// </summary> /// <param name="childListExpression">子表结构</param> /// <param name= 阅读全文
posted @ 2022-03-09 10:34 Ambition丿z 阅读(863) 评论(0) 推荐(0)
摘要: 一,在docker中如何配置nginx 参考链接:https://blog.csdn.net/weixin_40461281/article/details/92586378 非常感谢这篇文章!写的非常详细!!!!!! 二,修改nginx的配置 server{ listen 80; charset 阅读全文
posted @ 2022-02-13 18:03 Ambition丿z 阅读(64) 评论(0) 推荐(0)
摘要: 一,创建一个ASP .Net Core Web API (省略) 二,创建DockerFile 选择Linux。 三,编辑Dockerfile文件 1 #运行环境描述,此处是用的Net5构建镜像 2 FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base 3 阅读全文
posted @ 2022-02-05 00:11 Ambition丿z 阅读(284) 评论(0) 推荐(0)
摘要: 先创建帮助类 using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.ComponentModel; using System.Li 阅读全文
posted @ 2022-01-09 16:09 Ambition丿z 阅读(1182) 评论(0) 推荐(0)
摘要: [HttpGet("GetAuthorByid/{authorId}",Name =nameof(GetAuthorByid))] public ActionResult<AuthorDto> GetAuthorByid(Guid authorId) { var author= AuthorRepo 阅读全文
posted @ 2020-09-26 12:44 Ambition丿z 阅读(585) 评论(0) 推荐(0)
摘要: 1 DECLARE @TotalCount INT = 0, 2 @NowCount INT = 0, 3 @v_Name NVARCHAR(300) = N'', 4 @v_Des NVARCHAR(max) = N''; 5 --创建临时表 6 CREATE TABLE #Refresh_Vie 阅读全文
posted @ 2020-09-24 22:52 Ambition丿z 阅读(104) 评论(0) 推荐(1)