| | |
| | | update t_frequently_asked_questions set |
| | | state = #{type} |
| | | <where> |
| | | <if test="questionIds != null and questionIds.size()>0"> |
| | | AND t_frequently_asked_questions.id IN |
| | | <foreach collection="questionIds" separator="," item="id" open="(" close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </if> |
| | | <if test="questionIds != null and questionIds.size()>0"> |
| | | AND t_frequently_asked_questions.id IN |
| | | <foreach collection="questionIds" separator="," item="id" open="(" close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </if> |
| | | </where> |
| | | </update> |
| | | <select id="getInfo" resultType="com.dsh.other.entity.FrequentlyAskedQuestions"> |