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 select${ClassName}ById(${pkType} ${pkField}); /** * 查询${tableComment}列表(不分页) * * @param queryDto 查询条件 * @return ${tableComment}列表 */ List select${ClassName}List(Remote${ClassName}QueryDto queryDto); /** * 分页查询${tableComment}列表 * * @param queryDto 查询条件 * @return 分页结果 */ TableDataInfo select${ClassName}Page(Remote${ClassName}QueryDto queryDto); /** * 新增${tableComment} * * @param dto ${tableComment}信息 * @return 操作结果 */ R insert${ClassName}(Remote${ClassName}Dto dto); /** * 修改${tableComment} * * @param dto ${tableComment}信息 * @return 操作结果 */ R update${ClassName}(Remote${ClassName}Dto dto); /** * 删除${tableComment} * * @param ids ${pkComment}数组 * @return 操作结果 */ R delete${ClassName}ByIds(${pkType}[] ids); }