Parcourir la source

'sale添加字段warehouse_no'

luhg il y a 8 ans
Parent
commit
e915149b6c

+ 11 - 0
src/main/java/com/uas/eis/entity/Sale.java

@@ -37,6 +37,9 @@ public class Sale  implements Serializable {
     @Column(name = "customer_name")
     private String customer_name;
 
+    @Column(name = "warehouse_no")
+    private String warehouse_no;
+
     /**
      * 销售订单明细.
      */
@@ -94,4 +97,12 @@ public class Sale  implements Serializable {
     public void setStockout_list(List<SaleDetail> stockout_list) {
         this.stockout_list = stockout_list;
     }
+
+    public String getWarehouse_no() {
+        return warehouse_no;
+    }
+
+    public void setWarehouse_no(String warehouse_no) {
+        this.warehouse_no = warehouse_no;
+    }
 }

+ 2 - 0
src/main/resources/application.yml

@@ -5,6 +5,8 @@ spring:
         username: yd_test
         password: select!#%@$^
         url: jdbc:oracle:thin:@scope2015.oicp.net:1521:orcl
+        tomcat:
+          time-between-eviction-runs-millis: 30000
     http:
         encoding:
             force: true