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