| | |
| | | @DataSource(value = DataSourceType.SLAVE_PACS) |
| | | @Select({"<script>" + |
| | | "select * from V_JCBGLBHIS where mzh is not null " + |
| | | // "<when test='name != null'>" + |
| | | // "and name = #{name}" + |
| | | // "</when>" + |
| | | // "<when test='mzh != null'>" + |
| | | // "and mzh = #{mzh}" + |
| | | "and (mzh = #{mzh} or name like CONCAT('%', #{name}, '%') )" + |
| | | // "</when>" + |
| | | // "<when test='start != null and end != null'>" + |
| | | // "and examinationDate between #{start} and #{end}" + |
| | | // "</when>" + |
| | | "and (mzh = #{mzh} or name like '%' + #{name} + '%' )" + |
| | | "order by examinationDate" + |
| | | "</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_HIS) |
| | | @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}" + |
| | | "and (mzh = #{mzh} or name like CONCAT('%', #{name}, '%') )" + |
| | | // "</when>" + |
| | | // "<when test='start != null and end != null'>" + |
| | | // "and examinationDate between #{start} and #{end}" + |
| | | // "</when>" + |
| | | "and (mzh = #{mzh} or name like '%' + #{name} + '%' )" + |
| | | "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); |
| | |
| | | " \n" + |
| | | "FROM\n" + |
| | | " vi_his_patientinfo a\n" + |
| | | "WHERE a.PATIENTTYPE=3 AND a.GH_PATIENTNO =#{tjNum}") |
| | | List<LtkjHysqd> getCcXZxYyLtkjHysqdByLisVi(String tjNum); |
| | | "WHERE a.PATIENTTYPE=3 AND a.GH_PATIENTNO =#{tjNum} AND a.HOSPITALID =#{dqyyyqbm}") |
| | | List<LtkjHysqd> getCcXZxYyLtkjHysqdByLisVi(@Param("tjNum") String tjNum,@Param("dqyyyqbm") String dqyyyqbm); |
| | | |
| | | |
| | | |
| | |
| | | " SYSDATE create_time\n" + |
| | | " \n" + |
| | | "FROM\n" + |
| | | " ris.V_TJ_JCBGXX_NEWTJ a WHERE trim(a.HIS_ID)=#{tjNum}") |
| | | List<LtkjExamJcsqd> getCcXZxYyPacsLtkjExamJcsqd(String tjNum); |
| | | " ris.V_TJ_JCBGXX_NEWTJ a WHERE trim(a.HIS_ID)=#{tjNum} AND a.HOSTPITALID =#{dqyyyqbm} ") |
| | | List<LtkjExamJcsqd> getCcXZxYyPacsLtkjExamJcsqd(@Param("tjNum") String tjNum,@Param("dqyyyqbm") String dqyyyqbm); |
| | | |
| | | |
| | | @DataSource(value = DataSourceType.SLAVE_PACS) |