广汽安道拓Acura项目MES后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

309 lines
11 KiB

// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
package qm
import (
"LAPP_ACURA_MOM_BACKEND/dao/qm/implments"
"LAPP_ACURA_MOM_BACKEND/grmi"
model "LAPP_ACURA_MOM_BACKEND/models/qm"
"github.com/go-xorm/xorm"
)
/******************************************************************************
*
* @Interface Name : ReclinerReclstDAO
*-----------------------------------------------------------------------------
*
* @Description : ReclinerReclst的数据访问对象接口
*
* @Author : 代码生成器创建
*
* @Date : 2021-07-12 14:05:20
*
******************************************************************************/
type ReclinerReclstDAO interface {
/******************************************************************************
*
* @Function Name : InsertOne
*-----------------------------------------------------------------------------
*
* @Description : 插入一条ReclinerReclst
*
* @Function Parameters : 需要插入的ReclinerReclst
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-07-12 14:05:20
*
******************************************************************************/
InsertOne(*model.ReclinerReclst) error
/******************************************************************************
*
* @Function Name : DeleteOne
*-----------------------------------------------------------------------------
*
* @Description : 删除指定键的ReclinerReclst
*
* @Function Parameters : 主键
*
* @Function Parameters : 主键
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-07-12 14:05:20
*
******************************************************************************/
DeleteOne(int) error
/******************************************************************************
*
* @Function Name : SelectOne
*-----------------------------------------------------------------------------
*
* @Description : 查找指定键的ReclinerReclst
*
* @Function Parameters : 主键
*
* @Function Parameters : 主键
*
* @Return Value : 查找到的ReclinerReclst
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-07-12 14:05:20
*
******************************************************************************/
SelectOne(int) (*model.ReclinerReclst, error)
/******************************************************************************
*
* @Function Name : UpdateOne
*-----------------------------------------------------------------------------
*
* @Description : 修改ReclinerReclst
*
* @Function Parameters : 需要修改的ReclinerReclst
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-07-12 14:05:20
*
******************************************************************************/
UpdateOne(*model.ReclinerReclst) error
/******************************************************************************
*
* @Function Name : Insert
*-----------------------------------------------------------------------------
*
* @Description : 插入多条ReclinerReclst
*
* @Function Parameters : 需要插入的ReclinerReclst列表
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-07-12 14:05:20
*
******************************************************************************/
Insert(*[]model.ReclinerReclst) error
/******************************************************************************
*
* @Function Name : Delete
*-----------------------------------------------------------------------------
*
* @Description : 删除多条ReclinerReclst
*
* @Function Parameters : 需要删除的ReclinerReclst列表
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-07-12 14:05:20
*
******************************************************************************/
Delete(*[]model.ReclinerReclst) error
/******************************************************************************
*
* @Function Name : DeleteWhere
*-----------------------------------------------------------------------------
*
* @Description : 按条件删除ReclinerReclst
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-07-12 14:05:20
*
******************************************************************************/
DeleteWhere([]grmi.Predicate) error
/******************************************************************************
*
* @Function Name : Select
*-----------------------------------------------------------------------------
*
* @Description : 按条件查询ReclinerReclst
*
* @Function Parameters : 查询条件
*
* @Function Parameters : 排序字段
*
* @Return Value : 查询结果
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-07-12 14:05:20
*
******************************************************************************/
Select([]grmi.Predicate, []grmi.Field) ([]model.ReclinerReclst, error)
/******************************************************************************
*
* @Function Name : SelectAndPaging
*-----------------------------------------------------------------------------
*
* @Description : 按条件查询ReclinerReclst并分页
*
* @Function Parameters : 分页信息
*
* @Function Parameters : 查询条件
*
* @Function Parameters : 排序字段
*
* @Return Value : 查询结果
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-07-12 14:05:20
*
******************************************************************************/
SelectAndPaging(*grmi.Paging, []grmi.Predicate, []grmi.Field) (grmi.PagingResult, error)
/******************************************************************************
*
* @Function Name : Update
*-----------------------------------------------------------------------------
*
* @Description : 修改多条ReclinerReclst
*
* @Function Parameters : 需要修改的ReclinerReclst列表
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-07-12 14:05:20
*
******************************************************************************/
Update(*[]model.ReclinerReclst) error
/******************************************************************************
*
* @Function Name : UpdateWhere
*-----------------------------------------------------------------------------
*
* @Description : 按条件修改ReclinerReclst
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-07-12 14:05:20
*
******************************************************************************/
UpdateWhere([]grmi.Predicate, *model.ReclinerReclst, ...string) error
/******************************************************************************
*
* @Function Name : SelectUnPrint
*-----------------------------------------------------------------------------
*
* @Description : 按条件查询PackOrder
*
* @Function Parameters : 查询条件
*
* @Function Parameters : 排序字段
*
* @Return Value : 查询结果
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-03-24 09:53:49
*
******************************************************************************/
SelectUnPrint(num int) ([]model.ReclinerReclst, error)
/******************************************************************************
*
* @Function Name : UpdateUnPrint
*-----------------------------------------------------------------------------
*
* @Description : 批量更新PackOrder
*
* @Function Parameters : 查询条件
*
* @Function Parameters : 排序字段
*
* @Return Value : 查询结果
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-03-24 09:53:49
*
******************************************************************************/
UpdateUnPrint(recIds []int) error
/******************************************************************************
*
* @Function Name : SelectOneRework
*-----------------------------------------------------------------------------
*
* @Description : 批量更新PackOrder
*
* @Function Parameters : 查询条件
*
* @Function Parameters : 排序字段
*
* @Return Value : 查询结果
*
* @Return Value : 执行时发生的错误
*
* @Author : 代码生成器创建
*
* @Date : 2021-03-24 09:53:49
*
******************************************************************************/
SelectOneRework(numSeriOrder string) (*model.ReclinerReclst, error)
}
/******************************************************************************
*
* @Function Name : NewReclinerReclstDAO
*-----------------------------------------------------------------------------
*
* @Description : 创建一个ReclinerReclstDAO实例
*
* @Function Parameters : xorm会话
*
* @Function Parameters : 基本主键
*
* @Return Value : ReclinerReclstDAO实例
*
* @Author : 代码生成器创建
*
* @Date : 2021-07-12 14:05:20
*
******************************************************************************/
func NewReclinerReclstDAO(session *xorm.Session, plantNr int, userid string) ReclinerReclstDAO {
return implments.NewReclinerReclstDAOImplement(session, plantNr, userid)
}