|
@@ -697,4 +697,10 @@ public interface MzChargeDetailMapper {
|
|
|
@Select("select top 1 rtrim(warn_dept) warn_dept,rtrim(doctor_code) doctor_code,rtrim(print_flag) print_flag from mz_charge_detail where patient_id = #{patientId} and times = #{times} and warn_dept is not null and doctor_code is not null and warn_dept<> '' and doctor_code<> '' ")
|
|
|
MzChargeDetail selectWarnDeptAndDoctor(@Param("patientId") String patientId,@Param("times") Integer times);
|
|
|
|
|
|
+ /**
|
|
|
+ * 清洗老系统打印发票数据
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @Update("update mz_charge_detail set confirm_flag=4 where real_no in (select abs(real_no) from mz_charge_detail where real_no <0 group by real_no)")
|
|
|
+ int refshOldSystemReceiptData();
|
|
|
}
|