|
|
|
@@ -108,5 +108,18 @@ public class WxOrderGroupController extends BaseController { |
|
|
|
return wxOrderGroupService.queryOrderGroupStatus(wxOrderGroup); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation(value = "查询是否已参团") |
|
|
|
@GetMapping("queryAttendStatus") |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "id", value = "id", dataType = "Long", paramType = "query", required = true), |
|
|
|
}) |
|
|
|
public ResultData queryAttendStatus(@ModelAttribute WxOrderGroup wxOrderGroup) { |
|
|
|
if (wxOrderGroup.getId() == null) { |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(), "id不能为空"); |
|
|
|
} |
|
|
|
wxOrderGroup.setUserId(getUserId()); |
|
|
|
wxOrderGroup.setTenantId(getTenantId()); |
|
|
|
return wxOrderGroupService.queryAttendStatus(wxOrderGroup); |
|
|
|
} |
|
|
|
|
|
|
|
} |