Просмотр исходного кода

个人账户支付现在参与结算计算了

lighter 3 лет назад
Родитель
Сommit
94dfb8bd9f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/java/thyyxxk/webserver/dao/his/yibao/DismissDao.java

+ 1 - 1
src/main/java/thyyxxk/webserver/dao/his/yibao/DismissDao.java

@@ -185,7 +185,7 @@ public interface DismissDao {
                               @Param("deptCode") String deptCode, @Param("codeRs") String codeRs,
                               @Param("dismissDate") Date dismissDate);
 
-    @Select("select case when isnull(xjzf,0)!=0 then xjzf else total_cost-tczf end from zy_ledger_file_yb " +
+    @Select("select case when isnull(xjzf,0)!=0 then xjzf else (total_cost-tczf-grzhzf) end from zy_ledger_file_yb " +
             "where inpatient_no=#{patNo} and admiss_times=#{times} and ledger_sn=#{ledgerSn}")
     String selectMedinsCashPay(@Param("patNo") String patNo,
                                @Param("times") Integer times,