diff --git a/docs/core/deploy.md b/docs/core/deploy.md index a9f21fc0..898ea5df 100644 --- a/docs/core/deploy.md +++ b/docs/core/deploy.md @@ -68,7 +68,7 @@ dotnet build # 编译 rm -rf /data/openauthmvc #最终站点路径 mkdir /data/openauthmvc -dotnet publish -c:Release -o /data/openauthmvc # 生成发布文件到/data/openauthmvc +dotnet publish -c:Release -o /data/openauthmvc # 生成发布文件到/data/openauthmvc。如果服务器上有多个.NET版本,加上目标版本号,如:-f net6.0 nohup dotnet /data/openauthmvc/OpenAuth.Mvc.dll & diff --git a/docs/core/deployapi.md b/docs/core/deployapi.md index 04b16738..89c2faa0 100644 --- a/docs/core/deployapi.md +++ b/docs/core/deployapi.md @@ -76,7 +76,7 @@ cp ./bin/Debug/netcoreapp3.1/OpenAuth.App.xml /data/openauthapi/ cp ./bin/Debug/netcoreapp3.1/Infrastructure.xml /data/openauthapi/ -dotnet publish -c:Release -o /data/openauthapi # 如果针对给定运行时发布项目带上-r 如:-r centos.7-x64 +dotnet publish -c:Release -o /data/openauthapi # 如果服务器上有多个.NET版本,加上目标版本号,如:-f net6.0 nohup dotnet /data/openauthapi/OpenAuth.WebApi.dll & diff --git a/docs/core/routineupdate.md b/docs/core/routineupdate.md index 60400d68..a30cd9ce 100644 --- a/docs/core/routineupdate.md +++ b/docs/core/routineupdate.md @@ -1,5 +1,7 @@ # 日常提交(针对dev分支) +* 2023.09.01 fix #I7XLQK checkbox控件值表单条件判断 + * 2023.08.27 fix issue #I7A7XF 全面支持SqlSugar Orm。详情:[sqlsugar访问数据库](http://doc.openauth.net.cn/core/sqlsugar.html) * 2023.08.18 fix #I7U1BM 左侧展开图标丢失 diff --git a/docs/pro/devnew.md b/docs/pro/devnew.md index 30770582..9e51dcdb 100644 --- a/docs/pro/devnew.md +++ b/docs/pro/devnew.md @@ -96,6 +96,24 @@ create table stock 如果存在子表,也进行相同的操作。即选中刚刚添加的`StockDetail`表,依次点击【生成实体】【生成业务代码】【生成vue页面】; +成功后生成的后端.Net代码位置如下: + +OpenAuth.Repository\Domain\Stock.cs +OpenAuth.App\StockApp\StockApp.cs +OpenAuth.App\StockApp\Request\AddOrUpdateStockReq.cs +OpenAuth.App\StockApp\Request\QueryStockListReq.cs +OpenAuth.WebApi\Controllers\StocksController.cs + +并且会在OpenAuth.Repository\OpenAuthDBContext.cs中自动添加: + +``` + public virtual DbSet Stocks { get; set; } +``` + +前端Vue代码: +src\api\stocks.js +src\views\stocks\index.vue + ## 配置模块地址 运行系统,使用System账号登录系统,在【模块管理】中,添加“仓储管理”模块,如下图: