package ssw.{app_code}.service; import ssw.{app_code}.entity.XxxEntity; import jnpf.base.service.SuperService; import java.util.List; import java.util.Map; /** * {业务描述} Service 接口 * * SuperService 继承自 MyBatis-Plus IService,提供了: * - save / saveBatch * - updateById / update * - removeById / remove * - getById / listOne * - list / page * - count */ public interface XxxService extends SuperService { /** 列表查询(带筛选)*/ List getList(String keyword, String status); /** 详情 */ XxxEntity getInfo(String id); /** 新增 */ void create(XxxEntity entity); /** 更新 */ boolean update(XxxEntity entity); /** 删除 */ boolean delete(String id); /** 统计(如需)*/ Map getStats(); }