admin
2021-10-14 932777e9d6dc8dc5d9edbfc9117639ae02d96956
src/main/resources/generater/service/serviceImpl.template
@@ -1,14 +1,11 @@
package ${packageName};
import ${entity.clazz};
import ${dao.clazz};
import ${service.clazz};
import ${query.clazz};
import ${daoQuery.clazz};
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import java.util.Date;
import org.yeshi.utils.bean.BeanUtil;
<#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}{
@@ -17,7 +14,7 @@
  private ${dao.name} ${dao.name?uncap_first};
  <#list metodInfoList as method>
  ${method.visiteAccess} ${method.returnType} ${method.name}(${method.params}){
  ${method.visiteAccess} ${method.returnType} ${method.name}(${method.params}) <#if method.exceptions??> throws ${method.exceptions}</#if> {
${method.content}
  }