摘要:
代码 ```plaintext private static String getMinutes(int seconds){ if(seconds>0){ int remainder = seconds % 60; int minutes = (seconds - remainder) / 60; 阅读全文
posted @ 2023-07-03 17:12
freedomlog
阅读(64)
评论(0)
推荐(0)
摘要:
> 话不多说 **1.三个注解区别** `@NotBlank` 只能作用在String上,不能为null,而且调用trim()后,长度必须大于0(不能为空格) `@NotNull` 不能为null,但可以为空字符串,校验Integer类型不能为空 `@NotEmpty` 不能为null,并且长度必须 阅读全文
posted @ 2023-07-03 13:56
freedomlog
阅读(209)
评论(0)
推荐(0)

浙公网安备 33010602011771号