feat(printer): add print task review and reprint functionality

- Add reprint endpoint with printer name update
- Implement pending review task query and management
- Add task URL update for pending review tasks
- Support bulk approve/reject of pending tasks
- Extend task status enum with review-related states
- Create ReprintRequest DTO for printer information
- Update mapper to handle status transitions and queries
- Modify service layer to support review workflow
- Adjust XML mapper for new database operations
This commit is contained in:
2025-11-15 14:05:37 +08:00
parent 6246d6ef46
commit 9b9e69cf52
7 changed files with 230 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ public class PrintTaskReqQuery extends BaseQueryParameterReq {
private Integer printerId;
/**
* 状态:0未开始,1已完成,2正在处理,3已失败
* 状态:0待处理,1已完成,2已失败,3处理中,4待审核,5已取消
*/
private Integer status;
}

View File

@@ -0,0 +1,14 @@
package com.ycwl.basic.model.pc.printer.req;
import lombok.Data;
/**
* 重新打印请求
*/
@Data
public class ReprintRequest {
/**
* 打印机名称
*/
private String printerName;
}