logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

mybatis里的when和otherwise用法

在where条件语句中进行判断,当type == x1 时和type == x2时where中的判断条件不同解决<select id = "" resultMap = "">select * from table<where><if test="type == 'x1' ">and条件1...

#mysql#java
到底了