监测点、终端的状态修改
This commit is contained in:
@@ -26,8 +26,8 @@
|
||||
<if test="_databaseId == 'MariaDB'">
|
||||
case
|
||||
when a.devflag = 0 then '投运'
|
||||
when a.devflag = 1 then '热备用'
|
||||
when a.devflag = 2 then '停运'
|
||||
when a.devflag = 1 then '检修'
|
||||
when a.devflag = 2 then '退运'
|
||||
end
|
||||
as devflag,
|
||||
case
|
||||
@@ -37,7 +37,7 @@
|
||||
as status,
|
||||
</if>
|
||||
<if test="_databaseId == 'Oracle'">
|
||||
decode(a.devflag, 0, '投运', 1, '热备用', '停运') as devflag,
|
||||
decode(a.devflag, 0, '投运', 1, '检修', '退运') as devflag,
|
||||
decode(a.status, 0, '中断', 1, '正常') as status,
|
||||
</if>
|
||||
<if test="_databaseId == 'Oracle'">
|
||||
@@ -227,8 +227,8 @@
|
||||
<if test="_databaseId == 'MariaDB'">
|
||||
case
|
||||
when a.devflag = 0 then '投运'
|
||||
when a.devflag = 1 then '热备用'
|
||||
when a.devflag = 2 then '停运'
|
||||
when a.devflag = 1 then '检修'
|
||||
when a.devflag = 2 then '退运'
|
||||
end
|
||||
as devflag,
|
||||
case
|
||||
@@ -238,7 +238,7 @@
|
||||
as status,
|
||||
</if>
|
||||
<if test="_databaseId == 'Oracle'">
|
||||
decode(a.DEVFLAG, 0, '正常', 1, '热备用', '停运') as devflag,
|
||||
decode(a.DEVFLAG, 0, '正常', 1, '检修', '退运') as devflag,
|
||||
decode(a.status, 0, '中断', 1, '正常') as status,
|
||||
</if>
|
||||
<if test="_databaseId == 'Oracle'">
|
||||
@@ -308,8 +308,8 @@
|
||||
<if test="_databaseId == 'MariaDB'">
|
||||
case
|
||||
when a.devflag = 0 then '投运'
|
||||
when a.devflag = 1 then '热备用'
|
||||
when a.devflag = 2 then '停运'
|
||||
when a.devflag = 1 then '检修'
|
||||
when a.devflag = 2 then '退运'
|
||||
end
|
||||
as devflag,
|
||||
case
|
||||
@@ -319,11 +319,11 @@
|
||||
as status,
|
||||
</if>
|
||||
<if test="_databaseId == 'Oracle'">
|
||||
decode(a.devflag, 0, '投运', 1, '热备用', '停运') as devflag,
|
||||
decode(a.devflag, 0, '投运', 1, '检修', '退运') as devflag,
|
||||
decode(a.status, 0, '中断', 1, '正常') as status,
|
||||
</if>
|
||||
<if test="_databaseId == 'Oracle'">
|
||||
decode(d.status, 0, '投运', 1, '热备用', '停运') as lineStatus,
|
||||
decode(d.status, 0, '投运', 1, '检修', '退运') as lineStatus,
|
||||
</if>
|
||||
<if test="_databaseId == 'Oracle'">
|
||||
to_char(a.updatetime, 'yyyy-MM-dd hh24:mi:ss') as updatetime,
|
||||
|
||||
Reference in New Issue
Block a user