| | |
| | | @Param("nn")String nn); |
| | | |
| | | @DataSource(value = DataSourceType.SLAVE_PACS) |
| | | @Select({"<script>" + |
| | | "select * from V_JCBGLBHIS where mzh is not null " + |
| | | "and (mzh = #{mzh} or name = #{name} )" + |
| | | "order by examinationDate" + |
| | | // @Select({"<script>" + |
| | | // "select * from V_JCBGLBHIS where mzh is not null " + |
| | | // "and (mzh = #{mzh} or name = #{name} )" + |
| | | // "order by examinationDate" + |
| | | // "</script>"}) |
| | | @Select({"<script>", |
| | | "SELECT * FROM V_JCBGLBHIS ", |
| | | "WHERE name = #{name} ", |
| | | "<if test='mzh != null and mzh != \"\"'>", |
| | | " OR mzh = #{mzh} ", |
| | | "</if>", |
| | | "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 " + |
| | | "and (mzh = #{mzh} or name = #{name} )" + |
| | | "order by examinationDate" + |
| | | // @Select({"<script>" + |
| | | // "select * from V_JYBGHIS where mzh is not null " + |
| | | // "and (mzh = #{mzh} or name = #{name} )" + |
| | | // "order by examinationDate" + |
| | | // "</script>"}) |
| | | @Select({"<script>", |
| | | "select * from V_JYBGHIS where name = #{name}", |
| | | "<if test='mzh != null and mzh != \"\"'>", |
| | | " OR mzh = #{mzh} ", |
| | | "</if>", |
| | | "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) |
| | | @Select("select t.* from vi_his_patientresult t \n" + |