修改用户所属集群的时候同时修改其下的所有服务所属集群

This commit is contained in:
刘祥超
2020-12-23 19:44:50 +08:00
parent df6e0a59e4
commit 803d0c6344
5 changed files with 58 additions and 7 deletions

View File

@@ -148,6 +148,7 @@ func (this *NodeDAO) IncreaseAllNodesLatestVersionMatch(clusterId int64) error {
Attr("clusterId", clusterId).
Set("latestVersion", dbs.SQL("latestVersion+1")).
Update()
return err
}