海南数据不一致问题处理

This commit is contained in:
2025-12-26 15:29:33 +08:00
parent c3cc39973e
commit faac7953d3
10 changed files with 179 additions and 48 deletions

View File

@@ -19,7 +19,8 @@
<select id="getOnIntegrityByIds" resultType="com.njcn.device.pq.pojo.vo.RStatIntegrityVO">
SELECT
line_index AS lineIndex,
ROUND(sum( real_time )*1.0 / sum( due_time ) * 100,2) AS integrityRate
sum(real_time) AS realTime,
sum(due_time) AS dueTime
FROM
r_stat_integrity_d
<where>