Browse Source

BOM资料增加仓库信息返回

chenw 7 years ago
parent
commit
adffacd69f

+ 31 - 0
applications/document/document-dto/src/main/java/com/usoftchina/saas/document/entities/Bom.java

@@ -37,6 +37,37 @@ public class Bom extends CommonBaseEntity implements Serializable {
 
     private String pr_unit;
 
+    private String pr_whid;
+
+    private String pr_whcode;
+
+    public String getPr_whname() {
+        return pr_whname;
+    }
+
+    public void setPr_whname(String pr_whname) {
+        this.pr_whname = pr_whname;
+    }
+
+    public String getPr_whid() {
+
+        return pr_whid;
+    }
+
+    public void setPr_whid(String pr_whid) {
+        this.pr_whid = pr_whid;
+    }
+
+    public String getPr_whcode() {
+        return pr_whcode;
+    }
+
+    public void setPr_whcode(String pr_whcode) {
+        this.pr_whcode = pr_whcode;
+    }
+
+    private String pr_whname;
+
     public String getPr_unit() {
         return pr_unit;
     }

+ 3 - 0
applications/document/document-server/src/main/resources/mapper/BomMapper.xml

@@ -25,6 +25,9 @@
     <result column="pr_spec" property="pr_spec" jdbcType="VARCHAR" />
     <result column="pr_unit" property="pr_unit" jdbcType="VARCHAR" />
     <result column="pr_orispeccode" property="pr_orispeccode" jdbcType="VARCHAR" />
+    <result column="pr_whid" property="pr_whid" jdbcType="VARCHAR" />
+    <result column="pr_whcode" property="pr_whcode" jdbcType="VARCHAR" />
+    <result column="pr_whname" property="pr_whname" jdbcType="VARCHAR" />
   </resultMap>
   <sql id="Base_Column_List" >
     bo_id, bo_motherid, bo_mothercode, bo_mothername, bo_version, bo_status, bo_statuscode,