dos 4 ヶ月 前
コミット
ac5c19dd03

+ 1 - 0
game-business/src/main/java/com/game/business/service/impl/AppUsersCashrecordServiceImpl.java

@@ -114,6 +114,7 @@ public class AppUsersCashrecordServiceImpl extends ServiceImpl<AppUsersCashrecor
     }
 
     @Override
+    @DataSource(DataSourceType.SLAVE)
     public List<AppUsersCashrecord> getUserCashListByIds(List<Long> userIds, String beginTime, String endTime) {
         LambdaQueryWrapper<AppUsersCashrecord> queryWrapper = new LambdaQueryWrapper<>();
         queryWrapper.eq(AppUsersCashrecord::getStatus,"1");