Antiloveg 8 years ago
parent
commit
92764df2da

+ 2 - 2
src/main/java/com/goafanti/user/service/impl/OrganizationIdentityServiceImpl.java

@@ -78,10 +78,10 @@ public class OrganizationIdentityServiceImpl extends BaseMybatisDao<Organization
 				Calendar.getInstance().get(Calendar.YEAR - 1));
 		OrganizationIndentityUserBo bo = new OrganizationIndentityUserBo();
 		BeanUtils.copyProperties(oi, bo);
-		if (null != ratepay) {
+		if (null != ratepay && StringUtils.isNotBlank(ratepay.getId())) {
 			bo.setRatepayId(ratepay.getId());
 		}
-		return null;
+		return bo;
 	}
 
 	@Override