From 0bf199cf85a36157113d217363bb96314956b75f Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期四, 13 十一月 2025 22:14:12 +0800
Subject: [PATCH] feat: 修复小程序上传附件

---
 ruoyi-system/src/main/java/com/ruoyi/system/mapper/VehicleMileageStatsMapper.java |   72 ++++++++++++++++++++++++++++++++++++
 1 files changed, 72 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/VehicleMileageStatsMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/VehicleMileageStatsMapper.java
index e69de29..ad784f7 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/VehicleMileageStatsMapper.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/VehicleMileageStatsMapper.java
@@ -0,0 +1,72 @@
+package com.ruoyi.system.mapper;
+
+import java.util.Date;
+import java.util.List;
+import com.ruoyi.system.domain.VehicleMileageStats;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ * 杞﹁締閲岀▼缁熻Mapper鎺ュ彛
+ * 
+ * @author ruoyi
+ * @date 2025-01-15
+ */
+public interface VehicleMileageStatsMapper 
+{
+    /**
+     * 鏌ヨ杞﹁締閲岀▼缁熻
+     * 
+     * @param statsId 杞﹁締閲岀▼缁熻涓婚敭
+     * @return 杞﹁締閲岀▼缁熻
+     */
+    public VehicleMileageStats selectVehicleMileageStatsByStatsId(Long statsId);
+
+    /**
+     * 鏌ヨ杞﹁締閲岀▼缁熻鍒楄〃
+     * 
+     * @param vehicleMileageStats 杞﹁締閲岀▼缁熻
+     * @return 杞﹁締閲岀▼缁熻闆嗗悎
+     */
+    public List<VehicleMileageStats> selectVehicleMileageStatsList(VehicleMileageStats vehicleMileageStats);
+
+    /**
+     * 鏂板杞﹁締閲岀▼缁熻
+     * 
+     * @param vehicleMileageStats 杞﹁締閲岀▼缁熻
+     * @return 缁撴灉
+     */
+    public int insertVehicleMileageStats(VehicleMileageStats vehicleMileageStats);
+
+    /**
+     * 淇敼杞﹁締閲岀▼缁熻
+     * 
+     * @param vehicleMileageStats 杞﹁締閲岀▼缁熻
+     * @return 缁撴灉
+     */
+    public int updateVehicleMileageStats(VehicleMileageStats vehicleMileageStats);
+
+    /**
+     * 鍒犻櫎杞﹁締閲岀▼缁熻
+     * 
+     * @param statsId 杞﹁締閲岀▼缁熻涓婚敭
+     * @return 缁撴灉
+     */
+    public int deleteVehicleMileageStatsByStatsId(Long statsId);
+
+    /**
+     * 鎵归噺鍒犻櫎杞﹁締閲岀▼缁熻
+     * 
+     * @param statsIds 闇�瑕佸垹闄ょ殑鏁版嵁涓婚敭闆嗗悎
+     * @return 缁撴灉
+     */
+    public int deleteVehicleMileageStatsByStatsIds(Long[] statsIds);
+
+    /**
+     * 鏌ヨ鎸囧畾杞﹁締鍜屾棩鏈熺殑缁熻璁板綍
+     * 
+     * @param vehicleId 杞﹁締ID
+     * @param statsDate 缁熻鏃ユ湡
+     * @return 缁熻璁板綍
+     */
+    public VehicleMileageStats selectByVehicleIdAndDate(@Param("vehicleId") Long vehicleId, @Param("statsDate") Date statsDate);
+}

--
Gitblit v1.9.1