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