浏览代码

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);
 
     //疑似