java中传入了一个map:
map.put("userid","100");
map.put("status","2");
sql的配置文件:
</when>
<when test="#{_parameter.status} == '1'">
</when>
<when test="#{_parameter.status} == '2'">
</when>
<when test="#{_parameter.status} == '12'">
</when>
</choose>
报了异常:For input string: "{2=null}"
标签改为 test="#{status} == '1'" 异常:For input string: "{2=null}"
标签改为 test="_parameter == '1'" 异常:For input string: "{status=2, userid=100}"
该如何使用map中设置的值参与test的判断啊??? 在线等啊!!! 求大神。