deleteById. 根据主键id删除,最为普遍的用法,由JPA提供的方法,无需在repository层声明,也无需加事物注解@Transactional @Override public void delete(String id) ...
確定! 回上一頁