|
@@ -13,6 +13,7 @@ import com.tourism.webadmin.app.website.vo.TourGroupPurchaseUserVo;
|
|
|
import com.tourism.webadmin.back.model.TourProjectGroupPurchase;
|
|
|
import com.tourism.webadmin.back.model.TourProjectGroupPurchaseDetail;
|
|
|
import com.tourism.webadmin.back.model.TourUser;
|
|
|
+import com.tourism.webadmin.back.model.constant.Enable;
|
|
|
import com.tourism.webadmin.back.service.TourOrderService;
|
|
|
import com.tourism.webadmin.back.service.TourProjectGroupPurchaseDetailService;
|
|
|
import com.tourism.webadmin.back.service.TourProjectGroupPurchaseService;
|
|
@@ -77,7 +78,7 @@ public class WebsiteProjectGroupPurchaseController {
|
|
|
dto.setTravelStartTimeEnd(format.format(endDate));
|
|
|
}
|
|
|
dto.setEndTimeStart(format.format(new Date()));
|
|
|
-
|
|
|
+ dto.setState(Enable.ENABLE_YES);
|
|
|
TourProjectGroupPurchase tourProjectGroupPurchaseFilter = MyModelUtil.copyTo(dto, TourProjectGroupPurchase.class);
|
|
|
MyOrderParam myOrderParam = new MyOrderParam();
|
|
|
// 如果项目id不为空,说明是项目详情中进行查询的,那么按照出发时间正序排序,如果不为空,则是列表页查询的,按照设定的排序规则进行排序
|