|
@@ -299,8 +299,9 @@
|
|
|
left join
|
|
|
tb_rst_cm_complaint_question q on q.question_id = d.question_id
|
|
|
<where>
|
|
|
+ d.admin_id IS NOT NULL
|
|
|
<if test="detectState != null and detectState != 0">
|
|
|
- d.detect_state = #{detectState}
|
|
|
+ AND d.detect_state = #{detectState}
|
|
|
</if>
|
|
|
<if test="storeId != null and storeId != 0">
|
|
|
AND d.store_id = #{storeId}
|