Explorar o código

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

NorthLan %!s(int64=7) %!d(string=hai) anos
pai
achega
80da93c391
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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