Browse Source

网格员巡查统计定时任务错误修改

master
jianjun 4 years ago
parent
commit
4ab94a58fb
  1. 2
      epmet-module/epmet-job/epmet-job-server/src/main/java/com/epmet/service/impl/BizDataStatsServiceImpl.java
  2. 2
      epmet-module/epmet-job/epmet-job-server/src/main/java/com/epmet/task/StaffPatrolStatsTask.java

2
epmet-module/epmet-job/epmet-job-server/src/main/java/com/epmet/service/impl/BizDataStatsServiceImpl.java

@ -5,6 +5,7 @@ import com.epmet.dto.extract.form.StaffPatrolStatsFormDTO;
import com.epmet.feign.DataStatisticalOpenFeignClient;
import com.epmet.service.BizDataStatsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* desc:业务库 数据统计服务实现
@ -13,6 +14,7 @@ import org.springframework.beans.factory.annotation.Autowired;
* @date: 2021/7/2 2:58 下午
* @version: 1.0
*/
@Service
public class BizDataStatsServiceImpl implements BizDataStatsService {
@Autowired
private DataStatisticalOpenFeignClient feignClient;

2
epmet-module/epmet-job/epmet-job-server/src/main/java/com/epmet/task/StaffPatrolStatsTask.java

@ -22,7 +22,7 @@ public class StaffPatrolStatsTask implements ITask {
@Override
public void run(String params) {
log.debug("DimInitTask定时任务正在执行,参数为:{}", params);
log.debug("staffPatrolStatsTask定时任务正在执行,参数为:{}", params);
StaffPatrolStatsFormDTO formDTO = JSON.parseObject(params, StaffPatrolStatsFormDTO.class);
Result result = bizDataStatsService.exeStaffPatrolStats(formDTO);
if (result.success()){

Loading…
Cancel
Save