Skip to content

Commit da724b3

Browse files
committed
修复无条件更新问题
1 parent 147a632 commit da724b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hsweb-web-service/hsweb-web-service-simple/src/main/java/org/hsweb/web/service/impl/plan/QueryPlanServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ protected QueryPlanMapper getMapper() {
4343

4444
@Override
4545
public int update(QueryPlan data) {
46-
return createUpdate(data).includes(name, config, sharing).exec();
46+
return createUpdate(data).includes(name, config, sharing).where(id, data.getId()).exec();
4747
}
4848
}

0 commit comments

Comments
 (0)