|
@@ -72,7 +72,7 @@ public interface MedicalManagementDao {
|
|
|
" WHERE a.inpatient_no = #{patNo} and\n" +
|
|
|
" a.admiss_times = #{times} AND\n" +
|
|
|
" ${pageCondition} and \n" +
|
|
|
- " (a.frequ_code <> 'ONCE' or isnull(b.frequ_type,'')='1') and\n" +
|
|
|
+ " a.frequ_code <> 'ONCE' and\n" +
|
|
|
" a.status_flag > '1' and\n" +
|
|
|
" a.inpatient_no = c.inpatient_no and\n" +
|
|
|
" a.admiss_times = c.admiss_times and\n" +
|
|
@@ -375,7 +375,7 @@ public interface MedicalManagementDao {
|
|
|
" and a.admiss_times = #{times}" +
|
|
|
" AND a.dept_code = #{wardCode}" +
|
|
|
"<if test=\" yzType == '0'.toString \">"+
|
|
|
- " AND (a.frequ_code != 'ONCE' or isnull(frequ_type, '0') = '1')" +
|
|
|
+ " AND a.frequ_code != 'ONCE' " +
|
|
|
"</if>"+
|
|
|
"<if test=\" yzType == '1'.toString \">"+
|
|
|
" AND (a.frequ_code = 'ONCE' )" +
|