From 5b13db7e2c95385d69b8bdb449560bbbfe359146 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期四, 23 十月 2025 17:16:47 +0800
Subject: [PATCH] 广告物料零星结算接口

---
 ruoyi-system/src/main/resources/mapper/system/AssetAdMaterialPriceMapper.xml |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/AssetAdMaterialPriceMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AssetAdMaterialPriceMapper.xml
index 77fd44e..c43434e 100644
--- a/ruoyi-system/src/main/resources/mapper/system/AssetAdMaterialPriceMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/AssetAdMaterialPriceMapper.xml
@@ -24,27 +24,27 @@
     <!-- 分页查询 -->
     <select id="getPageList" resultType="com.ruoyi.system.vo.asset.AssetAdMaterialPriceVO">
         SELECT
-            id,
-            material_name,
-            dept_id,
-            unit_price,
-            price_unit,
-            remarks,
-            create_time,
-            create_by,
-            update_time,
-            update_by
+            aamp.id,
+            aamp.material_name,
+            aamp.dept_id,
+            aamp.unit_price,
+            aamp.price_unit,
+            aamp.remarks,
+            aamp.create_time,
+            aamp.create_by,
+            aamp.update_time,
+            aamp.update_by
         FROM asset_ad_material_price aamp LEFT JOIN t_dept td ON aamp.dept_id = td.id
         <where>
-            disabled = 0
+            aamp.disabled = 0
             <if test="query.materialName != null and query.materialName != ''">
-                AND material_name LIKE CONCAT('%', #{query.materialName}, '%')
+                AND aamp.material_name LIKE CONCAT('%', #{query.materialName}, '%')
             </if>
             <if test="query.deptId != null">
-                AND (td.id = #{query.deptId} OR FIND_IN_SET(#{query.deptId}, od.parent_id))
+                AND (td.id = #{query.deptId} OR FIND_IN_SET(#{query.deptId}, td.parent_id))
             </if>
         </where>
-        ORDER BY create_time DESC
+        ORDER BY aamp.create_time DESC
     </select>
 
 </mapper>

--
Gitblit v1.7.1