Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李苗
/
Vion-DevOps
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 140efa64
authored
Nov 29, 2023
by
HlQ
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[chg] reformat
1 parent
09847e13
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
src/main/java/vion/controller/ContractController.java
src/main/java/vion/controller/ContractController.java
View file @
140efa6
...
...
@@ -3,13 +3,11 @@ package vion.controller;
import
cn.dev33.satoken.annotation.SaCheckPermission
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
io.github.linpeilie.Converter
;
import
cn.dev33.satoken.annotation.SaCheckPermission
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.*
;
import
vion.cron.ContractRunner
;
import
vion.dto.ContractDTO
;
import
vion.model.RContractStore
;
import
vion.cron.ContractRunner
;
import
vion.service.IContractService
;
import
vion.service.IRContractStoreService
;
import
vion.vo.ContractVO
;
...
...
@@ -25,6 +23,7 @@ import java.util.List;
public
class
ContractController
{
private
final
IContractService
contractService
;
private
final
ContractRunner
contractRunner
;
private
final
IRContractStoreService
contractStoreService
;
private
final
Converter
converter
;
...
...
@@ -34,7 +33,6 @@ public class ContractController {
return
contractService
.
list
(
dto
);
}
private
final
ContractRunner
contractRunner
;
@GetMapping
(
"/contract/{id}"
)
@SaCheckPermission
(
value
=
"contract:query"
,
orRole
=
"admin"
)
public
ContractVO
getById
(
@PathVariable
Long
id
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment