Blame view

yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/java/enums/errorcode.vm 1.14 KB
09103f31   YunaiV   1. 【修复】单元测试报错
1
2
  // TODO 待办:请将下面的错误码复制到 yudao-module-${table.moduleName}-api 模块的 ErrorCodeConstants 类中。注意,请给“TODO 补充编号”设置一个错误码编号!!!
  // ========== ${table.classComment} TODO 补充编号 ==========
b47c4fbd   zhijiantianya@gmail.com   代码生成器:增加树形结构的 vm 模版
3
  ErrorCode ${simpleClassName_underlineCase.toUpperCase()}_NOT_EXISTS = new ErrorCode(TODO 补充编号, "${table.classComment}不存在");
a2f70674   YunaiV   代码生成:支持树形表结构的配置
4
5
6
  ## 特殊:树表专属逻辑
  #if ( $table.templateType == 2 )
  ErrorCode ${simpleClassName_underlineCase.toUpperCase()}_EXITS_CHILDREN = new ErrorCode(TODO 补充编号, "存在存在子${table.classComment},无法删除");
01a55b93   YunaiV   代码生成:增加更全的 tree 场...
7
8
9
  ErrorCode ${simpleClassName_underlineCase.toUpperCase()}_PARENT_NOT_EXITS = new ErrorCode(TODO 补充编号,"父级${table.classComment}不存在");
  ErrorCode ${simpleClassName_underlineCase.toUpperCase()}_PARENT_ERROR = new ErrorCode(TODO 补充编号, "不能设置自己为父${table.classComment}");
  ErrorCode ${simpleClassName_underlineCase.toUpperCase()}_${treeNameColumn_javaField_underlineCase.toUpperCase()}_DUPLICATE = new ErrorCode(TODO 补充编号, "已经存在该${treeNameColumn.columnComment}的${table.classComment}");
a2f70674   YunaiV   代码生成:支持树形表结构的配置
10
  #end