Ver Fonte

fix 课程待发车平台过滤

zoujiajian há 2 anos atrás
pai
commit
82b66e61d0

+ 1 - 1
netflix-dao/src/main/java/com/cyksj/model/views/GroupsTripsWaitingView.java

@@ -9,7 +9,7 @@ import lombok.Setter;
 @Setter
 @SearchBean(tables = "groups_trips gt left join goods_don_sku sku on gt.sku_id = sku.id " +
         "left join goods_don g on g.id = sku.goods_id",
-        where = "gt.status = 'waiting' and g.type = 1 and g.second_type = 2",
+        where = "gt.status = 'waiting' and g.type = 1 and g.second_type = 2 and (g.special_type is null or g.special_type != 'courseware')",
         groupBy = "g.title")
 public class GroupsTripsWaitingView {
     @DbField("g.title")