修改代码生成测试代码
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
using Infrastructure;
|
||||
using Infrastructure.Attribute;
|
||||
using Infrastructure.Extensions;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using ZR.Common;
|
||||
using ZR.Model.Models;
|
||||
using ZR.Repository;
|
||||
|
||||
@@ -16,22 +9,19 @@ namespace ZR.Service.Business
|
||||
/// 代码生成演示Service业务层处理
|
||||
///
|
||||
/// @author zr
|
||||
/// @date 2021-09-27
|
||||
/// @date 2021-11-24
|
||||
/// </summary>
|
||||
[AppService(ServiceType = typeof(IGendemoService), ServiceLifetime = LifeTime.Transient)]
|
||||
public class GendemoService: BaseService<Gendemo>, IGendemoService
|
||||
{
|
||||
private readonly GendemoRepository _repository;
|
||||
private readonly GendemoRepository _Gendemorepository;
|
||||
public GendemoService(GendemoRepository repository)
|
||||
{
|
||||
_repository = repository;
|
||||
_Gendemorepository = repository;
|
||||
}
|
||||
|
||||
#region 业务逻辑代码
|
||||
public void Test()
|
||||
{
|
||||
_repository.Test();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user