소스 검색

少注解

shiqian 3 년 전
부모
커밋
1de3bdde43

+ 3 - 0
boman-report/src/main/java/com/boman/report/mapper/StatisticReportMapper.java

@@ -1,9 +1,12 @@
 package com.boman.report.mapper;
 
+import org.springframework.stereotype.Repository;
+
 /**
  * @author shiqian
  * @date 2021年08月24日 11:09
  **/
+@Repository
 public interface StatisticReportMapper {
 
 }

+ 3 - 0
boman-report/src/main/java/com/boman/report/mapper/StatisticReportPersonnelMapper.java

@@ -1,8 +1,11 @@
 package com.boman.report.mapper;
 
+import org.springframework.stereotype.Repository;
+
 /**
  * @author shiqian
  * @date 2021年08月24日 11:09
  **/
+@Repository
 public interface StatisticReportPersonnelMapper {
 }

+ 2 - 0
boman-report/src/main/java/com/boman/report/service/impl/StatisticReportPersonnelImpl.java

@@ -2,6 +2,7 @@ package com.boman.report.service.impl;
 
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
+import org.springframework.stereotype.Service;
 
 import static com.boman.common.core.utils.obj.ObjectUtils.*;
 
@@ -9,6 +10,7 @@ import static com.boman.common.core.utils.obj.ObjectUtils.*;
  * @author shiqian
  * @date 2021年08月24日 11:11
  **/
+@Service
 public class StatisticReportPersonnelImpl {
 
     private static final Logger LOGGER = LoggerFactory.getLogger(StatisticReportPersonnelImpl.class);

+ 2 - 0
boman-report/src/main/java/com/boman/report/service/impl/StatisticReportServiceImpl.java

@@ -2,11 +2,13 @@ package com.boman.report.service.impl;
 
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
+import org.springframework.stereotype.Service;
 
 /**
  * @author shiqian
  * @date 2021年08月24日 11:10
  **/
+@Service
 public class StatisticReportServiceImpl {
 
     private static final Logger LOGGER = LoggerFactory.getLogger(ImportServiceImpl.class);