瀏覽代碼

【BUG-界面标准化】【物料库存数量金额表】【新增付款人:rc_prodKind 物料类型】【后端修改】

rainco 7 年之前
父節點
當前提交
d08097886d

+ 5 - 0
applications/document/document-dto/src/main/java/com.usoftchina.saas.document.dto/ProductReserveCostDTO.java

@@ -57,4 +57,9 @@ public class ProductReserveCostDTO extends CommonBaseDTO implements Serializable
      * 型号
      * */
     private String rc_prodOrispec;
+
+    /**
+     * 类型
+     * */
+    private String rc_prodKind;
 }

+ 2 - 1
applications/document/document-server/src/main/resources/mapper/ProductMapper.xml

@@ -465,6 +465,7 @@
         <result column="po_amount" property="rc_amount" jdbcType="DOUBLE"/>
         <result column="pr_brand" property="rc_prodBrand" jdbcType="VARCHAR"/>
         <result column="pr_orispeccode" property="rc_prodOrispec" jdbcType="VARCHAR"/>
+        <result column="pr_kind" property="rc_prodKind" jdbcType="VARCHAR"/>
     </resultMap>
     <select id="selectReserveCost" resultMap="ProdReserveCostResultMap">
         select pr_code,pr_spec,pr_detail,pr_unit,wh_code,wh_description,pw_onhand onhand,pr_brand,pr_orispeccode
@@ -481,7 +482,7 @@
         ORDER BY PR_ID DESC
     </select>
     <select id="selectReserveCostByIgnoreWarehouse" resultMap="ProdReserveCostResultMap">
-        select pr_code,pr_spec,pr_detail,pr_unit,po_onhand onhand,po_avprice,po_amount,pr_brand,pr_orispeccode
+        select pr_code,pr_spec,pr_detail,pr_unit,po_onhand onhand,po_avprice,po_amount,pr_brand,pr_orispeccode,pr_kind
         from productonhand  left join product on pr_id = po_prodid and productonhand.companyId = product.companyId
         <where>
             <if test="con!=null">