wangbo 3 лет назад
Родитель
Сommit
caf5045450

+ 2 - 2
operation_manager/src/main/resources/mapper/order/WorkOrderManageMapper.xml

@@ -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&lt;=1 then 1 when duration>1 and duration&lt;=2 then 2
+      when duration>2 and duration&lt;=3 then 3 when duration>3 and duration&lt;=4 then 4
       else 5 end duration
       from
       (