@Value(
"${}")
@Component
@ConfigurationProperties
@Controller
@RestController
@RequestMapping
@PathVariable
@RequestParam
@GetMapping
@PostMapping
@Entity
@Id
@GeneratedValue
private Integer id; #实体类id字段注入数据库表,并且id自增
@Autowired
@Transactional
转载请注明原文地址: https://www.6miu.com/read-3350273.html