Browse Source

执法记录的转发和创建子任务

master
DX 2 months ago
parent
commit
a42c1feefb
  1. 5
      yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/enterpriseinspections/EnterpriseInspectionsController.java

5
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/enterpriseinspections/EnterpriseInspectionsController.java

@ -48,8 +48,9 @@ public class EnterpriseInspectionsController {
@PostMapping("/passOn")
@Operation(summary = "执法记录转交")
@PreAuthorize("@ss.hasPermission('system:enterprise-inspections:create')")
public CommonResult<Long> passOn(@Valid @RequestBody PassOnSaveVO passOnSaveVO) {
return success(enterpriseInspectionsService.passOn(passOnSaveVO));
public CommonResult<String> passOn(@Valid @RequestBody PassOnSaveVO passOnSaveVO) {
enterpriseInspectionsService.passOn(passOnSaveVO);
return success("转发成功");
}
@PutMapping("/update")

Loading…
Cancel
Save