|
@@ -1134,8 +1134,8 @@
|
|
|
<!--工单时长统计-->
|
|
|
<select id="orderDurationStatistics" resultMap="StatisticsMap">
|
|
|
select count(*) statistics_value,duration statistics_name from(
|
|
|
- select case when duration<=1 then 1 when duration>1 and duration<=2 then 2
|
|
|
- when duration>2 and duration<=3 then 3 when duration>3 and duration<=4 then 4
|
|
|
+ select case when duration<=1 then 1 when duration>1 and duration<=2 then 2
|
|
|
+ when duration>2 and duration<=3 then 3 when duration>3 and duration<=4 then 4
|
|
|
else 5 end duration
|
|
|
from
|
|
|
(
|