Documentation ¶
Index ¶
- Variables
- type CmsLayoutTypeService
- func (serviceInst *CmsLayoutTypeService) Count(param *dto.CmsLayoutTypeQueryParam) (result *basedto.JsonResult)
- func (serviceInst *CmsLayoutTypeService) DeleteById(LayoutTypeId int32) *basedto.JsonResult
- func (serviceInst *CmsLayoutTypeService) Demo()
- func (serviceInst *CmsLayoutTypeService) FindById(LayoutTypeId int32) *dto.CmsLayoutTypeJsonResult
- func (serviceInst *CmsLayoutTypeService) FindByIds(pks string) *dto.CmsLayoutTypePageResult
- func (serviceInst *CmsLayoutTypeService) Query(param *dto.CmsLayoutTypeQueryParam) *dto.CmsLayoutTypePageResult
- func (serviceInst *CmsLayoutTypeService) Save(entity *model.CmsLayoutType) *basedto.JsonResult
- func (serviceInst *CmsLayoutTypeService) UpdateNotNullProps(entity *model.CmsLayoutType) *basedto.JsonResult
Constants ¶
This section is empty.
Variables ¶
var InstCmsLayoutTypeService inter.CmsLayoutTypeInterface = new(CmsLayoutTypeService)
SERVICE层服务实例变量
Functions ¶
This section is empty.
Types ¶
type CmsLayoutTypeService ¶
type CmsLayoutTypeService struct {
InstCmsLayoutTypeDAO dao.CmsLayoutTypeDAO
}
SERVICE层服务结构体
func (*CmsLayoutTypeService) Count ¶
func (serviceInst *CmsLayoutTypeService) 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 (*CmsLayoutTypeService) DeleteById ¶
func (serviceInst *CmsLayoutTypeService) DeleteById(LayoutTypeId int32) *basedto.JsonResult
@title 函数名称: DeleteById @description : 根据主键软删除。 @auth 作者 : leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名: LayoutTypeId int32 @return 返回参数名: *basedto.JsonResult
func (*CmsLayoutTypeService) Demo ¶
func (serviceInst *CmsLayoutTypeService) Demo()
@title 函数名称: Demo @description : 代码示例 @auth 作者 : leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名: 无 @return 返回参数名: 无
func (*CmsLayoutTypeService) FindById ¶
func (serviceInst *CmsLayoutTypeService) 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 (*CmsLayoutTypeService) FindByIds ¶
func (serviceInst *CmsLayoutTypeService) 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 (*CmsLayoutTypeService) Query ¶
func (serviceInst *CmsLayoutTypeService) 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 (*CmsLayoutTypeService) Save ¶
func (serviceInst *CmsLayoutTypeService) 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 (*CmsLayoutTypeService) UpdateNotNullProps ¶
func (serviceInst *CmsLayoutTypeService) UpdateNotNullProps(entity *model.CmsLayoutType) *basedto.JsonResult
@title 函数名称: UpdateNotNullProps @description : 更新非空字段 @auth 作者 : leijianming 时间: 2021-10-23 12:25:17 @param 输入参数名: entity *model.CmsLayoutType @return 返回参数名: *basedto.JsonResult