From 199861555473ab50f2fafa3d58e42e64e838c039 Mon Sep 17 00:00:00 2001
From: luofl <1442745593@qq.com>
Date: 星期一, 24 二月 2025 22:47:18 +0800
Subject: [PATCH] 修改物流信息导入模板

---
 ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopBalanceStatementController.java |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopBalanceStatementController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopBalanceStatementController.java
index fd9ef5e..c4c7fed 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopBalanceStatementController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShopBalanceStatementController.java
@@ -10,7 +10,9 @@
 import com.ruoyi.common.security.service.TokenService;
 import com.ruoyi.other.api.domain.Shop;
 import com.ruoyi.other.api.domain.ShopBalanceStatement;
+import com.ruoyi.other.api.domain.ShopBalanceStatementCopy;
 import com.ruoyi.other.dto.ShopBalanceDto;
+import com.ruoyi.other.mapper.ShopBalanceStatementCopyMapper;
 import com.ruoyi.other.mapper.ShopBalanceStatementMapper;
 import com.ruoyi.other.service.ShopBalanceStatementService;
 import com.ruoyi.other.service.ShopService;
@@ -53,6 +55,8 @@
     private ShopService shopService;
     @Resource
     private SysUserClient sysUserClient;
+    @Resource
+    private ShopBalanceStatementCopyMapper shopBalanceStatementCopyMapper;
     
     
     
@@ -201,6 +205,18 @@
         shopBalanceStatementService.save(shopBalanceStatement);
     }
 
+    @PostMapping("/saveShopBalanceStatementCopy")
+    public void saveShopBalanceStatementCopy(@RequestBody ShopBalanceStatementCopy shopBalanceStatementCopy){
+        shopBalanceStatementCopyMapper.insert(shopBalanceStatementCopy);
+    }
+
+    @DeleteMapping("/deleteShopBalanceStatementCopy")
+    public R<Boolean> deleteShopBalanceStatementCopy(@RequestParam("orderId") Long orderId){
+        shopBalanceStatementCopyMapper.delete(new LambdaQueryWrapper<ShopBalanceStatementCopy>()
+                .eq(ShopBalanceStatementCopy::getObjectId, orderId));
+        return R.ok();
+    }
+
 
     /**
      * 获取门店流水数据

--
Gitblit v1.7.1