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

2.X
疯狂的狮子Li 2 years ago
parent 0c8016f88e
commit ea01060ede

@ -109,6 +109,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;
}

Loading…
Cancel
Save