Browse Source

优化代码生成service.impl模板,移除open

NorthLan 7 years ago
parent
commit
80da93c391
1 changed files with 1 additions and 1 deletions
  1. 1 1
      zen-orm/src/main/resources/templates/serviceImpl.java.vm

+ 1 - 1
zen-orm/src/main/resources/templates/serviceImpl.java.vm

@@ -22,7 +22,7 @@ import org.springframework.stereotype.Service#if(!${kotlin});#end
  */
 @Service
 #if(${kotlin})
-open class ${table.serviceImplName} : ${superServiceImplClass}<${table.mapperName}, ${entity}>(), ${table.serviceName} {
+class ${table.serviceImplName} : ${superServiceImplClass}<${table.mapperName}, ${entity}>(), ${table.serviceName} {
 
 }
 #else