All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.crud.service.ftl Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
package ${cfg.packageName}.service.${cfg.folderName}.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import ${cfg.packageName}.common.page.PageParam;
import ${cfg.packageName}.common.entity.${cfg.folderName}.${entity};
import ${cfg.packageName}.common.dto.${cfg.folderName}.${entity?replace('Entity','Dto')};
import ${cfg.packageName}.common.vo.${cfg.folderName}.${entity?replace('Entity','Vo')};
import ${superServiceClassPackage};

/**
 * 

* ${table.comment!} 服务类 *

* * @author ${author} * @since ${date} */ <#if kotlin> interface ${table.serviceName} : ${superServiceClass}<${entity}> <#else> public interface ${table.serviceName} extends ${superServiceClass}<${entity}> { <#if !cfg.isView> ${entity?replace('Entity','Vo')} create(${entity?replace('Entity','Dto')} ${entity?replace('Entity','Dto') ? uncap_first}); ${entity?replace('Entity','Vo')} editById(${entity?replace('Entity','Dto')} ${entity?replace('Entity','Dto') ? uncap_first}); ${entity?replace('Entity','Vo')} findById(Long id); IPage<${entity?replace('Entity','Vo')}> queryByPage(PageParam pageParam, ${entity?replace('Entity','Dto')} dto); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy