From feb86efc4e8a8d2da00e4832bcd81825726617bf Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 04 六月 2026 13:48:25 +0800
Subject: [PATCH] feat(iot): 物联设备接口新增存放位置字段
---
src/main/resources/mapper/sales/SalesQuotationMapper.xml | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/sales/SalesQuotationMapper.xml b/src/main/resources/mapper/sales/SalesQuotationMapper.xml
index aeec1ca..b09c7d3 100644
--- a/src/main/resources/mapper/sales/SalesQuotationMapper.xml
+++ b/src/main/resources/mapper/sales/SalesQuotationMapper.xml
@@ -4,8 +4,7 @@
"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
<where>
<if test="salesQuotationDto.quotationNo != null and salesQuotationDto.quotationNo != '' ">
@@ -17,6 +16,10 @@
<if test="salesQuotationDto.status != null and salesQuotationDto.status != '' ">
AND t1.status = #{salesQuotationDto.status}
</if>
+ <if test="salesQuotationDto.id != null">
+ AND t1.id = #{salesQuotationDto.id}
+ </if>
</where>
+ order by t1.id desc
</select>
</mapper>
--
Gitblit v1.9.3