zhs 3 years ago
parent
commit
0b7f11d4d2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/resources/config/mapping/SupplierReleaseMapper.xml

+ 2 - 2
src/main/resources/config/mapping/SupplierReleaseMapper.xml

@@ -101,8 +101,8 @@
             c.people_num
         FROM
             bus_confirm_ordering a
-            LEFT JOIN ( SELECT uuid, price_all, offer_name,demand_uuid FROM bus_supplier_release WHERE code = #{code} AND demand_uuid = #{demandUuid} ) b ON a.release_uuid = b.uuid
-            LEFT JOIN ( SELECT uuid, origin, people_num, (start_time + '~' + end_time ) AS travelDate FROM bus_private_ordering) c on b.demand_uuid = c.uuid
+            JOIN ( SELECT uuid, price_all, offer_name,demand_uuid FROM bus_supplier_release WHERE code = #{code} AND demand_uuid = #{demandUuid} ) b ON a.release_uuid = b.uuid
+            JOIN ( SELECT uuid, origin, people_num, (start_time + '~' + end_time ) AS travelDate FROM bus_private_ordering) c on b.demand_uuid = c.uuid
         ORDER BY
             a.jdrq DESC
     </select>