提交 1f1588a7 authored 作者: Matrix's avatar Matrix

关于启动时的bug修复

上级 49162d38
package com.tykj.dev.device.confirmcheck;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* ConfirmCheckApp.
*
* @author Matrix <xhyrzldf@gmail.com>
* @since 2020/9/14 at 1:50 下午
*/
@SpringBootApplication(scanBasePackages = {"com.tykj.dev.*"}
)
public class ConfirmCheckApp {
public static void main(String[] args) {
SpringApplication.run(ConfirmCheckApp.class, args);
}
}
......@@ -272,8 +272,7 @@ public class DeviceCheckController {
@ApiOperation(value = "统计数据确认")
@PostMapping("/stat/verify")
public ResponseEntity statConfirm(@RequestParam int statId,
@RequestParam int areaId) {
public ResponseEntity statConfirm(@RequestParam int statId) {
//将当前的统计task完结
TaskBto currentTask = taskService.get(CONFIRM_CHECK_STAT.id, statId);
taskService.moveToEnd(currentTask);
......
......@@ -2,7 +2,6 @@ package com.tykj.dev.device.confirmcheck.repository;
import com.tykj.dev.device.confirmcheck.entity.domain.DeviceCheckStat;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
/**
* DeviceCheckStatRepo.
......@@ -10,6 +9,5 @@ import org.springframework.stereotype.Repository;
* @author Matrix <xhyrzldf@gmail.com>
* @since 2020/8/16 at 5:26 下午
*/
@Repository
public interface DeviceCheckStatRepo extends JpaRepository<DeviceCheckStat, Integer> {
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论