diff --git a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/equipment/impl/PlanServiceImpl.java b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/equipment/impl/PlanServiceImpl.java index 1091c99..56cc7ca 100644 --- a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/equipment/impl/PlanServiceImpl.java +++ b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/equipment/impl/PlanServiceImpl.java @@ -1,5 +1,6 @@ package com.hnac.hzims.scheduled.service.equipment.impl; +import com.baomidou.dynamic.datasource.annotation.DS; import com.hnac.hzims.equipment.entity.PlanGenerationEntity; import com.hnac.hzims.scheduled.mapper.equipment.PlanMapper; import com.hnac.hzims.scheduled.service.equipment.PlanService; @@ -16,6 +17,7 @@ import java.util.List; @Service @Slf4j @AllArgsConstructor +@DS("equipment") public class PlanServiceImpl extends BaseServiceImpl implements PlanService { diff --git a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/equipment/impl/WorkshopInfoServiceImpl.java b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/equipment/impl/WorkshopInfoServiceImpl.java index 20aed9a..d7ae08f 100644 --- a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/equipment/impl/WorkshopInfoServiceImpl.java +++ b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/equipment/impl/WorkshopInfoServiceImpl.java @@ -1,5 +1,6 @@ package com.hnac.hzims.scheduled.service.equipment.impl; +import com.baomidou.dynamic.datasource.annotation.DS; import com.hnac.hzims.equipment.entity.WorkshopInfoEntity; import com.hnac.hzims.scheduled.mapper.equipment.WorkshopInfoMapper; import com.hnac.hzims.scheduled.service.equipment.WorkshopInfoService; @@ -14,7 +15,7 @@ import org.springframework.stereotype.Service; @Service @AllArgsConstructor @Slf4j +@DS("equipment") public class WorkshopInfoServiceImpl extends BaseServiceImpl implements WorkshopInfoService { - } diff --git a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/ticket/impl/TicketEvaluateServiceImpl.java b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/ticket/impl/TicketEvaluateServiceImpl.java index 1bd217e..253f645 100644 --- a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/ticket/impl/TicketEvaluateServiceImpl.java +++ b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/ticket/impl/TicketEvaluateServiceImpl.java @@ -1,5 +1,6 @@ package com.hnac.hzims.scheduled.service.ticket.impl; +import com.baomidou.dynamic.datasource.annotation.DS; import com.hnac.hzims.scheduled.mapper.ticket.TicketEvaluateMapper; import com.hnac.hzims.scheduled.service.ticket.TicketEvaluateService; import com.hnac.hzims.ticket.allTicket.entity.TicketInfoEvaluateEntity; @@ -14,6 +15,7 @@ import org.springframework.stereotype.Service; @Service @RequiredArgsConstructor @Slf4j +@DS("ticket") public class TicketEvaluateServiceImpl extends BaseServiceImpl implements TicketEvaluateService { diff --git a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/ticket/impl/TicketServiceImpl.java b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/ticket/impl/TicketServiceImpl.java index 1ef4c4d..5e3bab9 100644 --- a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/ticket/impl/TicketServiceImpl.java +++ b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/ticket/impl/TicketServiceImpl.java @@ -1,5 +1,6 @@ package com.hnac.hzims.scheduled.service.ticket.impl; +import com.baomidou.dynamic.datasource.annotation.DS; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.hnac.hzims.scheduled.mapper.ticket.TicketMapper; import com.hnac.hzims.scheduled.service.ticket.TicketEvaluateService; @@ -28,6 +29,7 @@ import java.util.stream.Collectors; @Service @RequiredArgsConstructor @Slf4j +@DS("ticket") public class TicketServiceImpl extends BaseServiceImpl implements TicketService { private final WorkTicketService workTicketService; diff --git a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/ticket/impl/WorkTicketServiceImpl.java b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/ticket/impl/WorkTicketServiceImpl.java index 8c13e28..d859eeb 100644 --- a/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/ticket/impl/WorkTicketServiceImpl.java +++ b/hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/ticket/impl/WorkTicketServiceImpl.java @@ -1,5 +1,6 @@ package com.hnac.hzims.scheduled.service.ticket.impl; +import com.baomidou.dynamic.datasource.annotation.DS; import com.hnac.hzims.scheduled.mapper.ticket.WorkTicketMapper; import com.hnac.hzims.scheduled.service.ticket.WorkTicketService; import com.hnac.hzims.ticket.workTicket.entity.WorkTicketInfoEntity; @@ -15,5 +16,6 @@ import org.springframework.stereotype.Service; @Service @Slf4j @RequiredArgsConstructor +@DS("ticket") public class WorkTicketServiceImpl extends BaseServiceImpl implements WorkTicketService { } \ No newline at end of file