| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- package org.dromara.${module}.${submodule}.service;
- import org.dromara.${module}.${submodule}.domain.bo.${ClassName}Bo;
- import org.dromara.${module}.${submodule}.domain.vo.${ClassName}Vo;
- import org.dromara.common.mybatis.core.page.PageQuery;
- import org.dromara.common.mybatis.core.page.TableDataInfo;
- import java.util.Collection;
- import java.util.List;
- /**
- * ${tableComment}Service接口
- *
- * @author ${author}
- * @date ${date}
- */
- public interface I${ClassName}Service {
- /**
- * 查询${tableComment}
- */
- ${ClassName}Vo queryById(${pkType} ${pkField});
- /**
- * 查询${tableComment}列表
- */
- List<${ClassName}Vo> queryList(${ClassName}Bo bo);
- /**
- * 分页查询${tableComment}列表
- */
- TableDataInfo<${ClassName}Vo> queryPageList(${ClassName}Bo bo, PageQuery pageQuery);
- /**
- * 新增${tableComment}
- */
- Boolean insertByBo(${ClassName}Bo bo);
- /**
- * 修改${tableComment}
- */
- Boolean updateByBo(${ClassName}Bo bo);
- /**
- * 校验并批量删除${tableComment}
- */
- Boolean deleteWithValidByIds(Collection<${pkType}> ids, Boolean isValid);
- }
|