소스 검색

xielianghe

lange 5 년 전
부모
커밋
c0bcea0a92
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      whepi-web/src/main/java/com/bofeng/dao/MsReportMapper.java

+ 1 - 1
whepi-web/src/main/java/com/bofeng/dao/MsReportMapper.java

@@ -32,7 +32,7 @@ public interface MsReportMapper extends BaseMapper<MsReport> {
     Integer selectSingleRoomNum(@Param("reportId") Long reportId, @Param("singleRoom") Integer singleRoom);
 
     //正常
-    @Select("select count(*) from ms_suspected where report_id=#{reportId} and  36 &lt;= #{temperature} and #{temperature} &lt;= 37.3")
+    @Select("select count(*) from ms_suspected where report_id=#{reportId} and  #{temperature}<![CDATA[ >=]]> 36 and #{temperature}<![CDATA[ <= ]]>37.3")
     Integer selectisSuspectedNum(@Param("reportId") Long reportId, @Param("temperature") BigDecimal temperature);
 
     //疑似