Pre Merge pull request !400 from David Wei/bugfix/client_update

This commit is contained in:
David Wei 2023-07-21 09:45:37 +00:00 committed by Gitee
commit 7f6d588bd8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -110,6 +110,7 @@ public class SysClientServiceImpl implements ISysClientService {
public Boolean updateByBo(SysClientBo bo) {
SysClient update = MapstructUtils.convert(bo, SysClient.class);
validEntityBeforeSave(update);
update.setGrantType(String.join(",", bo.getGrantTypeList()));
return baseMapper.updateById(update) > 0;
}