Commit 47b1296e authored by W_Y's avatar W_Y

mapper层文件添加@Repository注解

parent b747ae08
...@@ -4,9 +4,11 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; ...@@ -4,9 +4,11 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.domain.ReviewDetails; import com.ruoyi.domain.ReviewDetails;
import com.ruoyi.domain.ReviewKeyPoint; import com.ruoyi.domain.ReviewKeyPoint;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List; import java.util.List;
@Repository
public interface ReviewDetailsMapper extends BaseMapper<ReviewDetails> { public interface ReviewDetailsMapper extends BaseMapper<ReviewDetails> {
List<ReviewDetails> findByKeyPointList(@Param("reviewKeyPointList") List<ReviewKeyPoint> reviewKeyPointList); List<ReviewDetails> findByKeyPointList(@Param("reviewKeyPointList") List<ReviewKeyPoint> reviewKeyPointList);
} }
...@@ -4,9 +4,11 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; ...@@ -4,9 +4,11 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.domain.ReviewKeyPoint; import com.ruoyi.domain.ReviewKeyPoint;
import com.ruoyi.domain.ReviewStandard; import com.ruoyi.domain.ReviewStandard;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List; import java.util.List;
@Repository
public interface ReviewKeyPointMapper extends BaseMapper<ReviewKeyPoint> { public interface ReviewKeyPointMapper extends BaseMapper<ReviewKeyPoint> {
List<ReviewKeyPoint> findByStandardList(@Param("reviewStandardList") List<ReviewStandard> reviewStandardList); List<ReviewKeyPoint> findByStandardList(@Param("reviewStandardList") List<ReviewStandard> reviewStandardList);
......
...@@ -2,6 +2,7 @@ package com.ruoyi.mapper; ...@@ -2,6 +2,7 @@ package com.ruoyi.mapper;
import com.ruoyi.domain.ReviewSceneChangeTask; import com.ruoyi.domain.ReviewSceneChangeTask;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
...@@ -12,6 +13,8 @@ import java.util.List; ...@@ -12,6 +13,8 @@ import java.util.List;
* @createDate 2023-12-14 14:28:17 * @createDate 2023-12-14 14:28:17
* @Entity com.ruoyi.domain.ReviewSceneChangeTask * @Entity com.ruoyi.domain.ReviewSceneChangeTask
*/ */
@Repository
public interface ReviewSceneChangeTaskMapper extends BaseMapper<ReviewSceneChangeTask> { public interface ReviewSceneChangeTaskMapper extends BaseMapper<ReviewSceneChangeTask> {
List<ReviewSceneChangeTask> findLastChangeByAfterTime(Date date); List<ReviewSceneChangeTask> findLastChangeByAfterTime(Date date);
......
...@@ -3,6 +3,7 @@ package com.ruoyi.mapper; ...@@ -3,6 +3,7 @@ package com.ruoyi.mapper;
import com.ruoyi.domain.ReviewSceneChangeTaskUserRelation; import com.ruoyi.domain.ReviewSceneChangeTaskUserRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List; import java.util.List;
...@@ -12,6 +13,7 @@ import java.util.List; ...@@ -12,6 +13,7 @@ import java.util.List;
* @createDate 2023-12-15 10:54:57 * @createDate 2023-12-15 10:54:57
* @Entity com.ruoyi.domain.ReviewSceneChangeTaskUserRelation * @Entity com.ruoyi.domain.ReviewSceneChangeTaskUserRelation
*/ */
@Repository
public interface ReviewSceneChangeTaskUserRelationMapper extends BaseMapper<ReviewSceneChangeTaskUserRelation> { public interface ReviewSceneChangeTaskUserRelationMapper extends BaseMapper<ReviewSceneChangeTaskUserRelation> {
List<ReviewSceneChangeTaskUserRelation> findListByTaskId(@Param("taskId") Long taskId); List<ReviewSceneChangeTaskUserRelation> findListByTaskId(@Param("taskId") Long taskId);
......
...@@ -5,9 +5,11 @@ import com.ruoyi.domain.ReviewDetails; ...@@ -5,9 +5,11 @@ import com.ruoyi.domain.ReviewDetails;
import com.ruoyi.domain.ReviewScene; import com.ruoyi.domain.ReviewScene;
import com.ruoyi.domain.ReviewStandard; import com.ruoyi.domain.ReviewStandard;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List; import java.util.List;
@Repository
public interface ReviewSceneMapper extends BaseMapper<ReviewScene> { public interface ReviewSceneMapper extends BaseMapper<ReviewScene> {
List<ReviewScene> findByDetailsList(@Param("reviewDetailsList") List<ReviewDetails> reviewDetailsList); List<ReviewScene> findByDetailsList(@Param("reviewDetailsList") List<ReviewDetails> reviewDetailsList);
} }
...@@ -2,6 +2,7 @@ package com.ruoyi.mapper; ...@@ -2,6 +2,7 @@ package com.ruoyi.mapper;
import com.ruoyi.domain.SystemReviewTaskUserRelation; import com.ruoyi.domain.SystemReviewTaskUserRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
/** /**
* @author wangfei * @author wangfei
...@@ -9,6 +10,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; ...@@ -9,6 +10,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* @createDate 2023-12-15 10:41:16 * @createDate 2023-12-15 10:41:16
* @Entity com.ruoyi.domain.SystemReviewTaskUserRelation * @Entity com.ruoyi.domain.SystemReviewTaskUserRelation
*/ */
@Repository
public interface SystemReviewTaskUserRelationMapper extends BaseMapper<SystemReviewTaskUserRelation> { public interface SystemReviewTaskUserRelationMapper extends BaseMapper<SystemReviewTaskUserRelation> {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment