You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
- 新增 validateCodeUnique 方法,用于编码唯一性校验 - 方法参数包括:实体对应的 Mapper 实例、需校验的编码值、实体类中编码字段和主键字段的 Lambda 表达式、当前记录的 ID值、重复时的错误提示信息 - 方法内部实现编码校验逻辑,如果编码重复则抛出 ServiceException 异常 - 提供了新增和更新操作时的使用示例 |
3 months ago | |
---|---|---|
.. | ||
src/main | 3 months ago | |
pom.xml | 6 months ago |