!400 修复客户端编辑时授权类型变更未保存的问题

Merge pull request !400 from David Wei/bugfix/client_update
feature/model
疯狂的狮子Li 1 year ago committed by Gitee
commit 9e9a1920ac
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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

Loading…
Cancel
Save