|
|
@@ -10,11 +10,15 @@ import java.util.List;
|
|
|
import java.util.Map;
|
|
|
import java.util.Set;
|
|
|
import java.util.UUID;
|
|
|
+
|
|
|
import javax.annotation.Resource;
|
|
|
+
|
|
|
import org.apache.commons.beanutils.BeanUtils;
|
|
|
+import org.apache.commons.beanutils.PropertyUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
+
|
|
|
import com.goafanti.common.bo.Error;
|
|
|
import com.goafanti.common.constant.AFTConstants;
|
|
|
import com.goafanti.common.constant.ErrorConstants;
|
|
|
@@ -390,7 +394,12 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements
|
|
|
UserIdentity ui = new UserIdentity();
|
|
|
User user = new User();
|
|
|
try {
|
|
|
- BeanUtilsExt.copyProperties(ui, bo);
|
|
|
+ try {
|
|
|
+ PropertyUtils.copyProperties(ui,bo);
|
|
|
+ } catch (NoSuchMethodException e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
+ //BeanUtilsExt.copyProperties(ui, bo);
|
|
|
user.setId(bo.getUid());
|
|
|
user.setSocietyTag(bo.getSocietyTag());
|
|
|
user.setHeadPortraitUrl(bo.getHeadPortraitUrl());
|