Commit 00fef50b authored by KeYong's avatar KeYong

更新

parent a3dba1bf
...@@ -3904,7 +3904,7 @@ ...@@ -3904,7 +3904,7 @@
<select id="selectAlarmList" resultType="java.util.Map"> <select id="selectAlarmList" resultType="java.util.Map">
select select
a1.*, a1.*,
(a1.num - a1.alarm_equip_num) as normalEquipNum, ABS(a1.num - a1.alarm_equip_num) as normalEquipNum,
concat(FORMAT( (abs( ( (a1.num - a1.alarm_equip_num) / IF ( a1.num = 0, 1, a1.num ) ) ) * 100 concat(FORMAT( (abs( ( (a1.num - a1.alarm_equip_num) / IF ( a1.num = 0, 1, a1.num ) ) ) * 100
),2), '%') as normalEquipPercent, ),2), '%') as normalEquipPercent,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment