admin
2021-10-14 932777e9d6dc8dc5d9edbfc9117639ae02d96956
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};
 
<#list importList as import>
import ${import};
</#list>
 
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.data.mongodb.core.query.Query;
 
@Service
public class ${service.name}Impl implements ${service.name}{
 
  @Resource
  private ${dao.name} ${dao.name?uncap_first};
 
  <#list metodInfoList as method>
  ${method.visiteAccess} ${method.returnType} ${method.name}(${method.params}) <#if method.exceptions??> throws ${method.exceptions}</#if> {
${method.content}
  }
 
  </#list>
 
}