wangzhijun преди 6 дни
родител
ревизия
e57ca8022c
променени са 1 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 5 5
      nightFragrance-massage/src/main/resources/mapper/project/ProjectMapper.xml

+ 5 - 5
nightFragrance-massage/src/main/resources/mapper/project/ProjectMapper.xml

@@ -28,12 +28,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <!-- 第二部分:项目商品 -->
         SELECT
         id,
-        c_title as title,
+        title as title,
         0 as productType
         FROM project
         WHERE is_delete = 0
         <if test="dto.title != null and dto.title != ''">
-            AND c_title LIKE CONCAT('%', #{dto.title}, '%')
+            AND title LIKE CONCAT('%', #{dto.title}, '%')
         </if>
         ) as temp_table
     </select>
@@ -102,9 +102,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="selectServiceOptionsPage" resultMap="ServiceOptionsVOMap">
         SELECT
         p.id AS id,
-        ANY_VALUE(p.c_title) AS title,
+        ANY_VALUE(p.title) AS title,
         CASE WHEN p.type = '1' THEN 0 ELSE 0 END AS productType,
-        ANY_VALUE(p.d_price) AS price,
+        ANY_VALUE(p.price) AS price,
         '广誉源' AS merchantName,
         '10000' AS merchantId,
         ANY_VALUE(
@@ -146,7 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             AND p.type = 1
         </if>
         <if test="dto.title != null and dto.title != ''">
-            AND p.c_title LIKE CONCAT('%', #{dto.title}, '%')
+            AND p.title LIKE CONCAT('%', #{dto.title}, '%')
         </if>
         <if test="dto.ids != null and dto.ids.size() > 0">
             AND p.id IN