Ver Fonte

修改首页种类设置

523096025 há 4 anos atrás
pai
commit
2daa4e087f

+ 4 - 4
huimv-ql-farm/huimv-ql-production/src/main/java/com/huimv/production/domain/IndexVariety.java

@@ -15,10 +15,10 @@ public class IndexVariety implements Serializable {
 	@Column(name = "id")
 	private Integer id;
 
-	@Column(name = "variety")
-	private String variety;
+	@Column(name = "name")
+	private String name;
 
-	@Column(name = "amount")
-	private Integer amount;
+	@Column(name = "quantity")
+	private Integer quantity;
 
 }

+ 4 - 4
huimv-ql-farm/huimv-ql-production/src/main/java/com/huimv/production/domain/IndexVariety2.java

@@ -15,10 +15,10 @@ public class IndexVariety2 implements Serializable {
 	@Column(name = "id")
 	private Integer id;
 
-	@Column(name = "variety")
-	private String variety;
+	@Column(name = "name")
+	private String name;
 
-	@Column(name = "amount")
-	private Integer amount;
+	@Column(name = "quantity")
+	private Integer quantity;
 
 }

+ 2 - 2
huimv-ql-farm/huimv-ql-production/src/main/resources/application.properties

@@ -1,6 +1,6 @@
-spring.profiles.active=ycg
+#spring.profiles.active=ycg
 #spring.profiles.active=wuyi
-#spring.profiles.active=haiyan
+spring.profiles.active=haiyan
 #spring.profiles.active=wjj
 
 # 生产数据源配置(本地填报数据true/远程数据false)