Commit da2d0ba3 by 若依 Committed by Gitee

!143 serviceImpl模版 update方法判断bug修正

Merge pull request !143 from shenbururen/master
parents 1557a858 0b34c3e9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment