bug修复
This commit is contained in:
parent
78ad91b63a
commit
8fbb195db7
@ -50,17 +50,13 @@
|
||||
INNER JOIN deep_excavation_measure_point t2
|
||||
ON des.measure_point_number = t2.measure_point_number
|
||||
<where>
|
||||
<if test="deepExcavationId != null and deepExcavationId != ''">
|
||||
t2.deep_excavation_id = #{deepExcavationId}
|
||||
</if>
|
||||
</where>
|
||||
AND decd.receive_time >=
|
||||
CONCAT(DATE_FORMAT(DATE_ADD(NOW(), INTERVAL -6 DAY), '%Y-%m-%d'), ' 00:00:00')
|
||||
GROUP BY t2.rela_id) c ON demtr.id = c.rela_id
|
||||
<where>
|
||||
<if test="deepExcavationId != null and deepExcavationId != ''">
|
||||
demtr.deep_excavation_id = #{deepExcavationId}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
<select id="selectMonitorTypeAlarmCountList"
|
||||
|
||||
@ -51,18 +51,14 @@
|
||||
INNER JOIN high_slope_measure_point t2
|
||||
ON des.measure_point_number = t2.measure_point_number
|
||||
<where>
|
||||
<if test="highSlopeEngineeringId != null and highSlopeEngineeringId != ''">
|
||||
t2.high_slope_engineering_id = #{highSlopeEngineeringId}
|
||||
</if>
|
||||
</where>
|
||||
AND decd.receive_time >=
|
||||
CONCAT(DATE_FORMAT(DATE_ADD(NOW(), INTERVAL -6 DAY), '%Y-%m-%d'), ' 00:00:00')
|
||||
GROUP BY t2.high_slope_engineering_to_monitor_type_id) c ON demtr.id =
|
||||
c.high_slope_engineering_to_monitor_type_id
|
||||
<where>
|
||||
<if test="highSlopeEngineeringId != null and highSlopeEngineeringId != ''">
|
||||
demtr.high_slope_engineering_id = #{highSlopeEngineeringId}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
<select id="selectMonitorTypeAlarmCountList" resultType="java.util.Map">
|
||||
|
||||
@ -52,18 +52,14 @@
|
||||
INNER JOIN steel_structure_measure_point t2
|
||||
ON des.measure_point_number = t2.measure_point_number
|
||||
<where>
|
||||
<if test="steelStructureEngineeringId != null and steelStructureEngineeringId != ''">
|
||||
t2.steel_structure_engineering_id = #{steelStructureEngineeringId}
|
||||
</if>
|
||||
</where>
|
||||
AND decd.receive_time >=
|
||||
CONCAT(DATE_FORMAT(DATE_ADD(NOW(), INTERVAL -6 DAY), '%Y-%m-%d'), ' 00:00:00')
|
||||
GROUP BY t2.steel_structure_engineering_to_monitor_type_id) c ON demtr.id =
|
||||
c.steel_structure_engineering_to_monitor_type_id
|
||||
<where>
|
||||
<if test="steelStructureEngineeringId != null and steelStructureEngineeringId != ''">
|
||||
demtr.steel_structure_engineering_id = #{steelStructureEngineeringId}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
<select id="selectMonitorTypeAlarmCountList" resultType="java.util.Map">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user