linwe
2024-08-09 8b7258c9427882bb1798f1502eaa35184c6e374e
src/main/java/org/springblade/modules/subjectChoices/mapper/SubjectChoicesMapper.xml
@@ -30,9 +30,13 @@
    </resultMap>
    <select id="selectCircleCommentByParentId" parameterType="long"
            resultType="org.springblade.modules.subjectOption.entity.SubjectOptionEntity">
       select * from jczz_subject_option where
        subject_choices_id = #{id}
            resultType="org.springblade.modules.subjectOption.vo.SubjectOptionVO">
        SELECT
        jso.*
        FROM
        jczz_subject_option jso
        WHERE
        jso.subject_choices_id = #{id}
    </select>
@@ -77,7 +81,10 @@
            <if test="subjectChoices.modifyDate != null ">and modify_date = #{subjectChoices.modifyDate}</if>
            <if test="subjectChoices.delFlag != null ">and del_flag = #{subjectChoices.delFlag}</if>
            <if test="subjectChoices.level != null ">and level = #{subjectChoices.level}</if>
        </where>
        order by level desc
    </select>