|
@@ -301,8 +301,15 @@ public interface UpIdCollectionDao {
|
|
|
" and chrgitm_lv = #{chrgitmLv} " +
|
|
|
"group by med_chrgitm_type")
|
|
|
List<IteminfoUpld> aAndBAndCFees(@Param("setlId") String setlId,
|
|
|
- @Param("chrgitmLv") String chrgitmLv,
|
|
|
- @Param("feeName") String feeName);
|
|
|
+ @Param("chrgitmLv") String chrgitmLv,
|
|
|
+ @Param("feeName") String feeName);
|
|
|
+
|
|
|
+ @Select("SELECT sum(DATEDIFF(second, start_time, end_time))\n" +
|
|
|
+ "from yz_inact_order\n" +
|
|
|
+ "where order_code in ('05181', '06563')\n" +
|
|
|
+ " and inpatient_no = #{patNo}\n" +
|
|
|
+ " and admiss_times = #{times}")
|
|
|
+ Integer ventilatorUseTime(@Param("patNo") String patNo, @Param("times") Integer times);
|
|
|
|
|
|
/**
|
|
|
* 重症监护信息
|