转!!mybatis xml 传值 if test判断
当mapper方法传参数 为 String时,且xml中药进行参数比较 比如 是不是等于1 或者等于2
方式1.

方式2.

转自:https://blog.csdn.net/chenaini119/article/details/51917263
当mapper方法传参数 为 String时,且xml中药进行参数比较 比如 是不是等于1 或者等于2
方式1.

方式2.

转自:https://blog.csdn.net/chenaini119/article/details/51917263