feat(material): 新增材料相关接口
This commit is contained in:
16
src/main/resources/template/service.java.ftl
Normal file
16
src/main/resources/template/service.java.ftl
Normal file
@@ -0,0 +1,16 @@
|
||||
package ${package.Service};
|
||||
|
||||
import ${package.Entity}.${entity};
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import ${superServiceClassPackage};
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
<#if kotlin>
|
||||
class ${entity}Service : ${superServiceClass}<BaseMapper<${entity}>, ${entity}>
|
||||
<#else>
|
||||
@Service
|
||||
public class ${entity}Service extends ${superServiceClass}<BaseMapper<${entity}>, ${entity}> {
|
||||
|
||||
}
|
||||
</#if>
|
||||
|
Reference in New Issue
Block a user