Parcourir la source

fix 待发车可用车位数车位状态

zoujiajian il y a 2 ans
Parent
commit
5ffb9e4bd6

+ 2 - 1
netflix-dao/src/main/resources/mapper/GroupRelationMapper.xml

@@ -277,6 +277,7 @@
                  inner join groups_relation gr on gr.groups_id = gt.id
             and gt.`status` = 'waiting'
             and gt.sku_id = #{skuId}
-            and gr.status = 'validity'
+            and gr.user_id != 0
+            and gr.status in ('validity','outside')
     </select>
 </mapper>