37 lines
907 B
C#
37 lines
907 B
C#
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;
|
|
|
|
namespace ZR.Service.Business
|
|
{
|
|
/// <summary>
|
|
/// 代码生成演示Service业务层处理
|
|
///
|
|
/// @author zr
|
|
/// @date 2021-09-27
|
|
/// </summary>
|
|
[AppService(ServiceType = typeof(IGendemoService), ServiceLifetime = LifeTime.Transient)]
|
|
public class GendemoService: BaseService<Gendemo>, IGendemoService
|
|
{
|
|
private readonly GendemoRepository _repository;
|
|
public GendemoService(GendemoRepository repository)
|
|
{
|
|
_repository = repository;
|
|
}
|
|
|
|
#region 业务逻辑代码
|
|
public void Test()
|
|
{
|
|
_repository.Test();
|
|
}
|
|
#endregion
|
|
}
|
|
} |