wks 1 год назад
Родитель
Сommit
ee7c5e7e76
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/main/resources/mapper/modules/order/InsAreaCompanyMapper.xml

+ 2 - 2
src/main/resources/mapper/modules/order/InsAreaCompanyMapper.xml

@@ -2561,7 +2561,7 @@
 
 
     <select id="getSubOrderCountDTO" resultType="com.ydtech.modules.order.entity.dto.SubOrderCountDTO">
-        select orderno, orderstatus, count(*) as count
+        select orderno, orderstatus, count(*)as count
         from (select orderno, company_id, orderstatus
         from ins_area_company
         where orderno in
@@ -2570,7 +2570,7 @@
         </foreach>
         and del_flag = '1'
         group by orderno, company_id, orderstatus) as iac
-        group by orderstatus
+        group by orderno, orderstatus
     </select>
 
     <select id="getAllRejectOrders" resultType="com.ydtech.modules.order.entity.InsAreaCompany">