|
@@ -1499,13 +1499,13 @@
|
|
|
and c.data_area = #{dataArea}
|
|
|
</if>
|
|
|
</where>
|
|
|
- <if test="groupTypr != 0">
|
|
|
+ <if test="groupTypr == 0">
|
|
|
GROUP BY a.dataTime,a.deviceName
|
|
|
</if>
|
|
|
- <if test="groupTypr != 1">
|
|
|
+ <if test="groupTypr == 1">
|
|
|
GROUP BY a.freezingTime,a.deviceName
|
|
|
</if>
|
|
|
- <if test="groupTypr != 2">
|
|
|
+ <if test="groupTypr == 2">
|
|
|
GROUP BY freezingTimes,a.deviceName
|
|
|
</if>
|
|
|
</select>
|