| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- package com.xunmei.system.service;
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
- import com.xunmei.common.core.web.domain.AjaxResult;
- import com.xunmei.system.api.domain.Org;
- /**
- * <p>
- * 服务类
- * </p>
- *
- * @author luojun
- * @since 2023-08-07
- */
- public interface IOrgService extends IService<Org> {
- /**
- * 查询分页数据
- *
- * @param page 页码
- * @param org 每页条数
- * @return AjaxResult
- */
- AjaxResult findListByPage(Page<Org> page,Org org);
- /**
- * 添加
- *
- * @param org
- * @return JsonBean
- */
- AjaxResult add(Org org);
- /**
- * 删除
- *
- * @param id 主键
- * @return AjaxResult
- */
- AjaxResult delete(Long id);
- /**
- * 修改
- *
- * @param org
- * @return AjaxResult
- */
- AjaxResult updateData(Org org);
- /**
- * id查询数据
- *
- * @param id id
- * @return AjaxResult
- */
- AjaxResult findById(Long id);
- }
|