feat: 强化代码生成器

This commit is contained in:
wintel
2025-05-10 16:46:09 +08:00
parent b23be0571f
commit 9c0fa9d16a
3 changed files with 10 additions and 1 deletions

View File

@@ -6,6 +6,7 @@
// Author:Yubao Li
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;

View File

@@ -60,7 +60,6 @@ namespace OpenAuth.App
Repository.Update(u => new {ClassName}
{
//todo: 根据业务需要调整字段
{ClassName} = obj.{ClassName},
Updatetime = DateTime.Now,
Updateuserid = user.Id,
Updateusername = user.Name