...
|
...
|
@@ -302,9 +302,12 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport |
|
|
List<SocialMediaBo> socialMediaBos = JsonUtil.jsonToList(bo.getSocialMedia(), SocialMediaBo.class);
|
|
|
StringBuilder socialMediaBuilder = new StringBuilder();
|
|
|
socialMediaBos.forEach(s->{
|
|
|
socialMediaBuilder.append(SocialMediaTypeEnum.getNameByType(s.getSocialMediaType()));
|
|
|
socialMediaBuilder.append("("+s.getSocialMediaAccount()+"):");
|
|
|
socialMediaBuilder.append(s.getSocialMediaFans());
|
|
|
if (s.getType() == null) {
|
|
|
return;
|
|
|
}
|
|
|
socialMediaBuilder.append(SocialMediaTypeEnum.getNameByType(s.getType()));
|
|
|
socialMediaBuilder.append("("+s.getAccount()+"):");
|
|
|
socialMediaBuilder.append(s.getFans());
|
|
|
socialMediaBuilder.append("<br>");
|
|
|
});
|
|
|
bo.setSocialMedia(socialMediaBuilder.toString());
|
...
|
...
|
@@ -537,7 +540,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport |
|
|
@Override
|
|
|
public List<UnionShareBankBo> getBankList(){
|
|
|
logger.info("getBankList");
|
|
|
return BankEnum.getAllBank();
|
|
|
return BankEnum.getAllBankAsc();
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -616,7 +619,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport |
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public int checkAndBuildBankCard(UnionShareUserBankBo bo) {
|
|
|
public UnionShareUserBankBo checkAndBuildBankCard(UnionShareUserBankBo bo) {
|
|
|
// 校验姓名
|
|
|
if (!ChineseNameUtils.checkName(bo.getName())) {
|
|
|
throw new ServiceException(ServiceError.UNION_CHINESE_NAME_ERROR);
|
...
|
...
|
@@ -639,7 +642,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport |
|
|
if (null == bo.getBankName()) {
|
|
|
throw new ServiceException(ServiceError.UNION_BANK_CODE_ERROR);
|
|
|
}
|
|
|
return 200;
|
|
|
return bo;
|
|
|
}
|
|
|
|
|
|
private boolean checkIdCard(String idcard) {
|
...
|
...
|
|