回答中心优化
This commit is contained in:
@@ -269,13 +269,13 @@
|
|||||||
<select id="selectByRId" resultType="java.lang.String">
|
<select id="selectByRId" resultType="java.lang.String">
|
||||||
SELECT reply.ANSWERER
|
SELECT reply.ANSWERER
|
||||||
FROM reply
|
FROM reply
|
||||||
where ASK_ID = #{id} and answerer = #{userId};
|
where ASK_ID = #{id} and answerer = #{userId} limit 1;
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectBYAQId" resultType="java.lang.String">
|
<select id="selectBYAQId" resultType="java.lang.String">
|
||||||
SELECT ask_questions.QUESTIONER
|
SELECT ask_questions.QUESTIONER
|
||||||
FROM ask_questions
|
FROM ask_questions
|
||||||
where id = #{id}
|
where id = #{id} limit 1;
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getAskQuestionsById" resultType="com.adc.da.slrs.StandardQA.entity.Reply">
|
<select id="getAskQuestionsById" resultType="com.adc.da.slrs.StandardQA.entity.Reply">
|
||||||
|
|||||||
Reference in New Issue
Block a user