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