Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv-springboot
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bsoft
sv-springboot
Commits
bd5f559c
Commit
bd5f559c
authored
Oct 31, 2019
by
whl
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
f48d5628
6f6f6fb9
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
94 additions
and
0 deletions
+94
-0
bsoft-api/src/main/java/com/bsoft/api/controller/SerDiseaseController.java
+26
-0
bsoft-api/src/main/java/com/bsoft/api/controller/TestController.java
+31
-0
bsoft-api/src/main/java/com/bsoft/api/mapper/SerDiseaseDocRsMapper.java
+18
-0
bsoft-api/src/main/java/com/bsoft/api/mapper/SerDiseaseMapper.java
+19
-0
No files found.
bsoft-api/src/main/java/com/bsoft/api/controller/SerDiseaseController.java
0 → 100644
View file @
bd5f559c
package
com
.
bsoft
.
api
.
controller
;
import
com.bsoft.api.common.annotations.Token
;
//import com.bsoft.api.model.SerDisease;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RestController
;
@Api
(
tags
=
"疾病信息Api"
)
@RestController
public
class
SerDiseaseController
{
/**
* 根据pageId查询板块数值
* @return
* @throws Exception
*/
// @GetMapping("disease")
// @Token
// @ApiOperation("根据条件查询疾病信息")
// public Object getBlockValuesByPageID(@RequestBody SerDisease blockValues) throws InterruptedException {
// return null;
// }
}
bsoft-api/src/main/java/com/bsoft/api/controller/TestController.java
0 → 100644
View file @
bd5f559c
package
com
.
bsoft
.
api
.
controller
;
import
com.bsoft.api.service.TestService
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
springfox.documentation.annotations.ApiIgnore
;
import
javax.annotation.Resource
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.concurrent.Future
;
@ApiIgnore
@RestController
public
class
TestController
{
@Resource
TestService
testServiceImpl
;
@GetMapping
(
"test"
)
public
Object
test
()
throws
InterruptedException
{
// List<Future<String>> list = new ArrayList<>();
// for(int i = 0; i<4;i++){
// Future<String> future = testServiceImpl.test(String.valueOf(i));
// list.add(future);
// }
testServiceImpl
.
test
(
1
);
return
1
;
}
}
bsoft-api/src/main/java/com/bsoft/api/mapper/SerDiseaseDocRsMapper.java
0 → 100644
View file @
bd5f559c
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SerDiseaseDocRs
;
import
java.util.List
;
public
interface
SerDiseaseDocRsMapper
{
int
deleteByPrimaryKey
(
Long
id
);
int
insert
(
SerDiseaseDocRs
record
);
SerDiseaseDocRs
selectByPrimaryKey
(
Long
id
);
List
<
SerDiseaseDocRs
>
selectAll
();
int
updateByPrimaryKey
(
SerDiseaseDocRs
record
);
}
bsoft-api/src/main/java/com/bsoft/api/mapper/SerDiseaseMapper.java
0 → 100644
View file @
bd5f559c
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SerDisease
;
import
java.util.List
;
public
interface
SerDiseaseMapper
{
int
deleteByPrimaryKey
(
Long
id
);
int
insert
(
SerDisease
record
);
SerDisease
selectByPrimaryKey
(
Long
id
);
List
<
SerDisease
>
selectAll
();
int
updateByPrimaryKey
(
SerDisease
record
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment