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