package com.mzl.flower.mapper.log; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.mzl.flower.dto.request.log.OperationRecordQueryDTO; import com.mzl.flower.dto.response.log.OperationRecordVO; import com.mzl.flower.entity.log.OperationRecord; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import org.springframework.stereotype.Repository; import java.util.List; /** * @author fanghaowei * @version version2.0 * @className MemberMapper * @date 2024/12/02 * @description 操作日志功能mapper */ @SuppressWarnings("ALL") @Repository public interface OperationRecordMapper extends BaseMapper { @Select("select label from t_code_value where type_code = #{typeCode} and value = #{value} and deleted = '0' limit 1") String getCodeType(@Param("typeCode") String typeCode,@Param("value") String value); List queryPage(@Param("dto") OperationRecordQueryDTO dto, Page page); }