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
836ef530
Commit
836ef530
authored
Oct 28, 2019
by
Suvalue
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/future-page-ywd' into dev
parents
730bed88
e65b48e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
bsoft-api/src/main/java/com/bsoft/api/controller/BlockValuesController.java
+2
-0
bsoft-api/src/main/java/com/bsoft/api/model/requmodel/BlockValues.java
+8
-0
No files found.
bsoft-api/src/main/java/com/bsoft/api/controller/BlockValuesController.java
View file @
836ef530
...
@@ -8,6 +8,7 @@ import com.bsoft.api.model.requmodel.BlockValues;
...
@@ -8,6 +8,7 @@ import com.bsoft.api.model.requmodel.BlockValues;
import
com.bsoft.api.service.BlockValuesService
;
import
com.bsoft.api.service.BlockValuesService
;
import
com.bsoft.api.service.Impl.BlockValuesServiceImpl
;
import
com.bsoft.api.service.Impl.BlockValuesServiceImpl
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
@@ -30,6 +31,7 @@ public class BlockValuesController {
...
@@ -30,6 +31,7 @@ public class BlockValuesController {
*/
*/
@GetMapping
(
"blockValues"
)
@GetMapping
(
"blockValues"
)
// @Token
// @Token
@ApiOperation
(
"根据Page查询板块数值"
)
public
Object
getBlockValuesByPageID
(
@RequestBody
BlockValues
blockValues
){
public
Object
getBlockValuesByPageID
(
@RequestBody
BlockValues
blockValues
){
return
Result
.
success
(
blockValuesService
.
getBlockValuesByPageID
(
blockValues
.
getPageId
(),
blockValues
.
getDisease
(),
return
Result
.
success
(
blockValuesService
.
getBlockValuesByPageID
(
blockValues
.
getPageId
(),
blockValues
.
getDisease
(),
...
...
bsoft-api/src/main/java/com/bsoft/api/model/requmodel/BlockValues.java
View file @
836ef530
package
com
.
bsoft
.
api
.
model
.
requmodel
;
package
com
.
bsoft
.
api
.
model
.
requmodel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -48,9 +49,16 @@ public class BlockValues {
...
@@ -48,9 +49,16 @@ public class BlockValues {
this
.
time
=
time
;
this
.
time
=
time
;
}
}
@ApiModelProperty
(
value
=
"pageID"
,
required
=
true
)
private
Integer
pageId
;
private
Integer
pageId
;
@ApiModelProperty
(
"病组"
)
private
Integer
disease
;
private
Integer
disease
;
@ApiModelProperty
(
"科室"
)
private
Integer
department
;
private
Integer
department
;
@ApiModelProperty
(
"医生"
)
private
Integer
doctor
;
private
Integer
doctor
;
@ApiModelProperty
(
"时间"
)
private
Integer
time
;
private
Integer
time
;
}
}
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