java110 3 年 前
親
コミット
298969a61b
共有1 個のファイルを変更した、3 個の追加 と 0 個の削除を含む
  1. 3 0
      java110-db/src/main/resources/mapper/user/UserQuestionAnswerV1ServiceDaoImplMapper.xml

+ 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()