|
@@ -72,12 +72,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="linkId != null "> and c.link_id = #{linkId}</if>
|
|
<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="complaintType != null and queryIdentifier == null"> and c.complaint_type = #{complaintType}</if>
|
|
|
<if test="isHandleStore != null "> and c.is_handle_store = #{isHandleStore}</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="isReadUser != null "> and c.is_read_user = #{isReadUser}</if>
|
|
|
<if test="isReadStore != null "> and c.is_read_store = #{isReadStore}</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="isReadPlatform != null "> and c.is_read_platform = #{isReadPlatform}</if>
|
|
|
<if test="storeId != null "> and c.store_id = #{storeId}</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="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>
|
|
</where>
|
|
|
order by id desc
|
|
order by id desc
|
|
|
</select>
|
|
</select>
|