Explorar o código

扫描统计管理-导出

haogh hai 11 meses
pai
achega
780c8618c4

+ 14 - 0
paper-library-business/src/main/java/com/qmth/paper/library/business/entity/PaperLibrary.java

@@ -51,6 +51,12 @@ public class PaperLibrary extends BaseEntity implements Serializable {
     @TableField("recognize_result")
     private String recognizeResult;
 
+    /**
+     * 批次号
+     */
+    @TableField("batch_no")
+    private String batchNo;
+
     public Long getPaperScanTaskId() {
         return paperScanTaskId;
     }
@@ -98,4 +104,12 @@ public class PaperLibrary extends BaseEntity implements Serializable {
     public void setRecognizeResult(String recognizeResult) {
         this.recognizeResult = recognizeResult;
     }
+
+    public String getBatchNo() {
+        return batchNo;
+    }
+
+    public void setBatchNo(String batchNo) {
+        this.batchNo = batchNo;
+    }
 }

+ 5 - 0
paper-library-business/src/main/resources/db/log/hgh_update_log.sql

@@ -33,3 +33,8 @@ INSERT INTO `sys_privilege`(`id`, `name`, `url`, `type`, `parent_id`, `sequence`
 INSERT INTO `sys_privilege`(`id`, `name`, `url`, `type`, `parent_id`, `sequence`, `property`, `related`, `enable`, `default_auth`, `front_display`) VALUES (572, '导出', 'Add', 'BUTTON', 570, 1, 'AUTH', '574', 1, 0, 1);
 INSERT INTO `sys_privilege`(`id`, `name`, `url`, `type`, `parent_id`, `sequence`, `property`, `related`, `enable`, `default_auth`, `front_display`) VALUES (573, '查询', '/api/admin/basic/scan/stat/page', 'URL', 570, 1, 'AUTH', NULL, 1, 1, 1);
 INSERT INTO `sys_privilege`(`id`, `name`, `url`, `type`, `parent_id`, `sequence`, `property`, `related`, `enable`, `default_auth`, `front_display`) VALUES (574, '导出', '/api/admin/basic/scan/stat/export', 'URL', 570, 2, 'AUTH', NULL, 1, 1, 1);
+
+
+-- 2024-07-30
+ALTER TABLE `paper_library`
+    ADD COLUMN `batch_no` varchar(20) NULL COMMENT '批次号' AFTER `recognize_result`;