Shisheng-10086

博客园 首页 新随笔 联系 订阅 管理

2026年1月14日 #

摘要: 有导航属性: //BusinessTrip 表 public Guid CustomerId { get; set; } // 客户ID public virtual Customer Customer { get; set; } var query = await BusinessTripRepo 阅读全文
posted @ 2026-01-14 16:14 零点10086 阅读(1) 评论(0) 推荐(0)

2026年1月7日 #

摘要: 定义实体,例如, using CustomerManagement.Tracking.Exceptions; using System; using System.Diagnostics.Contracts; using System.Numerics; using Volo.Abp.Domain. 阅读全文
posted @ 2026-01-07 13:27 零点10086 阅读(1) 评论(0) 推荐(0)

摘要: // ABP 提供了简化的查询方法 var existingPlanPrice = await PlanPriceRepository.FirstOrDefaultAsync( pp => pp.PlanId == request.PlanId, cancellationToken: cancell 阅读全文
posted @ 2026-01-07 12:06 零点10086 阅读(2) 评论(0) 推荐(0)

2025年12月24日 #

摘要: //数据库查询 //异步 //var existingPlanPrice = await PlanPriceRepository.FirstOrDefaultAsync( // pp => pp.PlanId == request.PlanId, // cancellationToken: canc 阅读全文
posted @ 2025-12-24 14:43 零点10086 阅读(5) 评论(0) 推荐(0)

摘要: 1.需要在\src\CustomerManagement.Tracking.Domain\CustomerArchives\实体.cs加入对应的实体 例如: 2.src\CustomerManagement.Tracking.EntityFrameworkCore\EntityFrameworkCo 阅读全文
posted @ 2025-12-24 12:20 零点10086 阅读(5) 评论(0) 推荐(0)

2025年4月8日 #

摘要: 1.安装cuda 12.8版本(只能安装12.8版本,低于这个版本不兼容,会报错) 以下所有操作都需要梯子和大量的流量大概需要至少7G左右 甚至10https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x8 阅读全文
posted @ 2025-04-08 16:08 零点10086 阅读(1349) 评论(0) 推荐(0)

2025年4月7日 #

摘要: 问题1:weights_only FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module 阅读全文
posted @ 2025-04-07 15:36 零点10086 阅读(708) 评论(0) 推荐(0)

摘要: 1.安装,查看conda --version 2.添加到环境变量(C:\ProgramData\Anaconda3这个是自己目录),下列需要全部添加上去,在path路径 C:\ProgramData\Anaconda3C:\ProgramData\Anaconda3\ScriptsC:\Progra 阅读全文
posted @ 2025-04-07 15:29 零点10086 阅读(2349) 评论(0) 推荐(0)