|
|
@ -21,6 +21,7 @@ public class YbsjyAppletsAppointmentController { |
|
|
|
YbsjyAppointmentSettingService ybsjyAppointmentSettingService; |
|
|
|
YbsjyAppointmentSettingService ybsjyAppointmentSettingService; |
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
|
YbsjyAppointmentRecordService ybsjyAppointmentRecordService; |
|
|
|
YbsjyAppointmentRecordService ybsjyAppointmentRecordService; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 通过日期和景区参数去获取预约列表 |
|
|
|
* 通过日期和景区参数去获取预约列表 |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -42,15 +43,17 @@ public class YbsjyAppletsAppointmentController { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 小程序取消预约 |
|
|
|
* 小程序取消预约 |
|
|
|
|
|
|
|
* |
|
|
|
* @param id |
|
|
|
* @param id |
|
|
|
* @param unionId |
|
|
|
* @param unionId |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@RequestMapping("appletsCancelAppointment") |
|
|
|
@RequestMapping("appletsCancelAppointment") |
|
|
|
public ServerResponse appletsCancelAppointment( Long id,String unionId) { |
|
|
|
public ServerResponse appletsCancelAppointment(Long id, String unionId) { |
|
|
|
|
|
|
|
|
|
|
|
return ybsjyAppointmentRecordService.cancelAppointment(id,unionId); |
|
|
|
return ybsjyAppointmentRecordService.cancelAppointment(id, unionId); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 小程序预约记录 |
|
|
|
* 小程序预约记录 |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -59,12 +62,37 @@ public class YbsjyAppletsAppointmentController { |
|
|
|
|
|
|
|
|
|
|
|
return ybsjyAppointmentSettingService.appletsAppointmentRecord(getAppointmentRecordVO); |
|
|
|
return ybsjyAppointmentSettingService.appletsAppointmentRecord(getAppointmentRecordVO); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 小程序预约详情 |
|
|
|
* 小程序预约详情 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@RequestMapping("appletsAppointmentDocumentsDetails") |
|
|
|
@RequestMapping("appletsAppointmentDocumentsDetails") |
|
|
|
public ServerResponse appletsAppointmentDocumentsDetails(Long id){ |
|
|
|
public ServerResponse appletsAppointmentDocumentsDetails(Long id) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return ybsjyAppointmentSettingService.appletsAppointmentDocumentsDetails(id); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 更新播放数据 |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @param id |
|
|
|
|
|
|
|
* @return |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@RequestMapping("updatePlayCount") |
|
|
|
|
|
|
|
public ServerResponse updatePlayCount(String id) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return ybsjyAppointmentSettingService.updatePlayCount(id); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 获取播放数据 |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @param id |
|
|
|
|
|
|
|
* @return |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@RequestMapping("getPlayCount") |
|
|
|
|
|
|
|
public ServerResponse getPlayCount(String id) { |
|
|
|
|
|
|
|
|
|
|
|
return ybsjyAppointmentSettingService.appletsAppointmentDocumentsDetails(id); |
|
|
|
return ybsjyAppointmentSettingService.getPlayCount(id); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|