// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved. package pln import ( "LAPP_ACURA_MOM_BACKEND/global" "LAPP_ACURA_MOM_BACKEND/grmi" model "LAPP_ACURA_MOM_BACKEND/models/pln" "LAPP_ACURA_MOM_BACKEND/services/pln/implments" ) /****************************************************************************** * * @Interface Name : ToyotaCallOffErrorLstService *----------------------------------------------------------------------------- * * @Description : ToyotaCallOffErrorLst的服务接口 * * @Author : 代码生成器创建 * * @Date : 2022-01-26 09:51:03 * ******************************************************************************/ type ToyotaCallOffErrorLstService interface { /****************************************************************************** * * @Function Name : InsertOne *----------------------------------------------------------------------------- * * @Description : 插入一条ToyotaCallOffErrorLst * * @Function Parameters : 当前访问人员信息 * * @Function Parameters : 需要插入的ToyotaCallOffErrorLst * * @Return Value : 执行时发生的错误 * * @Author : 代码生成器创建 * * @Date : 2022-01-26 09:51:03 * ******************************************************************************/ InsertOne(*global.User, *model.ToyotaCallOffErrorLst) error /****************************************************************************** * * @Function Name : DeleteOne *----------------------------------------------------------------------------- * * @Description : 删除指定键的ToyotaCallOffErrorLst * * @Function Parameters : 主键 * * @Function Parameters : 主键 * * @Return Value : 执行时发生的错误 * * @Author : 代码生成器创建 * * @Date : 2022-01-26 09:51:03 * ******************************************************************************/ DeleteOne(*global.User, string, int) error /****************************************************************************** * * @Function Name : SelectOne *----------------------------------------------------------------------------- * * @Description : 查找指定键的ToyotaCallOffErrorLst * * @Function Parameters : 主键 * * @Function Parameters : 主键 * * @Return Value : 查找到的ToyotaCallOffErrorLst * * @Return Value : 执行时发生的错误 * * @Author : 代码生成器创建 * * @Date : 2022-01-26 09:51:03 * ******************************************************************************/ SelectOne(*global.User, string, int) (*model.ToyotaCallOffErrorLst, error) /****************************************************************************** * * @Function Name : UpdateOne *----------------------------------------------------------------------------- * * @Description : 修改一条ToyotaCallOffErrorLst * * @Function Parameters : 当前访问人员信息 * * @Function Parameters : 需要修改的ToyotaCallOffErrorLst * * @Return Value : 执行时发生的错误 * * @Author : 代码生成器创建 * * @Date : 2022-01-26 09:51:03 * ******************************************************************************/ UpdateOne(*global.User, *model.ToyotaCallOffErrorLst) error /****************************************************************************** * * @Function Name : Insert *----------------------------------------------------------------------------- * * @Description : 插入多条ToyotaCallOffErrorLst * * @Function Parameters : 当前访问人员信息 * * @Function Parameters : 需要插入的ToyotaCallOffErrorLst列表 * * @Return Value : 执行时发生的错误 * * @Author : 代码生成器创建 * * @Date : 2022-01-26 09:51:03 * ******************************************************************************/ Insert(*global.User, *[]model.ToyotaCallOffErrorLst) error /****************************************************************************** * * @Function Name : Delete *----------------------------------------------------------------------------- * * @Description : 删除多条ToyotaCallOffErrorLst * * @Function Parameters : 当前访问人员信息 * * @Function Parameters : 需要删除的ToyotaCallOffErrorLst列表 * * @Return Value : 执行时发生的错误 * * @Author : 代码生成器创建 * * @Date : 2022-01-26 09:51:03 * ******************************************************************************/ Delete(*global.User, *[]model.ToyotaCallOffErrorLst) error /****************************************************************************** * * @Function Name : Select *----------------------------------------------------------------------------- * * @Description : 查询ToyotaCallOffErrorLst * * @Function Parameters : 当前访问人员信息 * * @Function Parameters : 查询参数 * * @Return Value : 查询结果 * * @Return Value : 执行时发生的错误 * * @Author : 代码生成器创建 * * @Date : 2022-01-26 09:51:03 * ******************************************************************************/ Select(*global.User, map[string]string) ([]model.ToyotaCallOffErrorLst, error) /****************************************************************************** * * @Function Name : SelectAndPaging *----------------------------------------------------------------------------- * * @Description : 查询ToyotaCallOffErrorLst * * @Function Parameters : 当前访问人员信息 * * @Function Parameters : 查询参数 * * @Return Value : 查询结果 * * @Return Value : 执行时发生的错误 * * @Author : 代码生成器创建 * * @Date : 2022-01-26 09:51:03 * ******************************************************************************/ SelectAndPaging(*global.User, map[string]string) (grmi.PagingResult, error) /****************************************************************************** * * @Function Name : Update *----------------------------------------------------------------------------- * * @Description : 修改多条ToyotaCallOffErrorLst * * @Function Parameters : 当前访问人员信息 * * @Function Parameters : 需要修改的ToyotaCallOffErrorLst列表 * * @Return Value : 执行时发生的错误 * * @Author : 代码生成器创建 * * @Date : 2022-01-26 09:51:03 * ******************************************************************************/ Update(*global.User, *[]model.ToyotaCallOffErrorLst) error /****************************************************************************** * * @Function Name : RepairError *----------------------------------------------------------------------------- * * @Description : 修复错误项 * * @Function Parameters : 主键 * * @Function Parameters : 主键 * * @Return Value : 执行时发生的错误 * * @Author : zhangxin * * @Date : 2022-02-16 * ******************************************************************************/ RepairError(user *global.User, demandId string, pos int) error } /****************************************************************************** * * @Function Name : NewToyotaCallOffErrorLstService *----------------------------------------------------------------------------- * * @Description : 创建一个ToyotaCallOffErrorLstService * * @Return Value : ToyotaCallOffErrorLstService实例 * * @Author : 代码生成器创建 * * @Date : 2022-01-26 09:51:03 * ******************************************************************************/ func NewToyotaCallOffErrorLstService() ToyotaCallOffErrorLstService { return implments.NewToyotaCallOffErrorLstServiceImplement() }