Commit ebcbb546 by liuyang

2024-10-19 设备驾驶舱接口调整

parent b8f01597
...@@ -825,8 +825,11 @@ ...@@ -825,8 +825,11 @@
select select
EQUIPMENT_CODE, EQUIPMENT_CODE,
count(1) as NUM count(1) as NUM
from hpjx.t_hpsb002 from ${hpjxSchema}.t_hpsb002
where EQUIPMENT_TYPE = 'STARUS_TYPE' where EQUIPMENT_TYPE = 'STARUS_TYPE'
<isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="logValues"> <isNotEmpty prepend=" AND " property="logValues">
LOG_VALUE IN <iterate close=")" open="(" conjunction="," property="logValues">#logValues[]#</iterate> LOG_VALUE IN <iterate close=")" open="(" conjunction="," property="logValues">#logValues[]#</iterate>
</isNotEmpty> </isNotEmpty>
...@@ -835,9 +838,7 @@ ...@@ -835,9 +838,7 @@
</isNotEmpty> </isNotEmpty>
group by EQUIPMENT_CODE group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE ) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
a.DELETE_FLAG = 0
and DEVICE_STATUS = 1
<isNotEmpty prepend=" AND " property="companyCode"> <isNotEmpty prepend=" AND " property="companyCode">
a.COMPANY_CODE = #companyCode# a.COMPANY_CODE = #companyCode#
</isNotEmpty> </isNotEmpty>
...@@ -858,8 +859,11 @@ ...@@ -858,8 +859,11 @@
select select
EQUIPMENT_CODE, EQUIPMENT_CODE,
count(1) as NUM count(1) as NUM
from hpjx.t_hpsb002 from ${hpjxSchema}.t_hpsb002
where EQUIPMENT_TYPE = 'STARUS_TYPE' where EQUIPMENT_TYPE = 'STARUS_TYPE'
<isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="logValues"> <isNotEmpty prepend=" AND " property="logValues">
LOG_VALUE IN <iterate close=")" open="(" conjunction="," property="logValues">#logValues[]#</iterate> LOG_VALUE IN <iterate close=")" open="(" conjunction="," property="logValues">#logValues[]#</iterate>
</isNotEmpty> </isNotEmpty>
...@@ -868,9 +872,7 @@ ...@@ -868,9 +872,7 @@
</isNotEmpty> </isNotEmpty>
group by EQUIPMENT_CODE group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE ) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
a.DELETE_FLAG = 0
and DEVICE_STATUS = 1
<isNotEmpty prepend=" AND " property="companyCode"> <isNotEmpty prepend=" AND " property="companyCode">
a.COMPANY_CODE = #companyCode# a.COMPANY_CODE = #companyCode#
</isNotEmpty> </isNotEmpty>
...@@ -891,8 +893,11 @@ ...@@ -891,8 +893,11 @@
select select
EQUIPMENT_CODE, EQUIPMENT_CODE,
count(1) as NUM count(1) as NUM
from hpjx.t_hpsb002 from ${hpjxSchema}.t_hpsb002
where EQUIPMENT_TYPE = 'STARUS_TYPE' where EQUIPMENT_TYPE = 'STARUS_TYPE'
<isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="logValues"> <isNotEmpty prepend=" AND " property="logValues">
LOG_VALUE IN <iterate close=")" open="(" conjunction="," property="logValues">#logValues[]#</iterate> LOG_VALUE IN <iterate close=")" open="(" conjunction="," property="logValues">#logValues[]#</iterate>
</isNotEmpty> </isNotEmpty>
...@@ -901,9 +906,7 @@ ...@@ -901,9 +906,7 @@
</isNotEmpty> </isNotEmpty>
group by EQUIPMENT_CODE group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE ) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
a.DELETE_FLAG = 0
and DEVICE_STATUS = 1
<isNotEmpty prepend=" AND " property="companyCode"> <isNotEmpty prepend=" AND " property="companyCode">
a.COMPANY_CODE = #companyCode# a.COMPANY_CODE = #companyCode#
</isNotEmpty> </isNotEmpty>
...@@ -924,8 +927,11 @@ ...@@ -924,8 +927,11 @@
select select
EQUIPMENT_CODE, EQUIPMENT_CODE,
count(1) as NUM count(1) as NUM
from hpjx.t_hpsb002 from ${hpjxSchema}.t_hpsb002
where EQUIPMENT_TYPE = 'STARUS_TYPE' where EQUIPMENT_TYPE = 'STARUS_TYPE'
<isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="logValues"> <isNotEmpty prepend=" AND " property="logValues">
LOG_VALUE IN <iterate close=")" open="(" conjunction="," property="logValues">#logValues[]#</iterate> LOG_VALUE IN <iterate close=")" open="(" conjunction="," property="logValues">#logValues[]#</iterate>
</isNotEmpty> </isNotEmpty>
...@@ -934,9 +940,7 @@ ...@@ -934,9 +940,7 @@
</isNotEmpty> </isNotEmpty>
group by EQUIPMENT_CODE group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE ) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
a.DELETE_FLAG = 0
and DEVICE_STATUS = 1
<isNotEmpty prepend=" AND " property="companyCode"> <isNotEmpty prepend=" AND " property="companyCode">
a.COMPANY_CODE = #companyCode# a.COMPANY_CODE = #companyCode#
</isNotEmpty> </isNotEmpty>
...@@ -957,8 +961,11 @@ ...@@ -957,8 +961,11 @@
select select
EQUIPMENT_CODE, EQUIPMENT_CODE,
count(1) as NUM count(1) as NUM
from hpjx.t_hpsb002 from ${hpjxSchema}.t_hpsb002
where EQUIPMENT_TYPE = 'STARUS_TYPE' where EQUIPMENT_TYPE = 'STARUS_TYPE'
<isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="logValues"> <isNotEmpty prepend=" AND " property="logValues">
LOG_VALUE IN <iterate close=")" open="(" conjunction="," property="logValues">#logValues[]#</iterate> LOG_VALUE IN <iterate close=")" open="(" conjunction="," property="logValues">#logValues[]#</iterate>
</isNotEmpty> </isNotEmpty>
...@@ -967,9 +974,7 @@ ...@@ -967,9 +974,7 @@
</isNotEmpty> </isNotEmpty>
group by EQUIPMENT_CODE group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE ) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
a.DELETE_FLAG = 0
and DEVICE_STATUS = 1
<isNotEmpty prepend=" AND " property="companyCode"> <isNotEmpty prepend=" AND " property="companyCode">
a.COMPANY_CODE = #companyCode# a.COMPANY_CODE = #companyCode#
</isNotEmpty> </isNotEmpty>
...@@ -990,8 +995,11 @@ ...@@ -990,8 +995,11 @@
select select
EQUIPMENT_CODE, EQUIPMENT_CODE,
count(1) as NUM count(1) as NUM
from hpjx.t_hpsb002 from ${hpjxSchema}.t_hpsb002
where EQUIPMENT_TYPE = 'STARUS_TYPE' where EQUIPMENT_TYPE = 'STARUS_TYPE'
<isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="logValues"> <isNotEmpty prepend=" AND " property="logValues">
LOG_VALUE IN <iterate close=")" open="(" conjunction="," property="logValues">#logValues[]#</iterate> LOG_VALUE IN <iterate close=")" open="(" conjunction="," property="logValues">#logValues[]#</iterate>
</isNotEmpty> </isNotEmpty>
...@@ -1000,9 +1008,7 @@ ...@@ -1000,9 +1008,7 @@
</isNotEmpty> </isNotEmpty>
group by EQUIPMENT_CODE group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE ) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
a.DELETE_FLAG = 0
and DEVICE_STATUS = 1
<isNotEmpty prepend=" AND " property="companyCode"> <isNotEmpty prepend=" AND " property="companyCode">
a.COMPANY_CODE = #companyCode# a.COMPANY_CODE = #companyCode#
</isNotEmpty> </isNotEmpty>
...@@ -1023,8 +1029,11 @@ ...@@ -1023,8 +1029,11 @@
select select
EQUIPMENT_CODE, EQUIPMENT_CODE,
count(1) as NUM count(1) as NUM
from hpjx.t_hpsb002 from ${hpjxSchema}.t_hpsb002
where EQUIPMENT_TYPE = 'STARUS_TYPE' where EQUIPMENT_TYPE = 'STARUS_TYPE'
<isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="logValues"> <isNotEmpty prepend=" AND " property="logValues">
LOG_VALUE IN <iterate close=")" open="(" conjunction="," property="logValues">#logValues[]#</iterate> LOG_VALUE IN <iterate close=")" open="(" conjunction="," property="logValues">#logValues[]#</iterate>
</isNotEmpty> </isNotEmpty>
......
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