diff --git a/src/main/resources/mapper/artificer/OrdersDao.xml b/src/main/resources/mapper/artificer/OrdersDao.xml index 7b3ba77..0417b70 100644 --- a/src/main/resources/mapper/artificer/OrdersDao.xml +++ b/src/main/resources/mapper/artificer/OrdersDao.xml @@ -395,7 +395,7 @@ where o1.old_orders_id is not null and o1.status != 11 - and o1.user_package_id = #{userPackageId} + and o2.user_package_id = #{userPackageId} and o1.user_id=#{userId}