@@ -50,7 +50,7 @@ public class QcClientFacade {
throw new CommonException(CommonErrorCode.NOT_EXISTS, "配置表内找不到评分接口地址数据!");
}
try {
- url="http://192.168.2.186:6010";
+ url="http://192.168.2.241:6010";
uri = new URI(url);
} catch (Exception e) {
throw new CommonException(CommonErrorCode.SERVER_IS_ERROR);
@@ -730,8 +730,8 @@
<!-- 死亡人数统计-全院-首页 -->
<select id="deathCount" parameterType="com.diagbot.vo.FilterVO" resultType="int">
- SELECT
- COUNT(*)
+ select COUNT(*) from(
+ SELECT distinct a.*
FROM
med_behospital_info a,
med_medical_record b,
@@ -767,7 +767,7 @@
<if test="endDate != null and endDate != ''">
<![CDATA[ AND a.leave_hospital_date <= #{endDate}]]>
</if>
- </if>
+ </if>)m
</select>
<!-- 手术人数统计-全院-首页 -->