serviceImpl模版 update方法判断bug修正

应该判断updateTime字段。
dep_wangsr
shenbururen 5 years ago committed by Limy
parent f8860faf93
commit 24805b09eb

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

Loading…
Cancel
Save