From 0578c6c76f13e367b5dc7d0882efe3c69ca4cb0e Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期五, 15 五月 2026 16:29:30 +0800
Subject: [PATCH] feat(customer): 添加客户银行代码字段并实现批量删除功能

---
 src/main/resources/mapper/stock/StockInventoryCheckPlanMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/stock/StockInventoryCheckPlanMapper.xml b/src/main/resources/mapper/stock/StockInventoryCheckPlanMapper.xml
index 1e02e1e..202b0ac 100644
--- a/src/main/resources/mapper/stock/StockInventoryCheckPlanMapper.xml
+++ b/src/main/resources/mapper/stock/StockInventoryCheckPlanMapper.xml
@@ -21,12 +21,13 @@
                 and plan_no like concat('%',#{ew.planNo},'%')
             </if>
             <if test="ew.status != null">
-                and status = #{ew.status}
+                and stock_inventory_check_plan.status = #{ew.status}
             </if>
             <if test="ew.startTime != null">
                 and plan_date_start between #{ew.startTime} and #{ew.endTime}
             </if>
         </where>
+        order by stock_inventory_check_plan.id desc
     </select>
 
 </mapper>

--
Gitblit v1.9.3