Documentation ¶
Index ¶
- type SysDeptRpcClientInfo
- type SysDeptRpcController
- func (cInst *SysDeptRpcController) CopyModel2PbMsg(entity *model.SysDept, pbentity *sysDeptProto.SysDeptMessage)
- func (cInst *SysDeptRpcController) CopyModel2PbMsgs(entities []model.SysDept, pbentities *[]*sysDeptProto.SysDeptMessage)
- func (cInst *SysDeptRpcController) CopyPbMsg2Model(entity *model.SysDept, pbentity *sysDeptProto.SysDeptMessage)
- func (cInst *SysDeptRpcController) CopyPbMsg2Models(entities *[]model.SysDept, pbentities *[]*sysDeptProto.SysDeptMessage)
- func (cInst *SysDeptRpcController) DeleteById(ctx *gin.Context)
- func (cInst *SysDeptRpcController) FindById(ctx *gin.Context)
- func (cInst *SysDeptRpcController) FindByIds(ctx *gin.Context)
- func (cInst *SysDeptRpcController) IniPbMsg() (pbentity *sysDeptProto.SysDeptMessage)
- func (cInst *SysDeptRpcController) IniRanges(pp *sysDeptProto.SysDeptMessage)
- func (cInst *SysDeptRpcController) Query(ctx *gin.Context)
- func (cInst *SysDeptRpcController) Save(ctx *gin.Context)
- func (cInst *SysDeptRpcController) TransActive(entity *model.SysDept) *model.SysDept
- func (cInst *SysDeptRpcController) Update(ctx *gin.Context, funTrans func(entity *model.SysDept) *model.SysDept)
- func (cInst *SysDeptRpcController) UpdateActive(ctx *gin.Context)
- func (cInst *SysDeptRpcController) UpdateNotNil(ctx *gin.Context)
- func (cInst *SysDeptRpcController) UpdateNotNullProps(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SysDeptRpcClientInfo ¶
type SysDeptRpcClientInfo struct {
Hostip, ServerName, ClientName string
}
type SysDeptRpcController ¶
type SysDeptRpcController struct {
// contains filtered or unexported fields
}
var InstSysDeptRpcController SysDeptRpcController
func (*SysDeptRpcController) CopyModel2PbMsg ¶
func (cInst *SysDeptRpcController) CopyModel2PbMsg(entity *model.SysDept, pbentity *sysDeptProto.SysDeptMessage)
func (*SysDeptRpcController) CopyModel2PbMsgs ¶
func (cInst *SysDeptRpcController) CopyModel2PbMsgs(entities []model.SysDept, pbentities *[]*sysDeptProto.SysDeptMessage)
func (*SysDeptRpcController) CopyPbMsg2Model ¶
func (cInst *SysDeptRpcController) CopyPbMsg2Model(entity *model.SysDept, pbentity *sysDeptProto.SysDeptMessage)
func (*SysDeptRpcController) CopyPbMsg2Models ¶
func (cInst *SysDeptRpcController) CopyPbMsg2Models(entities *[]model.SysDept, pbentities *[]*sysDeptProto.SysDeptMessage)
func (*SysDeptRpcController) DeleteById ¶
func (cInst *SysDeptRpcController) DeleteById(ctx *gin.Context)
func (*SysDeptRpcController) FindById ¶
func (cInst *SysDeptRpcController) FindById(ctx *gin.Context)
func (*SysDeptRpcController) FindByIds ¶
func (cInst *SysDeptRpcController) FindByIds(ctx *gin.Context)
func (*SysDeptRpcController) IniPbMsg ¶
func (cInst *SysDeptRpcController) IniPbMsg() (pbentity *sysDeptProto.SysDeptMessage)
func (*SysDeptRpcController) IniRanges ¶
func (cInst *SysDeptRpcController) IniRanges(pp *sysDeptProto.SysDeptMessage)
func (*SysDeptRpcController) Query ¶
func (cInst *SysDeptRpcController) Query(ctx *gin.Context)
func (*SysDeptRpcController) Save ¶
func (cInst *SysDeptRpcController) Save(ctx *gin.Context)
func (*SysDeptRpcController) TransActive ¶
func (cInst *SysDeptRpcController) TransActive(entity *model.SysDept) *model.SysDept
func (*SysDeptRpcController) UpdateActive ¶
func (cInst *SysDeptRpcController) UpdateActive(ctx *gin.Context)
func (*SysDeptRpcController) UpdateNotNil ¶
func (cInst *SysDeptRpcController) UpdateNotNil(ctx *gin.Context)
func (*SysDeptRpcController) UpdateNotNullProps ¶
func (cInst *SysDeptRpcController) UpdateNotNullProps(ctx *gin.Context)
Click to show internal directories.
Click to hide internal directories.