|
@@ -126,7 +126,7 @@ public class TicketBoxMgrController extends BaseApiController {
|
|
|
@ApiOperation(value = "盲票上下架", notes = "管理端盲票上下架")
|
|
|
@PostMapping("/put")
|
|
|
public AjaxResult putOnOff(@RequestBody TicketBox param) {
|
|
|
- if (StringUtils.isNotBlank(param.getBoxId()) || param.getStatus() == null) {
|
|
|
+ if (StringUtils.isBlank(param.getBoxId()) || param.getStatus() == null) {
|
|
|
return AjaxResult.error("参数缺失");
|
|
|
}
|
|
|
TicketBox ticketBox = ticketBoxService.getById(param.getBoxId());
|
|
@@ -156,7 +156,7 @@ public class TicketBoxMgrController extends BaseApiController {
|
|
|
@ApiOperation(value = "盲票删除", notes = "管理端盲票删除")
|
|
|
@PostMapping("/remove")
|
|
|
public AjaxResult remove(@RequestBody TicketBox param) {
|
|
|
- if (StringUtils.isNotBlank(param.getBoxId())) {
|
|
|
+ if (StringUtils.isBlank(param.getBoxId())) {
|
|
|
return AjaxResult.error("参数缺失");
|
|
|
}
|
|
|
TicketBox ticketBox = ticketBoxService.getById(param.getBoxId());
|