GAAS GFrame项目web后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

194 lines
6.8 KiB

// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
package pm
import (
model "LAPP_GAAS_GFrame_BACKEND/models/pm"
"LAPP_GAAS_GFrame_BACKEND/services/pm/implments"
"LAPP_GAAS_GFrame_BACKEND/web/models"
)
/******************************************************************************
*
* @Interface Name : LocationService
*-----------------------------------------------------------------------------
*
* @Description : Location的服务接口
*
* @Author : 代码生成器创建
*
* @Date : 2021-04-13 11:00:13
*
******************************************************************************/
type LocationService interface {
/******************************************************************************
*
* @Function Name : InsertOne
*-----------------------------------------------------------------------------
*
* @Description : 插入一条Location
*
* @Function Parameters : 当前访问人员信息
*
* @Function Parameters : 需要插入的Location
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-04-13 11:00:13
*
******************************************************************************/
InsertOne(*models.Usertab, *model.Location) error
/******************************************************************************
*
* @Function Name : DeleteOne
*-----------------------------------------------------------------------------
*
* @Description : 删除指定键的Location
*
* @Function Parameters : 主键
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-04-13 11:00:13
*
******************************************************************************/
DeleteOne(*models.Usertab, int) error
/******************************************************************************
*
* @Function Name : SelectOne
*-----------------------------------------------------------------------------
*
* @Description : 查找指定键的Location
*
* @Function Parameters : 主键
*
* @Return Value : 查找到的Location
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-04-13 11:00:13
*
******************************************************************************/
SelectOne(*models.Usertab, int) (*model.Location, error)
/******************************************************************************
*
* @Function Name : UpdateOne
*-----------------------------------------------------------------------------
*
* @Description : 修改一条Location
*
* @Function Parameters : 当前访问人员信息
*
* @Function Parameters : 需要修改的Location
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-04-13 11:00:13
*
******************************************************************************/
UpdateOne(*models.Usertab, *model.Location) error
/******************************************************************************
*
* @Function Name : Insert
*-----------------------------------------------------------------------------
*
* @Description : 插入多条Location
*
* @Function Parameters : 当前访问人员信息
*
* @Function Parameters : 需要插入的Location列表
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-04-13 11:00:13
*
******************************************************************************/
Insert(*models.Usertab, *[]model.Location) error
/******************************************************************************
*
* @Function Name : Delete
*-----------------------------------------------------------------------------
*
* @Description : 删除多条Location
*
* @Function Parameters : 当前访问人员信息
*
* @Function Parameters : 需要删除的Location列表
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-04-13 11:00:13
*
******************************************************************************/
Delete(*models.Usertab, *[]model.Location) error
/******************************************************************************
*
* @Function Name : SelectAndPaging
*-----------------------------------------------------------------------------
*
* @Description : 查询Location
*
* @Function Parameters : 当前访问人员信息
*
* @Function Parameters : 查询参数
*
* @Return Value : 查询结果
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-04-13 11:00:13
*
******************************************************************************/
Select(*models.Usertab, map[string]string) (interface{}, error)
/******************************************************************************
*
* @Function Name : Update
*-----------------------------------------------------------------------------
*
* @Description : 修改多条Location
*
* @Function Parameters : 当前访问人员信息
*
* @Function Parameters : 需要修改的Location列表
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-04-13 11:00:13
*
******************************************************************************/
Update(*models.Usertab, *[]model.Location) error
}
/******************************************************************************
*
* @Function Name : NewLocationService
*-----------------------------------------------------------------------------
*
* @Description : 创建一个LocationService
*
* @Return Value : LocationService实例
*
* @Author : 代码生成器创建
*
* @Date : 2021-04-13 11:00:13
*
******************************************************************************/
func NewLocationService() LocationService {
return implments.NewLocationServiceImplement()
}