Ver Fonte

1.控制台小定单取消轨迹表

wuhp há 1 ano atrás
pai
commit
e1409947a3

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

@@ -944,7 +944,7 @@
             iac.id as "orderno",
             io.orderno as "bigOrderno",
             iac.agreement_id as "agreementId",
-            iot.order_status as "orderstatus",
+            iac.orderstatus as "orderstatus",
             iac.company_id as "companyId",
             agree.partner_companies_id as "partnerCompaniesId",
             ins.namesimple as "partnerCompaniesName",
@@ -964,11 +964,7 @@
             su1.name  as "userName",
             su1.leader_name  as "leaderName"
             from
-            (
-            select iot.suborder,iot.order_status from `ins_orders_track` iot
-            GROUP BY iot.suborder ,iot.order_status
-            ) iot
-            left join ins_area_company  iac ON iac.id = iot.suborder
+            ins_area_company  iac
             LEFT JOIN ptl_agreement agree ON iac.agreement_id = agree.id
             LEFT JOIN ins_orders io ON iac.orderno = io.orderno
             LEFT JOIN sys_user su1  on  su1.id=io.userid