|
|
@@ -107,7 +107,7 @@ public class BjTrackShipCompanyController extends BaseController {
|
|
|
// @RequiresPermissions("business:trackShipCompany:edit")
|
|
|
@Log(title = "不予通报", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping("/updateReportFlag")
|
|
|
- public AjaxResult editFlag(@RequestBody ReportFlagBo bo) {
|
|
|
+ public AjaxResult editFlag(@Validated @RequestBody ReportFlagBo bo) {
|
|
|
return toAjax(bjTrackShipCompanyService.updateFlag(bo));
|
|
|
}
|
|
|
|
|
|
@@ -118,7 +118,7 @@ public class BjTrackShipCompanyController extends BaseController {
|
|
|
// @RequiresPermissions("business:trackShipCompany:edit")
|
|
|
@Log(title = "脱离", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping("/updateBreak")
|
|
|
- public AjaxResult updateBreak(@RequestBody BreakBo bo) throws ParseException {
|
|
|
+ public AjaxResult updateBreak(@Validated @RequestBody BreakBo bo) throws ParseException {
|
|
|
return toAjax(bjTrackShipCompanyService.updateBreak(bo));
|
|
|
}
|
|
|
|