工单审核补提实体

This commit is contained in:
Chujinwang 2024-07-13 14:52:30 +08:00
parent 197e8b1de7
commit cece6186cf
2 changed files with 7 additions and 1 deletions

View File

@ -20,4 +20,10 @@ public class AuditDTO {
*/
private String remark;
/**
* 审核 工单ID
*/
@NotNull(message = "审核状态不能为空")
private Long wrkId;
}

View File

@ -29,7 +29,7 @@ public class WrkInfoAuditController {
/**
* 工单审核
*/
@PostMapping ("/audit/{wrkId}")
@PostMapping ("/audit")
@RequiresPermissions("wrk:info:audit")
@SysLog(value = "工单审核", businessType = BusinessType.AUDIT)
public AjaxResult audit(@Validated @RequestBody AuditDTO audit) {