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