xiangpei
2024-05-27 6dc4345f9c84d829566ae1632477f11c22fac2f5
src/main/resources/mapper/QuestionMapper.xml
@@ -186,6 +186,9 @@
        LEFT JOIN t_text_content t on q.info_text_content_id = t.id
        <where>
            and q.deleted=0 and qs.deleted = 0
            <if test="titleContent != null and titleContent != ''">
                and JSON_VALUE(t.content, '$.titleContent') like concat('%', #{titleContent}, '%')
            </if>
            <if test="id != null ">
                and q.id= #{id}
            </if>