// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
|
|
|
|
package report
|
|
|
|
import (
|
|
model "LAPP_LF_MOM_BACKEND/models/report"
|
|
"LAPP_LF_MOM_BACKEND/services/report/implments"
|
|
"LAPP_LF_MOM_BACKEND/web/models"
|
|
)
|
|
|
|
/******************************************************************************
|
|
*
|
|
* @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(*models.Usertab, *model.Display) error
|
|
/******************************************************************************
|
|
*
|
|
* @Function Name : DeleteOne
|
|
*-----------------------------------------------------------------------------
|
|
*
|
|
* @Description : 删除指定键的Display
|
|
*
|
|
* @Function Parameters : 主键
|
|
*
|
|
* @Return Value : 执行时发生的错误
|
|
*
|
|
* @Author : 代码生成器创建
|
|
*
|
|
* @Date : 2021-06-24 15:31:29
|
|
*
|
|
******************************************************************************/
|
|
DeleteOne(*models.Usertab, int) error
|
|
/******************************************************************************
|
|
*
|
|
* @Function Name : SelectOne
|
|
*-----------------------------------------------------------------------------
|
|
*
|
|
* @Description : 查找指定键的Display
|
|
*
|
|
* @Function Parameters : 主键
|
|
*
|
|
* @Return Value : 查找到的Display
|
|
*
|
|
* @Return Value : 执行时发生的错误
|
|
*
|
|
* @Author : 代码生成器创建
|
|
*
|
|
* @Date : 2021-06-24 15:31:29
|
|
*
|
|
******************************************************************************/
|
|
SelectOne(*models.Usertab, 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(*models.Usertab, *model.Display) error
|
|
/******************************************************************************
|
|
*
|
|
* @Function Name : Insert
|
|
*-----------------------------------------------------------------------------
|
|
*
|
|
* @Description : 插入多条Display
|
|
*
|
|
* @Function Parameters : 当前访问人员信息
|
|
*
|
|
* @Function Parameters : 需要插入的Display列表
|
|
*
|
|
* @Return Value : 执行时发生的错误
|
|
*
|
|
* @Author : 代码生成器创建
|
|
*
|
|
* @Date : 2021-06-24 15:31:29
|
|
*
|
|
******************************************************************************/
|
|
Insert(*models.Usertab, *[]model.Display) error
|
|
/******************************************************************************
|
|
*
|
|
* @Function Name : Delete
|
|
*-----------------------------------------------------------------------------
|
|
*
|
|
* @Description : 删除多条Display
|
|
*
|
|
* @Function Parameters : 当前访问人员信息
|
|
*
|
|
* @Function Parameters : 需要删除的Display列表
|
|
*
|
|
* @Return Value : 执行时发生的错误
|
|
*
|
|
* @Author : 代码生成器创建
|
|
*
|
|
* @Date : 2021-06-24 15:31:29
|
|
*
|
|
******************************************************************************/
|
|
Delete(*models.Usertab, *[]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(*models.Usertab, 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(*models.Usertab, *[]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()
|
|
}
|