GAAS GFrame项目web后台
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.

121 lines
4.0 KiB

package base
import (
"LAPP_GAAS_GFrame_BACKEND/services/base/implments"
"LAPP_GAAS_GFrame_BACKEND/web/models"
)
/******************************************************************************
*
* @Interface Name : SignService
*-----------------------------------------------------------------------------
*
* @Description : 签到签退服务接口
*
* @Author : 代码生成器创建
*
* @Date : 2021-03-18 23:20:31
*
******************************************************************************/
type SignService interface {
/******************************************************************************
*
* @Function Name : SelectOneUser
*-----------------------------------------------------------------------------
*
* @Description : 查找指定人员的用户名
*
* @Function Parameters : 当前访问人员信息
*
* @Function Parameters : 人员编号
*
* @Return Value : 人员姓名
*
* @Return Value : 执行时发生的错误
*
* @Author : chenglei.wei@le-it.com.cn
*
* @Date : 2021-03-25
*
******************************************************************************/
SelectOneUser(*models.Usertab, string) (string, error)
/******************************************************************************
*
* @Function Name : GetWorklines
*-----------------------------------------------------------------------------
*
* @Description : 获取全部产线
*
* @Function Parameters : 当前访问人员信息
*
* @Return Value : 产线标识列表
*
* @Return Value : 执行时发生的错误
*
* @Author : chenglei.wei@le-it.com.cn
*
* @Date : 2021-03-25
*
******************************************************************************/
GetWorklines(*models.Usertab) ([]string, error)
/******************************************************************************
*
* @Function Name : GetWorkplacesOfWorkline
*-----------------------------------------------------------------------------
*
* @Description : 返回产线工位信息
*
* @Function Parameters : 当前访问人员信息
*
* @Function Parameters : 产线标识
*
* @Return Value : 工位标识列表
*
* @Return Value : 执行时发生的错误
*
* @Author : chenglei.wei@le-it.com.cn
*
* @Date : 2021-03-25
*
******************************************************************************/
GetWorkplacesOfWorkline(*models.Usertab, string) ([]string, error)
/******************************************************************************
*
* @Function Name : SignIn
*-----------------------------------------------------------------------------
*
* @Description : 签到
*
* @Function Parameters : 当前访问人员信息
*
* @Function Parameters : 人员编号
*
* @Function Parameters : 生产线标识
*
* @Return Value : 执行时发生的错误
*
* @Author : chenglei.wei@le-it.com.cn
*
* @Date : 2021-03-25
*
******************************************************************************/
SignIn(*models.Usertab, string, string) error
}
/******************************************************************************
*
* @Function Name : NewPlantService
*-----------------------------------------------------------------------------
*
* @Description : 创建一个PlantService
*
* @Return Value : PlantService实例
*
* @Author : 代码生成器创建
*
* @Date : 2021-03-18 23:20:31
*
******************************************************************************/
func NewSignService() SignService {
return implments.NewSignServiceImplement()
}