zf
2023-09-14 704ea6024361970e2c99f21c12d0f0d88d0f1942
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>