回答中心优化

This commit is contained in:
SUNJIABIN
2023-04-11 11:47:39 +08:00
parent bb0f9a3949
commit 46851c9b6d
@@ -269,13 +269,13 @@
<select id="selectByRId" resultType="java.lang.String">
SELECT reply.ANSWERER
FROM reply
where ASK_ID = #{id} and answerer = #{userId};
where ASK_ID = #{id} and answerer = #{userId} limit 1;
</select>
<select id="selectBYAQId" resultType="java.lang.String">
SELECT ask_questions.QUESTIONER
FROM ask_questions
where id = #{id}
where id = #{id} limit 1;
</select>
<select id="getAskQuestionsById" resultType="com.adc.da.slrs.StandardQA.entity.Reply">