摘要:
我使用的时候collection值为mapper的参数名如:int deleteRoleByUserIds(@Param("userIds") String[] userIds); <delete id="deleteRoleByUserIds"> delete from uc_user_role 阅读全文
摘要:
用法说明:IFNULL(expr1,expr2) 如果 expr1 不是 NULL,IFNULL() 返回 expr1,否则它返回 expr2。 IFNULL()返回一个数字或字符串值,取决于它被使用的上下文环境。 我们先举一些例子: mysql> SELECT IFNULL(1,0); + + | 阅读全文