This commit is contained in:
齐天大圣 2024-03-14 12:04:23 +08:00
parent 101f7617a1
commit 9c8addf216

View File

@ -259,7 +259,13 @@ public class CardValueServiceImpl extends ServiceImpl<CardValueMapper, CardValue
}
}
BeanUtils.copyProperties(cardValue,cardValueVO);
cardValueVO.setMembershipLevel(cardValue.getMembershipLevel().split(","));
if(ObjectUtils.isNotEmpty(cardValue.getMembershipLevel()) && cardValue.getMembershipLevel().length()>2){
cardValueVO.setMembershipLevel(cardValue.getMembershipLevel().split(","));
}else {
String[] strings = new String[0];
cardValueVO.setMembershipLevel(strings);
}
if (CollectionUtils.isNotEmpty(activeNewlywedsChildList)){
//封装VO返回
cardValueVO.setCardValueChildList(activeNewlywedsChildList);