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

This commit is contained in:
GoEdgeLab
2020-12-23 19:44:50 +08:00
parent 4f19c11d22
commit abc523fa1a
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
}