Ver Fonte

咨询查询优化

yjwang há 2 dias atrás
pai
commit
3697f174ac

+ 2 - 1
fs-service/src/main/resources/mapper/user/FsUserComplaintMapper.xml

@@ -72,12 +72,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="linkId != null "> and c.link_id = #{linkId}</if>
             <if test="complaintType != null and queryIdentifier == null"> and c.complaint_type = #{complaintType}</if>
             <if test="isHandleStore != null "> and c.is_handle_store = #{isHandleStore}</if>
-            <if test="isHandlePlatform != null "> and c.is_handle_platform = #{isHandlePlatform}</if>
+            <if test="isHandlePlatform != null "> and c.is_handle_store = #{isHandlePlatform}</if>
             <if test="isReadUser != null "> and c.is_read_user = #{isReadUser}</if>
             <if test="isReadStore != null "> and c.is_read_store = #{isReadStore}</if>
             <if test="isReadPlatform != null "> and c.is_read_platform = #{isReadPlatform}</if>
             <if test="storeId != null "> and c.store_id = #{storeId}</if>
             <if test="queryIdentifier != null and queryIdentifier == 1">OR (c.complaint_type = 1 AND c.store_id IS NULL)</if>
+            <if test="isProcessCompleted != null "> and is_process_completed = #{isProcessCompleted}</if>
         </where>
         order by id desc
     </select>