Kaynağa Gözat

优化代码

java110 2 yıl önce
ebeveyn
işleme
298969a61b

+ 3 - 0
java110-db/src/main/resources/mapper/user/UserQuestionAnswerV1ServiceDaoImplMapper.xml

@@ -173,6 +173,9 @@
             <if test="qaType != null and qaType != ''">
                 and qa.qa_type = #{qaType}
             </if>
+        <if test="userQaId != null and userQaId != ''">
+            and qa.user_qa_id = #{userQaId}
+        </if>
             and qa.state = 'C'
             and qa.start_time &lt; NOW()
             and qa.end_time &gt; NOW()