1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| package ${packageName};
|
| import ${entity.clazz};
| import ${dao.clazz};
| import ${service.clazz};
| import javax.annotation.Resource;
| import org.springframework.stereotype.Service;
| import java.util.Date;
|
| @Service
| public class ${service.name}Impl implements ${service.name}{
|
| @Resource
| private ${dao.name} ${dao.name?uncap_first};
|
| <#list metodInfoList as method>
| ${method.note}
| ${method.visiteAccess} ${method.returnType} ${method.name}(${method.params}){
| ${method.content}
| }
| </#list>
|
| }
|
|