Documentation ¶
Index ¶
- Variables
- type ESCmsLayoutTypeService
- func (serviceInst *ESCmsLayoutTypeService) Count(param *dto.CmsLayoutTypeQueryParam) (result *basedto.JsonResult)
- func (serviceInst *ESCmsLayoutTypeService) DeleteById(LayoutTypeId int32) *basedto.JsonResult
- func (serviceInst *ESCmsLayoutTypeService) Demo()
- func (serviceInst *ESCmsLayoutTypeService) FindById(LayoutTypeId int32) *dto.CmsLayoutTypeJsonResult
- func (serviceInst *ESCmsLayoutTypeService) FindByIds(pks string) *dto.CmsLayoutTypePageResult
- func (serviceInst *ESCmsLayoutTypeService) Query(param *dto.CmsLayoutTypeQueryParam) *dto.CmsLayoutTypePageResult
- func (serviceInst *ESCmsLayoutTypeService) Save(entity *model.CmsLayoutType) *basedto.JsonResult
- func (serviceInst *ESCmsLayoutTypeService) UpdateNotNullProps(entity *model.CmsLayoutType) *basedto.JsonResult
Constants ¶
This section is empty.
Variables ¶
var InstESCmsLayoutTypeService inter.CmsLayoutTypeInterface = new(ESCmsLayoutTypeService)
SERVICE层服务实例变量
Functions ¶
This section is empty.
Types ¶
type ESCmsLayoutTypeService ¶
type ESCmsLayoutTypeService struct {
InstCmsLayoutTypeDAO dao.CmsLayoutTypeDAO
}
SERVICE层服务结构体
func (*ESCmsLayoutTypeService) Count ¶
func (serviceInst *ESCmsLayoutTypeService) Count(param *dto.CmsLayoutTypeQueryParam) (result *basedto.JsonResult)
@title 函数名称 : Count @description : 通用查询计数 @auth 作者 : leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名: param * dto.CmsLayoutTypeQueryParam @return 返回参数名: * dto.CmsLayoutTypeJsonResult
func (*ESCmsLayoutTypeService) DeleteById ¶
func (serviceInst *ESCmsLayoutTypeService) DeleteById(LayoutTypeId int32) *basedto.JsonResult
@title 函数名称: DeleteById @description : 根据主键软删除。 @auth 作者 : leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名: LayoutTypeId int32 @return 返回参数名: *basedto.JsonResult
func (*ESCmsLayoutTypeService) Demo ¶
func (serviceInst *ESCmsLayoutTypeService) Demo()
@title 函数名称: Demo @description : 代码示例 @auth 作者 : leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名: 无 @return 返回参数名: 无
func (*ESCmsLayoutTypeService) FindById ¶
func (serviceInst *ESCmsLayoutTypeService) FindById(LayoutTypeId int32) *dto.CmsLayoutTypeJsonResult
@title 函数名称: FindById(LayoutTypeId int32) @description : 根据主键查询记录 @auth 作者: leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名:LayoutTypeId int32 @return 返回参数名:*dto.CmsLayoutTypeJsonResult
func (*ESCmsLayoutTypeService) FindByIds ¶
func (serviceInst *ESCmsLayoutTypeService) FindByIds(pks string) *dto.CmsLayoutTypePageResult
@title 函数名称: FindByIds(pks string) @description :
根据主键LayoutTypeId 查询多条记录 例子: FindByIds("1,36,39")
@auth 作者: leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名:LayoutTypeId int32 @return 返回参数名:*dto.CmsLayoutTypeJsonResult
func (*ESCmsLayoutTypeService) Query ¶
func (serviceInst *ESCmsLayoutTypeService) Query(param *dto.CmsLayoutTypeQueryParam) *dto.CmsLayoutTypePageResult
@title 函数名称: Query @description : 通用查询 @auth 作者: leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名: param * dto.CmsLayoutTypeQueryParam @return 返回参数名: * dto.CmsLayoutTypePageResult
func (*ESCmsLayoutTypeService) Save ¶
func (serviceInst *ESCmsLayoutTypeService) Save(entity *model.CmsLayoutType) *basedto.JsonResult
@title 函数名称: Save @description : 主键%s为nil,0新增; !=nil修改。 @auth 作者 : leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名: entity *model.CmsLayoutType @return 返回参数名: *basedto.JsonResult
func (*ESCmsLayoutTypeService) UpdateNotNullProps ¶
func (serviceInst *ESCmsLayoutTypeService) UpdateNotNullProps(entity *model.CmsLayoutType) *basedto.JsonResult
@title 函数名称: UpdateNotNullProps @description : 更新非空字段 @auth 作者 : leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名: entity *model.CmsLayoutType @return 返回参数名: *basedto.JsonResult