mybatis防止sql注入 mybatis怎么批量删除和添加?
mybatis怎么批量删除和添加?插入到用户(用户名,性别)值中
mybatis怎么批量删除和添加?
插入到用户(用户名,性别)值中
<!--collection=“users”用于指定循环集合的名称。如果接口中没有指定参数别名,则默认值为list
item=“U”用于指定每个循环后对象的别名
({U.username},{U.sex})
batch delete
delete from t#user where id in(
{id}
)