|
@ -42,10 +42,10 @@ public class PatientBookingController extends WeixinBaseController{
|
|
|
@ResponseBody
|
|
|
@ApiOperation("取消挂号单")
|
|
|
public String CancelOrder(@ApiParam(name = "orderId", value = "订单id", defaultValue = "48")
|
|
|
@RequestParam(value = "orderId", required = true) Long orderId) {
|
|
|
@RequestParam(value = "orderId", required = true) String orderId) {
|
|
|
try {
|
|
|
//获取订单信息
|
|
|
PatientReservation obj = patientReservationService.findById(orderId);
|
|
|
PatientReservation obj = patientReservationService.findByCode(orderId);
|
|
|
boolean re = false;
|
|
|
if (obj != null) {
|
|
|
String type = obj.getType();
|