Bladeren bron

添加国家医保编码。

xiaochan 3 jaren geleden
bovenliggende
commit
1054841285

+ 8 - 4
src/main/java/thyyxxk/webserver/dao/his/yibao/XiangMuLuRuDao.java

@@ -443,7 +443,8 @@ public interface XiangMuLuRuDao extends BaseMapper<ZyDetailCharge> {
             "       charge_amount=b.charge_amount, " +
             "       op_id_code=a.op_id_code, " +
             "       bill_item_code=b.bill_item_zy, " +
-            "       bill_item_name=(select name from zy_bill_item where code = b.bill_item_zy) " +
+            "       bill_item_name=(select name from zy_bill_item where code = b.bill_item_zy)," +
+            "       national_code " +
             "FROM zy_charge_pattern a, " +
             "     zd_charge_item b " +
             "WHERE (a.pattern_name =  #{patternName}) " +
@@ -458,7 +459,8 @@ public interface XiangMuLuRuDao extends BaseMapper<ZyDetailCharge> {
             "       charge_amount=d.pack_retprice, " +
             "       op_id_code=a.op_id_code, " +
             "       bill_item_code=d.bill_item_zy, " +
-            "       bill_item_name=(select name from zy_bill_item where code = d.bill_item_zy) " +
+            "       bill_item_name=(select name from zy_bill_item where code = d.bill_item_zy)," +
+            "       national_code " +
             "FROM zy_charge_pattern a, " +
             "     yp_base_yf b, " +
             "     yp_zd_dict d " +
@@ -499,7 +501,8 @@ public interface XiangMuLuRuDao extends BaseMapper<ZyDetailCharge> {
             "       a.yb_comment, " +
             "       exec_unit_name=b.name, " +
             "       serial='00', " +
-            "       group_no='00' " +
+            "       group_no='00'," +
+            "       national_code " +
             "FROM zd_charge_item a,zd_unit_code b " +
             "where    isnull(a.del_flag,'') <> '1' and " +
             "         isnull(a.in_out_flag,'') <> '1' and " +
@@ -525,7 +528,8 @@ public interface XiangMuLuRuDao extends BaseMapper<ZyDetailCharge> {
             "                bill_item_name=(select name from zy_bill_item where code = a.bill_item_zy), " +
             "                ybbz=a.yb_comment_new, " +
             "                yblx=(select name from yp_zd_yb_type where code=a.yb_flag_new), " +
-            "                xnh=a.xnh_flag " +
+            "                xnh=a.xnh_flag," +
+            "                national_code " +
             "FROM yp_zd_dict a ,yp_print_name b  , " +
             "     yp_base_yf c " +
             "where " +

+ 5 - 0
src/main/java/thyyxxk/webserver/entity/datamodify/ZyDetailCharge.java

@@ -307,6 +307,11 @@ public class ZyDetailCharge implements Serializable {
      */
     private Integer tuiFeiFlag;
 
+    /**
+     * 国家项目编码
+     */
+    private String nationalCode;
+
 
     public BigDecimal getOrderNo() {
         if (orderNo == null) {