Skip to content

数据库为oracle ,查询出来map里面的key都变成大写了,即使sql写的是小写还是变成大写了 #55

@jcjgithub

Description

@jcjgithub
//查询方法
@TemplateQuery
List<Syusertoken> findListTest(@Param("id")String id);

//对于的sql文件
select id, syuserfk, series, token, accesstoken, address, limitdate, testcol from syusertoken where 1=1
<#if id??>
and id = :id
</#if>

结论:即使这里面写的小写的,最终返回的map里面的key还是大写的
数据库版本是:oracle11g

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions