|
@@ -11,6 +11,7 @@ public interface MariadbDao {
|
|
|
@Insert("insert into t_si_failed_sql (sql_content) value (#{sql}) ")
|
|
|
void insertNewRecord(String sql);
|
|
|
|
|
|
- @Select("select zgmztczf from t_clinic where patient_id=#{patientId} and times=#{times} and receipt_no=#{receiptNo}")
|
|
|
+ @Select("select zgmztczf from t_clinic where patient_id=#{patientId} and times=#{times} " +
|
|
|
+ "and receipt_no=#{receiptNo} order by receipt_no limit 1;")
|
|
|
Integer selectZgmztczf(MzVisit mzVisit);
|
|
|
}
|