Commit 140efa64 by HlQ

[chg] reformat

1 parent 09847e13
...@@ -3,13 +3,11 @@ package vion.controller; ...@@ -3,13 +3,11 @@ package vion.controller;
import cn.dev33.satoken.annotation.SaCheckPermission; import cn.dev33.satoken.annotation.SaCheckPermission;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.github.linpeilie.Converter; import io.github.linpeilie.Converter;
import cn.dev33.satoken.annotation.SaCheckPermission;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import vion.cron.ContractRunner;
import vion.dto.ContractDTO; import vion.dto.ContractDTO;
import vion.model.RContractStore; import vion.model.RContractStore;
import vion.cron.ContractRunner;
import vion.service.IContractService; import vion.service.IContractService;
import vion.service.IRContractStoreService; import vion.service.IRContractStoreService;
import vion.vo.ContractVO; import vion.vo.ContractVO;
...@@ -25,6 +23,7 @@ import java.util.List; ...@@ -25,6 +23,7 @@ import java.util.List;
public class ContractController { public class ContractController {
private final IContractService contractService; private final IContractService contractService;
private final ContractRunner contractRunner;
private final IRContractStoreService contractStoreService; private final IRContractStoreService contractStoreService;
private final Converter converter; private final Converter converter;
...@@ -34,7 +33,6 @@ public class ContractController { ...@@ -34,7 +33,6 @@ public class ContractController {
return contractService.list(dto); return contractService.list(dto);
} }
private final ContractRunner contractRunner;
@GetMapping("/contract/{id}") @GetMapping("/contract/{id}")
@SaCheckPermission(value = "contract:query", orRole="admin") @SaCheckPermission(value = "contract:query", orRole="admin")
public ContractVO getById(@PathVariable Long id) { public ContractVO getById(@PathVariable Long id) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!