|
|
@@ -130,4 +130,16 @@ public interface EmrAuditDao {
|
|
|
" and admiss_times = #{times};")
|
|
|
void updateFinalControl(String patNo, Integer times);
|
|
|
|
|
|
+
|
|
|
+ @Select("select count(1) from t_case_frontsheet_main where file_status = 1 and bah = #{patNo} and admiss_times = #{times}")
|
|
|
+ int whetherToSignForTheMedicalRecord(String patNo, Integer times);
|
|
|
+
|
|
|
+ @Update("update batj_ba2 " +
|
|
|
+ "set bazl = #{bazl}, " +
|
|
|
+ " zkys = #{userCode}, " +
|
|
|
+ " barq = getdate() " +
|
|
|
+ "where zyh = #{patNo} " +
|
|
|
+ " and zycs = #{times}")
|
|
|
+ void updateControlLevel(String patNo, Integer times, Integer bazl, String userCode);
|
|
|
+
|
|
|
}
|