mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-07 06:41:53 +08:00
代码生成:增加 tree 示例
This commit is contained in:
@@ -207,7 +207,7 @@ public class ${table.className}ServiceImpl implements ${table.className}Service
|
||||
if (id == null) {
|
||||
throw exception(${simpleClassName_underlineCase.toUpperCase()}_${treeNameColumn_javaField_underlineCase.toUpperCase()}_DUPLICATE);
|
||||
}
|
||||
if (ObjectUtil.notEqual(${classNameVar}.getId(), id)) {
|
||||
if (!Objects.equals(${classNameVar}.getId(), id)) {
|
||||
throw exception(${simpleClassName_underlineCase.toUpperCase()}_${treeNameColumn_javaField_underlineCase.toUpperCase()}_DUPLICATE);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user