Ver código fonte

中药添加复方标志

lighter 3 anos atrás
pai
commit
159a869841

+ 2 - 0
src/main/java/thyyxxk/sizyfeeoprnsystm/dao/SiZyDao.java

@@ -82,6 +82,7 @@ public interface SiZyDao {
             "charge_fee as detItemFeeSumamt, " +
             "charge_amount as cnt, " +
             "pric=charge_fee/charge_amount, " +
+            "tcmdrugUsedWay=(case when charge_code='BILL02' then '1' else '' end), " +
             "ward_code as bilgDeptCodg, " +
             "hospApprFlag=case when yb_self_flag='1' then '2' else '1' end," +
             "mdtrtId=(select mdtrt_id from t_si_pat_info b where b.pat_no=inpatient_no and b.times=admiss_times and b.ledger_sn=a.ledger_sn), " +
@@ -116,6 +117,7 @@ public interface SiZyDao {
             "charge_fee as detItemFeeSumamt, " +
             "charge_amount as cnt, " +
             "pric=charge_fee/charge_amount, " +
+            "tcmdrugUsedWay=(case when charge_code='BILL02' then '1' else '' end), " +
             "ward_code as bilgDeptCodg, " +
             "hospApprFlag=case when yb_self_flag='1' then '2' else '1' end," +
             "mdtrtId=(select mdtrt_id from t_si_pat_info b where b.pat_no=inpatient_no and b.times=admiss_times and b.ledger_sn=a.ledger_sn), " +

+ 6 - 0
src/main/java/thyyxxk/sizyfeeoprnsystm/pojo/FeeDtle.java

@@ -111,4 +111,10 @@ public class FeeDtle {
      * */
     @JSONField(name = "hosp_appr_flag")
     private String hospApprFlag;
+
+    /**
+     * 中药使用方式,1-复方,2-单方
+     * */
+    @JSONField(name = "tcmdrug_used_way")
+    private String tcmdrugUsedWay;
 }