|
|
@@ -260,7 +260,11 @@ public class VendorIntroduction {
|
|
|
vendorIntroduction.setEnTel(enterprise.getEnTel());
|
|
|
vendorIntroduction.setEnCorporation(enterprise.getEnCorporation());
|
|
|
vendorIntroduction.setEnLogoUrl(enterprise.getEnLogoUrl());
|
|
|
- vendorIntroduction.setIsStore(enterprise.getEnMallVendorStatus().intValue() == 313 ? new Short("1") : 0);
|
|
|
- return vendorIntroduction;
|
|
|
+ if (null == enterprise.getEnMallVendorStatus()) {
|
|
|
+ vendorIntroduction.setIsStore(new Short((short)0));
|
|
|
+ } else {
|
|
|
+ vendorIntroduction.setIsStore(enterprise.getEnMallVendorStatus().intValue() == 313 ? new Short("1") : 0);
|
|
|
+ }
|
|
|
+ return vendorIntroduction;
|
|
|
}
|
|
|
}
|