Documentation
¶
Index ¶
- Variables
- func InjectDbfactroyService(s *DbfactroyService)
- func LoadDbfactroyService() baseiface.ISingleton
- type DbfactroyService
- func (this *DbfactroyService) Count(param *page.PageRequest) (int, error)
- func (this *DbfactroyService) DeleteById(Id int32) *basedto.IchubResult
- func (this *DbfactroyService) FindById(Id int32) *basedto.IchubResult
- func (this *DbfactroyService) FindByIds(pks string) *page.PageResult
- func (this *DbfactroyService) FindData(result *basedto.IchubResult) *model.Dbfactroy
- func (this *DbfactroyService) FindDataList(result *page.PageResult) *[]model.Dbfactroy
- func (this *DbfactroyService) Query(param *page.PageRequest) *page.PageResult
- func (this *DbfactroyService) Save(entity *model.Dbfactroy) *basedto.IchubResult
- func (this *DbfactroyService) UpdateNotNull(Id int32, entity map[string]interface{}) *basedto.IchubResult
Constants ¶
This section is empty.
Variables ¶
var InstDbfactroyService = new(DbfactroyService)
SERVICE层服务实例变量
Functions ¶
func InjectDbfactroyService ¶
func InjectDbfactroyService(s *DbfactroyService)
func LoadDbfactroyService ¶
func LoadDbfactroyService() baseiface.ISingleton
Types ¶
type DbfactroyService ¶
type DbfactroyService struct { basedto.BaseEntitySingle Dao dao.DbfactroyDAO }
SERVICE层服务结构体
func FindBeanDbfactroyService ¶
func FindBeanDbfactroyService() *DbfactroyService
func NewDbfactroyService ¶
func NewDbfactroyService() *DbfactroyService
func (*DbfactroyService) Count ¶
func (this *DbfactroyService) Count(param *page.PageRequest) (int, error)
func (*DbfactroyService) DeleteById ¶
func (this *DbfactroyService) DeleteById(Id int32) *basedto.IchubResult
@title 函数名称: DeleteById @description : 根据主键软删除。 @auth 作者 : leijianming@163.com 时间: 2024-07-02 13:47:40 @param 输入参数名: Id int32 @return 返回参数名: *basedto.IchubResult
func (*DbfactroyService) FindById ¶
func (this *DbfactroyService) FindById(Id int32) *basedto.IchubResult
@title 函数名称: FindById(Id int32) @description : 根据主键查询记录 @auth 作者: leijianming@163.com @时间: 2024-07-02 13:47:40 @param 输入参数名:Id int32 @return 返回参数名:*basedto.IchubResult
func (*DbfactroyService) FindByIds ¶
func (this *DbfactroyService) FindByIds(pks string) *page.PageResult
@title 函数名称: FindByIds(pks string) @description :
根据主键Id 查询多条记录 例子: FindByIds("1,36,39")
@auth 作者: leijianming@163.com @date: 时间: 2024-07-02 13:47:40 @param 输入参数名:Id int32 @return 返回参数名:*page.PageResult
func (*DbfactroyService) FindData ¶
func (this *DbfactroyService) FindData(result *basedto.IchubResult) *model.Dbfactroy
func (*DbfactroyService) FindDataList ¶
func (this *DbfactroyService) FindDataList(result *page.PageResult) *[]model.Dbfactroy
func (*DbfactroyService) Query ¶
func (this *DbfactroyService) Query(param *page.PageRequest) *page.PageResult
@title 函数名称: Query @description : 通用查询 @auth 作者: leijianming@163.com时间: 2024-03-26 12:46:24 @param 输入参数名: param * page.PageRequest @return 返回参数名: * page.PageResult
func (*DbfactroyService) Save ¶
func (this *DbfactroyService) Save(entity *model.Dbfactroy) *basedto.IchubResult
@title 函数名称: Save @description : @auth 作者 : leijianming@163.com 时间: 2024-07-02 13:47:40 @param 输入参数名: entity *model.Dbfactroy @return 返回参数名: *basedto.IchubResult
func (*DbfactroyService) UpdateNotNull ¶
func (this *DbfactroyService) UpdateNotNull(Id int32, entity map[string]interface{}) *basedto.IchubResult
@title 函数名称: UpdateNotNull @description : 更新非空字段 @auth 作者 : leijianming@163.com 时间: 2024-07-02 13:47:40 @param 输入参数名: entity *model.Dbfactroy @return 返回参数名: *basedto.IchubResult