esservice

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2024 License: MulanPSL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

SERVICE层服务实例变量

Functions

This section is empty.

Types

type ESCmsContentService

type ESCmsContentService struct {
	InstCmsContentDAO dao.CmsContentDAO
}

SERVICE层服务结构体

func (*ESCmsContentService) Count

func (serviceInst *ESCmsContentService) Count(param *dto.CmsContentQueryParam) (result *basedto.JsonResult)

@title 函数名称 : Count @description : 通用查询计数 @auth 作者 : leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名: param * dto.CmsContentQueryParam @return 返回参数名: * dto.CmsContentJsonResult

func (*ESCmsContentService) DeleteById

func (serviceInst *ESCmsContentService) DeleteById(ContentId int32) *basedto.JsonResult

@title 函数名称: DeleteById @description : 根据主键软删除。 @auth 作者 : leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名: ContentId int32 @return 返回参数名: *basedto.JsonResult

func (*ESCmsContentService) Demo

func (serviceInst *ESCmsContentService) Demo()

@title 函数名称: Demo @description : 代码示例 @auth 作者 : leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名: 无 @return 返回参数名: 无

func (*ESCmsContentService) FindById

func (serviceInst *ESCmsContentService) FindById(ContentId int32) *dto.CmsContentJsonResult

@title 函数名称: FindById(ContentId int32) @description : 根据主键查询记录 @auth 作者: leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名:ContentId int32 @return 返回参数名:*dto.CmsContentJsonResult

func (*ESCmsContentService) FindByIds

func (serviceInst *ESCmsContentService) FindByIds(pks string) *dto.CmsContentPageResult

@title 函数名称: FindByIds(pks string) @description :

根据主键ContentId  查询多条记录
例子: FindByIds("1,36,39")

@auth 作者: leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名:ContentId int32 @return 返回参数名:*dto.CmsContentJsonResult

func (*ESCmsContentService) Query

@title 函数名称: Query @description : 通用查询 @auth 作者: leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名: param * dto.CmsContentQueryParam @return 返回参数名: * dto.CmsContentPageResult

func (*ESCmsContentService) Save

func (serviceInst *ESCmsContentService) Save(entity *model.CmsContent) *basedto.JsonResult

@title 函数名称: Save @description : 主键%s为nil,0新增; !=nil修改。 @auth 作者 : leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名: entity *model.CmsContent @return 返回参数名: *basedto.JsonResult

func (*ESCmsContentService) UpdateNotNullProps

func (serviceInst *ESCmsContentService) UpdateNotNullProps(entity *model.CmsContent) *basedto.JsonResult

@title 函数名称: UpdateNotNullProps @description : 更新非空字段 @auth 作者 : leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名: entity *model.CmsContent @return 返回参数名: *basedto.JsonResult

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL