123456789101112131415161718192021222324252627282930313233343536373839404142 |
- package ${package};
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.github.yulichang.base.MPJBaseService;
- import com.xjrsoft.module.${outputArea}.entity.${entityClass};
- import lombok.Data;
- import java.util.List;
- /**
- * @title: ${tableComment}
- * @Author ${author}
- * @Date: ${date}
- * @Version 1.0
- */
- public interface I${className}Service extends MPJBaseService<${entityClass}> {
- <#if isMulti>
- /**
- * 新增
- *
- * @param ${entityClass?uncap_first}
- * @return
- */
- Boolean add(${entityClass} ${entityClass?uncap_first});
- /**
- * 更新
- *
- * @param ${entityClass?uncap_first}
- * @return
- */
- Boolean update(${entityClass} ${entityClass?uncap_first});
- /**
- * 删除
- *
- * @param ids
- * @return
- */
- Boolean delete(List<Long> ids);
- </#if>
- }
|