教育训练处考试制证系统后端
“djh”
2025-02-05 727c30f11ede5b3c82ead6e09e5e077c0e7519f1
exam-system/src/main/resources/mapper/noncoalmine/WorkRegistrationMapper.xml
@@ -31,9 +31,12 @@
        <if test="query.idCard != null and query.idCard != ''">
            and id_card like concat('%', #{query.idCard}, '%')
        </if>
        <if test="query.operateTypeId != null and query.operateTypeId != 0">
        <if test="query.operateTypeId != null">
            and (operate_type_id = #{query.operateTypeId} OR operate_type_id IN ( SELECT t.id FROM sys_operate_type t WHERE find_in_set(#{query.operateTypeId}, ancestors)))
        </if>
        <if test="query.isCm != null">
            and is_cm = #{query.isCm}
        </if>
        order by create_time desc
    </select>