소스 검색

订单统计报表多数据源配置

liuchaohui 2 년 전
부모
커밋
aff859e979
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/report/service/impl/SoSoDetailsServiceImpl.java

+ 2 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/report/service/impl/SoSoDetailsServiceImpl.java

@@ -1,5 +1,6 @@
 package org.jeecg.modules.report.service.impl;
 
+import com.baomidou.dynamic.datasource.annotation.DS;
 import org.jeecg.modules.report.entity.SoSoDetails;
 import org.jeecg.modules.report.mapper.SoSoDetailsMapper;
 import org.jeecg.modules.report.service.ISoSoDetailsService;
@@ -20,6 +21,7 @@ import java.util.Map;
 public class SoSoDetailsServiceImpl extends ServiceImpl<SoSoDetailsMapper, SoSoDetails> implements ISoSoDetailsService {
 
     @Override
+    @DS("multi-one")
     public List<Map<String, Object>> getSO_SOMainReport(Map<String, Object> map) {
         return this.baseMapper.getSO_SOMainReport(map);
     }