Commit 39fa7405 by “zcwang”

modify: 动态sql

parent 5cb15f2e
...@@ -45,7 +45,7 @@ public class ChangeFlowServiceImpl implements ChangeFlowService { ...@@ -45,7 +45,7 @@ public class ChangeFlowServiceImpl implements ChangeFlowService {
@Override @Override
public Boolean updateRecord(ChangeRecord changeRecord) { public Boolean updateRecord(ChangeRecord changeRecord) {
return changeRecordMapper.updateByPrimaryKey(changeRecord) > 0; return changeRecordMapper.updateByPrimaryKeySelective(changeRecord) > 0;
} }
@Override @Override
......
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