|
@@ -198,11 +198,13 @@ public interface TriageDao {
|
|
|
@Select("select * from t_triage_notify_relation where serial_no=#{serialNo}")
|
|
|
TriageNotifyRelation selectTriageNotifyRelation(@Param("serialNo") int serialNo);
|
|
|
|
|
|
- @Select("select rtrim(name) as name,visit_date from mzfz_patient_order where serial_no=#{serialNo}")
|
|
|
+ @Select("select rtrim(a.name) as name,a.visit_date," +
|
|
|
+ "deptName=(select rtrim(d.name) from zd_unit_code d where d.code=a.dept_code) " +
|
|
|
+ "from mzfz_patient_order a where a.serial_no=#{serialNo}")
|
|
|
MessageForPush selectVipRegMessage(@Param("serialNo") int serialNo);
|
|
|
|
|
|
@Select("select code from t_triage_user_depts where isnull(del_flag,0)=0 " +
|
|
|
- "and chosen_dept like '%\"1060000\"%'")
|
|
|
+ "and (chosen_dept like '%\"1060000\"%' or chosen_dept like '%\"1060010\"%')")
|
|
|
List<String> selectVipTriageUser();
|
|
|
|
|
|
@Select("select rtrim(code_rs) from a_employee_mi where dept_code='2080000' and isnull(del_flag,'0')!='1'")
|