伪:update 表名 set delete_flag=1 where id={id}
删:delete from 表名 where id=#{id}
组:selete * from 表名
//伪删除
@RequestMapping("/updateType/{id}")
public ModelAndView updateType(@PathVariable Integer id)
{
ModelAndView mv=new ModelAndView();
userService.updateType(id);
mv.setViewName("redirect:/findAll");
return mv;
}