23 lines
937 B
Plaintext
23 lines
937 B
Plaintext
|
|
//--------------------------------------------------------------------
|
|
// 此代码由模板自动生成 byzhouhang 20210918
|
|
// 生成时间 {{DateTimeNow}}
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
|
//--------------------------------------------------------------------
|
|
using IRaCIS.Core.Application.ViewModel;
|
|
namespace IRaCIS.Core.Application.Interfaces
|
|
{
|
|
public interface I{{TableName}}Service
|
|
{
|
|
{% if IsPaged %}
|
|
Task<PageOutput<<{{TableNameView}}>> Get{{TableName}}List({{TableNameQuery}} inQuery);
|
|
{% else %}
|
|
Task<List<{{TableNameView}}>> Get{{TableName}}List({{TableNameQuery}} inQuery);
|
|
{% endif %}
|
|
Task<IResponseOutput> AddOrUpdate{{TableName}}({{TableNameAddOrEdit}} addOrEdit{{TableName}});
|
|
|
|
Task<IResponseOutput> Delete{{TableNameView}}(Guid {{LowercaseTableNameId}});
|
|
}
|
|
}
|
|
|