🐛fix: #ICL05Q 代码生成命名空间设置无效

This commit is contained in:
yubaolee
2025-07-10 21:24:26 +08:00
parent d83a40e07e
commit f980fc5afc
8 changed files with 39 additions and 18 deletions

View File

@@ -5,7 +5,7 @@ using Microsoft.AspNetCore.Mvc;
using OpenAuth.App;
using OpenAuth.App.Request;
using OpenAuth.App.Response;
using OpenAuth.Repository.Domain;
using {Namespace};
namespace OpenAuth.WebApi.Controllers
{

View File

@@ -1,16 +1,14 @@
//------------------------------------------------------------------------------
// This code was generated by a CodeSmith Template.
//
// DO NOT MODIFY contents of this file. Changes to this
// file will be lost if the code is regenerated.
// Author:Yubao Li
//------------------------------------------------------------------------------
/*
* @Author: yubaolee <yubaolee@163.com> | ahfu~ <954478625@qq.com>
* @Description: 实体类
* Copyright (c) 2025 by yubaolee | ahfu~ , All Rights Reserved.
*/
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
namespace {Namespace}
{
{AttributeManager}
public class {ClassName} : {BaseEntityName}

View File

@@ -5,7 +5,7 @@ using Infrastructure;
using OpenAuth.App.Interface;
using OpenAuth.App.Request;
using OpenAuth.App.Response;
using OpenAuth.Repository.Domain;
using {Namespace};
using SqlSugar;
namespace OpenAuth.App
{

View File

@@ -5,7 +5,7 @@ using Infrastructure;
using OpenAuth.App.Interface;
using OpenAuth.App.Request;
using OpenAuth.App.Response;
using OpenAuth.Repository.Domain;
using {Namespace};
using SqlSugar;
namespace OpenAuth.App
{

View File

@@ -6,7 +6,7 @@ using Infrastructure;
using OpenAuth.App.Interface;
using OpenAuth.App.Request;
using OpenAuth.App.Response;
using OpenAuth.Repository.Domain;
using {Namespace};
using SqlSugar;

View File

@@ -6,7 +6,7 @@ using Infrastructure;
using OpenAuth.App.Interface;
using OpenAuth.App.Request;
using OpenAuth.App.Response;
using OpenAuth.Repository.Domain;
using {Namespace};
using SqlSugar;