27 lines
938 B
Java
27 lines
938 B
Java
|
|
package com.gear.oa.mapper;
|
||
|
|
|
||
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||
|
|
import com.baomidou.mybatisplus.core.toolkit.Constants;
|
||
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||
|
|
import com.gear.common.core.mapper.BaseMapperPlus;
|
||
|
|
import com.gear.oa.domain.OaFeedback;
|
||
|
|
import com.gear.oa.domain.vo.OaFeedbackVo;
|
||
|
|
import org.apache.ibatis.annotations.Param;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 问题反馈Mapper接口
|
||
|
|
*
|
||
|
|
* @author ruoyi
|
||
|
|
* @date 2025-03-28
|
||
|
|
*/
|
||
|
|
public interface OaFeedbackMapper extends BaseMapperPlus<OaFeedbackMapper, OaFeedback, OaFeedbackVo> {
|
||
|
|
|
||
|
|
Page<OaFeedbackVo> selectVoPageAndStatus(@Param("page") Page<OaFeedbackVo> build, @Param(Constants.WRAPPER) QueryWrapper<OaFeedback> lqw);
|
||
|
|
|
||
|
|
int updateToRead(@Param("feedbackId") Long feedbackId, @Param("userId") Long userId);
|
||
|
|
|
||
|
|
void insertItem(Long feedbackId);
|
||
|
|
|
||
|
|
int delItem(@Param("feedbackId") Long feedbackId, @Param("userId") Long userId);
|
||
|
|
}
|