123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- package dto
- import (
- "gas-cylinder-api/common/dto"
- )
- type OperationLogGetPageReq struct {
- dto.Pagination `search:"-"`
- OptType int `form:"optType" search:"type:exact;column:opt_type;table:operation_log"` // 气瓶流转步骤
- InnerCode string `form:"innerCode" search:"type:contains;column:inner_code;table:operation_log"` //
- }
- func (m *OperationLogGetPageReq) GetNeedSearch() interface{} {
- return *m
- }
- type OperationLogInsertReq struct {
- Id int `json:"id" comment:"编码" swaggerignore:"true"` // 编码
- ChipUidList []string `json:"chipUidList"` // 高频编码列表
- OptType string `json:"optType"` // 气瓶流转步骤
- CurrentEnterprise string `json:"currentEnterprise"` // 当前企业ID OptType=25 OptType=27 时必填
- }
- func (s *OperationLogInsertReq) GetId() interface{} {
- return s.Id
- }
- type OperationLogInsertForGasStationReq struct {
- Id int `json:"id" comment:"编码" swaggerignore:"true"` // 编码
- ChipUid string `json:"chipUid"` // 高频编码
- Sn string `json:"sn"` // 设备标签
- }
- func (s *OperationLogInsertForGasStationReq) GetId() interface{} {
- return s.Id
- }
- type OperationLogGetReq struct {
- Id int `uri:"id"`
- }
- func (s *OperationLogGetReq) GetId() interface{} {
- return s.Id
- }
|