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