pull/3/head
kouxian 2016-05-25 17:31:17 +08:00
parent 146fcb0f4f
commit b514e99c5d
1 changed files with 10 additions and 0 deletions

View File

@ -107,6 +107,16 @@ public class AdminSvnUserAct extends BaseAction {
}
boolean isOk = svnUserService.update(chain, Cnd.where("usr", "=", usr)) > 0;
if (isOk) {
List<Pj> list = svnUserService.getPjList(usr);
if (list != null) {
for (Pj pj : list) {
try {
this.svnService.exportConfig(pj);
} catch (Exception e) {
log.errorf("project %s ,error %s", pj.getPj(), e.getMessage());
}
}
}
return Message.success("ok", req);
}
return Message.error("error", req);