Browse Source

#定时任务抽离

zhongwei
yang_shj 2 years ago
parent
commit
be85aa59e8
  1. 2
      hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/equipment/impl/PlanServiceImpl.java
  2. 3
      hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/equipment/impl/WorkshopInfoServiceImpl.java
  3. 2
      hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/ticket/impl/TicketEvaluateServiceImpl.java
  4. 2
      hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/ticket/impl/TicketServiceImpl.java
  5. 2
      hzims-service/hzims-scheduled/src/main/java/com/hnac/hzims/scheduled/service/ticket/impl/WorkTicketServiceImpl.java

2
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<PlanMapper, PlanGenerationEntity> implements PlanService {

3
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<WorkshopInfoMapper, WorkshopInfoEntity> implements WorkshopInfoService {
}

2
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<TicketEvaluateMapper, TicketInfoEvaluateEntity> implements TicketEvaluateService {

2
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<TicketMapper, StandardTicketInfoEntity> implements TicketService {
private final WorkTicketService workTicketService;

2
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<WorkTicketMapper, WorkTicketInfoEntity> implements WorkTicketService {
}
Loading…
Cancel
Save