97 lines
3.3 KiB
Go
97 lines
3.3 KiB
Go
// Package batchmain
|
|
// @Link https://github.com/xiujiecn/xiu-admin
|
|
// @Copyright Copyright (c) 2026 LiXiujie
|
|
// @Author Lxj <xxx@example.com>
|
|
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
|
// @AutoGenerate Version
|
|
package v1 //batchmain
|
|
|
|
import (
|
|
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model"
|
|
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response"
|
|
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
)
|
|
|
|
// ListReq 查询批次主表列表
|
|
type BatchMainListReq struct {
|
|
g.Meta `path:"/batchMain/list" method:"get" tags:"批次主表" summary:"获取批次主表列表" x-check-permission:"cpm:common:batchMain:list"`
|
|
model.BatchMainListParam
|
|
}
|
|
|
|
type BatchMainListRes struct {
|
|
response.PageResult
|
|
Items []*model.BatchMainListModel `json:"items" dc:"数据列表"`
|
|
}
|
|
|
|
type BatchMainSuccessListReq struct {
|
|
g.Meta `path:"/batchMain/successList" method:"get" tags:"批次主表" summary:"获取成功批次列表" x-check-permission:"cpm:common:batchMain:successList"`
|
|
model.BatchMainSuccessListParam
|
|
}
|
|
|
|
type BatchMainSuccessListRes struct {
|
|
response.PageResult
|
|
Items []*model.BatchMainSuccessListModel `json:"items" dc:"数据列表"`
|
|
}
|
|
|
|
// ExportWarehousingReq 导出入库批次列表(数据来源同 successList 的入库类型)
|
|
type BatchMainExportWarehousingReq struct {
|
|
g.Meta `path:"/batchMain/exportWarehousing" method:"post" tags:"批次主表" summary:"导出入库批次列表" x-check-permission:"cpm:iot:tSimCardStock:export"`
|
|
model.BatchMainSuccessListParam
|
|
}
|
|
|
|
type BatchMainExportWarehousingRes struct{}
|
|
|
|
type BatchMainCardsReq struct {
|
|
g.Meta `path:"/batchMain/cards" method:"get" tags:"批次主表" summary:"批次卡清单" x-check-permission:"cpm:common:batchMain:cards"`
|
|
model.BatchCardListParam
|
|
}
|
|
|
|
type BatchMainCardsRes struct {
|
|
response.PageResult
|
|
Items []*model.BatchCardListModel `json:"items" dc:"数据列表"`
|
|
}
|
|
|
|
// ExportReq 导出批次主表列表
|
|
type BatchMainExportReq struct {
|
|
g.Meta `path:"/batchMain/export" method:"post" tags:"批次主表" summary:"导出批次主表列表" x-check-permission:"cpm:common:batchMain:export"`
|
|
model.BatchMainListParam
|
|
}
|
|
|
|
type BatchMainExportRes struct{}
|
|
|
|
// ViewReq 获取批次主表指定信息
|
|
type BatchMainViewReq struct {
|
|
g.Meta `path:"/batchMain/view" method:"get" tags:"批次主表" summary:"获取批次主表指定信息" x-check-permission:"cpm:common:batchMain:view"`
|
|
model.BatchMainViewParam
|
|
}
|
|
|
|
type BatchMainViewRes struct {
|
|
*model.BatchMainViewModel
|
|
}
|
|
|
|
// EditReq 修改/新增批次主表
|
|
type BatchMainEditReq struct {
|
|
g.Meta `path:"/batchMain/edit" method:"post" tags:"批次主表" summary:"修改/新增批次主表" x-check-permission:"cpm:common:batchMain:edit"`
|
|
model.BatchMainEditParam
|
|
}
|
|
|
|
type BatchMainEditRes struct{}
|
|
|
|
// DeleteReq 删除批次主表
|
|
type BatchMainDeleteReq struct {
|
|
g.Meta `path:"/batchMain/delete" method:"post" tags:"批次主表" summary:"删除批次主表" x-check-permission:"cpm:common:batchMain:delete"`
|
|
model.BatchMainDeleteParam
|
|
}
|
|
|
|
type BatchMainDeleteRes struct{}
|
|
|
|
type BatchMainRequeueReq struct {
|
|
g.Meta `path:"/batchMain/requeue" method:"post" tags:"批次主表" summary:"安全重投批次执行消息" x-check-permission:"cpm:common:batchMain:requeue"`
|
|
model.BatchMainRequeueParam
|
|
}
|
|
|
|
type BatchMainRequeueRes struct {
|
|
*model.BatchMainRequeueModel
|
|
}
|