serviceImpl模版 update方法判断bug修正

应该判断updateTime字段。
pull/143/head
shenbururen 2019-11-13 14:03:26 +08:00 committed by Gitee
parent 1557a858ea
commit 0b34c3e910
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service
public int update${ClassName}(${ClassName} ${className})
{
#foreach ($column in $columns)
#if($column.javaField == 'createTime')
#if($column.javaField == 'updateTime')
${className}.setUpdateTime(DateUtils.getNowDate());
#end
#end