huangzhen
2023-09-15 ea09629d8857e0afa329858f72cf1c93e25b813c
exam-system/src/main/resources/mapper/noncoalmine/WorkRegistrationMapper.xml
@@ -34,6 +34,7 @@
        <if test="query.operateTypeId != null and query.operateTypeId != 0">
            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>
        order by create_time desc
    </select>