From db75b45e9a7ce347162b8d3a36e4a7f46cfe199e Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期一, 10 二月 2025 15:30:18 +0800
Subject: [PATCH] 核算导出单独对录像扣分的数量做处理

---
 ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/VehicleDeviceSamplingResult.java |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/VehicleDeviceSamplingResult.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/VehicleDeviceSamplingResult.java
index 349f687..ff11462 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/VehicleDeviceSamplingResult.java
+++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/result/HK/VehicleDeviceSamplingResult.java
@@ -1,16 +1,22 @@
 package com.ycl.platform.domain.result.HK;
 
 import com.ycl.platform.domain.result.BaseResult;
+import com.ycl.platform.domain.vo.DataCenter.BigPicUsefulVO;
 import lombok.Data;
+import org.springframework.beans.BeanUtils;
+import org.springframework.data.mongodb.core.index.TextIndexed;
 import org.springframework.data.mongodb.core.mapping.Document;
 
+import java.math.BigDecimal;
+import java.math.RoundingMode;
+
 /**
- * 杞﹁締璁惧鎶芥鎸囨爣鐩戞祴缁撴灉锛�2.3.0鐗堟湰鏂板
+ * 杞﹁締璁惧鎶芥鎸囨爣鐩戞祴缁撴灉锛氳溅杈嗭紙杞﹁締鍗″彛璁惧鎶撴媿鏁版嵁澶у浘鍙敤鎬э級
  *
  * @author gonghl
  */
 @Data
-@Document(collection = "vehicle_device_sampling")
+@Document(collection = "hk_vehicle_device_sampling")
 public class VehicleDeviceSamplingResult extends BaseResult {
 
     /**
@@ -73,6 +79,8 @@
          * OSD鏍囨敞寮傚父鏁版嵁閲�
          */
         private Integer osdExpCount;
+
+
     }
 
     @Data
@@ -122,4 +130,14 @@
          */
         private Float importantConPercent;
     }
+
+    public static BigPicUsefulVO getPicVO(VehicleDeviceSamplingResult result){
+        BigPicUsefulVO vo = new BigPicUsefulVO();
+        BeanUtils.copyProperties(result,vo);
+        vo.setBigPicExpCount(result.getBigUseful().getBigPicExpCount());
+        vo.setBigUsefulPercent(result.getBigUseful().getBigUsefulPercent());
+        vo.setSampleCount(result.getBigUseful().getSampleCount());
+        vo.setOsdExpCount(result.getBigUseful().getOsdExpCount());
+        return vo;
+    }
 }

--
Gitblit v1.8.0