初始
This commit is contained in:
0
internal/app/system/service/.gitkeep
Normal file
0
internal/app/system/service/.gitkeep
Normal file
37
internal/app/system/service/app_menus.go
Normal file
37
internal/app/system/service/app_menus.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-05-28 15:09:13
|
||||
// 生成路径: internal/app/system/service/app_menus.go
|
||||
// 生成人:gfast
|
||||
// desc:app菜单
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IAppMenus interface {
|
||||
List(ctx context.Context, req *system.AppMenusSearchReq) (res *system.AppMenusSearchRes, err error)
|
||||
GetByMenuId(ctx context.Context, MenuId uint) (res *model.AppMenusInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.AppMenusAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.AppMenusEditReq) (err error)
|
||||
Delete(ctx context.Context, MenuId []uint) (err error)
|
||||
}
|
||||
|
||||
var localAppMenus IAppMenus
|
||||
|
||||
func AppMenus() IAppMenus {
|
||||
if localAppMenus == nil {
|
||||
panic("implement not found for interface IAppMenus, forgot register?")
|
||||
}
|
||||
return localAppMenus
|
||||
}
|
||||
|
||||
func RegisterAppMenus(i IAppMenus) {
|
||||
localAppMenus = i
|
||||
}
|
||||
37
internal/app/system/service/app_role_menus.go
Normal file
37
internal/app/system/service/app_role_menus.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-05-28 15:11:15
|
||||
// 生成路径: internal/app/system/service/app_role_menus.go
|
||||
// 生成人:gfast
|
||||
// desc:app角色绑定菜单
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IAppRoleMenus interface {
|
||||
List(ctx context.Context, req *system.AppRoleMenusSearchReq) (res *system.AppRoleMenusSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint) (res *model.AppRoleMenusInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.AppRoleMenusAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.AppRoleMenusEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint) (err error)
|
||||
}
|
||||
|
||||
var localAppRoleMenus IAppRoleMenus
|
||||
|
||||
func AppRoleMenus() IAppRoleMenus {
|
||||
if localAppRoleMenus == nil {
|
||||
panic("implement not found for interface IAppRoleMenus, forgot register?")
|
||||
}
|
||||
return localAppRoleMenus
|
||||
}
|
||||
|
||||
func RegisterAppRoleMenus(i IAppRoleMenus) {
|
||||
localAppRoleMenus = i
|
||||
}
|
||||
37
internal/app/system/service/app_roles.go
Normal file
37
internal/app/system/service/app_roles.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-05-28 15:11:36
|
||||
// 生成路径: internal/app/system/service/app_roles.go
|
||||
// 生成人:gfast
|
||||
// desc:app角色
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IAppRoles interface {
|
||||
List(ctx context.Context, req *system.AppRolesSearchReq) (res *system.AppRolesSearchRes, err error)
|
||||
GetByRoleId(ctx context.Context, RoleId uint) (res *model.AppRolesInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.AppRolesAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.AppRolesEditReq) (err error)
|
||||
Delete(ctx context.Context, RoleId []uint) (err error)
|
||||
}
|
||||
|
||||
var localAppRoles IAppRoles
|
||||
|
||||
func AppRoles() IAppRoles {
|
||||
if localAppRoles == nil {
|
||||
panic("implement not found for interface IAppRoles, forgot register?")
|
||||
}
|
||||
return localAppRoles
|
||||
}
|
||||
|
||||
func RegisterAppRoles(i IAppRoles) {
|
||||
localAppRoles = i
|
||||
}
|
||||
37
internal/app/system/service/app_user_disable_menus.go
Normal file
37
internal/app/system/service/app_user_disable_menus.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-05-28 15:11:37
|
||||
// 生成路径: internal/app/system/service/app_user_disable_menus.go
|
||||
// 生成人:gfast
|
||||
// desc:app用户禁用菜单关联
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IAppUserDisableMenus interface {
|
||||
List(ctx context.Context, req *system.AppUserDisableMenusSearchReq) (res *system.AppUserDisableMenusSearchRes, err error)
|
||||
GetByUserDisabledMenuId(ctx context.Context, UserDisabledMenuId uint) (res *model.AppUserDisableMenusInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.AppUserDisableMenusAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.AppUserDisableMenusEditReq) (err error)
|
||||
Delete(ctx context.Context, UserDisabledMenuId []uint) (err error)
|
||||
}
|
||||
|
||||
var localAppUserDisableMenus IAppUserDisableMenus
|
||||
|
||||
func AppUserDisableMenus() IAppUserDisableMenus {
|
||||
if localAppUserDisableMenus == nil {
|
||||
panic("implement not found for interface IAppUserDisableMenus, forgot register?")
|
||||
}
|
||||
return localAppUserDisableMenus
|
||||
}
|
||||
|
||||
func RegisterAppUserDisableMenus(i IAppUserDisableMenus) {
|
||||
localAppUserDisableMenus = i
|
||||
}
|
||||
37
internal/app/system/service/app_user_menus.go
Normal file
37
internal/app/system/service/app_user_menus.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-05-28 15:11:37
|
||||
// 生成路径: internal/app/system/service/app_user_menus.go
|
||||
// 生成人:gfast
|
||||
// desc:app用户菜单关联
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IAppUserMenus interface {
|
||||
List(ctx context.Context, req *system.AppUserMenusSearchReq) (res *system.AppUserMenusSearchRes, err error)
|
||||
GetByUserMenuId(ctx context.Context, UserMenuId uint) (res *model.AppUserMenusInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.AppUserMenusAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.AppUserMenusEditReq) (err error)
|
||||
Delete(ctx context.Context, UserMenuId []uint) (err error)
|
||||
}
|
||||
|
||||
var localAppUserMenus IAppUserMenus
|
||||
|
||||
func AppUserMenus() IAppUserMenus {
|
||||
if localAppUserMenus == nil {
|
||||
panic("implement not found for interface IAppUserMenus, forgot register?")
|
||||
}
|
||||
return localAppUserMenus
|
||||
}
|
||||
|
||||
func RegisterAppUserMenus(i IAppUserMenus) {
|
||||
localAppUserMenus = i
|
||||
}
|
||||
42
internal/app/system/service/app_user_roles.go
Normal file
42
internal/app/system/service/app_user_roles.go
Normal file
@ -0,0 +1,42 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-05-28 15:11:37
|
||||
// 生成路径: internal/app/system/service/app_user_roles.go
|
||||
// 生成人:gfast
|
||||
// desc:app用户角色关联
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IAppUserRoles interface {
|
||||
List(ctx context.Context, req *system.AppUserRolesSearchReq) (res *system.AppUserRolesSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint) (res *model.AppUserRolesInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.AppUserRolesAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.AppUserRolesEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint) (err error)
|
||||
// 给用户绑定角色
|
||||
BindRole(ctx context.Context, req *system.AppUserRolesBindReq) (err error)
|
||||
// 获取用户的角色
|
||||
GetUserRoles(ctx context.Context, userId int) (roles model.AppUserRoleDetails, err error)
|
||||
}
|
||||
|
||||
var localAppUserRoles IAppUserRoles
|
||||
|
||||
func AppUserRoles() IAppUserRoles {
|
||||
if localAppUserRoles == nil {
|
||||
panic("implement not found for interface IAppUserRoles, forgot register?")
|
||||
}
|
||||
return localAppUserRoles
|
||||
}
|
||||
|
||||
func RegisterAppUserRoles(i IAppUserRoles) {
|
||||
localAppUserRoles = i
|
||||
}
|
||||
101
internal/app/system/service/big_file.go
Normal file
101
internal/app/system/service/big_file.go
Normal file
@ -0,0 +1,101 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model/do"
|
||||
|
||||
systemConsts "github.com/tiger1103/gfast/v3/internal/app/system/consts"
|
||||
"github.com/tiger1103/gfast/v3/library/liberr"
|
||||
)
|
||||
|
||||
type IBigFile interface {
|
||||
List(ctx context.Context, req *system.BigFileSearchReq) (res *system.BigFileSearchRes, err error)
|
||||
Add(ctx context.Context, req *system.BigFileAddReq, userId uint64) (err error)
|
||||
Get(ctx context.Context, id uint64) (res *system.BigFileGetRes, err error)
|
||||
Edit(ctx context.Context, req *system.BigFileEditReq, userId uint64) (err error)
|
||||
Delete(ctx context.Context, ids []uint64) (err error)
|
||||
}
|
||||
|
||||
func BigFile() IBigFile {
|
||||
return new(bigFileTmpl)
|
||||
}
|
||||
|
||||
type bigFileTmpl struct{}
|
||||
|
||||
func (s *bigFileTmpl) List(ctx context.Context, req *system.BigFileSearchReq) (res *system.BigFileSearchRes, err error) {
|
||||
res = new(system.BigFileSearchRes)
|
||||
err = g.Try(ctx, func(ctx context.Context) {
|
||||
m := dao.BigFile.Ctx(ctx)
|
||||
if req != nil {
|
||||
if req.Name != "" {
|
||||
m = m.Where("name like ?", "%"+req.Name+"%")
|
||||
}
|
||||
}
|
||||
res.Total, err = m.Count()
|
||||
liberr.ErrIsNil(ctx, err, "获取数据失败")
|
||||
if req.PageNum == 0 {
|
||||
req.PageNum = 1
|
||||
}
|
||||
res.CurrentPage = req.PageNum
|
||||
if req.PageSize == 0 {
|
||||
req.PageSize = systemConsts.PageSize
|
||||
}
|
||||
|
||||
var orderBy string = "id asc"
|
||||
if req.OrderBy != "" {
|
||||
orderBy = req.OrderBy
|
||||
}
|
||||
err = m.Page(req.PageNum, req.PageSize).Order(orderBy).Scan(&res.List)
|
||||
liberr.ErrIsNil(ctx, err, "获取数据失败")
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
func (s *bigFileTmpl) Add(ctx context.Context, req *system.BigFileAddReq, userId uint64) (err error) {
|
||||
err = g.Try(ctx, func(ctx context.Context) {
|
||||
_, err = dao.BigFile.Ctx(ctx).Insert(do.BigFile{
|
||||
Name: req.Name,
|
||||
Size: req.Size,
|
||||
Path: req.Path,
|
||||
FullPath: req.FullPath,
|
||||
MimeType: req.MimeType,
|
||||
Source: req.Source,
|
||||
Describe: req.Describe,
|
||||
Md5: req.Md5,
|
||||
})
|
||||
liberr.ErrIsNil(ctx, err, "添加失败")
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
func (s *bigFileTmpl) Get(ctx context.Context, id uint64) (res *system.BigFileGetRes, err error) {
|
||||
res = new(system.BigFileGetRes)
|
||||
err = g.Try(ctx, func(ctx context.Context) {
|
||||
err = dao.BigFile.Ctx(ctx).WherePri(id).Scan(&res)
|
||||
liberr.ErrIsNil(ctx, err, "获取数据失败")
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
func (s *bigFileTmpl) Edit(ctx context.Context, req *system.BigFileEditReq, userId uint64) (err error) {
|
||||
err = g.Try(ctx, func(ctx context.Context) {
|
||||
_, err = dao.BigFile.Ctx(ctx).WherePri(req.Id).Update(do.BigFile{
|
||||
Name: req.Name,
|
||||
Describe: req.Describe,
|
||||
})
|
||||
liberr.ErrIsNil(ctx, err, "修改错误")
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
func (s *bigFileTmpl) Delete(ctx context.Context, ids []uint64) (err error) {
|
||||
err = g.Try(ctx, func(ctx context.Context) {
|
||||
_, err = dao.BigFile.Ctx(ctx).WherePri(ids).Delete()
|
||||
liberr.ErrIsNil(ctx, err, "删除失败")
|
||||
})
|
||||
return
|
||||
}
|
||||
50
internal/app/system/service/bus_attendance_machine.go
Normal file
50
internal/app/system/service/bus_attendance_machine.go
Normal file
@ -0,0 +1,50 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2025-03-03 10:32:47
|
||||
// 生成路径: internal/app/system/service/bus_attendance_machine.go
|
||||
// 生成人:gfast
|
||||
// desc:考勤机
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusAttendanceMachine interface {
|
||||
List(ctx context.Context, req *system.BusAttendanceMachineSearchReq) (res *system.BusAttendanceMachineSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint64) (res *model.BusAttendanceMachineExtendRes, err error)
|
||||
Add(ctx context.Context, req *system.BusAttendanceMachineAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusAttendanceMachineEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint64) (err error)
|
||||
|
||||
// Register 考勤设备注册
|
||||
Register(ctx context.Context, req *system.BusAttendanceMachineRegisterReq) (err error)
|
||||
// Change 变更考勤机状态
|
||||
Change(ctx context.Context, req *system.BusAttendanceMachineChangeReq) (err error)
|
||||
// BindUserInformationToDevicesInBatches 批量将用户信息绑定到设备上
|
||||
BindUserInformationToDevicesInBatches(ctx context.Context, req *system.BindUserInformationToDevicesInBatchesReq) (err error)
|
||||
// SendTheUserInformationToTheAttendanceMachine 将用户信息下发到考勤机上
|
||||
SendTheUserInformationToTheAttendanceMachine(ctx context.Context, req *system.SendTheUserInformationToTheAttendanceMachineReq) (err error)
|
||||
// DeleteTheUserBoundToTheAttendanceMachineAndDevice 将考勤机和设备绑定的用户删除掉
|
||||
DeleteTheUserBoundToTheAttendanceMachineAndDevice(ctx context.Context, req *system.DeleteTheUserBoundToTheAttendanceMachineAndDeviceReq) (err error)
|
||||
// ObtainInformationAboutPersonnelAssociatedWithTheAttendanceDevice 获取考勤设备关联的人员信息
|
||||
ObtainInformationAboutPersonnelAssociatedWithTheAttendanceDevice(ctx context.Context, req *system.ObtainInformationAboutPersonnelAssociatedWithTheAttendanceDeviceReq) (listRes *system.ObtainInformationAboutPersonnelAssociatedWithTheAttendanceDeviceRes, err error)
|
||||
}
|
||||
|
||||
var localBusAttendanceMachine IBusAttendanceMachine
|
||||
|
||||
func BusAttendanceMachine() IBusAttendanceMachine {
|
||||
if localBusAttendanceMachine == nil {
|
||||
panic("implement not found for interface IBusAttendanceMachine, forgot register?")
|
||||
}
|
||||
return localBusAttendanceMachine
|
||||
}
|
||||
|
||||
func RegisterBusAttendanceMachine(i IBusAttendanceMachine) {
|
||||
localBusAttendanceMachine = i
|
||||
}
|
||||
37
internal/app/system/service/bus_attendance_machine_user.go
Normal file
37
internal/app/system/service/bus_attendance_machine_user.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2025-03-03 10:33:17
|
||||
// 生成路径: internal/app/system/service/bus_attendance_machine_user.go
|
||||
// 生成人:gfast
|
||||
// desc:考勤机用户列
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusAttendanceMachineUser interface {
|
||||
List(ctx context.Context, req *system.BusAttendanceMachineUserSearchReq) (res *system.BusAttendanceMachineUserSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusAttendanceMachineUserInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusAttendanceMachineUserAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusAttendanceMachineUserEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusAttendanceMachineUser IBusAttendanceMachineUser
|
||||
|
||||
func BusAttendanceMachineUser() IBusAttendanceMachineUser {
|
||||
if localBusAttendanceMachineUser == nil {
|
||||
panic("implement not found for interface IBusAttendanceMachineUser, forgot register?")
|
||||
}
|
||||
return localBusAttendanceMachineUser
|
||||
}
|
||||
|
||||
func RegisterBusAttendanceMachineUser(i IBusAttendanceMachineUser) {
|
||||
localBusAttendanceMachineUser = i
|
||||
}
|
||||
37
internal/app/system/service/bus_camera_channel.go
Normal file
37
internal/app/system/service/bus_camera_channel.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-09-20 14:55:42
|
||||
// 生成路径: internal/app/system/service/bus_camera_channel.go
|
||||
// 生成人:gfast
|
||||
// desc:摄像头(国标通道)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusCameraChannel interface {
|
||||
List(ctx context.Context, req *system.BusCameraChannelSearchReq) (res *system.BusCameraChannelSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusCameraChannelInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusCameraChannelAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusCameraChannelEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusCameraChannel IBusCameraChannel
|
||||
|
||||
func BusCameraChannel() IBusCameraChannel {
|
||||
if localBusCameraChannel == nil {
|
||||
panic("implement not found for interface IBusCameraChannel, forgot register?")
|
||||
}
|
||||
return localBusCameraChannel
|
||||
}
|
||||
|
||||
func RegisterBusCameraChannel(i IBusCameraChannel) {
|
||||
localBusCameraChannel = i
|
||||
}
|
||||
37
internal/app/system/service/bus_camera_chinese_standard.go
Normal file
37
internal/app/system/service/bus_camera_chinese_standard.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-09-20 14:55:24
|
||||
// 生成路径: internal/app/system/service/bus_camera_chinese_standard.go
|
||||
// 生成人:gfast
|
||||
// desc:摄像头(国标)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusCameraChineseStandard interface {
|
||||
List(ctx context.Context, req *system.BusCameraChineseStandardSearchReq) (res *system.BusCameraChineseStandardSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusCameraChineseStandardInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusCameraChineseStandardAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusCameraChineseStandardEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusCameraChineseStandard IBusCameraChineseStandard
|
||||
|
||||
func BusCameraChineseStandard() IBusCameraChineseStandard {
|
||||
if localBusCameraChineseStandard == nil {
|
||||
panic("implement not found for interface IBusCameraChineseStandard, forgot register?")
|
||||
}
|
||||
return localBusCameraChineseStandard
|
||||
}
|
||||
|
||||
func RegisterBusCameraChineseStandard(i IBusCameraChineseStandard) {
|
||||
localBusCameraChineseStandard = i
|
||||
}
|
||||
37
internal/app/system/service/bus_category.go
Normal file
37
internal/app/system/service/bus_category.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-10-07 15:52:19
|
||||
// 生成路径: internal/app/system/service/bus_category.go
|
||||
// 生成人:gfast
|
||||
// desc:题库_题库类别
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusCategory interface {
|
||||
List(ctx context.Context, req *system.BusCategorySearchReq) (res *system.BusCategorySearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusCategoryInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusCategoryAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusCategoryEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusCategory IBusCategory
|
||||
|
||||
func BusCategory() IBusCategory {
|
||||
if localBusCategory == nil {
|
||||
panic("implement not found for interface IBusCategory, forgot register?")
|
||||
}
|
||||
return localBusCategory
|
||||
}
|
||||
|
||||
func RegisterBusCategory(i IBusCategory) {
|
||||
localBusCategory = i
|
||||
}
|
||||
38
internal/app/system/service/bus_company.go
Normal file
38
internal/app/system/service/bus_company.go
Normal file
@ -0,0 +1,38 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-07-28 14:08:14
|
||||
// 生成路径: internal/app/system/service/bus_company.go
|
||||
// 生成人:gfast
|
||||
// desc:公司
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusCompany interface {
|
||||
List(ctx context.Context, req *system.BusCompanySearchReq) (res *system.BusCompanySearchRes, err error)
|
||||
GetByCompanyId(ctx context.Context, CompanyId int64) (res *model.BusCompanyInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusCompanyAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusCompanyEditReq) (err error)
|
||||
Delete(ctx context.Context, CompanyId []int64) (err error)
|
||||
AppList(ctx context.Context, req *system.BusCompanyAppSearchReq) (res *system.BusCompanyAppSearchRes, err error)
|
||||
}
|
||||
|
||||
var localBusCompany IBusCompany
|
||||
|
||||
func BusCompany() IBusCompany {
|
||||
if localBusCompany == nil {
|
||||
panic("implement not found for interface IBusCompany, forgot register?")
|
||||
}
|
||||
return localBusCompany
|
||||
}
|
||||
|
||||
func RegisterBusCompany(i IBusCompany) {
|
||||
localBusCompany = i
|
||||
}
|
||||
40
internal/app/system/service/bus_complaint_box.go
Normal file
40
internal/app/system/service/bus_complaint_box.go
Normal file
@ -0,0 +1,40 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-12-04 18:09:50
|
||||
// 生成路径: internal/app/system/service/bus_complaint_box.go
|
||||
// 生成人:gfast
|
||||
// desc:意见箱
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
wxSystem "github.com/tiger1103/gfast/v3/api/wxApplet/wxApplet"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusComplaintBox interface {
|
||||
List(ctx context.Context, req *system.BusComplaintBoxSearchReq) (res *system.BusComplaintBoxSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusComplaintBoxInfoRes, err error)
|
||||
//Add(ctx context.Context, req *system.BusComplaintBoxAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusComplaintBoxEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
AppletList(ctx context.Context, req *wxSystem.AppletComplaintBoxSearchReq) (res *wxSystem.AppletComplaintBoxSearchRes, err error)
|
||||
AppletAdd(ctx context.Context, req *wxSystem.AppletComplaintBoxAddReq) (err error)
|
||||
}
|
||||
|
||||
var localBusComplaintBox IBusComplaintBox
|
||||
|
||||
func BusComplaintBox() IBusComplaintBox {
|
||||
if localBusComplaintBox == nil {
|
||||
panic("implement not found for interface IBusComplaintBox, forgot register?")
|
||||
}
|
||||
return localBusComplaintBox
|
||||
}
|
||||
|
||||
func RegisterBusComplaintBox(i IBusComplaintBox) {
|
||||
localBusComplaintBox = i
|
||||
}
|
||||
37
internal/app/system/service/bus_construction_blacklist.go
Normal file
37
internal/app/system/service/bus_construction_blacklist.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-11-10 14:08:39
|
||||
// 生成路径: internal/app/system/service/bus_construction_blacklist.go
|
||||
// 生成人:gfast
|
||||
// desc:黑名单
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusConstructionBlacklist interface {
|
||||
List(ctx context.Context, req *system.BusConstructionBlacklistSearchReq) (res *system.BusConstructionBlacklistSearchRes, err error)
|
||||
GetByOpenid(ctx context.Context, Openid string) (res *model.BusConstructionBlacklistInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusConstructionBlacklistAddReq) (err error)
|
||||
Delete(ctx context.Context, Openid []string) (err error)
|
||||
BlackListFunc(ctx context.Context, req *system.BlackListReq) (res *system.BlackListRes, err error)
|
||||
}
|
||||
|
||||
var localBusConstructionBlacklist IBusConstructionBlacklist
|
||||
|
||||
func BusConstructionBlacklist() IBusConstructionBlacklist {
|
||||
if localBusConstructionBlacklist == nil {
|
||||
panic("implement not found for interface IBusConstructionBlacklist, forgot register?")
|
||||
}
|
||||
return localBusConstructionBlacklist
|
||||
}
|
||||
|
||||
func RegisterBusConstructionBlacklist(i IBusConstructionBlacklist) {
|
||||
localBusConstructionBlacklist = i
|
||||
}
|
||||
41
internal/app/system/service/bus_construction_log.go
Normal file
41
internal/app/system/service/bus_construction_log.go
Normal file
@ -0,0 +1,41 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-03-22 16:27:43
|
||||
// 生成路径: internal/app/system/service/bus_construction_log.go
|
||||
// 生成人:gfast
|
||||
// desc:施工日志
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/api/wxApplet/wxApplet"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusConstructionLog interface {
|
||||
List(ctx context.Context, req *system.BusConstructionLogSearchReq) (res *system.BusConstructionLogSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.AppletDetails, err error)
|
||||
Add(ctx context.Context, req *system.BusConstructionLogAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusConstructionLogEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
ConstructionLogAdd(ctx context.Context, req *wxApplet.ConstructionLogAddReq) (err error)
|
||||
ConstructionLogDetails(ctx context.Context, req *wxApplet.ConstructionLogDetailsReq) (res *wxApplet.ConstructionLogDetailsRes, err error)
|
||||
ConstructionLogList(ctx context.Context, req *wxApplet.ConstructionLogListReq) (res *wxApplet.ConstructionLogListRes, err error)
|
||||
}
|
||||
|
||||
var localBusConstructionLog IBusConstructionLog
|
||||
|
||||
func BusConstructionLog() IBusConstructionLog {
|
||||
if localBusConstructionLog == nil {
|
||||
panic("implement not found for interface IBusConstructionLog, forgot register?")
|
||||
}
|
||||
return localBusConstructionLog
|
||||
}
|
||||
|
||||
func RegisterBusConstructionLog(i IBusConstructionLog) {
|
||||
localBusConstructionLog = i
|
||||
}
|
||||
37
internal/app/system/service/bus_construction_project.go
Normal file
37
internal/app/system/service/bus_construction_project.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-07 10:17:50
|
||||
// 生成路径: internal/app/system/service/bus_construction_project.go
|
||||
// 生成人:gfast
|
||||
// desc:施工人员对应项目
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusConstructionProject interface {
|
||||
List(ctx context.Context, req *system.BusConstructionProjectSearchReq) (res *system.BusConstructionProjectSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint64) (res *model.BusConstructionProjectInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusConstructionProjectAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusConstructionProjectEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint64) (err error)
|
||||
}
|
||||
|
||||
var localBusConstructionProject IBusConstructionProject
|
||||
|
||||
func BusConstructionProject() IBusConstructionProject {
|
||||
if localBusConstructionProject == nil {
|
||||
panic("implement not found for interface IBusConstructionProject, forgot register?")
|
||||
}
|
||||
return localBusConstructionProject
|
||||
}
|
||||
|
||||
func RegisterBusConstructionProject(i IBusConstructionProject) {
|
||||
localBusConstructionProject = i
|
||||
}
|
||||
51
internal/app/system/service/bus_construction_user.go
Normal file
51
internal/app/system/service/bus_construction_user.go
Normal file
@ -0,0 +1,51 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-07 10:31:18
|
||||
// 生成路径: internal/app/system/service/bus_construction_user.go
|
||||
// 生成人:gfast
|
||||
// desc:施工人员
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/api/wxApplet/wxApplet"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusConstructionUser interface {
|
||||
DepartureRecordFunc(ctx context.Context, req *system.DepartureRecordReq) (res *system.DepartureRecordRes, err error)
|
||||
DepartureFunc(ctx context.Context, req *system.DepartureReq) (err error)
|
||||
List(ctx context.Context, req *system.BusConstructionUserSearchReq) (res *system.BusConstructionUserSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusConstructionUserInfoRes, err error)
|
||||
//Add(ctx context.Context, req *system.BusConstructionUserAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusConstructionUserEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
ExportSalaryFunc(ctx context.Context, req *system.ExportSalaryReq) (res *system.ExportSalaryRes, err error)
|
||||
OneClickOpenFunc(ctx context.Context, req *system.OneClickOpenReq) (err error)
|
||||
ClockingConditionFunc(ctx context.Context, req *system.ClockingConditionReq) (err error)
|
||||
TemplateExportFunc(ctx context.Context, req *system.TemplateExportReq) (path string, err error)
|
||||
ZipFolderuploadFunc(ctx context.Context, req *system.ZipFolderuploadReq) (err error)
|
||||
AppExitFunc(ctx context.Context, req *wxApplet.AppExitReq) (err error)
|
||||
AppResubmitTheExitAttachmentFunc(ctx context.Context, req *wxApplet.AppResubmitTheExitAttachmentReq) (err error)
|
||||
PcCollectDataForTwoWeeksFunc(ctx context.Context, req *system.PcCollectDataForTwoWeeksReq) (res *system.PcCollectDataForTwoWeeksRes, err error)
|
||||
PcSelectBelowProjectOfPersonnelFunc(ctx context.Context, req *system.PcSelectBelowProjectOfPersonnelReq) (res *system.PcSelectBelowProjectOfPersonnelRes, err error)
|
||||
PcQueryBasedOnOpenidFunc(ctx context.Context, req *system.PcQueryBasedOnOpenidReq) (res *system.PcQueryBasedOnOpenidRes, err error)
|
||||
AppRegisteredButNotVerifiedWithRealNameFunc(ctx context.Context, req *wxApplet.AppRegisteredButNotVerifiedWithRealNameReq) (res *wxApplet.AppRegisteredButNotVerifiedWithRealNameRes, err error)
|
||||
}
|
||||
|
||||
var localBusConstructionUser IBusConstructionUser
|
||||
|
||||
func BusConstructionUser() IBusConstructionUser {
|
||||
if localBusConstructionUser == nil {
|
||||
panic("implement not found for interface IBusConstructionUser, forgot register?")
|
||||
}
|
||||
return localBusConstructionUser
|
||||
}
|
||||
|
||||
func RegisterBusConstructionUser(i IBusConstructionUser) {
|
||||
localBusConstructionUser = i
|
||||
}
|
||||
38
internal/app/system/service/bus_construction_user_file.go
Normal file
38
internal/app/system/service/bus_construction_user_file.go
Normal file
@ -0,0 +1,38 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-07 10:17:41
|
||||
// 生成路径: internal/app/system/service/bus_construction_user_file.go
|
||||
// 生成人:gfast
|
||||
// desc:微信用户的文件存储
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusConstructionUserFile interface {
|
||||
List(ctx context.Context, req *system.BusConstructionUserFileSearchReq) (res *system.BusConstructionUserFileSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusConstructionUserFileInfoRes, err error)
|
||||
GetBySafetyId(ctx context.Context, req *system.BusConstructionUserFileGetSafetyFileReq) (res *system.BusConstructionUserFileGetSafetyFileRes, err error)
|
||||
Add(ctx context.Context, req *system.BusConstructionUserFileAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusConstructionUserFileEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusConstructionUserFile IBusConstructionUserFile
|
||||
|
||||
func BusConstructionUserFile() IBusConstructionUserFile {
|
||||
if localBusConstructionUserFile == nil {
|
||||
panic("implement not found for interface IBusConstructionUserFile, forgot register?")
|
||||
}
|
||||
return localBusConstructionUserFile
|
||||
}
|
||||
|
||||
func RegisterBusConstructionUserFile(i IBusConstructionUserFile) {
|
||||
localBusConstructionUserFile = i
|
||||
}
|
||||
37
internal/app/system/service/bus_construction_user_post.go
Normal file
37
internal/app/system/service/bus_construction_user_post.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-07 10:06:34
|
||||
// 生成路径: internal/app/system/service/bus_construction_user_post.go
|
||||
// 生成人:gfast
|
||||
// desc:施工人员岗位
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusConstructionUserPost interface {
|
||||
List(ctx context.Context, req *system.BusConstructionUserPostSearchReq) (res *system.BusConstructionUserPostSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint64) (res *model.BusConstructionUserPostInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusConstructionUserPostAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusConstructionUserPostEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint64) (err error)
|
||||
}
|
||||
|
||||
var localBusConstructionUserPost IBusConstructionUserPost
|
||||
|
||||
func BusConstructionUserPost() IBusConstructionUserPost {
|
||||
if localBusConstructionUserPost == nil {
|
||||
panic("implement not found for interface IBusConstructionUserPost, forgot register?")
|
||||
}
|
||||
return localBusConstructionUserPost
|
||||
}
|
||||
|
||||
func RegisterBusConstructionUserPost(i IBusConstructionUserPost) {
|
||||
localBusConstructionUserPost = i
|
||||
}
|
||||
37
internal/app/system/service/bus_corporate_events.go
Normal file
37
internal/app/system/service/bus_corporate_events.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-03-20 16:49:36
|
||||
// 生成路径: internal/app/system/service/bus_corporate_events.go
|
||||
// 生成人:gfast
|
||||
// desc:企业大事记
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusCorporateEvents interface {
|
||||
List(ctx context.Context, req *system.BusCorporateEventsSearchReq) (res *system.BusCorporateEventsSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusCorporateEventsInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusCorporateEventsAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusCorporateEventsEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusCorporateEvents IBusCorporateEvents
|
||||
|
||||
func BusCorporateEvents() IBusCorporateEvents {
|
||||
if localBusCorporateEvents == nil {
|
||||
panic("implement not found for interface IBusCorporateEvents, forgot register?")
|
||||
}
|
||||
return localBusCorporateEvents
|
||||
}
|
||||
|
||||
func RegisterBusCorporateEvents(i IBusCorporateEvents) {
|
||||
localBusCorporateEvents = i
|
||||
}
|
||||
37
internal/app/system/service/bus_design_audit.go
Normal file
37
internal/app/system/service/bus_design_audit.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-04-09 15:40:16
|
||||
// 生成路径: internal/app/system/service/bus_design_audit.go
|
||||
// 生成人:gfast
|
||||
// desc:设计审核(竣工、施工、可研)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusDesignAudit interface {
|
||||
List(ctx context.Context, req *system.BusDesignAuditSearchReq) (res *system.BusDesignAuditSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusDesignAuditInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusDesignAuditAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusDesignAuditEditReq) (err error)
|
||||
Delete(ctx context.Context, Id int64) (err error)
|
||||
}
|
||||
|
||||
var localBusDesignAudit IBusDesignAudit
|
||||
|
||||
func BusDesignAudit() IBusDesignAudit {
|
||||
if localBusDesignAudit == nil {
|
||||
panic("implement not found for interface IBusDesignAudit, forgot register?")
|
||||
}
|
||||
return localBusDesignAudit
|
||||
}
|
||||
|
||||
func RegisterBusDesignAudit(i IBusDesignAudit) {
|
||||
localBusDesignAudit = i
|
||||
}
|
||||
37
internal/app/system/service/bus_design_document.go
Normal file
37
internal/app/system/service/bus_design_document.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-07-29 16:31:29
|
||||
// 生成路径: internal/app/system/service/bus_design_document.go
|
||||
// 生成人:gfast
|
||||
// desc:设计管理
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusDesignDocument interface {
|
||||
List(ctx context.Context, req *system.BusDesignDocumentSearchReq) (res *system.BusDesignDocumentSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusDesignDocumentInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusDesignDocumentAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusDesignDocumentEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusDesignDocument IBusDesignDocument
|
||||
|
||||
func BusDesignDocument() IBusDesignDocument {
|
||||
if localBusDesignDocument == nil {
|
||||
panic("implement not found for interface IBusDesignDocument, forgot register?")
|
||||
}
|
||||
return localBusDesignDocument
|
||||
}
|
||||
|
||||
func RegisterBusDesignDocument(i IBusDesignDocument) {
|
||||
localBusDesignDocument = i
|
||||
}
|
||||
37
internal/app/system/service/bus_design_period_range.go
Normal file
37
internal/app/system/service/bus_design_period_range.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-04-11 17:28:54
|
||||
// 生成路径: internal/app/system/service/bus_design_period_range.go
|
||||
// 生成人:gfast
|
||||
// desc:设计-周期范围
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusDesignPeriodRange interface {
|
||||
List(ctx context.Context, req *system.BusDesignPeriodRangeSearchReq) (res *system.BusDesignPeriodRangeSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusDesignPeriodRangeInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusDesignPeriodRangeAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusDesignPeriodRangeEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusDesignPeriodRange IBusDesignPeriodRange
|
||||
|
||||
func BusDesignPeriodRange() IBusDesignPeriodRange {
|
||||
if localBusDesignPeriodRange == nil {
|
||||
panic("implement not found for interface IBusDesignPeriodRange, forgot register?")
|
||||
}
|
||||
return localBusDesignPeriodRange
|
||||
}
|
||||
|
||||
func RegisterBusDesignPeriodRange(i IBusDesignPeriodRange) {
|
||||
localBusDesignPeriodRange = i
|
||||
}
|
||||
38
internal/app/system/service/bus_engineering_quality.go
Normal file
38
internal/app/system/service/bus_engineering_quality.go
Normal file
@ -0,0 +1,38 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-07-29 09:31:22
|
||||
// 生成路径: internal/app/system/service/bus_engineering_quality.go
|
||||
// 生成人:gfast
|
||||
// desc:工程质量列
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusEngineeringQuality interface {
|
||||
List(ctx context.Context, req *system.BusEngineeringQualitySearchReq) (res *system.BusEngineeringQualitySearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint64) (res *model.BusEngineeringQualityInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusEngineeringQualityAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusEngineeringQualityEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint64) (err error)
|
||||
BusEngineeringQualityUploading(ctx context.Context, req *system.BusEngineeringQualityUploadingReq) (err error)
|
||||
}
|
||||
|
||||
var localBusEngineeringQuality IBusEngineeringQuality
|
||||
|
||||
func BusEngineeringQuality() IBusEngineeringQuality {
|
||||
if localBusEngineeringQuality == nil {
|
||||
panic("implement not found for interface IBusEngineeringQuality, forgot register?")
|
||||
}
|
||||
return localBusEngineeringQuality
|
||||
}
|
||||
|
||||
func RegisterBusEngineeringQuality(i IBusEngineeringQuality) {
|
||||
localBusEngineeringQuality = i
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-07-29 11:14:45
|
||||
// 生成路径: internal/app/system/service/bus_equipment_equipment_unpacking.go
|
||||
// 生成人:gfast
|
||||
// desc:开箱记录
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusEquipmentEquipmentUnpacking interface {
|
||||
List(ctx context.Context, req *system.BusEquipmentEquipmentUnpackingSearchReq) (res *system.BusEquipmentEquipmentUnpackingSearchRes, err error)
|
||||
GetByUnpackingId(ctx context.Context, UnpackingId int64) (res *model.BusEquipmentEquipmentUnpackingInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusEquipmentEquipmentUnpackingAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusEquipmentEquipmentUnpackingEditReq) (err error)
|
||||
Delete(ctx context.Context, UnpackingId []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusEquipmentEquipmentUnpacking IBusEquipmentEquipmentUnpacking
|
||||
|
||||
func BusEquipmentEquipmentUnpacking() IBusEquipmentEquipmentUnpacking {
|
||||
if localBusEquipmentEquipmentUnpacking == nil {
|
||||
panic("implement not found for interface IBusEquipmentEquipmentUnpacking, forgot register?")
|
||||
}
|
||||
return localBusEquipmentEquipmentUnpacking
|
||||
}
|
||||
|
||||
func RegisterBusEquipmentEquipmentUnpacking(i IBusEquipmentEquipmentUnpacking) {
|
||||
localBusEquipmentEquipmentUnpacking = i
|
||||
}
|
||||
43
internal/app/system/service/bus_equipment_materials.go
Normal file
43
internal/app/system/service/bus_equipment_materials.go
Normal file
@ -0,0 +1,43 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-07-29 11:14:16
|
||||
// 生成路径: internal/app/system/service/bus_equipment_materials.go
|
||||
// 生成人:gfast
|
||||
// desc:材料/设备名称
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusEquipmentMaterials interface {
|
||||
List(ctx context.Context, req *system.BusEquipmentMaterialsSearchReq) (res *system.BusEquipmentMaterialsSearchRes, err error)
|
||||
GetByEquipmentMaterialsId(ctx context.Context, EquipmentMaterialsId int64) (res *model.BusEquipmentMaterialsInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusEquipmentMaterialsAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusEquipmentMaterialsEditReq) (err error)
|
||||
Delete(ctx context.Context, EquipmentMaterialsId []int64) (err error)
|
||||
MaterialsFunc(ctx context.Context, req *system.MaterialsReq) (res *system.MaterialsRes, err error)
|
||||
ConditionFunc(ctx context.Context, req *system.ConditionReq) (res *system.ConditionRes, err error)
|
||||
AppAdd(ctx context.Context, req *system.BusEquipmentMaterialsAppAddReq) (err error)
|
||||
AppEdit(ctx context.Context, req *system.BusEquipmentMaterialsAppEditReq) (err error)
|
||||
AppList(ctx context.Context, req *system.BusEquipmentMaterialsAppSearchReq) (listRes *system.BusEquipmentMaterialsAppSearchRes, err error)
|
||||
AppGetById(ctx context.Context, equipmentMaterialsId int64) (res *model.BusEquipmentMaterialsAppFileInfoRes, err error)
|
||||
}
|
||||
|
||||
var localBusEquipmentMaterials IBusEquipmentMaterials
|
||||
|
||||
func BusEquipmentMaterials() IBusEquipmentMaterials {
|
||||
if localBusEquipmentMaterials == nil {
|
||||
panic("implement not found for interface IBusEquipmentMaterials, forgot register?")
|
||||
}
|
||||
return localBusEquipmentMaterials
|
||||
}
|
||||
|
||||
func RegisterBusEquipmentMaterials(i IBusEquipmentMaterials) {
|
||||
localBusEquipmentMaterials = i
|
||||
}
|
||||
34
internal/app/system/service/bus_equipment_materials_excle.go
Normal file
34
internal/app/system/service/bus_equipment_materials_excle.go
Normal file
@ -0,0 +1,34 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-09-13 14:21:30
|
||||
// 生成路径: internal/app/system/service/bus_equipment_materials_inventory.go
|
||||
// 生成人:gfast
|
||||
// desc:设备材料入库
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
)
|
||||
|
||||
type IBusEquipmentMaterialsExcel interface {
|
||||
List(ctx context.Context, req *system.BusEquipmentMaterialsExcelSearchReq) (listRes *system.BusEquipmentMaterialsExcelSearchRes, err error)
|
||||
Edit(ctx context.Context, req *system.BusEquipmentMaterialsExcelEditReq) (err error)
|
||||
Index(ctx context.Context, req *system.BusEquipmentMaterialsExcelIndexReq) (listRes *system.BusEquipmentMaterialsExcelIndexRes, err error)
|
||||
}
|
||||
|
||||
var localBusEquipmentMaterialsExcel IBusEquipmentMaterialsExcel
|
||||
|
||||
func BusEquipmentMaterialsExcel() IBusEquipmentMaterialsExcel {
|
||||
if localBusEquipmentMaterialsExcel == nil {
|
||||
panic("implement not found for interface IBusEquipmentMaterialsExcel, forgot register?")
|
||||
}
|
||||
return localBusEquipmentMaterialsExcel
|
||||
}
|
||||
|
||||
func RegisterBusEquipmentMaterialsExcel(i IBusEquipmentMaterialsExcel) {
|
||||
localBusEquipmentMaterialsExcel = i
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-09-13 14:21:30
|
||||
// 生成路径: internal/app/system/service/bus_equipment_materials_inventory.go
|
||||
// 生成人:gfast
|
||||
// desc:设备材料入库
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusEquipmentMaterialsInventory interface {
|
||||
List(ctx context.Context, req *system.BusEquipmentMaterialsInventorySearchReq) (res *system.BusEquipmentMaterialsInventorySearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusEquipmentMaterialsInventoryInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusEquipmentMaterialsInventoryAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusEquipmentMaterialsInventoryEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
AppAdd(ctx context.Context, req *system.BusEquipmentMaterialsInventoryAppAddReq) (err error)
|
||||
AppEdit(ctx context.Context, req *system.BusEquipmentMaterialsInventoryAppEditReq) (err error)
|
||||
AppList(ctx context.Context, req *system.BusEquipmentMaterialsInventoryAppSearchReq) (res *system.BusEquipmentMaterialsInventoryAppSearchRes, err error)
|
||||
AppGetById(ctx context.Context, id int64) (res *model.BusEquipmentMaterialsInventoryAppInfoRes, err error)
|
||||
AppDelete(ctx context.Context, ids []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusEquipmentMaterialsInventory IBusEquipmentMaterialsInventory
|
||||
|
||||
func BusEquipmentMaterialsInventory() IBusEquipmentMaterialsInventory {
|
||||
if localBusEquipmentMaterialsInventory == nil {
|
||||
panic("implement not found for interface IBusEquipmentMaterialsInventory, forgot register?")
|
||||
}
|
||||
return localBusEquipmentMaterialsInventory
|
||||
}
|
||||
|
||||
func RegisterBusEquipmentMaterialsInventory(i IBusEquipmentMaterialsInventory) {
|
||||
localBusEquipmentMaterialsInventory = i
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-07-28 15:27:53
|
||||
// 生成路径: internal/app/system/service/bus_equipment_materials_weight.go
|
||||
// 生成人:gfast
|
||||
// desc:计量单位
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusEquipmentMaterialsWeight interface {
|
||||
List(ctx context.Context, req *system.BusEquipmentMaterialsWeightSearchReq) (res *system.BusEquipmentMaterialsWeightSearchRes, err error)
|
||||
GetByWeightId(ctx context.Context, WeightId int64) (res *model.BusEquipmentMaterialsWeightInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusEquipmentMaterialsWeightAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusEquipmentMaterialsWeightEditReq) (err error)
|
||||
Delete(ctx context.Context, WeightId []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusEquipmentMaterialsWeight IBusEquipmentMaterialsWeight
|
||||
|
||||
func BusEquipmentMaterialsWeight() IBusEquipmentMaterialsWeight {
|
||||
if localBusEquipmentMaterialsWeight == nil {
|
||||
panic("implement not found for interface IBusEquipmentMaterialsWeight, forgot register?")
|
||||
}
|
||||
return localBusEquipmentMaterialsWeight
|
||||
}
|
||||
|
||||
func RegisterBusEquipmentMaterialsWeight(i IBusEquipmentMaterialsWeight) {
|
||||
localBusEquipmentMaterialsWeight = i
|
||||
}
|
||||
37
internal/app/system/service/bus_essential_information.go
Normal file
37
internal/app/system/service/bus_essential_information.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-03-20 19:38:54
|
||||
// 生成路径: internal/app/system/service/bus_essential_information.go
|
||||
// 生成人:gfast
|
||||
// desc:项目基本信息
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusEssentialInformation interface {
|
||||
List(ctx context.Context, req *system.BusEssentialInformationSearchReq) (res *system.BusEssentialInformationSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusEssentialInformationInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusEssentialInformationAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusEssentialInformationEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusEssentialInformation IBusEssentialInformation
|
||||
|
||||
func BusEssentialInformation() IBusEssentialInformation {
|
||||
if localBusEssentialInformation == nil {
|
||||
panic("implement not found for interface IBusEssentialInformation, forgot register?")
|
||||
}
|
||||
return localBusEssentialInformation
|
||||
}
|
||||
|
||||
func RegisterBusEssentialInformation(i IBusEssentialInformation) {
|
||||
localBusEssentialInformation = i
|
||||
}
|
||||
38
internal/app/system/service/bus_folder.go
Normal file
38
internal/app/system/service/bus_folder.go
Normal file
@ -0,0 +1,38 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-09-15 17:15:59
|
||||
// 生成路径: internal/app/system/service/bus_folder.go
|
||||
// 生成人:gfast
|
||||
// desc:文件夹
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusFolder interface {
|
||||
List(ctx context.Context, req *system.BusFolderSearchReq) (res *system.BusFolderSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusFolderInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusFolderAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusFolderEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
TreeFormListFunc(ctx context.Context, req *system.TreeFormListFuncReq) (res *system.TreeFormListFuncRes, err error)
|
||||
}
|
||||
|
||||
var localBusFolder IBusFolder
|
||||
|
||||
func BusFolder() IBusFolder {
|
||||
if localBusFolder == nil {
|
||||
panic("implement not found for interface IBusFolder, forgot register?")
|
||||
}
|
||||
return localBusFolder
|
||||
}
|
||||
|
||||
func RegisterBusFolder(i IBusFolder) {
|
||||
localBusFolder = i
|
||||
}
|
||||
37
internal/app/system/service/bus_folder_file.go
Normal file
37
internal/app/system/service/bus_folder_file.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-09-15 17:16:00
|
||||
// 生成路径: internal/app/system/service/bus_folder_file.go
|
||||
// 生成人:gfast
|
||||
// desc:文件
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusFolderFile interface {
|
||||
List(ctx context.Context, req *system.BusFolderFileSearchReq) (res *system.BusFolderFileSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusFolderFileInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusFolderFileAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusFolderFileEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusFolderFile IBusFolderFile
|
||||
|
||||
func BusFolderFile() IBusFolderFile {
|
||||
if localBusFolderFile == nil {
|
||||
panic("implement not found for interface IBusFolderFile, forgot register?")
|
||||
}
|
||||
return localBusFolderFile
|
||||
}
|
||||
|
||||
func RegisterBusFolderFile(i IBusFolderFile) {
|
||||
localBusFolderFile = i
|
||||
}
|
||||
47
internal/app/system/service/bus_hse_management.go
Normal file
47
internal/app/system/service/bus_hse_management.go
Normal file
@ -0,0 +1,47 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-03-28 14:53:05
|
||||
// 生成路径: internal/app/system/service/bus_hse_management.go
|
||||
// 生成人:gfast
|
||||
// desc:HSE-巡检工单
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
wxSystem "github.com/tiger1103/gfast/v3/api/wxApplet/wxApplet"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusHseManagement interface {
|
||||
List(ctx context.Context, req *system.BusHseManagementSearchReq) (res *system.BusHseManagementSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusHseManagementDetailsRes, err error)
|
||||
Add(ctx context.Context, req *system.BusHseManagementAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusHseManagementEditReq) (err error)
|
||||
EditReview(ctx context.Context, req *system.EditReviewReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
HseManagementAppletAddFunc(ctx context.Context, req *wxSystem.HseManagementAppletAddReq) (err error)
|
||||
HseManagementAppletAbarbeitungFunc(ctx context.Context, req *wxSystem.HseManagementAppletAbarbeitungReq) (err error)
|
||||
HseManagementAppletVerifyFunc(ctx context.Context, req *wxSystem.HseManagementAppletVerifyReq) (err error)
|
||||
HseManagementAppletListFunc(ctx context.Context, req *wxSystem.HseManagementAppletListReq) (res *wxSystem.HseManagementAppletListRes, err error)
|
||||
HseManagementAppletDetailsFunc(ctx context.Context, req *wxSystem.HseManagementAppletDetailsReq) (res *wxSystem.HseManagementAppletDetailsRes, err error)
|
||||
GisSafetyManagementFunc(ctx context.Context, req *system.GisSafetyManagementReq) (res *system.GisSafetyManagementRes, err error)
|
||||
GisSafetyManagementListFunc(ctx context.Context, req *system.GisSafetyManagementListReq) (res *system.GisSafetyManagementListRes, err error)
|
||||
SafetyLargeScreenDetails(ctx context.Context, req *system.SafetyLargeScreenDetailsReq) (res *system.SafetyLargeScreenDetailsRes, err error)
|
||||
}
|
||||
|
||||
var localBusHseManagement IBusHseManagement
|
||||
|
||||
func BusHseManagement() IBusHseManagement {
|
||||
if localBusHseManagement == nil {
|
||||
panic("implement not found for interface IBusHseManagement, forgot register?")
|
||||
}
|
||||
return localBusHseManagement
|
||||
}
|
||||
|
||||
func RegisterBusHseManagement(i IBusHseManagement) {
|
||||
localBusHseManagement = i
|
||||
}
|
||||
42
internal/app/system/service/bus_hse_security_log.go
Normal file
42
internal/app/system/service/bus_hse_security_log.go
Normal file
@ -0,0 +1,42 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-04-07 17:00:45
|
||||
// 生成路径: internal/app/system/service/bus_hse_security_log.go
|
||||
// 生成人:gfast
|
||||
// desc:HSE安全日志
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
wxSystem "github.com/tiger1103/gfast/v3/api/wxApplet/wxApplet"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusHseSecurityLog interface {
|
||||
List(ctx context.Context, req *system.BusHseSecurityLogSearchReq) (res *system.BusHseSecurityLogSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusHseSecurityLogInfoTwoRes, err error)
|
||||
AddText(ctx context.Context, req *system.BusHseSecurityLogAddTxetReq) (err error)
|
||||
AddFile(ctx context.Context, req *system.BusHseSecurityLogAddFileReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusHseSecurityLogEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
HseSecurityLogAppletAdd(ctx context.Context, req *wxSystem.HseSecurityLogAppletAddReq) (err error)
|
||||
HseSecurityLogAppletList(ctx context.Context, req *wxSystem.HseSecurityLogAppletListReq) (res *wxSystem.HseSecurityLogAppletListRes, err error)
|
||||
HseSecurityLogAppletDetails(ctx context.Context, req *wxSystem.HseSecurityLogAppletDetailsReq) (res *wxSystem.HseSecurityLogAppletDetailsRes, err error)
|
||||
}
|
||||
|
||||
var localBusHseSecurityLog IBusHseSecurityLog
|
||||
|
||||
func BusHseSecurityLog() IBusHseSecurityLog {
|
||||
if localBusHseSecurityLog == nil {
|
||||
panic("implement not found for interface IBusHseSecurityLog, forgot register?")
|
||||
}
|
||||
return localBusHseSecurityLog
|
||||
}
|
||||
|
||||
func RegisterBusHseSecurityLog(i IBusHseSecurityLog) {
|
||||
localBusHseSecurityLog = i
|
||||
}
|
||||
49
internal/app/system/service/bus_inspection_ticket.go
Normal file
49
internal/app/system/service/bus_inspection_ticket.go
Normal file
@ -0,0 +1,49 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-03-21 15:23:59
|
||||
// 生成路径: internal/app/system/service/bus_inspection_ticket.go
|
||||
// 生成人:gfast
|
||||
// desc:质量工单
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
wxSystem "github.com/tiger1103/gfast/v3/api/wxApplet/wxApplet"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusInspectionTicket interface {
|
||||
UpdataCorrector(ctx context.Context, req *system.UpdataCorrectorReq) (err error)
|
||||
List(ctx context.Context, req *system.BusInspectionTicketSearchReq) (res *system.BusInspectionTicketSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.AppletDetailsRes, err error)
|
||||
Add(ctx context.Context, req *system.BusInspectionTicketAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusInspectionTicketAbarbeitungReq) (err error)
|
||||
LargeScreenDetails(ctx context.Context, req *system.LargeScreenDetailsReq) (res *system.LargeScreenDetailsRes, err error)
|
||||
EditVerification(ctx context.Context, req *system.BusInspectionTicketVerificationReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
InspectionTicketAppletAddFunc(ctx context.Context, req *wxSystem.InspectionTicketAppletAddReq) (err error)
|
||||
InspectionTicketAppletAbarbeitungFunc(ctx context.Context, req *wxSystem.InspectionTicketAppletAbarbeitungReq) (err error)
|
||||
InspectionTicketAppletVerifyFunc(ctx context.Context, req *wxSystem.InspectionTicketAppletVerifyReq) (err error)
|
||||
InspectionTicketAppletListFunc(ctx context.Context, req *wxSystem.InspectionTicketAppletListReq) (res *wxSystem.InspectionTicketAppletListRes, err error)
|
||||
AcquisitionOfCorrectivePersonnelFunc(ctx context.Context, req *wxSystem.AcquisitionOfCorrectivePersonnelReq) (res *wxSystem.AcquisitionOfCorrectivePersonnelRes, err error)
|
||||
InspectionTicketAppletDetailsFunc(ctx context.Context, req *wxSystem.InspectionTicketAppletDetailsReq) (res *wxSystem.InspectionTicketAppletDetailsRes, err error)
|
||||
GisQualityManagementResFunc(ctx context.Context, req *system.GisQualityManagementReq) (res *system.GisQualityManagementRes, err error)
|
||||
GisQualityManagementListFunc(ctx context.Context, req *system.GisQualityManagementListReq) (res *system.GisQualityManagementListRes, err error)
|
||||
}
|
||||
|
||||
var localBusInspectionTicket IBusInspectionTicket
|
||||
|
||||
func BusInspectionTicket() IBusInspectionTicket {
|
||||
if localBusInspectionTicket == nil {
|
||||
panic("implement not found for interface IBusInspectionTicket, forgot register?")
|
||||
}
|
||||
return localBusInspectionTicket
|
||||
}
|
||||
|
||||
func RegisterBusInspectionTicket(i IBusInspectionTicket) {
|
||||
localBusInspectionTicket = i
|
||||
}
|
||||
40
internal/app/system/service/bus_machinery.go
Normal file
40
internal/app/system/service/bus_machinery.go
Normal file
@ -0,0 +1,40 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-07-29 14:02:01
|
||||
// 生成路径: internal/app/system/service/bus_machinery.go
|
||||
// 生成人:gfast
|
||||
// desc:机械
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusMachinery interface {
|
||||
List(ctx context.Context, req *system.BusMachinerySearchReq) (res *system.BusMachinerySearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint64) (res *model.BusMachineryInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusMachineryAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusMachineryEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint64) (err error)
|
||||
MachineNumberFunc(ctx context.Context, req *system.MachineNumberReq) (res *system.MachineNumberRes, err error)
|
||||
MechanicalConditionFunc(ctx context.Context, req *system.MechanicalConditionReq) (res *system.MechanicalConditionRes, err error)
|
||||
AppList(ctx context.Context, req *system.BusMachineryAppSearchReq) (listRes *system.BusMachineryAppSearchRes, err error)
|
||||
}
|
||||
|
||||
var localBusMachinery IBusMachinery
|
||||
|
||||
func BusMachinery() IBusMachinery {
|
||||
if localBusMachinery == nil {
|
||||
panic("implement not found for interface IBusMachinery, forgot register?")
|
||||
}
|
||||
return localBusMachinery
|
||||
}
|
||||
|
||||
func RegisterBusMachinery(i IBusMachinery) {
|
||||
localBusMachinery = i
|
||||
}
|
||||
41
internal/app/system/service/bus_machinery_detail.go
Normal file
41
internal/app/system/service/bus_machinery_detail.go
Normal file
@ -0,0 +1,41 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-10-12 11:41:32
|
||||
// 生成路径: internal/app/system/service/bus_machinery_detail.go
|
||||
// 生成人:gfast
|
||||
// desc:机械详情
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusMachineryDetail interface {
|
||||
List(ctx context.Context, req *system.BusMachineryDetailSearchReq) (res *system.BusMachineryDetailSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusMachineryDetailGetIdInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusMachineryDetailAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusMachineryDetailEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
AppList(ctx context.Context, req *system.BusMachineryDetailAppSearchReq) (listRes *system.BusMachineryDetailAppSearchRes, err error)
|
||||
AppAdd(ctx context.Context, req *system.BusMachineryDetailAppAddReq) (err error)
|
||||
AppEdit(ctx context.Context, req *system.BusMachineryDetailAppEditReq) (err error)
|
||||
AppGetById(ctx context.Context, id int64) (res *model.BusMachineryDetailAppGetIdInfoRes, err error)
|
||||
}
|
||||
|
||||
var localBusMachineryDetail IBusMachineryDetail
|
||||
|
||||
func BusMachineryDetail() IBusMachineryDetail {
|
||||
if localBusMachineryDetail == nil {
|
||||
panic("implement not found for interface IBusMachineryDetail, forgot register?")
|
||||
}
|
||||
return localBusMachineryDetail
|
||||
}
|
||||
|
||||
func RegisterBusMachineryDetail(i IBusMachineryDetail) {
|
||||
localBusMachineryDetail = i
|
||||
}
|
||||
42
internal/app/system/service/bus_payroll_list.go
Normal file
42
internal/app/system/service/bus_payroll_list.go
Normal file
@ -0,0 +1,42 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-11-20 13:51:38
|
||||
// 生成路径: internal/app/system/service/bus_payroll_list.go
|
||||
// 生成人:gfast
|
||||
// desc:工资(excel导入形成的)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusPayrollList interface {
|
||||
ImportExcelPaySheet(ctx context.Context, req *system.ImportExcelPaySheetReq) (err error)
|
||||
ReadAllImportedListData(ctx context.Context, req *system.ReadAllImportedListDataReq) (res *system.ReadAllImportedListDataRes, err error)
|
||||
GetTheSourceExcelAccordingToTheIdOfThePayroll(ctx context.Context, req *system.GetTheSourceExcelAccordingToTheIdOfThePayrollReq) (res *system.GetTheSourceExcelAccordingToTheIdOfThePayrollRes, err error)
|
||||
DeletePayroll(ctx context.Context, req *system.BusDeletePayrollReq) (err error)
|
||||
|
||||
List(ctx context.Context, req *system.BusPayrollListSearchReq) (res *system.BusPayrollListSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusPayrollListInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusPayrollListAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusPayrollListEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusPayrollList IBusPayrollList
|
||||
|
||||
func BusPayrollList() IBusPayrollList {
|
||||
if localBusPayrollList == nil {
|
||||
panic("implement not found for interface IBusPayrollList, forgot register?")
|
||||
}
|
||||
return localBusPayrollList
|
||||
}
|
||||
|
||||
func RegisterBusPayrollList(i IBusPayrollList) {
|
||||
localBusPayrollList = i
|
||||
}
|
||||
37
internal/app/system/service/bus_projectin_progress.go
Normal file
37
internal/app/system/service/bus_projectin_progress.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-03-20 19:45:19
|
||||
// 生成路径: internal/app/system/service/bus_projectin_progress.go
|
||||
// 生成人:gfast
|
||||
// desc:在建项目
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusProjectinProgress interface {
|
||||
List(ctx context.Context, req *system.BusProjectinProgressSearchReq) (res *system.BusProjectinProgressSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusProjectinProgressInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusProjectinProgressAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusProjectinProgressEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusProjectinProgress IBusProjectinProgress
|
||||
|
||||
func BusProjectinProgress() IBusProjectinProgress {
|
||||
if localBusProjectinProgress == nil {
|
||||
panic("implement not found for interface IBusProjectinProgress, forgot register?")
|
||||
}
|
||||
return localBusProjectinProgress
|
||||
}
|
||||
|
||||
func RegisterBusProjectinProgress(i IBusProjectinProgress) {
|
||||
localBusProjectinProgress = i
|
||||
}
|
||||
42
internal/app/system/service/bus_quality.go
Normal file
42
internal/app/system/service/bus_quality.go
Normal file
@ -0,0 +1,42 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-02 17:11:39
|
||||
// 生成路径: internal/app/system/service/bus_quality.go
|
||||
// 生成人:gfast
|
||||
// desc:质量文档管理
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusQuality interface {
|
||||
List(ctx context.Context, req *system.BusQualitySearchReq) (res *system.BusQualitySearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint64) (res *model.BusQualityInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusQualityAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusQualityEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint64) (err error)
|
||||
GraphFunc(ctx context.Context, req *system.GraphReq) (res *system.GraphRes, err error)
|
||||
GraphDataListFunc(ctx context.Context, req *system.GraphDataListReq) (res *system.GraphDataListRes, err error)
|
||||
QualityFunc(ctx context.Context, req *system.QualityReq) (res *system.QualityRes, err error)
|
||||
QualityDataListFunc(ctx context.Context, req *system.QualityDataListReq) (res *system.QualityDataListRes, err error)
|
||||
WxAddFunc(ctx context.Context, req *system.WxBusQualityAddReq) (err error)
|
||||
}
|
||||
|
||||
var localBusQuality IBusQuality
|
||||
|
||||
func BusQuality() IBusQuality {
|
||||
if localBusQuality == nil {
|
||||
panic("implement not found for interface IBusQuality, forgot register?")
|
||||
}
|
||||
return localBusQuality
|
||||
}
|
||||
|
||||
func RegisterBusQuality(i IBusQuality) {
|
||||
localBusQuality = i
|
||||
}
|
||||
37
internal/app/system/service/bus_question_bank.go
Normal file
37
internal/app/system/service/bus_question_bank.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-10-07 15:52:18
|
||||
// 生成路径: internal/app/system/service/bus_question_bank.go
|
||||
// 生成人:gfast
|
||||
// desc:题库
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusQuestionBank interface {
|
||||
List(ctx context.Context, req *system.BusQuestionBankSearchReq) (res *system.BusQuestionBankSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusQuestionBankInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusQuestionBankAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusQuestionBankEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusQuestionBank IBusQuestionBank
|
||||
|
||||
func BusQuestionBank() IBusQuestionBank {
|
||||
if localBusQuestionBank == nil {
|
||||
panic("implement not found for interface IBusQuestionBank, forgot register?")
|
||||
}
|
||||
return localBusQuestionBank
|
||||
}
|
||||
|
||||
func RegisterBusQuestionBank(i IBusQuestionBank) {
|
||||
localBusQuestionBank = i
|
||||
}
|
||||
38
internal/app/system/service/bus_question_save.go
Normal file
38
internal/app/system/service/bus_question_save.go
Normal file
@ -0,0 +1,38 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-11-01 17:33:04
|
||||
// 生成路径: internal/app/system/service/bus_question_save.go
|
||||
// 生成人:gfast
|
||||
// desc:用户试卷存储
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusQuestionSave interface {
|
||||
List(ctx context.Context, req *system.BusQuestionSaveSearchReq) (res *system.BusQuestionSaveSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusQuestionSaveInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusQuestionSaveAddReq) (res *system.BusQuestionSaveAddRes, err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
PassOrNotFunc(ctx context.Context, openid string) (res *system.PassOrNotRes, err error)
|
||||
WeChatPdfWoFunc(ctx context.Context, req *system.WeChatPdfWoReq) (res *system.WeChatPdfWoRes, err error)
|
||||
}
|
||||
|
||||
var localBusQuestionSave IBusQuestionSave
|
||||
|
||||
func BusQuestionSave() IBusQuestionSave {
|
||||
if localBusQuestionSave == nil {
|
||||
panic("implement not found for interface IBusQuestionSave, forgot register?")
|
||||
}
|
||||
return localBusQuestionSave
|
||||
}
|
||||
|
||||
func RegisterBusQuestionSave(i IBusQuestionSave) {
|
||||
localBusQuestionSave = i
|
||||
}
|
||||
37
internal/app/system/service/bus_questions_configuration.go
Normal file
37
internal/app/system/service/bus_questions_configuration.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-10-07 17:11:20
|
||||
// 生成路径: internal/app/system/service/bus_questions_configuration.go
|
||||
// 生成人:gfast
|
||||
// desc:题库配置
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusQuestionsConfiguration interface {
|
||||
List(ctx context.Context, req *system.BusQuestionsConfigurationSearchReq) (res *system.BusQuestionsConfigurationSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusQuestionsConfigurationInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusQuestionsConfigurationAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusQuestionsConfigurationEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusQuestionsConfiguration IBusQuestionsConfiguration
|
||||
|
||||
func BusQuestionsConfiguration() IBusQuestionsConfiguration {
|
||||
if localBusQuestionsConfiguration == nil {
|
||||
panic("implement not found for interface IBusQuestionsConfiguration, forgot register?")
|
||||
}
|
||||
return localBusQuestionsConfiguration
|
||||
}
|
||||
|
||||
func RegisterBusQuestionsConfiguration(i IBusQuestionsConfiguration) {
|
||||
localBusQuestionsConfiguration = i
|
||||
}
|
||||
46
internal/app/system/service/bus_reissue_a_card.go
Normal file
46
internal/app/system/service/bus_reissue_a_card.go
Normal file
@ -0,0 +1,46 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-02-02 15:18:48
|
||||
// 生成路径: internal/app/system/service/bus_reissue_a_card.go
|
||||
// 生成人:gfast
|
||||
// desc:施工人员补卡申请
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/api/wxApplet/wxApplet"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusReissueACard interface {
|
||||
List(ctx context.Context, req *system.BusReissueACardSearchReq) (res *system.BusReissueACardSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusReissueACardInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusReissueACardAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusReissueACardEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
ReissueACardWxAdd(ctx context.Context, req *wxApplet.ReissueACardWxAddReq) (err error)
|
||||
ReissueACardWxGetByIdFunc(ctx context.Context, req *wxApplet.ReissueACardWxGetByIdReq) (res *wxApplet.ReissueACardWxGetByIdRes, err error)
|
||||
ReissueACardWxGetByIdTeam(ctx context.Context, req *wxApplet.ReissueACardWxGetByIdTeamReq) (res *wxApplet.ReissueACardWxGetByIdTeamRes, err error)
|
||||
ReissueACardWxEditTeam(ctx context.Context, req *wxApplet.ReissueACardWxEditTeamReq) (err error)
|
||||
JobForemanSumnumberFunc(ctx context.Context, req *wxApplet.JobForemanSumnumberReq) (number int, err error)
|
||||
AppTheTeamLeaderSupplementCardApprovalListFun(ctx context.Context, req *model.AppTheTeamLeaderSupplementCardApprovalRes) (res *wxApplet.AppTheTeamLeaderSupplementCardApprovalListRes, err error)
|
||||
AppApprovalRecordDetailsFunc(ctx context.Context, req *wxApplet.AppApprovalRecordDetailsReq) (res *wxApplet.AppApprovalRecordDetailsRes, err error)
|
||||
//AdministratorApprovalFunc(ctx context.Context, req *wxApplet.AdministratorApprovalReq) (res *wxApplet.AdministratorApprovalRes, err error)
|
||||
}
|
||||
|
||||
var localBusReissueACard IBusReissueACard
|
||||
|
||||
func BusReissueACard() IBusReissueACard {
|
||||
if localBusReissueACard == nil {
|
||||
panic("implement not found for interface IBusReissueACard, forgot register?")
|
||||
}
|
||||
return localBusReissueACard
|
||||
}
|
||||
|
||||
func RegisterBusReissueACard(i IBusReissueACard) {
|
||||
localBusReissueACard = i
|
||||
}
|
||||
37
internal/app/system/service/bus_research_document.go
Normal file
37
internal/app/system/service/bus_research_document.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-07-29 16:04:06
|
||||
// 生成路径: internal/app/system/service/bus_research_document.go
|
||||
// 生成人:gfast
|
||||
// desc:科研文档
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusResearchDocument interface {
|
||||
List(ctx context.Context, req *system.BusResearchDocumentSearchReq) (res *system.BusResearchDocumentSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusResearchDocumentInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusResearchDocumentAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusResearchDocumentEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusResearchDocument IBusResearchDocument
|
||||
|
||||
func BusResearchDocument() IBusResearchDocument {
|
||||
if localBusResearchDocument == nil {
|
||||
panic("implement not found for interface IBusResearchDocument, forgot register?")
|
||||
}
|
||||
return localBusResearchDocument
|
||||
}
|
||||
|
||||
func RegisterBusResearchDocument(i IBusResearchDocument) {
|
||||
localBusResearchDocument = i
|
||||
}
|
||||
38
internal/app/system/service/bus_safety.go
Normal file
38
internal/app/system/service/bus_safety.go
Normal file
@ -0,0 +1,38 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-02 15:40:48
|
||||
// 生成路径: internal/app/system/service/bus_safety.go
|
||||
// 生成人:gfast
|
||||
// desc:安全例会管理
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusSafety interface {
|
||||
List(ctx context.Context, req *system.BusSafetySearchReq) (res *system.BusSafetySearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusSafetyInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusSafetyAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusSafetyEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
WxAddFunc(ctx context.Context, req *system.WxBusSafetyAddReq) (err error)
|
||||
}
|
||||
|
||||
var localBusSafety IBusSafety
|
||||
|
||||
func BusSafety() IBusSafety {
|
||||
if localBusSafety == nil {
|
||||
panic("implement not found for interface IBusSafety, forgot register?")
|
||||
}
|
||||
return localBusSafety
|
||||
}
|
||||
|
||||
func RegisterBusSafety(i IBusSafety) {
|
||||
localBusSafety = i
|
||||
}
|
||||
39
internal/app/system/service/bus_salary_details.go
Normal file
39
internal/app/system/service/bus_salary_details.go
Normal file
@ -0,0 +1,39 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-02-01 16:39:01
|
||||
// 生成路径: internal/app/system/service/bus_salary_details.go
|
||||
// 生成人:gfast
|
||||
// desc:员工工资考核记录
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusSalaryDetails interface {
|
||||
List(ctx context.Context, req *system.BusSalaryDetailsSearchReq) (res *system.BusSalaryDetailsSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusSalaryDetailsInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusSalaryDetailsAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusSalaryDetailsEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
GetByIdDetailFunc(ctx context.Context, req *system.GetByIdDetailFuncReq) (res *system.GetByIdDetailFuncRes, err error)
|
||||
SalarySheetFunc(ctx context.Context, req *system.SalarySheetFuncReq) (res *system.SalarySheetFuncRes, err error)
|
||||
}
|
||||
|
||||
var localBusSalaryDetails IBusSalaryDetails
|
||||
|
||||
func BusSalaryDetails() IBusSalaryDetails {
|
||||
if localBusSalaryDetails == nil {
|
||||
panic("implement not found for interface IBusSalaryDetails, forgot register?")
|
||||
}
|
||||
return localBusSalaryDetails
|
||||
}
|
||||
|
||||
func RegisterBusSalaryDetails(i IBusSalaryDetails) {
|
||||
localBusSalaryDetails = i
|
||||
}
|
||||
37
internal/app/system/service/bus_scheduled_plan_type.go
Normal file
37
internal/app/system/service/bus_scheduled_plan_type.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-07-29 17:39:12
|
||||
// 生成路径: internal/app/system/service/bus_scheduled_plan_type.go
|
||||
// 生成人:gfast
|
||||
// desc:施工进度分类
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusScheduledPlanType interface {
|
||||
List(ctx context.Context, req *system.BusScheduledPlanTypeSearchReq) (res *system.BusScheduledPlanTypeSearchRes, err error)
|
||||
GetByPlanTypeId(ctx context.Context, PlanTypeId int) (res *model.BusScheduledPlanTypeInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusScheduledPlanTypeAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusScheduledPlanTypeEditReq) (err error)
|
||||
Delete(ctx context.Context, PlanTypeId []int) (err error)
|
||||
}
|
||||
|
||||
var localBusScheduledPlanType IBusScheduledPlanType
|
||||
|
||||
func BusScheduledPlanType() IBusScheduledPlanType {
|
||||
if localBusScheduledPlanType == nil {
|
||||
panic("implement not found for interface IBusScheduledPlanType, forgot register?")
|
||||
}
|
||||
return localBusScheduledPlanType
|
||||
}
|
||||
|
||||
func RegisterBusScheduledPlanType(i IBusScheduledPlanType) {
|
||||
localBusScheduledPlanType = i
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-07-29 17:15:27
|
||||
// 生成路径: internal/app/system/service/bus_scheduled_plan_type_detail.go
|
||||
// 生成人:gfast
|
||||
// desc:施工进度月报,年报分类
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusScheduledPlanTypeDetail interface {
|
||||
List(ctx context.Context, req *system.BusScheduledPlanTypeDetailSearchReq) (res *system.BusScheduledPlanTypeDetailSearchRes, err error)
|
||||
GetByPlanTypeDetailId(ctx context.Context, PlanTypeDetailId int) (res *model.BusScheduledPlanTypeDetailInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusScheduledPlanTypeDetailAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusScheduledPlanTypeDetailEditReq) (err error)
|
||||
Delete(ctx context.Context, PlanTypeDetailId []int) (err error)
|
||||
}
|
||||
|
||||
var localBusScheduledPlanTypeDetail IBusScheduledPlanTypeDetail
|
||||
|
||||
func BusScheduledPlanTypeDetail() IBusScheduledPlanTypeDetail {
|
||||
if localBusScheduledPlanTypeDetail == nil {
|
||||
panic("implement not found for interface IBusScheduledPlanTypeDetail, forgot register?")
|
||||
}
|
||||
return localBusScheduledPlanTypeDetail
|
||||
}
|
||||
|
||||
func RegisterBusScheduledPlanTypeDetail(i IBusScheduledPlanTypeDetail) {
|
||||
localBusScheduledPlanTypeDetail = i
|
||||
}
|
||||
37
internal/app/system/service/bus_scheduled_weekly.go
Normal file
37
internal/app/system/service/bus_scheduled_weekly.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-02 15:28:49
|
||||
// 生成路径: internal/app/system/service/bus_scheduled_weekly.go
|
||||
// 生成人:gfast
|
||||
// desc:周报
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusScheduledWeekly interface {
|
||||
List(ctx context.Context, req *system.BusScheduledWeeklySearchReq) (res *system.BusScheduledWeeklySearchRes, err error)
|
||||
GetByPlanWeeklyId(ctx context.Context, PlanWeeklyId int64) (res *model.BusScheduledWeeklyInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusScheduledWeeklyAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusScheduledWeeklyEditReq) (err error)
|
||||
Delete(ctx context.Context, PlanWeeklyId []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusScheduledWeekly IBusScheduledWeekly
|
||||
|
||||
func BusScheduledWeekly() IBusScheduledWeekly {
|
||||
if localBusScheduledWeekly == nil {
|
||||
panic("implement not found for interface IBusScheduledWeekly, forgot register?")
|
||||
}
|
||||
return localBusScheduledWeekly
|
||||
}
|
||||
|
||||
func RegisterBusScheduledWeekly(i IBusScheduledWeekly) {
|
||||
localBusScheduledWeekly = i
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-02 15:21:55
|
||||
// 生成路径: internal/app/system/service/bus_scheduled_weekly_photovoltaic.go
|
||||
// 生成人:gfast
|
||||
// desc:周报-光伏板
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusScheduledWeeklyPhotovoltaic interface {
|
||||
List(ctx context.Context, req *system.BusScheduledWeeklyPhotovoltaicSearchReq) (res *system.BusScheduledWeeklyPhotovoltaicSearchRes, err error)
|
||||
GetByPhotovoltaicId(ctx context.Context, PhotovoltaicId int64) (res *model.BusScheduledWeeklyPhotovoltaicInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusScheduledWeeklyPhotovoltaicAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusScheduledWeeklyPhotovoltaicEditReq) (err error)
|
||||
Delete(ctx context.Context, PhotovoltaicId []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusScheduledWeeklyPhotovoltaic IBusScheduledWeeklyPhotovoltaic
|
||||
|
||||
func BusScheduledWeeklyPhotovoltaic() IBusScheduledWeeklyPhotovoltaic {
|
||||
if localBusScheduledWeeklyPhotovoltaic == nil {
|
||||
panic("implement not found for interface IBusScheduledWeeklyPhotovoltaic, forgot register?")
|
||||
}
|
||||
return localBusScheduledWeeklyPhotovoltaic
|
||||
}
|
||||
|
||||
func RegisterBusScheduledWeeklyPhotovoltaic(i IBusScheduledWeeklyPhotovoltaic) {
|
||||
localBusScheduledWeeklyPhotovoltaic = i
|
||||
}
|
||||
37
internal/app/system/service/bus_standing_book.go
Normal file
37
internal/app/system/service/bus_standing_book.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-07-29 11:36:04
|
||||
// 生成路径: internal/app/system/service/bus_standing_book.go
|
||||
// 生成人:gfast
|
||||
// desc:台账
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusStandingBook interface {
|
||||
List(ctx context.Context, req *system.BusStandingBookSearchReq) (res *system.BusStandingBookSearchRes, err error)
|
||||
GetByStandingBookId(ctx context.Context, StandingBookId int64) (res *model.BusStandingBookInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusStandingBookAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusStandingBookEditReq) (err error)
|
||||
Delete(ctx context.Context, StandingBookId []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusStandingBook IBusStandingBook
|
||||
|
||||
func BusStandingBook() IBusStandingBook {
|
||||
if localBusStandingBook == nil {
|
||||
panic("implement not found for interface IBusStandingBook, forgot register?")
|
||||
}
|
||||
return localBusStandingBook
|
||||
}
|
||||
|
||||
func RegisterBusStandingBook(i IBusStandingBook) {
|
||||
localBusStandingBook = i
|
||||
}
|
||||
38
internal/app/system/service/bus_tour.go
Normal file
38
internal/app/system/service/bus_tour.go
Normal file
@ -0,0 +1,38 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-10-10 12:11:05
|
||||
// 生成路径: internal/app/system/service/bus_tour.go
|
||||
// 生成人:gfast
|
||||
// desc:煤科巡视-故障记录
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusTour interface {
|
||||
List(ctx context.Context, req *system.BusTourSearchReq) (res *system.BusTourSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusTourInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusTourAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusTourEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
ListAll(ctx context.Context, req *system.BusTourSearchAllReq) (res *system.BusTourSearchAllRes, err error)
|
||||
}
|
||||
|
||||
var localBusTour IBusTour
|
||||
|
||||
func BusTour() IBusTour {
|
||||
if localBusTour == nil {
|
||||
panic("implement not found for interface IBusTour, forgot register?")
|
||||
}
|
||||
return localBusTour
|
||||
}
|
||||
|
||||
func RegisterBusTour(i IBusTour) {
|
||||
localBusTour = i
|
||||
}
|
||||
37
internal/app/system/service/bus_type_of_wage.go
Normal file
37
internal/app/system/service/bus_type_of_wage.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-09-05 10:07:11
|
||||
// 生成路径: internal/app/system/service/bus_type_of_wage.go
|
||||
// 生成人:gfast
|
||||
// desc:工种薪水
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusTypeOfWage interface {
|
||||
List(ctx context.Context, req *system.BusTypeOfWageSearchReq) (res *system.BusTypeOfWageSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusTypeOfWageInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusTypeOfWageAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusTypeOfWageEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusTypeOfWage IBusTypeOfWage
|
||||
|
||||
func BusTypeOfWage() IBusTypeOfWage {
|
||||
if localBusTypeOfWage == nil {
|
||||
panic("implement not found for interface IBusTypeOfWage, forgot register?")
|
||||
}
|
||||
return localBusTypeOfWage
|
||||
}
|
||||
|
||||
func RegisterBusTypeOfWage(i IBusTypeOfWage) {
|
||||
localBusTypeOfWage = i
|
||||
}
|
||||
37
internal/app/system/service/bus_violation_level.go
Normal file
37
internal/app/system/service/bus_violation_level.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-11-20 11:18:36
|
||||
// 生成路径: internal/app/system/service/bus_violation_level.go
|
||||
// 生成人:gfast
|
||||
// desc:违章等级
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusViolationLevel interface {
|
||||
List(ctx context.Context, req *system.BusViolationLevelSearchReq) (res *system.BusViolationLevelSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusViolationLevelInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusViolationLevelAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusViolationLevelEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusViolationLevel IBusViolationLevel
|
||||
|
||||
func BusViolationLevel() IBusViolationLevel {
|
||||
if localBusViolationLevel == nil {
|
||||
panic("implement not found for interface IBusViolationLevel, forgot register?")
|
||||
}
|
||||
return localBusViolationLevel
|
||||
}
|
||||
|
||||
func RegisterBusViolationLevel(i IBusViolationLevel) {
|
||||
localBusViolationLevel = i
|
||||
}
|
||||
51
internal/app/system/service/bus_violation_record.go
Normal file
51
internal/app/system/service/bus_violation_record.go
Normal file
@ -0,0 +1,51 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-11-20 11:18:37
|
||||
// 生成路径: internal/app/system/service/bus_violation_record.go
|
||||
// 生成人:gfast
|
||||
// desc:违章记录
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
wxSystem "github.com/tiger1103/gfast/v3/api/wxApplet/wxApplet"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusViolationRecord interface {
|
||||
List(ctx context.Context, req *system.BusViolationRecordSearchReq) (res *system.BusViolationRecordSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusViolationRecordInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusViolationRecordAddReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
WxList(ctx context.Context, req *wxSystem.BusViolationRecordSearchReq) (res *wxSystem.BusViolationRecordSearchRes, err error)
|
||||
WxEdit(ctx context.Context, req *wxSystem.BusViolationRecordEditReq) (err error)
|
||||
WxAdd(ctx context.Context, req *wxSystem.WxBusViolationRecordAddReq) (err error)
|
||||
SelectTheViolatorFunc(ctx context.Context, req *system.BSelectTheViolatorReq) (err error)
|
||||
WxListTwo(ctx context.Context, req *wxSystem.BusViolationRecordSearchTwoReq) (res *wxSystem.BusViolationRecordSearchTwoRes, err error)
|
||||
WxDetails(ctx context.Context, req *wxSystem.WxBusViolationRecordDetailsReq) (res *wxSystem.WxBusViolationRecordDetailsRes, err error)
|
||||
AppAiInformFunc(ctx context.Context, req *wxSystem.AppAiInformReq) (err error)
|
||||
AppGetsAllThePeopleUnderTheCurrentPersonsProjectFunc(ctx context.Context, req *wxSystem.AppGetsAllThePeopleUnderTheCurrentPersonsProjectReq) (res *wxSystem.AppGetsAllThePeopleUnderTheCurrentPersonsProjectRes, err error)
|
||||
AppWorkOrderPcListFunc(ctx context.Context, req *wxSystem.AppWorkOrderPcListReq) (res *wxSystem.AppWorkOrderPcListRes, err error)
|
||||
AppWorkOrderParticularsFunc(ctx context.Context, req *wxSystem.AppWorkOrderParticularsReq) (res *wxSystem.AppWorkOrderParticularsRes, err error)
|
||||
AppRectificationReplyFunc(ctx context.Context, req *wxSystem.AppRectificationReplyReq) (err error)
|
||||
AppReviewFuncFunc(ctx context.Context, req *wxSystem.AppReviewReq) (err error)
|
||||
AppWorkOrderAppListFunc(ctx context.Context, req *wxSystem.AppWorkOrderAppListReq) (res *wxSystem.AppWorkOrderPcListRes, err error)
|
||||
AppSafetyHazardTodayFunc(ctx context.Context, req *wxSystem.AppSafetyHazardTodayReq) (res *wxSystem.AppSafetyHazardTodayRes, err error)
|
||||
}
|
||||
|
||||
var localBusViolationRecord IBusViolationRecord
|
||||
|
||||
func BusViolationRecord() IBusViolationRecord {
|
||||
if localBusViolationRecord == nil {
|
||||
panic("implement not found for interface IBusViolationRecord, forgot register?")
|
||||
}
|
||||
return localBusViolationRecord
|
||||
}
|
||||
|
||||
func RegisterBusViolationRecord(i IBusViolationRecord) {
|
||||
localBusViolationRecord = i
|
||||
}
|
||||
37
internal/app/system/service/bus_weekly_security_report.go
Normal file
37
internal/app/system/service/bus_weekly_security_report.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-04-02 18:03:23
|
||||
// 生成路径: internal/app/system/service/bus_weekly_security_report.go
|
||||
// 生成人:gfast
|
||||
// desc:安全周期
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IBusWeeklySecurityReport interface {
|
||||
List(ctx context.Context, req *system.BusWeeklySecurityReportSearchReq) (res *system.BusWeeklySecurityReportSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.BusWeeklySecurityReportInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.BusWeeklySecurityReportAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.BusWeeklySecurityReportEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localBusWeeklySecurityReport IBusWeeklySecurityReport
|
||||
|
||||
func BusWeeklySecurityReport() IBusWeeklySecurityReport {
|
||||
if localBusWeeklySecurityReport == nil {
|
||||
panic("implement not found for interface IBusWeeklySecurityReport, forgot register?")
|
||||
}
|
||||
return localBusWeeklySecurityReport
|
||||
}
|
||||
|
||||
func RegisterBusWeeklySecurityReport(i IBusWeeklySecurityReport) {
|
||||
localBusWeeklySecurityReport = i
|
||||
}
|
||||
40
internal/app/system/service/comment_list.go
Normal file
40
internal/app/system/service/comment_list.go
Normal file
@ -0,0 +1,40 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-05-14 10:21:06
|
||||
// 生成路径: internal/app/system/service/comment_list.go
|
||||
// 生成人:gfast
|
||||
// desc:App消息-评论
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type ICommentList interface {
|
||||
List(ctx context.Context, req *system.CommentListSearchReq) (res *system.CommentListSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint) (res *model.CommentListInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.CommentListAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.CommentListEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint) (err error)
|
||||
// GetSelfList 获取自己的评论列表
|
||||
GetSelfList(ctx context.Context, req *system.CommentListSelfReq) (*system.CommentListSelfRes, error)
|
||||
}
|
||||
|
||||
var localCommentList ICommentList
|
||||
|
||||
func CommentList() ICommentList {
|
||||
if localCommentList == nil {
|
||||
panic("implement not found for interface ICommentList, forgot register?")
|
||||
}
|
||||
return localCommentList
|
||||
}
|
||||
|
||||
func RegisterCommentList(i ICommentList) {
|
||||
localCommentList = i
|
||||
}
|
||||
37
internal/app/system/service/comments.go
Normal file
37
internal/app/system/service/comments.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-04-23 14:47:24
|
||||
// 生成路径: internal/app/system/service/comments.go
|
||||
// 生成人:gfast
|
||||
// desc:App通知公告评论
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IComments interface {
|
||||
List(ctx context.Context, req *system.CommentsSearchReq) (res *system.CommentsSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint) (res *model.CommentsInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.CommentsAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.CommentsEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint) (err error)
|
||||
}
|
||||
|
||||
var localComments IComments
|
||||
|
||||
func Comments() IComments {
|
||||
if localComments == nil {
|
||||
panic("implement not found for interface IComments, forgot register?")
|
||||
}
|
||||
return localComments
|
||||
}
|
||||
|
||||
func RegisterComments(i IComments) {
|
||||
localComments = i
|
||||
}
|
||||
37
internal/app/system/service/construction_details.go
Normal file
37
internal/app/system/service/construction_details.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-03-13 18:10:56
|
||||
// 生成路径: internal/app/system/service/construction_details.go
|
||||
// 生成人:gfast
|
||||
// desc:施工类别详情
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IConstructionDetails interface {
|
||||
List(ctx context.Context, req *system.ConstructionDetailsSearchReq) (res *system.ConstructionDetailsSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint64) (res *model.ConstructionDetailsInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.ConstructionDetailsAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.ConstructionDetailsEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint64) (err error)
|
||||
}
|
||||
|
||||
var localConstructionDetails IConstructionDetails
|
||||
|
||||
func ConstructionDetails() IConstructionDetails {
|
||||
if localConstructionDetails == nil {
|
||||
panic("implement not found for interface IConstructionDetails, forgot register?")
|
||||
}
|
||||
return localConstructionDetails
|
||||
}
|
||||
|
||||
func RegisterConstructionDetails(i IConstructionDetails) {
|
||||
localConstructionDetails = i
|
||||
}
|
||||
37
internal/app/system/service/construction_project.go
Normal file
37
internal/app/system/service/construction_project.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-03-13 17:36:45
|
||||
// 生成路径: internal/app/system/service/construction_project.go
|
||||
// 生成人:gfast
|
||||
// desc:施工项目
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IConstructionProject interface {
|
||||
List(ctx context.Context, req *system.ConstructionProjectSearchReq) (res *system.ConstructionProjectSearchRes, err error)
|
||||
GetByConstructionId(ctx context.Context, ConstructionId uint64) (res *model.ConstructionProjectInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.ConstructionProjectAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.ConstructionProjectEditReq) (err error)
|
||||
Delete(ctx context.Context, ConstructionId []uint64) (err error)
|
||||
}
|
||||
|
||||
var localConstructionProject IConstructionProject
|
||||
|
||||
func ConstructionProject() IConstructionProject {
|
||||
if localConstructionProject == nil {
|
||||
panic("implement not found for interface IConstructionProject, forgot register?")
|
||||
}
|
||||
return localConstructionProject
|
||||
}
|
||||
|
||||
func RegisterConstructionProject(i IConstructionProject) {
|
||||
localConstructionProject = i
|
||||
}
|
||||
34
internal/app/system/service/context.go
Normal file
34
internal/app/system/service/context.go
Normal file
@ -0,0 +1,34 @@
|
||||
// ================================================================================
|
||||
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||||
// You can delete these comments if you wish manually maintain this interface file.
|
||||
// ================================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/gogf/gf/v2/net/ghttp"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IContext interface {
|
||||
Init(r *ghttp.Request, customCtx *model.Context)
|
||||
Get(ctx context.Context) *model.Context
|
||||
SetUser(ctx context.Context, ctxUser *model.ContextUser)
|
||||
GetLoginUser(ctx context.Context) *model.ContextUser
|
||||
GetUserId(ctx context.Context) uint64
|
||||
}
|
||||
|
||||
var localContext IContext
|
||||
|
||||
func Context() IContext {
|
||||
if localContext == nil {
|
||||
panic("implement not found for interface IContext, forgot register?")
|
||||
}
|
||||
return localContext
|
||||
}
|
||||
|
||||
func RegisterContext(i IContext) {
|
||||
localContext = i
|
||||
}
|
||||
39
internal/app/system/service/device.go
Normal file
39
internal/app/system/service/device.go
Normal file
@ -0,0 +1,39 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-11-24 09:57:07
|
||||
// 生成路径: internal/app/system/service/device.go
|
||||
// 生成人:gfast
|
||||
// desc:安全帽设备(java)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
)
|
||||
|
||||
type IDevice interface {
|
||||
List(ctx context.Context, req *system.DeviceSearchReq) (res *system.DeviceSearchRes, err error)
|
||||
AllList(ctx context.Context, req *system.DeviceSearchAllReq) (res *system.DeviceSearchAllRes, err error)
|
||||
HelmetListFunc(ctx context.Context, req *system.HelmetListReq) (res *system.HelmetListRes, err error)
|
||||
GetByDevNum(ctx context.Context, req *system.DeviceGetReq) (res *system.DeviceGetRes, err error)
|
||||
Add(ctx context.Context, req *system.DeviceAddReq) (err error)
|
||||
RemoveRelationFunc(ctx context.Context, req *system.RemoveRelationReq) (err error)
|
||||
Delete(ctx context.Context, DevNum []string) (err error)
|
||||
ScheduleTimeFunc(ctx context.Context, req *system.ScheduleTimeReq) (res *system.ScheduleTimeRes, err error)
|
||||
}
|
||||
|
||||
var localDevice IDevice
|
||||
|
||||
func Device() IDevice {
|
||||
if localDevice == nil {
|
||||
panic("implement not found for interface IDevice, forgot register?")
|
||||
}
|
||||
return localDevice
|
||||
}
|
||||
|
||||
func RegisterDevice(i IDevice) {
|
||||
localDevice = i
|
||||
}
|
||||
38
internal/app/system/service/device_preset.go
Normal file
38
internal/app/system/service/device_preset.go
Normal file
@ -0,0 +1,38 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-03-01 12:50:08
|
||||
// 生成路径: internal/app/system/service/device_preset.go
|
||||
// 生成人:gfast
|
||||
// desc:预置位
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IDevicePreset interface {
|
||||
List(ctx context.Context, req *system.DevicePresetSearchReq) (res *system.DevicePresetSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint) (res *model.DevicePresetInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.DevicePresetAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.DevicePresetEditReq) (err error)
|
||||
Delete(ctx context.Context, DeviceSerial string, Indexs []int) (err error)
|
||||
}
|
||||
|
||||
var localDevicePreset IDevicePreset
|
||||
|
||||
func DevicePreset() IDevicePreset {
|
||||
if localDevicePreset == nil {
|
||||
panic("implement not found for interface IDevicePreset, forgot register?")
|
||||
}
|
||||
return localDevicePreset
|
||||
}
|
||||
|
||||
func RegisterDevicePreset(i IDevicePreset) {
|
||||
localDevicePreset = i
|
||||
}
|
||||
41
internal/app/system/service/document.go
Normal file
41
internal/app/system/service/document.go
Normal file
@ -0,0 +1,41 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-09-16 10:32:04
|
||||
// 生成路径: internal/app/system/service/document.go
|
||||
// 生成人:gfast
|
||||
// desc:母板
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IDocument interface {
|
||||
List(ctx context.Context, req *system.DocumentSearchReq) (res *system.DocumentSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int) (res *model.DocumentInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.DocumentAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.DocumentEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int) (err error)
|
||||
TreeStructureFunc(ctx context.Context, req *system.TreeStructureReq) (res *system.TreeStructureRes, err error)
|
||||
AllList(ctx context.Context, req *system.AllDocumentSearchReq) (res *system.AllDocumentSearchRes, err error)
|
||||
TemplateRecycleBinFunc(ctx context.Context, req *system.TemplateRecycleBinReq) (err error)
|
||||
NewFolderFunc(ctx context.Context, req *system.NewFolderReq) (err error)
|
||||
}
|
||||
|
||||
var localDocument IDocument
|
||||
|
||||
func Document() IDocument {
|
||||
if localDocument == nil {
|
||||
panic("implement not found for interface IDocument, forgot register?")
|
||||
}
|
||||
return localDocument
|
||||
}
|
||||
|
||||
func RegisterDocument(i IDocument) {
|
||||
localDocument = i
|
||||
}
|
||||
43
internal/app/system/service/document_completion.go
Normal file
43
internal/app/system/service/document_completion.go
Normal file
@ -0,0 +1,43 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-03-15 10:25:00
|
||||
// 生成路径: internal/app/system/service/document_completion.go
|
||||
// 生成人:gfast
|
||||
// desc:竣工图
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IDocumentCompletion interface {
|
||||
List(ctx context.Context, req *system.DocumentCompletionSearchReq) (res *system.DocumentCompletionSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res []*model.SelectTabNameAndTabIdByDateRes, err error)
|
||||
Add(ctx context.Context, req *system.DocumentCompletionAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.DocumentCompletionEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
CompletionNewFolderDataFunc(ctx context.Context, req *system.CompletionNewFolderDataReq) (err error)
|
||||
TreeStructureFunc(ctx context.Context, req *system.DocumentTreeStructureReq) (res *system.DocumentTreeStructureRes, err error)
|
||||
SelectByPidFunc(ctx context.Context, req *system.SelectByPidReq) (res *system.SelectByPidRes, err error)
|
||||
CompletionDataRecyclingStationFunc(ctx context.Context, req *system.CompletionDataRecyclingStationReq) (err error)
|
||||
RecycleBinListFunc(ctx context.Context, req *system.RecycleBinListReq) (res *system.RecycleBinListRes, err error)
|
||||
AuditDataListFunc(ctx context.Context, req *system.AuditDataListReq) (res *system.AuditDataListRes, err error)
|
||||
}
|
||||
|
||||
var localDocumentCompletion IDocumentCompletion
|
||||
|
||||
func DocumentCompletion() IDocumentCompletion {
|
||||
if localDocumentCompletion == nil {
|
||||
panic("implement not found for interface IDocumentCompletion, forgot register?")
|
||||
}
|
||||
return localDocumentCompletion
|
||||
}
|
||||
|
||||
func RegisterDocumentCompletion(i IDocumentCompletion) {
|
||||
localDocumentCompletion = i
|
||||
}
|
||||
45
internal/app/system/service/document_data.go
Normal file
45
internal/app/system/service/document_data.go
Normal file
@ -0,0 +1,45 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-12-27 09:30:04
|
||||
// 生成路径: internal/app/system/service/document_data.go
|
||||
// 生成人:gfast
|
||||
// desc:工程资料>资料
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IDocumentData interface {
|
||||
List(ctx context.Context, req *system.DocumentDataSearchReq) (res *system.DocumentDataSearchRes, err error)
|
||||
AllList(ctx context.Context, req *system.AllDocumentDataSearchReq) (res *system.AllDocumentDataSearchRes, err error)
|
||||
SonFileList(ctx context.Context, req *system.SonFileReq) (res *system.SonFileRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.DocumentDataInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.DocumentDataAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.DocumentDataEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
TreeStructureDataFunc(ctx context.Context, req *system.TreeStructureDataReq) (res *system.TreeStructureDataRes, err error)
|
||||
OnlineImportFunc(ctx context.Context, req *system.OnlineImportReq) (err error)
|
||||
OnlineMobileFunc(ctx context.Context, req *system.OnlineMobileReq) (err error)
|
||||
DataRecyclingStationFunc(ctx context.Context, req *system.DataRecyclingStationReq) (err error)
|
||||
NewFolderDataFunc(ctx context.Context, req *system.NewFolderDataReq) (err error)
|
||||
DataFileQueryFunc(ctx context.Context, req *system.DataFileQueryReq) (res *system.DataFileQueryRes, err error)
|
||||
}
|
||||
|
||||
var localDocumentData IDocumentData
|
||||
|
||||
func DocumentData() IDocumentData {
|
||||
if localDocumentData == nil {
|
||||
panic("implement not found for interface IDocumentData, forgot register?")
|
||||
}
|
||||
return localDocumentData
|
||||
}
|
||||
|
||||
func RegisterDocumentData(i IDocumentData) {
|
||||
localDocumentData = i
|
||||
}
|
||||
42
internal/app/system/service/document_production_drawing.go
Normal file
42
internal/app/system/service/document_production_drawing.go
Normal file
@ -0,0 +1,42 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-03-15 10:24:54
|
||||
// 生成路径: internal/app/system/service/document_production_drawing.go
|
||||
// 生成人:gfast
|
||||
// desc:施工图
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IDocumentProductionDrawing interface {
|
||||
List(ctx context.Context, req *system.DocumentProductionDrawingSearchReq) (res *system.DocumentProductionDrawingSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res []*model.SelectTabNameAndTabIdByDateRes, err error)
|
||||
Add(ctx context.Context, req *system.DocumentProductionDrawingAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.DocumentProductionDrawingEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
NewFolderDataFunc(ctx context.Context, req *system.ProductionDrawingNewFolderDataReq) (err error)
|
||||
TreeStructureFunc(ctx context.Context, req *system.ProductionDrawingTreeStructureReq) (res *system.ProductionDrawingTreeStructureRes, err error)
|
||||
SelectByPidFunc(ctx context.Context, req *system.ProductionDrawingSelectByPidReq) (res *system.ProductionDrawingSelectByPidRes, err error)
|
||||
RecyclingStationFunc(ctx context.Context, req *system.ProductionDrawingDataRecyclingStationReq) (err error)
|
||||
RecycleBinListFunc(ctx context.Context, req *system.ProductionDrawingRecycleBinListReq) (res *system.ProductionDrawingRecycleBinListRes, err error)
|
||||
}
|
||||
|
||||
var localDocumentProductionDrawing IDocumentProductionDrawing
|
||||
|
||||
func DocumentProductionDrawing() IDocumentProductionDrawing {
|
||||
if localDocumentProductionDrawing == nil {
|
||||
panic("implement not found for interface IDocumentProductionDrawing, forgot register?")
|
||||
}
|
||||
return localDocumentProductionDrawing
|
||||
}
|
||||
|
||||
func RegisterDocumentProductionDrawing(i IDocumentProductionDrawing) {
|
||||
localDocumentProductionDrawing = i
|
||||
}
|
||||
36
internal/app/system/service/document_project.go
Normal file
36
internal/app/system/service/document_project.go
Normal file
@ -0,0 +1,36 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-09-16 10:32:03
|
||||
// 生成路径: internal/app/system/service/document_project.go
|
||||
// 生成人:gfast
|
||||
// desc:项目模板
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
type IDocumentProject interface {
|
||||
//List(ctx context.Context, req *system.DocumentProjectSearchReq) (res *system.DocumentProjectSearchRes, err error)
|
||||
//GetById(ctx context.Context, Id int) (res *model.DocumentProjectInfoRes, err error)
|
||||
//Add(ctx context.Context, req *system.DocumentProjectAddReq) (err error)
|
||||
//Edit(ctx context.Context, req *system.DocumentProjectEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int) (err error)
|
||||
//TreeStructureFunc(ctx context.Context, req *system.TreeStructureReq) (res *system.TreeStructureRes, err error)
|
||||
}
|
||||
|
||||
var localDocumentProject IDocumentProject
|
||||
|
||||
func DocumentProject() IDocumentProject {
|
||||
if localDocumentProject == nil {
|
||||
panic("implement not found for interface IDocumentProject, forgot register?")
|
||||
}
|
||||
return localDocumentProject
|
||||
}
|
||||
|
||||
func RegisterDocumentProject(i IDocumentProject) {
|
||||
localDocumentProject = i
|
||||
}
|
||||
44
internal/app/system/service/document_quality_meeting.go
Normal file
44
internal/app/system/service/document_quality_meeting.go
Normal file
@ -0,0 +1,44 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-03-25 16:43:56
|
||||
// 生成路径: internal/app/system/service/document_quality_meeting.go
|
||||
// 生成人:gfast
|
||||
// desc:质量会议
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IDocumentQualityMeeting interface {
|
||||
List(ctx context.Context, req *system.DocumentQualityMeetingSearchReq) (res *system.DocumentQualityMeetingSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res []*model.SelectTabNameAndTabIdByDateRes, err error)
|
||||
Add(ctx context.Context, req *system.DocumentQualityMeetingAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.DocumentQualityMeetingEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
|
||||
CompletionNewFolderDataFunc(ctx context.Context, req *system.DocumentQualityNewFolderDataReq) (err error)
|
||||
TreeStructureFunc(ctx context.Context, req *system.DocumentQualityTreeStructureReq) (res *system.DocumentQualityTreeStructureRes, err error)
|
||||
SelectByPidFunc(ctx context.Context, req *system.DocumentQualitySelectByPidReq) (res *system.DocumentQualitySelectByPidRes, err error)
|
||||
CompletionDataRecyclingStationFunc(ctx context.Context, req *system.DocumentQualityDataRecyclingStationReq) (err error)
|
||||
RecycleBinListFunc(ctx context.Context, req *system.DocumentQualityRecycleBinListReq) (res *system.DocumentQualityRecycleBinListRes, err error)
|
||||
}
|
||||
|
||||
var localDocumentQualityMeeting IDocumentQualityMeeting
|
||||
|
||||
func DocumentQualityMeeting() IDocumentQualityMeeting {
|
||||
if localDocumentQualityMeeting == nil {
|
||||
panic("implement not found for interface IDocumentQualityMeeting, forgot register?")
|
||||
}
|
||||
return localDocumentQualityMeeting
|
||||
}
|
||||
|
||||
func RegisterDocumentQualityMeeting(i IDocumentQualityMeeting) {
|
||||
localDocumentQualityMeeting = i
|
||||
}
|
||||
42
internal/app/system/service/document_report.go
Normal file
42
internal/app/system/service/document_report.go
Normal file
@ -0,0 +1,42 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-03-15 10:24:21
|
||||
// 生成路径: internal/app/system/service/document_report.go
|
||||
// 生成人:gfast
|
||||
// desc:科研及专题报告
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IDocumentReport interface {
|
||||
List(ctx context.Context, req *system.DocumentReportSearchReq) (res *system.DocumentReportSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.DocumentReportInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.DocumentReportAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.DocumentReportEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
CompletionNewFolderDataFunc(ctx context.Context, req *system.ReportNewFolderDataReq) (err error)
|
||||
TreeStructureFunc(ctx context.Context, req *system.ReportTreeStructureReq) (res *system.ReportTreeStructureRes, err error)
|
||||
SelectByPidFunc(ctx context.Context, req *system.ReportSelectByPidReq) (res *system.ReportSelectByPidRes, err error)
|
||||
CompletionDataRecyclingStationFunc(ctx context.Context, req *system.ReportDataRecyclingStationReq) (err error)
|
||||
RecycleBinListFunc(ctx context.Context, req *system.ReportRecycleBinListReq) (res *system.ReportRecycleBinListRes, err error)
|
||||
}
|
||||
|
||||
var localDocumentReport IDocumentReport
|
||||
|
||||
func DocumentReport() IDocumentReport {
|
||||
if localDocumentReport == nil {
|
||||
panic("implement not found for interface IDocumentReport, forgot register?")
|
||||
}
|
||||
return localDocumentReport
|
||||
}
|
||||
|
||||
func RegisterDocumentReport(i IDocumentReport) {
|
||||
localDocumentReport = i
|
||||
}
|
||||
53
internal/app/system/service/document_safety_meeting.go
Normal file
53
internal/app/system/service/document_safety_meeting.go
Normal file
@ -0,0 +1,53 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-04-09 11:40:21
|
||||
// 生成路径: internal/app/system/service/document_safety_meeting.go
|
||||
// 生成人:gfast
|
||||
// desc:安全会议
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IDocumentSafetyMeeting interface {
|
||||
List(ctx context.Context, req *system.DocumentSafetyMeetingSearchReq) (res *system.DocumentSafetyMeetingSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.DocumentSafetyMeetingInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.DocumentSafetyMeetingAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.DocumentSafetyMeetingEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
|
||||
// 新建文件夹
|
||||
CompletionNewFolderDataFunc(ctx context.Context, req *system.DocumentSafetyNewFolderDataReq) (err error)
|
||||
|
||||
// 树形结构
|
||||
TreeStructureFunc(ctx context.Context, req *system.DocumentSafetyTreeStructureReq) (res *system.DocumentQualityTreeStructureRes, err error)
|
||||
|
||||
// 根据父级ID查询
|
||||
SelectByPidFunc(ctx context.Context, req *system.DocumentSafetySelectByPidReq) (res *system.DocumentQualitySelectByPidRes, err error)
|
||||
|
||||
// 数据回收站
|
||||
CompletionDataRecyclingStationFunc(ctx context.Context, req *system.DocumentSafetyDataRecyclingStationReq) (err error)
|
||||
|
||||
// 回收站列表
|
||||
RecycleBinListFunc(ctx context.Context, req *system.DocumentSafetyRecycleBinListReq) (res *system.DocumentQualityRecycleBinListRes, err error)
|
||||
}
|
||||
|
||||
var localDocumentSafetyMeeting IDocumentSafetyMeeting
|
||||
|
||||
func DocumentSafetyMeeting() IDocumentSafetyMeeting {
|
||||
if localDocumentSafetyMeeting == nil {
|
||||
panic("implement not found for interface IDocumentSafetyMeeting, forgot register?")
|
||||
}
|
||||
return localDocumentSafetyMeeting
|
||||
}
|
||||
|
||||
func RegisterDocumentSafetyMeeting(i IDocumentSafetyMeeting) {
|
||||
localDocumentSafetyMeeting = i
|
||||
}
|
||||
38
internal/app/system/service/manage_airline.go
Normal file
38
internal/app/system/service/manage_airline.go
Normal file
@ -0,0 +1,38 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-12-11 16:10:19
|
||||
// 生成路径: internal/app/system/service/manage_airline.go
|
||||
// 生成人:gfast
|
||||
// desc:航线
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IManageAirline interface {
|
||||
List(ctx context.Context, req *system.ManageAirlineSearchReq) (res *system.ManageAirlineSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.ManageAirlineInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.ManageAirlineAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.ManageAirlineEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
RouteUploadFunc(ctx context.Context, req *system.RouteUploadReq) (err error)
|
||||
}
|
||||
|
||||
var localManageAirline IManageAirline
|
||||
|
||||
func ManageAirline() IManageAirline {
|
||||
if localManageAirline == nil {
|
||||
panic("implement not found for interface IManageAirline, forgot register?")
|
||||
}
|
||||
return localManageAirline
|
||||
}
|
||||
|
||||
func RegisterManageAirline(i IManageAirline) {
|
||||
localManageAirline = i
|
||||
}
|
||||
38
internal/app/system/service/manage_device.go
Normal file
38
internal/app/system/service/manage_device.go
Normal file
@ -0,0 +1,38 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-11-14 10:53:21
|
||||
// 生成路径: internal/app/system/service/manage_device.go
|
||||
// 生成人:gfast
|
||||
// desc:设备信息
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IManageDevice interface {
|
||||
List(ctx context.Context, req *system.ManageDeviceSearchReq) (res *system.ManageDeviceSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint64) (res *model.ManageDeviceInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.ManageDeviceAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.ManageDeviceEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint64) (err error)
|
||||
NoPageList(ctx context.Context, req *system.NoPageListSearchReq) (res *system.NoPageListSearchRes, err error)
|
||||
}
|
||||
|
||||
var localManageDevice IManageDevice
|
||||
|
||||
func ManageDevice() IManageDevice {
|
||||
if localManageDevice == nil {
|
||||
panic("implement not found for interface IManageDevice, forgot register?")
|
||||
}
|
||||
return localManageDevice
|
||||
}
|
||||
|
||||
func RegisterManageDevice(i IManageDevice) {
|
||||
localManageDevice = i
|
||||
}
|
||||
37
internal/app/system/service/manage_operation_log.go
Normal file
37
internal/app/system/service/manage_operation_log.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-06-21 15:23:29
|
||||
// 生成路径: internal/app/system/service/manage_operation_log.go
|
||||
// 生成人:gfast
|
||||
// desc:无人机指令日志
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IManageOperationLog interface {
|
||||
List(ctx context.Context, req *system.ManageOperationLogSearchReq) (res *system.ManageOperationLogSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.ManageOperationLogInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.ManageOperationLogAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.ManageOperationLogEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localManageOperationLog IManageOperationLog
|
||||
|
||||
func ManageOperationLog() IManageOperationLog {
|
||||
if localManageOperationLog == nil {
|
||||
panic("implement not found for interface IManageOperationLog, forgot register?")
|
||||
}
|
||||
return localManageOperationLog
|
||||
}
|
||||
|
||||
func RegisterManageOperationLog(i IManageOperationLog) {
|
||||
localManageOperationLog = i
|
||||
}
|
||||
37
internal/app/system/service/manage_task.go
Normal file
37
internal/app/system/service/manage_task.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-12-12 15:21:22
|
||||
// 生成路径: internal/app/system/service/manage_task.go
|
||||
// 生成人:gfast
|
||||
// desc:航线任务下发
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IManageTask interface {
|
||||
List(ctx context.Context, req *system.ManageTaskSearchReq) (res *system.ManageTaskSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.ManageTaskInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.ManageTaskAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.ManageTaskEditReq) (err error)
|
||||
Delete(ctx context.Context, Id int64) (err error)
|
||||
}
|
||||
|
||||
var localManageTask IManageTask
|
||||
|
||||
func ManageTask() IManageTask {
|
||||
if localManageTask == nil {
|
||||
panic("implement not found for interface IManageTask, forgot register?")
|
||||
}
|
||||
return localManageTask
|
||||
}
|
||||
|
||||
func RegisterManageTask(i IManageTask) {
|
||||
localManageTask = i
|
||||
}
|
||||
37
internal/app/system/service/manage_task_cron.go
Normal file
37
internal/app/system/service/manage_task_cron.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-06-04 14:33:05
|
||||
// 生成路径: internal/app/system/service/manage_task_cron.go
|
||||
// 生成人:gfast
|
||||
// desc:航线任务定时飞行
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IManageTaskCron interface {
|
||||
List(ctx context.Context, req *system.ManageTaskCronSearchReq) (res *system.ManageTaskCronSearchRes, err error)
|
||||
GetById(ctx context.Context, sn string) (res *model.ManageTaskCronInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.ManageTaskCronAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.ManageTaskCronEditReq) (err error)
|
||||
Delete(ctx context.Context, sn []string) (err error)
|
||||
}
|
||||
|
||||
var localManageTaskCron IManageTaskCron
|
||||
|
||||
func ManageTaskCron() IManageTaskCron {
|
||||
if localManageTaskCron == nil {
|
||||
panic("implement not found for interface IManageTaskCron, forgot register?")
|
||||
}
|
||||
return localManageTaskCron
|
||||
}
|
||||
|
||||
func RegisterManageTaskCron(i IManageTaskCron) {
|
||||
localManageTaskCron = i
|
||||
}
|
||||
41
internal/app/system/service/manage_task_record.go
Normal file
41
internal/app/system/service/manage_task_record.go
Normal file
@ -0,0 +1,41 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-12-12 17:56:19
|
||||
// 生成路径: internal/app/system/service/manage_task_record.go
|
||||
// 生成人:gfast
|
||||
// desc:航线任务下发-记录
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IManageTaskRecord interface {
|
||||
UpDataResource(ctx context.Context, req *system.UpDataResourceReq) (err error)
|
||||
GetAiResult(ctx context.Context, req *system.GetAiResultReq) (res *system.GetAiResultRes, err error)
|
||||
List(ctx context.Context, req *system.ManageTaskRecordSearchReq) (res *system.ManageTaskRecordSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.ManageTaskRecordInfoRes, err error)
|
||||
FlighttaskResourceGetFunc(ctx context.Context, req *system.ManageTaskRecordDeleteReq) (err error)
|
||||
|
||||
// 提交AI识别结果
|
||||
ConfirmAiResult(ctx context.Context, req *system.ConfirmAiResultReq) (err error)
|
||||
}
|
||||
|
||||
var localManageTaskRecord IManageTaskRecord
|
||||
|
||||
func ManageTaskRecord() IManageTaskRecord {
|
||||
if localManageTaskRecord == nil {
|
||||
panic("implement not found for interface IManageTaskRecord, forgot register?")
|
||||
}
|
||||
return localManageTaskRecord
|
||||
}
|
||||
|
||||
func RegisterManageTaskRecord(i IManageTaskRecord) {
|
||||
localManageTaskRecord = i
|
||||
}
|
||||
39
internal/app/system/service/manage_task_record_resource.go
Normal file
39
internal/app/system/service/manage_task_record_resource.go
Normal file
@ -0,0 +1,39 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-05-30 17:07:01
|
||||
// 生成路径: internal/app/system/service/manage_task_record_resource.go
|
||||
// 生成人:gfast
|
||||
// desc:下发记录回传的媒体文件
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IManageTaskRecordResource interface {
|
||||
List(ctx context.Context, req *system.ManageTaskRecordResourceSearchReq) (res *system.ManageTaskRecordResourceSearchRes, err error)
|
||||
ObtainResourcesAccordingToFlightId(ctx context.Context, flightId string) (res *system.ObtainResourcesAccordingToFlightIdRes, err error)
|
||||
GetByFlightId(ctx context.Context, FlightId string) (res *model.ManageTaskRecordResourceInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.ManageTaskRecordResourceAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.ManageTaskRecordResourceEditReq) (err error)
|
||||
Delete(ctx context.Context, FlightId []string) (err error)
|
||||
DownloadAccordingToMysqlFunc(ctx context.Context, FlightId string) (err error)
|
||||
}
|
||||
|
||||
var localManageTaskRecordResource IManageTaskRecordResource
|
||||
|
||||
func ManageTaskRecordResource() IManageTaskRecordResource {
|
||||
if localManageTaskRecordResource == nil {
|
||||
panic("implement not found for interface IManageTaskRecordResource, forgot register?")
|
||||
}
|
||||
return localManageTaskRecordResource
|
||||
}
|
||||
|
||||
func RegisterManageTaskRecordResource(i IManageTaskRecordResource) {
|
||||
localManageTaskRecordResource = i
|
||||
}
|
||||
37
internal/app/system/service/manage_task_result.go
Normal file
37
internal/app/system/service/manage_task_result.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-10-21 11:29:13
|
||||
// 生成路径: internal/app/system/service/manage_task_result.go
|
||||
// 生成人:gfast
|
||||
// desc:AI识别到的数据
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IManageTaskResult interface {
|
||||
List(ctx context.Context, req *system.ManageTaskResultSearchReq) (res *system.ManageTaskResultSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint) (res *model.ManageTaskResultInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.ManageTaskResultAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.ManageTaskResultEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint) (err error)
|
||||
}
|
||||
|
||||
var localManageTaskResult IManageTaskResult
|
||||
|
||||
func ManageTaskResult() IManageTaskResult {
|
||||
if localManageTaskResult == nil {
|
||||
panic("implement not found for interface IManageTaskResult, forgot register?")
|
||||
}
|
||||
return localManageTaskResult
|
||||
}
|
||||
|
||||
func RegisterManageTaskResult(i IManageTaskResult) {
|
||||
localManageTaskResult = i
|
||||
}
|
||||
37
internal/app/system/service/manage_workspace.go
Normal file
37
internal/app/system/service/manage_workspace.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-11-14 10:53:20
|
||||
// 生成路径: internal/app/system/service/manage_workspace.go
|
||||
// 生成人:gfast
|
||||
// desc:工作空间
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IManageWorkspace interface {
|
||||
List(ctx context.Context, req *system.ManageWorkspaceSearchReq) (res *system.ManageWorkspaceSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint64) (res *model.ManageWorkspaceInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.ManageWorkspaceAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.ManageWorkspaceEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint64) (err error)
|
||||
}
|
||||
|
||||
var localManageWorkspace IManageWorkspace
|
||||
|
||||
func ManageWorkspace() IManageWorkspace {
|
||||
if localManageWorkspace == nil {
|
||||
panic("implement not found for interface IManageWorkspace, forgot register?")
|
||||
}
|
||||
return localManageWorkspace
|
||||
}
|
||||
|
||||
func RegisterManageWorkspace(i IManageWorkspace) {
|
||||
localManageWorkspace = i
|
||||
}
|
||||
37
internal/app/system/service/master_schedule.go
Normal file
37
internal/app/system/service/master_schedule.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-10-08 09:38:35
|
||||
// 生成路径: internal/app/system/service/master_schedule.go
|
||||
// 生成人:gfast
|
||||
// desc:总进度计划
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IMasterSchedule interface {
|
||||
List(ctx context.Context, req *system.MasterScheduleSearchReq) (res *system.MasterScheduleSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int) (res *model.MasterScheduleInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.MasterScheduleAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.MasterScheduleEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int) (err error)
|
||||
}
|
||||
|
||||
var localMasterSchedule IMasterSchedule
|
||||
|
||||
func MasterSchedule() IMasterSchedule {
|
||||
if localMasterSchedule == nil {
|
||||
panic("implement not found for interface IMasterSchedule, forgot register?")
|
||||
}
|
||||
return localMasterSchedule
|
||||
}
|
||||
|
||||
func RegisterMasterSchedule(i IMasterSchedule) {
|
||||
localMasterSchedule = i
|
||||
}
|
||||
30
internal/app/system/service/middleware.go
Normal file
30
internal/app/system/service/middleware.go
Normal file
@ -0,0 +1,30 @@
|
||||
// ================================================================================
|
||||
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||||
// You can delete these comments if you wish manually maintain this interface file.
|
||||
// ================================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/net/ghttp"
|
||||
)
|
||||
|
||||
type IMiddleware interface {
|
||||
Ctx(r *ghttp.Request)
|
||||
Auth(r *ghttp.Request)
|
||||
Blacklist(r *ghttp.Request)
|
||||
EngineeringDataPermission(r *ghttp.Request)
|
||||
}
|
||||
|
||||
var localMiddleware IMiddleware
|
||||
|
||||
func Middleware() IMiddleware {
|
||||
if localMiddleware == nil {
|
||||
panic("implement not found for interface IMiddleware, forgot register?")
|
||||
}
|
||||
return localMiddleware
|
||||
}
|
||||
|
||||
func RegisterMiddleware(i IMiddleware) {
|
||||
localMiddleware = i
|
||||
}
|
||||
37
internal/app/system/service/notification_recipients.go
Normal file
37
internal/app/system/service/notification_recipients.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-04-11 16:58:12
|
||||
// 生成路径: internal/app/system/service/notification_recipients.go
|
||||
// 生成人:gfast
|
||||
// desc:通知接收
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type INotificationRecipients interface {
|
||||
List(ctx context.Context, req *system.NotificationRecipientsSearchReq) (res *system.NotificationRecipientsSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint) (res *model.NotificationRecipientsInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.NotificationRecipientsAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.NotificationRecipientsEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint) (err error)
|
||||
}
|
||||
|
||||
var localNotificationRecipients INotificationRecipients
|
||||
|
||||
func NotificationRecipients() INotificationRecipients {
|
||||
if localNotificationRecipients == nil {
|
||||
panic("implement not found for interface INotificationRecipients, forgot register?")
|
||||
}
|
||||
return localNotificationRecipients
|
||||
}
|
||||
|
||||
func RegisterNotificationRecipients(i INotificationRecipients) {
|
||||
localNotificationRecipients = i
|
||||
}
|
||||
37
internal/app/system/service/notifications.go
Normal file
37
internal/app/system/service/notifications.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-04-11 16:56:36
|
||||
// 生成路径: internal/app/system/service/notifications.go
|
||||
// 生成人:gfast
|
||||
// desc:通知信息
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type INotifications interface {
|
||||
List(ctx context.Context, req *system.NotificationsSearchReq) (res *system.NotificationsSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint) (res *model.NotificationsInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.NotificationsAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.NotificationsEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint) (err error)
|
||||
}
|
||||
|
||||
var localNotifications INotifications
|
||||
|
||||
func Notifications() INotifications {
|
||||
if localNotifications == nil {
|
||||
panic("implement not found for interface INotifications, forgot register?")
|
||||
}
|
||||
return localNotifications
|
||||
}
|
||||
|
||||
func RegisterNotifications(i INotifications) {
|
||||
localNotifications = i
|
||||
}
|
||||
36
internal/app/system/service/personal.go
Normal file
36
internal/app/system/service/personal.go
Normal file
@ -0,0 +1,36 @@
|
||||
// ================================================================================
|
||||
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||||
// You can delete these comments if you wish manually maintain this interface file.
|
||||
// ================================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
)
|
||||
|
||||
type (
|
||||
IPersonal interface {
|
||||
GetPersonalInfo(ctx context.Context, req *system.PersonalInfoReq) (res *system.PersonalInfoRes, err error)
|
||||
EditPersonal(ctx context.Context, req *system.PersonalEditReq) (user *model.LoginUserRes, err error)
|
||||
ResetPwdPersonal(ctx context.Context, req *system.PersonalResetPwdReq) (res *system.PersonalResetPwdRes, err error)
|
||||
}
|
||||
)
|
||||
|
||||
var (
|
||||
localPersonal IPersonal
|
||||
)
|
||||
|
||||
func Personal() IPersonal {
|
||||
if localPersonal == nil {
|
||||
panic("implement not found for interface IPersonal, forgot register?")
|
||||
}
|
||||
return localPersonal
|
||||
}
|
||||
|
||||
func RegisterPersonal(i IPersonal) {
|
||||
localPersonal = i
|
||||
}
|
||||
37
internal/app/system/service/plan_daily.go
Normal file
37
internal/app/system/service/plan_daily.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-09-26 14:31:07
|
||||
// 生成路径: internal/app/system/service/plan_daily.go
|
||||
// 生成人:gfast
|
||||
// desc:日报
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IPlanDaily interface {
|
||||
List(ctx context.Context, req *system.PlanDailySearchReq) (res *system.PlanDailySearchRes, err error)
|
||||
GetById(ctx context.Context, Id int64) (res *model.PlanDailyInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.PlanDailyAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.PlanDailyEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int64) (err error)
|
||||
}
|
||||
|
||||
var localPlanDaily IPlanDaily
|
||||
|
||||
func PlanDaily() IPlanDaily {
|
||||
if localPlanDaily == nil {
|
||||
panic("implement not found for interface IPlanDaily, forgot register?")
|
||||
}
|
||||
return localPlanDaily
|
||||
}
|
||||
|
||||
func RegisterPlanDaily(i IPlanDaily) {
|
||||
localPlanDaily = i
|
||||
}
|
||||
40
internal/app/system/service/plan_week.go
Normal file
40
internal/app/system/service/plan_week.go
Normal file
@ -0,0 +1,40 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-04 17:26:59
|
||||
// 生成路径: internal/app/system/service/plan_week.go
|
||||
// 生成人:gfast
|
||||
// desc:周计划
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IPlanWeek interface {
|
||||
List(ctx context.Context, req *system.PlanWeekSearchReq) (res *system.PlanWeekSearchRes, err error)
|
||||
PlanWeekGetInfoByPlanID(ctx context.Context, req *system.PlanWeekGetInfoByPlanIDReq) (res *system.PlanWeekGetInfoByPlanIDRes, err error)
|
||||
GetById(ctx context.Context, Id int) (res *model.PlanWeekInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.PlanWeekAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.PlanWeekEditReq) (err error)
|
||||
Delete(ctx context.Context, planID string) (err error)
|
||||
WeekAndWeekRealityListFunc(ctx context.Context, req *system.WeekAndWeekRealityListReq) (res *system.WeekAndWeekRealityListRes, err error)
|
||||
WeeklyAndMonthlyReportDataGenerationFunc(ctx context.Context, req *system.WeeklyAndMonthlyReportDataGenerationReq) (res *system.WeeklyAndMonthlyReportDataGenerationRes, err error)
|
||||
}
|
||||
|
||||
var localPlanWeek IPlanWeek
|
||||
|
||||
func PlanWeek() IPlanWeek {
|
||||
if localPlanWeek == nil {
|
||||
panic("implement not found for interface IPlanWeek, forgot register?")
|
||||
}
|
||||
return localPlanWeek
|
||||
}
|
||||
|
||||
func RegisterPlanWeek(i IPlanWeek) {
|
||||
localPlanWeek = i
|
||||
}
|
||||
38
internal/app/system/service/plan_week_reality.go
Normal file
38
internal/app/system/service/plan_week_reality.go
Normal file
@ -0,0 +1,38 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-08-17 17:23:07
|
||||
// 生成路径: internal/app/system/service/plan_week_reality.go
|
||||
// 生成人:xyb
|
||||
// desc:实际完成的周计划
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IPlanWeekReality interface {
|
||||
List(ctx context.Context, req *system.PlanWeekRealitySearchReq) (res *system.PlanWeekRealitySearchRes, err error)
|
||||
GetById(ctx context.Context, Id int) (res *model.PlanWeekRealityInfoRes, err error)
|
||||
PlanWeekRealityCompare(ctx context.Context, req *system.PlanWeekRealityCompareReq) (res *system.PlanWeekRealityCompareRes, err error)
|
||||
Add(ctx context.Context, req *system.PlanWeekRealityAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.PlanWeekRealityEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int) (err error)
|
||||
}
|
||||
|
||||
var localPlanWeekReality IPlanWeekReality
|
||||
|
||||
func PlanWeekReality() IPlanWeekReality {
|
||||
if localPlanWeekReality == nil {
|
||||
panic("implement not found for interface IPlanWeekReality, forgot register?")
|
||||
}
|
||||
return localPlanWeekReality
|
||||
}
|
||||
|
||||
func RegisterPlanWeekReality(i IPlanWeekReality) {
|
||||
localPlanWeekReality = i
|
||||
}
|
||||
37
internal/app/system/service/plant.go
Normal file
37
internal/app/system/service/plant.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-04-12 10:38:43
|
||||
// 生成路径: internal/app/system/service/plant.go
|
||||
// 生成人:gfast
|
||||
// desc:电站信息
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IPlant interface {
|
||||
List(ctx context.Context, req *system.PlantSearchReq) (res *system.PlantSearchRes, err error)
|
||||
GetById(ctx context.Context, Id string) (res *model.PlantInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.PlantAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.PlantEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []string) (err error)
|
||||
}
|
||||
|
||||
var localPlant IPlant
|
||||
|
||||
func Plant() IPlant {
|
||||
if localPlant == nil {
|
||||
panic("implement not found for interface IPlant, forgot register?")
|
||||
}
|
||||
return localPlant
|
||||
}
|
||||
|
||||
func RegisterPlant(i IPlant) {
|
||||
localPlant = i
|
||||
}
|
||||
39
internal/app/system/service/project_finance.go
Normal file
39
internal/app/system/service/project_finance.go
Normal file
@ -0,0 +1,39 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-04-29 12:01:01
|
||||
// 生成路径: internal/app/system/service/project_finance.go
|
||||
// 生成人:gfast
|
||||
// desc:项目财务
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IProjectFinance interface {
|
||||
List(ctx context.Context, req *system.ProjectFinanceSearchReq) (res *system.ProjectFinanceSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int) (res *model.ProjectFinanceInfoResVo, err error)
|
||||
Add(ctx context.Context, req *system.ProjectFinanceAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.ProjectFinanceEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int) (err error)
|
||||
GetByProjectId(ctx context.Context, id int) (res *model.ProjectFinanceInfoResVo, err error)
|
||||
UploadExcel(ctx context.Context, id int64) (res *system.UploadExcelRes, err error)
|
||||
}
|
||||
|
||||
var localProjectFinance IProjectFinance
|
||||
|
||||
func ProjectFinance() IProjectFinance {
|
||||
if localProjectFinance == nil {
|
||||
panic("implement not found for interface IProjectFinance, forgot register?")
|
||||
}
|
||||
return localProjectFinance
|
||||
}
|
||||
|
||||
func RegisterProjectFinance(i IProjectFinance) {
|
||||
localProjectFinance = i
|
||||
}
|
||||
37
internal/app/system/service/project_schedule.go
Normal file
37
internal/app/system/service/project_schedule.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-03-13 18:17:32
|
||||
// 生成路径: internal/app/system/service/project_schedule.go
|
||||
// 生成人:gfast
|
||||
// desc:项目排期
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IProjectSchedule interface {
|
||||
List(ctx context.Context, req *system.ProjectScheduleSearchReq) (res *system.ProjectScheduleSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint) (res *model.ProjectScheduleInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.ProjectScheduleAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.ProjectScheduleEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint) (err error)
|
||||
}
|
||||
|
||||
var localProjectSchedule IProjectSchedule
|
||||
|
||||
func ProjectSchedule() IProjectSchedule {
|
||||
if localProjectSchedule == nil {
|
||||
panic("implement not found for interface IProjectSchedule, forgot register?")
|
||||
}
|
||||
return localProjectSchedule
|
||||
}
|
||||
|
||||
func RegisterProjectSchedule(i IProjectSchedule) {
|
||||
localProjectSchedule = i
|
||||
}
|
||||
53
internal/app/system/service/pv_ module.go
Normal file
53
internal/app/system/service/pv_ module.go
Normal file
@ -0,0 +1,53 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2024-03-23 10:25:39
|
||||
// 生成路径: internal/app/system/service/pv_ module.go
|
||||
// 生成人:gfast
|
||||
// desc:光伏组件
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IPvModule interface {
|
||||
List(ctx context.Context, req *system.PvModuleSearchReq) (res *system.PvModuleSearchRes, err error)
|
||||
GetById(ctx context.Context, Id uint) (res *model.PvModuleInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.PvModuleAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.PvModuleEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []uint) (err error)
|
||||
Import(ctx context.Context, req *system.PvModuleImportReq) (err error)
|
||||
// 导入逆变器
|
||||
ImportInverter(ctx context.Context, req *system.PvModuleImportInverterReq) (err error)
|
||||
// ImportPvBoard 导入光伏板
|
||||
ImportPvBoard(ctx context.Context, req *system.PvModuleImportPvBoardReq) error
|
||||
// AddWorkSchedule 添加工作日报
|
||||
AddWorkSchedule(ctx context.Context, req *system.PvModuleAddDailyReq) error
|
||||
// 获取日报
|
||||
GetDaily(ctx context.Context, req *system.PvModuleGetDailyReq) (res *system.PvModuleGetDailyRes, err error)
|
||||
DeleteDaily(ctx context.Context, req *system.PvModuleDeleteDailyReq) error
|
||||
|
||||
//cory改版本
|
||||
ImportCory(ctx context.Context, req *system.PvModuleImportCory) (err error)
|
||||
ImportInverterCory(ctx context.Context, req *system.ImportInverterCory) (err error)
|
||||
ImportPvBoardCory(ctx context.Context, req *system.ImportPvBoardCory) error
|
||||
}
|
||||
|
||||
var localPvModule IPvModule
|
||||
|
||||
func PvModule() IPvModule {
|
||||
if localPvModule == nil {
|
||||
panic("implement not found for interface IPvModule, forgot register?")
|
||||
}
|
||||
return localPvModule
|
||||
}
|
||||
|
||||
func RegisterPvModule(i IPvModule) {
|
||||
localPvModule = i
|
||||
}
|
||||
37
internal/app/system/service/qianqi_bubantu.go
Normal file
37
internal/app/system/service/qianqi_bubantu.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-07-31 11:44:41
|
||||
// 生成路径: internal/app/system/service/qianqi_bubantu.go
|
||||
// 生成人:gfast
|
||||
// desc:布板图
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IQianqiBubantu interface {
|
||||
List(ctx context.Context, req *system.QianqiBubantuSearchReq) (res *system.QianqiBubantuSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int) (res *model.QianqiBubantuInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.QianqiBubantuAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.QianqiBubantuEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int) (err error)
|
||||
}
|
||||
|
||||
var localQianqiBubantu IQianqiBubantu
|
||||
|
||||
func QianqiBubantu() IQianqiBubantu {
|
||||
if localQianqiBubantu == nil {
|
||||
panic("implement not found for interface IQianqiBubantu, forgot register?")
|
||||
}
|
||||
return localQianqiBubantu
|
||||
}
|
||||
|
||||
func RegisterQianqiBubantu(i IQianqiBubantu) {
|
||||
localQianqiBubantu = i
|
||||
}
|
||||
43
internal/app/system/service/qianqi_camera.go
Normal file
43
internal/app/system/service/qianqi_camera.go
Normal file
@ -0,0 +1,43 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-09-30 22:37:34
|
||||
// 生成路径: internal/app/system/service/qianqi_camera.go
|
||||
// 生成人:gfast
|
||||
// desc:摄像头
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
wxSystem "github.com/tiger1103/gfast/v3/api/wxApplet/wxApplet"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IQianqiCamera interface {
|
||||
List(ctx context.Context, req *system.QianqiCameraSearchReq) (res *system.QianqiCameraSearchRes, err error)
|
||||
NotPageList(ctx context.Context, req *wxSystem.QianqiCameraSearchReq) (res *wxSystem.QianqiCameraSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int) (res *model.QianqiCameraInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.QianqiCameraAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.QianqiCameraEditReq) (err error)
|
||||
EditNameAndDetail(ctx context.Context, req *system.QianqiCameraEditNameAndDetailReq) (err error)
|
||||
WxEditNameAndDetail(ctx context.Context, req *system.QianqiCameraEditNameAndDetailReq) (err error)
|
||||
Delete(ctx context.Context, Id []int) (err error)
|
||||
PeriodicCameraSnapshotFunc(ctx context.Context)
|
||||
EditCameraFunc(ctx context.Context, req *system.EditCameraReq) (err error)
|
||||
}
|
||||
|
||||
var localQianqiCamera IQianqiCamera
|
||||
|
||||
func QianqiCamera() IQianqiCamera {
|
||||
if localQianqiCamera == nil {
|
||||
panic("implement not found for interface IQianqiCamera, forgot register?")
|
||||
}
|
||||
return localQianqiCamera
|
||||
}
|
||||
|
||||
func RegisterQianqiCamera(i IQianqiCamera) {
|
||||
localQianqiCamera = i
|
||||
}
|
||||
37
internal/app/system/service/qianqi_dixing.go
Normal file
37
internal/app/system/service/qianqi_dixing.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-07-31 11:44:56
|
||||
// 生成路径: internal/app/system/service/qianqi_dixing.go
|
||||
// 生成人:gfast
|
||||
// desc:地形
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IQianqiDixing interface {
|
||||
List(ctx context.Context, req *system.QianqiDixingSearchReq) (res *system.QianqiDixingSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int) (res *model.QianqiDixingInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.QianqiDixingAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.QianqiDixingEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int) (err error)
|
||||
}
|
||||
|
||||
var localQianqiDixing IQianqiDixing
|
||||
|
||||
func QianqiDixing() IQianqiDixing {
|
||||
if localQianqiDixing == nil {
|
||||
panic("implement not found for interface IQianqiDixing, forgot register?")
|
||||
}
|
||||
return localQianqiDixing
|
||||
}
|
||||
|
||||
func RegisterQianqiDixing(i IQianqiDixing) {
|
||||
localQianqiDixing = i
|
||||
}
|
||||
40
internal/app/system/service/qianqi_fangzhen.go
Normal file
40
internal/app/system/service/qianqi_fangzhen.go
Normal file
@ -0,0 +1,40 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-07-31 11:20:54
|
||||
// 生成路径: internal/app/system/service/qianqi_fangzhen.go
|
||||
// 生成人:gfast
|
||||
// desc:方阵
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IQianqiFangzhen interface {
|
||||
List(ctx context.Context, req *system.QianqiFangzhenSearchReq) (res *system.QianqiFangzhenSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int) (res *model.QianqiFangzhenInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.QianqiFangzhenAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.QianqiFangzhenEditReq) (err error)
|
||||
Delete(ctx context.Context, Id []int) (err error)
|
||||
EditDetail(ctx context.Context, req *system.QianqiFangzhenEditDetailReq) (err error)
|
||||
UpdateViewName(ctx context.Context, req *system.QianqiFangzhenUpdateViewNameReq) error
|
||||
}
|
||||
|
||||
var localQianqiFangzhen IQianqiFangzhen
|
||||
|
||||
func QianqiFangzhen() IQianqiFangzhen {
|
||||
if localQianqiFangzhen == nil {
|
||||
panic("implement not found for interface IQianqiFangzhen, forgot register?")
|
||||
}
|
||||
return localQianqiFangzhen
|
||||
}
|
||||
|
||||
func RegisterQianqiFangzhen(i IQianqiFangzhen) {
|
||||
localQianqiFangzhen = i
|
||||
}
|
||||
41
internal/app/system/service/qianqi_guangfuban.go
Normal file
41
internal/app/system/service/qianqi_guangfuban.go
Normal file
@ -0,0 +1,41 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成service操作代码。
|
||||
// 生成日期:2023-07-31 11:31:49
|
||||
// 生成路径: internal/app/system/service/qianqi_guangfuban.go
|
||||
// 生成人:gfast
|
||||
// desc:光伏板模型
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/tiger1103/gfast/v3/api/v1/system"
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/model"
|
||||
)
|
||||
|
||||
type IQianqiGuangfuban interface {
|
||||
List(ctx context.Context, req *system.QianqiGuangfubanSearchReq) (res *system.QianqiGuangfubanSearchRes, err error)
|
||||
GetById(ctx context.Context, Id int) (res *model.QianqiGuangfubanInfoRes, err error)
|
||||
Add(ctx context.Context, req *system.QianqiGuangfubanAddReq) (err error)
|
||||
Edit(ctx context.Context, req *system.QianqiGuangfubanEditReq) (err error)
|
||||
ImportZuchuan(ctx context.Context, req *system.QianqiGuangfubanImportZuchuanReq) (err error)
|
||||
CaculateZuchuan(ctx context.Context, req *system.QianqiGuangfubanCalZuchuanReq) (err error)
|
||||
Delete(ctx context.Context, SourceIDs []string) (err error)
|
||||
CorrectFunc(ctx context.Context, req *system.CorrectFuncReq) (err error)
|
||||
CorrectQueryFunc(ctx context.Context, req *system.CorrectQueryFuncReq) (res *system.CorrectQueryFuncRes, err error)
|
||||
}
|
||||
|
||||
var localQianqiGuangfuban IQianqiGuangfuban
|
||||
|
||||
func QianqiGuangfuban() IQianqiGuangfuban {
|
||||
if localQianqiGuangfuban == nil {
|
||||
panic("implement not found for interface IQianqiGuangfuban, forgot register?")
|
||||
}
|
||||
return localQianqiGuangfuban
|
||||
}
|
||||
|
||||
func RegisterQianqiGuangfuban(i IQianqiGuangfuban) {
|
||||
localQianqiGuangfuban = i
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user