public static void refreshCustomer() {
    CurrentCustomerInfoBean currentCustomer =
        (CurrentCustomerInfoBean)
            SpringFacesUtil.getManagedBean(MallManageBeanConstants.CURRENT_CUSTOMER_BEAN_NAME);
    ICustomerService<Customer, String> customerService =
        (ICustomerService<Customer, String>)
            SpringFacesUtil.getSpringBean(MallSpringBeanConstants.CUSTOMER_SERVICE_BEAN_NAME);
    customerService.setEntityClass(Customer.class);
    customerService.setPKClass(String.class);
    if (null != currentCustomer
        && null != currentCustomer.getCustomer()
        && !(currentCustomer.getCustomer().getId().equals(""))) {}

    Customer obj = customerService.findById(currentCustomer.getCustomer().getId());
    currentCustomer.setCustomer(obj);
    currentCustomer.copyCustomerToCustomerVo();
  }