From 12d467a5d380f99d02bf7f15e6be83e284e95a7d Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期二, 26 五月 2026 17:43:55 +0800
Subject: [PATCH] feat: 办公用品(日常用品),领用归还。领用归还记录 完成 ps:如果pro使用直接引入该commit

---
 src/main/resources/mapper/sales/SalesQuotationMapper.xml |   26 ++++++++++++--------------
 1 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/src/main/resources/mapper/sales/SalesQuotationMapper.xml b/src/main/resources/mapper/sales/SalesQuotationMapper.xml
index 5448933..8036e2f 100644
--- a/src/main/resources/mapper/sales/SalesQuotationMapper.xml
+++ b/src/main/resources/mapper/sales/SalesQuotationMapper.xml
@@ -4,20 +4,18 @@
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.ruoyi.sales.mapper.SalesQuotationMapper">
     <select id="listPage" resultType="com.ruoyi.sales.dto.SalesQuotationDto">
-        SELECT t1.*,
-               t2.approve_user_ids
+        SELECT t1.*
         FROM sales_quotation t1
-        LEFT JOIN approve_process t2 ON t1.quotation_no = t2.approve_reason and t2.approve_type = 6
-        WHERE 1=1
-          and t2.approve_delete = 0
-        <if test="salesQuotationDto.quotationNo != null and salesQuotationDto.quotationNo != '' ">
-            AND t1.quotation_no LIKE CONCAT('%',#{salesQuotationDto.quotationNo},'%')
-        </if>
-        <if test="salesQuotationDto.customer != null and salesQuotationDto.customer != '' ">
-            AND t1.customer = #{salesQuotationDto.customer}
-        </if>
-        <if test="salesQuotationDto.status != null and salesQuotationDto.status != '' ">
-            AND t1.status = #{salesQuotationDto.status}
-        </if>
+        <where>
+            <if test="salesQuotationDto.quotationNo != null and salesQuotationDto.quotationNo != '' ">
+                AND t1.quotation_no LIKE CONCAT('%',#{salesQuotationDto.quotationNo},'%')
+            </if>
+            <if test="salesQuotationDto.customer != null and salesQuotationDto.customer != '' ">
+                AND t1.customer = #{salesQuotationDto.customer}
+            </if>
+            <if test="salesQuotationDto.status != null and salesQuotationDto.status != '' ">
+                AND t1.status = #{salesQuotationDto.status}
+            </if>
+        </where>
     </select>
 </mapper>

--
Gitblit v1.9.3