|
@@ -225,7 +225,7 @@ public interface SiZyDao {
|
|
|
"and status_flag>'1' and isnull(group_no, '00')='00' and order_code in ('06026','06053','05973')")
|
|
|
Date selectDscgDate(@Param("patNo") String patNo, @Param("times") int times);
|
|
|
|
|
|
- @Update("update zy_detail_charge set charge_date=gen_time where inpatient_no=#{patNo} " +
|
|
|
+ @Update("update zy_detail_charge set charge_date=isnull(gen_time,#{disdate}) where inpatient_no=#{patNo} " +
|
|
|
"and admiss_times=#{times} and charge_date>#{disdate}")
|
|
|
int updateChargedate(@Param("patNo") String patNo, @Param("times") int times, @Param("disdate") Date disdate);
|
|
|
|