Documentation ¶
Index ¶
- Variables
- type ESSysDeptService
- func (serviceInst *ESSysDeptService) Count(param *dto.SysDeptQueryParam) (result *basedto.JsonResult)
- func (serviceInst *ESSysDeptService) DeleteById(DeptId int64) *basedto.JsonResult
- func (serviceInst *ESSysDeptService) Demo()
- func (serviceInst *ESSysDeptService) FindById(DeptId int64) *dto.SysDeptJsonResult
- func (serviceInst *ESSysDeptService) FindByIds(pks string) *dto.SysDeptPageResult
- func (serviceInst *ESSysDeptService) Query(param *dto.SysDeptQueryParam) *dto.SysDeptPageResult
- func (serviceInst *ESSysDeptService) Save(entity *model.SysDept) *basedto.JsonResult
- func (serviceInst *ESSysDeptService) UpdateNotNullProps(Id int64, entity map[string]interface{}) *basedto.JsonResult
Constants ¶
This section is empty.
Variables ¶
var InstESSysDeptService inter.SysDeptInterface = new(ESSysDeptService)
SERVICE层服务实例变量
Functions ¶
This section is empty.
Types ¶
type ESSysDeptService ¶
type ESSysDeptService struct {
InstSysDeptDAO dao.SysDeptDAO
}
SERVICE层服务结构体
func (*ESSysDeptService) Count ¶
func (serviceInst *ESSysDeptService) Count(param *dto.SysDeptQueryParam) (result *basedto.JsonResult)
@title 函数名称 : Count @description : 通用查询计数 @auth 作者 : leijianming 时间: 2024-01-22 10:32:50 @param 输入参数名: param * dto.SysDeptQueryParam @return 返回参数名: * dto.SysDeptJsonResult
func (*ESSysDeptService) DeleteById ¶
func (serviceInst *ESSysDeptService) DeleteById(DeptId int64) *basedto.JsonResult
@title 函数名称: DeleteById @description : 根据主键软删除。 @auth 作者 : leijianming 时间: 2024-01-22 10:32:50 @param 输入参数名: DeptId int64 @return 返回参数名: *basedto.JsonResult
func (*ESSysDeptService) Demo ¶
func (serviceInst *ESSysDeptService) Demo()
@title 函数名称: Demo @description : 代码示例 @auth 作者 : leijianming 时间: 2024-01-22 10:32:50 @param 输入参数名: 无 @return 返回参数名: 无
func (*ESSysDeptService) FindById ¶
func (serviceInst *ESSysDeptService) FindById(DeptId int64) *dto.SysDeptJsonResult
@title 函数名称: FindById(DeptId int64) @description : 根据主键查询记录 @auth 作者: leijianming 时间: 2024-01-22 10:32:50 @param 输入参数名:DeptId int64 @return 返回参数名:*dto.SysDeptJsonResult
func (*ESSysDeptService) FindByIds ¶
func (serviceInst *ESSysDeptService) FindByIds(pks string) *dto.SysDeptPageResult
@title 函数名称: FindByIds(pks string) @description :
根据主键DeptId 查询多条记录 例子: FindByIds("1,36,39")
@auth 作者: leijianming 时间: 2024-01-22 10:32:50 @param 输入参数名:DeptId int64 @return 返回参数名:*dto.SysDeptJsonResult
func (*ESSysDeptService) Query ¶
func (serviceInst *ESSysDeptService) Query(param *dto.SysDeptQueryParam) *dto.SysDeptPageResult
@title 函数名称: Query @description : 通用查询 @auth 作者: leijianming 时间: 2024-01-22 10:32:50 @param 输入参数名: param * dto.SysDeptQueryParam @return 返回参数名: * dto.SysDeptPageResult
func (*ESSysDeptService) Save ¶
func (serviceInst *ESSysDeptService) Save(entity *model.SysDept) *basedto.JsonResult
@title 函数名称: Save @description : 主键%s为nil,0新增; !=nil修改。 @auth 作者 : leijianming 时间: 2024-01-22 10:32:50 @param 输入参数名: entity *model.SysDept @return 返回参数名: *basedto.JsonResult
func (*ESSysDeptService) UpdateNotNullProps ¶
func (serviceInst *ESSysDeptService) UpdateNotNullProps(Id int64, entity map[string]interface{}) *basedto.JsonResult
@title 函数名称: UpdateNotNullProps @description : 更新非空字段 @auth 作者 : leijianming 时间: 2024-01-22 10:32:50 @param 输入参数名: entity *model.SysDept @return 返回参数名: *basedto.JsonResult