首页 新闻 赞助 找找看

关于freemaker的SQL问题

0
[待解决问题]

<entry key="SchoolCountyPeopleExtImpl.schoolNameCount.count.lxs"> 
    <value><![CDATA[ 
         select count(*) from school_info si  
         where 1=1 
             <#if schoolName?has_content> 
                and si.school_name = :schoolName 
             </#if> 
             <#if schoolId?has_content> 
                and si.school_id <> :schoolId 
             </#if>  
    ]]></value> 

</entry>

freeMarker应用到SQL语句上,问下 ,这种形式的配置 是怎么配的?? 

在项目中 我并没有找到freemarkerConfig 这个配置 或者是 

org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer??

请问大侠 这都怎么配置的  有点不明白

询问java1的主页 询问java1 | 初学一级 | 园豆:72
提问于:2015-01-17 17:28
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册