| | |
| | | "</script>"}) |
| | | List<Map<String ,Object>> getPacsJcList(@Param("name")String name,@Param("mzh")String mzh,@Param("start")String start,@Param("end")String end); |
| | | |
| | | @DataSource(value = DataSourceType.SLAVE_LIS) |
| | | @Select({"<script>" + |
| | | "select * from V_JYBGHIS where mzh is not null " + |
| | | "<when test='name != null'>" + |
| | | "and name = #{name}" + |
| | | "</when>" + |
| | | "<when test='mzh != null'>" + |
| | | "and mzh = #{mzh}" + |
| | | "</when>" + |
| | | "<when test='start != null and end != null'>" + |
| | | "and examinationDate between #{start} and #{end}" + |
| | | "</when>" + |
| | | "order by examinationDate" + |
| | | "</script>"}) |
| | | List<Map<String ,Object>> getLisJyList(@Param("name")String name,@Param("mzh")String mzh,@Param("start")String start,@Param("end")String end); |
| | | |
| | | |
| | | |
| | | @DataSource(value = DataSourceType.SLAVE_LIS) |
| | |
| | | " \n" + |
| | | "FROM\n" + |
| | | " vi_his_patientinfo a\n" + |
| | | "WHERE a.HOSPITALID='chkwyy' AND a.PATIENTTYPE=3 AND a.GH_PATIENTNO =#{tjNum}") |
| | | "WHERE a.PATIENTTYPE=3 AND a.GH_PATIENTNO =#{tjNum}") |
| | | List<LtkjHysqd> getCcXZxYyLtkjHysqdByLisVi(String tjNum); |
| | | |
| | | |
| | |
| | | " SYSDATE() create_time\n" + |
| | | "FROM\n" + |
| | | " vi_his_patientresult a JOIN vi_his_patientinfo b ON b.SAMPLEID=a.SAMPLEID\n" + |
| | | "WHERE b.HOSPITALID='chkwyy' AND b.PATIENTTYPE=3 AND\n" + |
| | | "WHERE b.PATIENTTYPE=3 AND\n" + |
| | | " a.SAMPLEID = #{tmh}") |
| | | List<LtkjHybgd> getCcXZxYyLtkjHybgdByLisVi(String tmh); |
| | | |