|
|
@@ -474,10 +474,8 @@
|
|
|
RCA.REMARK1 "remark1",
|
|
|
RCA.CAPACITY_NUMBER "capacityNumber",
|
|
|
(case
|
|
|
- when RCA.deleted = '3' is not null then '维保'
|
|
|
when oto.capacity_id is null then '空闲'
|
|
|
when oto.deleted != '2' and oto.capacity_id is not null then '已派'
|
|
|
- when oto.deleted = '2' and oto.capacity_id is not null then '空闲'
|
|
|
end) "status",
|
|
|
RCT.CAPACITY_TYPE_NAME "capacityTypeName",
|
|
|
'capacityNumber' "prop"
|
|
|
@@ -638,8 +636,10 @@
|
|
|
else RCA.REMARK1
|
|
|
end "capacityNumber",
|
|
|
(case
|
|
|
+ when RCA.deleted = '3' then '维保'
|
|
|
when oto.capacity_id is null then '空闲'
|
|
|
when oto.deleted != '2' and oto.capacity_id is not null then '已派'
|
|
|
+ when oto.deleted = '2' and oto.capacity_id is not null then '空闲'
|
|
|
end) "status",
|
|
|
RCT.CAPACITY_TYPE_NAME "capacityTypeName",
|
|
|
'capacityNumber' "prop"
|