wangbo 3 years ago
parent
commit
2824059f26

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

@@ -1139,7 +1139,7 @@
       else 5 end duration
       from
       (
-      select TIMESTAMPDIFF(MINUTE,date_create,finish_date)/60 duration
+      select TIMESTAMPDIFF(DAY,date_create,finish_date) duration
       from sc_work_order_manage t1
       <where>t1.order_status=2
         and t1.