| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- package org.dromara.${module}.api;
- import org.dromara.${module}.api.domain.dto.Remote${ClassName}Dto;
- import org.dromara.${module}.api.domain.dto.Remote${ClassName}QueryDto;
- import org.dromara.common.core.domain.R;
- import org.dromara.common.mybatis.core.page.TableDataInfo;
- import java.util.List;
- /**
- * ${tableComment}远程调用接口
- *
- * @author ${author}
- * @date ${date}
- */
- public interface Remote${ClassName}Service {
- /**
- * 根据ID查询${tableComment}
- *
- * @param ${pkField} ${pkComment}
- * @return ${tableComment}信息
- */
- R<Remote${ClassName}Dto> select${ClassName}ById(${pkType} ${pkField});
- /**
- * 查询${tableComment}列表(不分页)
- *
- * @param queryDto 查询条件
- * @return ${tableComment}列表
- */
- List<Remote${ClassName}Dto> select${ClassName}List(Remote${ClassName}QueryDto queryDto);
- /**
- * 分页查询${tableComment}列表
- *
- * @param queryDto 查询条件
- * @return 分页结果
- */
- TableDataInfo<Remote${ClassName}Dto> select${ClassName}Page(Remote${ClassName}QueryDto queryDto);
- /**
- * 新增${tableComment}
- *
- * @param dto ${tableComment}信息
- * @return 操作结果
- */
- R<Void> insert${ClassName}(Remote${ClassName}Dto dto);
- /**
- * 修改${tableComment}
- *
- * @param dto ${tableComment}信息
- * @return 操作结果
- */
- R<Void> update${ClassName}(Remote${ClassName}Dto dto);
- /**
- * 删除${tableComment}
- *
- * @param ids ${pkComment}数组
- * @return 操作结果
- */
- R<Void> delete${ClassName}ByIds(${pkType}[] ids);
- }
|