Skip to content

Commit

Permalink
delete: 중복되는 service, test code 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
niamu01 committed Dec 21, 2023
1 parent f020151 commit 521c0fe
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 852 deletions.
2 changes: 1 addition & 1 deletion src/tag-log-v3/tag-log-v3.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ import { CadetPerClusterDto } from 'src/statistics/dto/cadet-per-cluster.dto';
import { StatisticsService } from 'src/statistics/statistics.service';
import { UserInfoType } from 'src/tag-log/dto/user-Info.type';
import { UserAccumulationTypeV3 } from 'src/tag-log/dto/user-accumulation.type.v3';
import { TagLogService } from 'src/tag-log/tag-log.service';
import { TWELVE_HOURS_IN_SECONDS } from 'src/utils/data-calculator/common.constants';
import { MessageGenerator } from 'src/utils/message-generator/message-generator.component';
import { UserMonthlyInOutLogsType } from '../tag-log/dto/UserMonthlyInOutLogs.type';
import {
InOutLogPerDay,
groupLogsByDay,
} from '../tag-log/dto/subType/InOutLogPerDay.type';
import { TagLogService } from './tag-log-v3.service';

@ApiTags('체류 시간 산출 v3')
@Controller({
Expand Down
4 changes: 3 additions & 1 deletion src/tag-log-v3/tag-log-v3.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ import { StatisticsModule } from 'src/statistics/statistics.module';
import { DeviceInfoRepository } from 'src/tag-log/repository/mysql/device-info.repository';
import { PairInfoRepository } from 'src/tag-log/repository/mysql/pair-info.repository';
import { TagLogRepository } from 'src/tag-log/repository/mysql/tag-log.repository';
import { TagLogModule } from 'src/tag-log/tag-log.module';
import { TagLogService } from 'src/tag-log/tag-log.service';
import { UserModule } from 'src/user/user.module';
import { DateCalculatorModule } from 'src/utils/data-calculator/data-calculator.module';
import { MessageGeneratorModule } from 'src/utils/message-generator/message-generator.module';
import { TagLogController } from './tag-log-v3.controller';
import { TagLogService } from './tag-log-v3.service';

const tagLogRepo = {
provide: 'ITagLogRepository',
Expand All @@ -37,6 +38,7 @@ const deviceInfoRepo = {
UserModule,
MessageGeneratorModule,
StatisticsModule,
TagLogModule,
],
exports: [TypeOrmModule],
controllers: [TagLogController],
Expand Down
262 changes: 0 additions & 262 deletions src/tag-log-v3/tag-log-v3.service.spec.ts

This file was deleted.

Loading

0 comments on commit 521c0fe

Please sign in to comment.