Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public int create(final ScaleRuleDTO scaleRuleDTO) {
@Override
public int update(final ScaleRuleDTO scaleRuleDTO) {
final ScaleRuleDO after = ScaleRuleDO.buildScaleRuleDO(scaleRuleDTO);
int rows = scaleRuleMapper.updateByPrimaryKey(after);
int rows = scaleRuleMapper.updateByPrimaryKeySelective(after);
if (rows > 0) {
scaleRuleCache.addOrUpdateRuleToCache(ScaleRuleDO.buildScaleRuleDO(scaleRuleDTO));
}
Expand Down
Loading