Pārlūkot izejas kodu

发票冲红入参修改

‘chenzhilei’ 1 mēnesi atpakaļ
vecāks
revīzija
d4674ea167

+ 8 - 0
src/main/java/cn/hnthyy/thmz/entity/mzdzfp/JSRedMzInvoiceInfo.java

@@ -33,6 +33,7 @@ public class JSRedMzInvoiceInfo implements Serializable {
     private	String payerPartyType = "1";	//	交款人类型	1:个人2:单位
     private	String payerPartyName;	//	交款人姓名
     private	String handlingPerson;	//	开票人
+    private	String invoice_type_code;	//	票据种类代码
     private	String checker;	//	复核人
     private List<DetailItemList> detail_item_list;
 
@@ -59,6 +60,13 @@ public class JSRedMzInvoiceInfo implements Serializable {
         }).collect(Collectors.toList());
         jsRedMzInvoiceInfo.setDetail_item_list(DetailItemList);
 
+        //医疗业务病人信息(住院)
+        if ("01".equals(biztype)) {
+            jsRedMzInvoiceInfo.setInvoice_type_code("320602");
+        } else {//门诊
+            jsRedMzInvoiceInfo.setInvoice_type_code("320601");
+        }
+
         return jsRedMzInvoiceInfo;
     }
 }