浏览代码

修改bug

xian 4 年之前
父节点
当前提交
134f079026

+ 2 - 1
watero-rst-service/src/main/java/com/iamberry/rst/service/fm/mapper/complaintDetectInfoMapper.xml

@@ -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}