|
@@ -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,
|