package {{ package.Service }}; import {{ package.Entity }}.{{ table.entity }}; //--- import 固定引入 ---// import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import java.util.List; //--- import 固定引入 ---// /** * {{ table.comment }}服务接口 * * @author {{ author }} * @date {{ date }} */ public interface {{ table.entity }}Service extends IService<{{ table.entity }}> { /** * {{ table.comment }}分页列表 * * @param param 根据需要进行传值 * @return */ Page<{{ table.entity }}> page({{ table.entity }} param); /** * {{ table.comment }}详情 * * @param param * @return */ {{ table.entity }} info({{ table.entity }} param); /** * {{ table.comment }}详情 * * @param id * @return */ {{ table.entity }} info(Integer id); /** * {{ table.comment }}列表 * * @param param * @return */ List<{{ table.entity }}> list({{ table.entity }} param); /** * {{ table.comment }}新增 * * @param param 根据需要进行传值 * @return */ void add({{ table.entity }} param); /** * {{ table.comment }}修改 * * @param param 根据需要进行传值 * @return */ void modify({{ table.entity }} param); /** * {{ table.comment }}删除(单个条目) * * @param id * @return */ void remove(Integer id); /** * {{ table.comment }}删除(多个条目) * * @param ids * @return */ void removes(List ids); }