mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-21 02:25:56 +08:00
Pre Merge pull request !400 from David Wei/bugfix/client_update
This commit is contained in:
commit
7f6d588bd8
@ -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…
Reference in New Issue
Block a user