Преглед на файлове

店铺新增应用领域字段st_application

Hu Jie преди 7 години
родител
ревизия
7778121346

+ 1 - 0
src/main/java/com/uas/platform/b2c/prod/store/facade/impl/StoreInFacadeImpl.java

@@ -111,6 +111,7 @@ public class StoreInFacadeImpl implements StoreInFacade {
 			}
 			store.setStoreShortName(StringUtils.hasText(newStoreInfo.getStoreShortName()) ? newStoreInfo.getStoreShortName() : null);
 			store.setStoreName(StringUtils.hasText(newStoreInfo.getStoreName()) ? newStoreInfo.getStoreName() : null);
+			store.setStoreApplication(StringUtils.hasText(newStoreInfo.getStoreApplication()) ? newStoreInfo.getStoreApplication() : null);
 			store.setDescription(newStoreInfo.getDescription());
 			EnterpriseSimple enterprise = store.getEnterprise();
             EnterpriseSimple newEnterprise = newStoreInfo.getEnterprise();

+ 14 - 0
src/main/java/com/uas/platform/b2c/prod/store/model/StoreIn.java

@@ -55,6 +55,12 @@ public class StoreIn implements Serializable {
 	@Column(name = "st_short_name")
 	private String storeShortName;
 
+	/**
+	 * 应用领域
+	 */
+	@Column(name="st_application",length = 100)
+	private String storeApplication;
+
 	/**
 	 *	店铺LOGO URL
 	 */
@@ -191,6 +197,14 @@ public class StoreIn implements Serializable {
 	public StoreIn() {
 	}
 
+	public String getStoreApplication() {
+		return storeApplication;
+	}
+
+	public void setStoreApplication(String storeApplication) {
+		this.storeApplication = storeApplication;
+	}
+
 	public Long getId() {
 		return id;
 	}