|
@@ -2,6 +2,7 @@ package thyyxxk.webserver.dao.his.outpatient.triage;
|
|
|
|
|
|
import org.apache.ibatis.annotations.*;
|
|
|
import thyyxxk.webserver.entity.dictionary.CodeName;
|
|
|
+import thyyxxk.webserver.entity.outpatient.triage.FloorScreenSetting;
|
|
|
import thyyxxk.webserver.entity.outpatient.triage.MzfzZdDeptRoom;
|
|
|
import thyyxxk.webserver.entity.outpatient.triage.RoomIp;
|
|
|
|
|
@@ -15,20 +16,17 @@ public interface TriageSettingsDao {
|
|
|
|
|
|
// 获取员工已选择的科室
|
|
|
@Select("select chosen_dept from t_triage_user_depts with(nolock) where code=#{code}")
|
|
|
- String getChosenDept(@Param("code") String code);
|
|
|
+ String getChosenDept(String code);
|
|
|
|
|
|
@Update("update t_triage_user_depts set chosen_dept=#{chosenDept} where code=#{code}")
|
|
|
- int saveChosenDept(@Param("code") String code, @Param("chosenDept") String chosenDept);
|
|
|
+ int saveChosenDept(String code, String chosenDept);
|
|
|
|
|
|
@Insert("insert into t_triage_user_depts (code, code_rs, name, chosen_dept) values " +
|
|
|
"(#{code}, #{codeRs}, #{name},#{depts})")
|
|
|
- void insertChosenDept(@Param("code") String code,
|
|
|
- @Param("codeRs") String codeRs,
|
|
|
- @Param("name") String name,
|
|
|
- @Param("depts") String depts);
|
|
|
+ void insertChosenDept(String code, String codeRs, String name, String depts);
|
|
|
|
|
|
@Select("select rtrim(code_rs) as code, rtrim(name) as name from a_employee_mi where code=#{code}")
|
|
|
- CodeName selectEmployeeCodeRsName(@Param("code") String code);
|
|
|
+ CodeName selectEmployeeCodeRsName(String code);
|
|
|
|
|
|
@Select("<script>" +
|
|
|
"select *, " +
|
|
@@ -41,10 +39,10 @@ public interface TriageSettingsDao {
|
|
|
"#{deptCode}" +
|
|
|
"</foreach>" +
|
|
|
"</script>")
|
|
|
- List<MzfzZdDeptRoom> getChosenRoom(@Param("deptCodes") String[] depts);
|
|
|
+ List<MzfzZdDeptRoom> getChosenRoom(String[] deptCodes);
|
|
|
|
|
|
@Select("select rtrim(code) code, rtrim(name) name from a_employee_mi with(nolock) where py_code like #{content} and isnull(del_flag,0)!=1")
|
|
|
- List<CodeName> searchDoctor(@Param("content") String content);
|
|
|
+ List<CodeName> searchDoctor(String content);
|
|
|
|
|
|
@Select("select rtrim(code) code, rtrim(name) name, rtrim(py_code) pyCode from mzy_zd_charge_type with(nolock) where isnull(del_flag,0)!=1")
|
|
|
List<CodeName> getReqs();
|
|
@@ -59,4 +57,10 @@ public interface TriageSettingsDao {
|
|
|
|
|
|
@Update("update zd_triage_room_ip set ip=#{ip} where [key]=#{key}")
|
|
|
void updateRoomIp(RoomIp param);
|
|
|
+
|
|
|
+ @Select("select * from t_floor_screen_settings where user_code=#{userCode}")
|
|
|
+ FloorScreenSetting getFloorScreenSetting(String userCode);
|
|
|
+
|
|
|
+ @Select("select rolling_message from t_floor_screen_settings where user_code='system'")
|
|
|
+ String getRollingMessage();
|
|
|
}
|