|
@@ -32,11 +32,11 @@ 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 #{temperature}<![CDATA[ >=]]> 36 and #{temperature}<![CDATA[ <= ]]>37.3")
|
|
|
- Integer selectisSuspectedNum(@Param("reportId") Long reportId, @Param("temperature") BigDecimal temperature);
|
|
|
+ @Select("select count(*) from ms_suspected where report_id=#{reportId} and temperature>= 36 and temperature<=37.3")
|
|
|
+ Integer selectisSuspectedNum(@Param("reportId") Long reportId);
|
|
|
|
|
|
//疑似
|
|
|
- @Select("select count(*) from ms_suspected where report_id=#{reportId} and (#{temperature} < 36 or 37.3 < #{temperature})")
|
|
|
- Integer selectisNoSuspectedNum(@Param("reportId") Long reportId, @Param("temperature") BigDecimal temperature);
|
|
|
+ @Select("select count(*) from ms_suspected where report_id=#{reportId} and (temperature<36 or 37.3>temperature)")
|
|
|
+ Integer selectisNoSuspectedNum(@Param("reportId") Long reportId);
|
|
|
|
|
|
}
|