bug 55837 修复
This commit is contained in:
@@ -218,6 +218,21 @@
|
||||
WHERE
|
||||
ti.`name`='标准法规部'
|
||||
</select>
|
||||
<select id="getAskQuestionsNew" resultType="com.adc.da.slrs.StandardQA.entity.AskQuestions">
|
||||
SELECT aq.ID,aq.CLASSIFICATION,aq.PROBLEM_DESCRIPTION,t1.UNAME QUESTIONER,aq.QUESTION_TIME,aq.STANDARD_ENCDOING,
|
||||
aq.STANDARD_NAME,aq.STANDARD_ID
|
||||
FROM ask_questions aq
|
||||
LEFT JOIN ts_user t1 ON t1.USID = aq.QUESTIONER
|
||||
<where>
|
||||
<if test="ask.standardId !=null and ask.standardId !=''">
|
||||
AND aq.STANDARD_ID = #{ask.standardId}
|
||||
</if>
|
||||
<if test="ask.problemDescription !=null and ask.problemDescription !=''">
|
||||
AND aq.PROBLEM_DESCRIPTION LIKE concat(concat('%',#{ask.problemDescription}),'%')
|
||||
</if>
|
||||
</where>
|
||||
order by QUESTION_TIME desc
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user