Commit aef47bcf70e423c486fe00f4f98305d01116d773
1 parent
a10e7aed
fix:【INFRA 基础设施】代码生成模版,clean 缺少了 ; 号
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-module-infra/src/main/resources/codegen/java/service/serviceImpl.vm
| @@ -316,7 +316,7 @@ public class ${table.className}ServiceImpl implements ${table.className}Service | @@ -316,7 +316,7 @@ public class ${table.className}ServiceImpl implements ${table.className}Service | ||
| 316 | } | 316 | } |
| 317 | // 插入 | 317 | // 插入 |
| 318 | #end | 318 | #end |
| 319 | - ${subClassNameVar}.clean() // 清理掉创建、更新时间等相关属性值 | 319 | + ${subClassNameVar}.clean(); // 清理掉创建、更新时间等相关属性值 |
| 320 | ${subClassNameVars.get($index)}Mapper.insert(${subClassNameVar}); | 320 | ${subClassNameVars.get($index)}Mapper.insert(${subClassNameVar}); |
| 321 | return ${subClassNameVar}.getId(); | 321 | return ${subClassNameVar}.getId(); |
| 322 | } | 322 | } |