Browse Source

添加@Mapper注解

Signed-off-by: hamjin <335908093@qq.com>
hamjin 2 years ago
parent
commit
6484de0af7

+ 4 - 1
ruoyi-system/src/main/java/com/ruoyi/system/mapper/PoNewsFileMapper.java

@@ -1,11 +1,14 @@
 package com.ruoyi.system.mapper;
 
-import java.util.List;
 import com.ruoyi.system.domain.PoNewsFile;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
 
 /**
  * 信息文件Mapper接口
  */
+@Mapper
 public interface PoNewsFileMapper
 {
     /**

+ 2 - 0
ruoyi-system/src/main/java/com/ruoyi/system/mapper/PoNewsMapper.java

@@ -1,6 +1,7 @@
 package com.ruoyi.system.mapper;
 
 import com.ruoyi.system.domain.PoNews;
+import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Param;
 
 import java.util.Date;
@@ -10,6 +11,7 @@ import java.util.List;
  * 消息Mapper接口
  * @date 2023-01-15
  */
+@Mapper
 public interface PoNewsMapper
 {
     /**

+ 2 - 0
ruoyi-system/src/main/java/com/ruoyi/system/mapper/PoNoticeMapper.java

@@ -1,6 +1,7 @@
 package com.ruoyi.system.mapper;
 
 import com.ruoyi.system.domain.PoNotice;
+import org.apache.ibatis.annotations.Mapper;
 
 import java.util.List;
 
@@ -9,6 +10,7 @@ import java.util.List;
  *
  * @author blue
  */
+@Mapper
 public interface PoNoticeMapper {
     /**
      * 查询公告信息

+ 2 - 0
ruoyi-system/src/main/java/com/ruoyi/system/mapper/PoOperLogMapper.java

@@ -1,6 +1,7 @@
 package com.ruoyi.system.mapper;
 
 import com.ruoyi.system.domain.PoOperLog;
+import org.apache.ibatis.annotations.Mapper;
 
 import java.util.List;
 
@@ -8,6 +9,7 @@ import java.util.List;
  * 操作日志记录Mapper接口
  * @date 2023-01-15
  */
+@Mapper
 public interface PoOperLogMapper
 {
     /**

+ 2 - 0
ruoyi-system/src/main/java/com/ruoyi/system/mapper/PoUserMapper.java

@@ -1,6 +1,7 @@
 package com.ruoyi.system.mapper;
 
 import com.ruoyi.system.domain.PoUser;
+import org.apache.ibatis.annotations.Mapper;
 
 import java.util.List;
 
@@ -10,6 +11,7 @@ import java.util.List;
  * @author ruoyi
  * @date 2023-01-17
  */
+@Mapper
 public interface PoUserMapper
 {
     /**