You've already forked FrameTour-BE
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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.ycwl.basic.model.pc.printer.req;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 重新打印请求
|
||||
*/
|
||||
@Data
|
||||
public class ReprintRequest {
|
||||
/**
|
||||
* 打印机名称
|
||||
*/
|
||||
private String printerName;
|
||||
}
|
||||
Reference in New Issue
Block a user