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
2de213e9
Commit
2de213e9
authored
Oct 31, 2019
by
Suvalue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
疾病实体添加
parent
6f6f6fb9
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
260 additions
and
6 deletions
+260
-6
bsoft-api/src/main/java/com/bsoft/api/controller/SerDiseaseController.java
+12
-4
bsoft-api/src/main/java/com/bsoft/api/model/SerDisease.java
+127
-0
bsoft-api/src/main/java/com/bsoft/api/model/SerDiseaseDocRs.java
+86
-0
bsoft-api/src/main/java/com/bsoft/api/model/reqmodel/Disease.java
+35
-2
No files found.
bsoft-api/src/main/java/com/bsoft/api/controller/SerDiseaseController.java
View file @
2de213e9
package
com
.
bsoft
.
api
.
controller
;
package
com
.
bsoft
.
api
.
controller
;
import
com.bsoft.api.common.annotations.Token
;
import
com.bsoft.api.common.annotations.Token
;
import
com.bsoft.api.model.
Ser
Disease
;
import
com.bsoft.api.model.
reqmodel.
Disease
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
...
@@ -17,10 +17,18 @@ public class SerDiseaseController {
...
@@ -17,10 +17,18 @@ public class SerDiseaseController {
* @return
* @return
* @throws Exception
* @throws Exception
*/
*/
@GetMapping
(
"disease"
)
@GetMapping
(
"disease
/level
"
)
@Token
@Token
@ApiOperation
(
"根据
条件
查询疾病信息"
)
@ApiOperation
(
"根据
等级
查询疾病信息"
)
public
Object
get
BlockValuesByPageID
(
@RequestBody
SerDisease
blockValues
)
throws
InterruptedException
{
public
Object
get
DiseaseByLevel
(
@RequestBody
Disease
disease
)
throws
InterruptedException
{
return
null
;
return
null
;
}
}
@GetMapping
(
"disease/level"
)
@Token
@ApiOperation
(
"根据疾病名称查询疾病信息"
)
public
Object
getDiseaseByName
(
@RequestBody
Disease
disease
)
throws
InterruptedException
{
return
null
;
}
}
}
bsoft-api/src/main/java/com/bsoft/api/model/SerDisease.java
0 → 100644
View file @
2de213e9
package
com
.
bsoft
.
api
.
model
;
import
java.math.BigDecimal
;
import
java.util.Date
;
public
class
SerDisease
{
private
BigDecimal
id
;
private
Date
createDate
;
private
BigDecimal
createUserid
;
private
BigDecimal
state
;
private
String
mdcCode
;
private
String
mdcName
;
private
BigDecimal
date
;
private
BigDecimal
mdcNum
;
private
BigDecimal
parentId
;
private
BigDecimal
level
;
private
BigDecimal
orgId
;
private
String
orgName
;
public
BigDecimal
getId
()
{
return
id
;
}
public
void
setId
(
BigDecimal
id
)
{
this
.
id
=
id
;
}
public
Date
getCreateDate
()
{
return
createDate
;
}
public
void
setCreateDate
(
Date
createDate
)
{
this
.
createDate
=
createDate
;
}
public
BigDecimal
getCreateUserid
()
{
return
createUserid
;
}
public
void
setCreateUserid
(
BigDecimal
createUserid
)
{
this
.
createUserid
=
createUserid
;
}
public
BigDecimal
getState
()
{
return
state
;
}
public
void
setState
(
BigDecimal
state
)
{
this
.
state
=
state
;
}
public
String
getMdcCode
()
{
return
mdcCode
;
}
public
void
setMdcCode
(
String
mdcCode
)
{
this
.
mdcCode
=
mdcCode
;
}
public
String
getMdcName
()
{
return
mdcName
;
}
public
void
setMdcName
(
String
mdcName
)
{
this
.
mdcName
=
mdcName
;
}
public
BigDecimal
getDate
()
{
return
date
;
}
public
void
setDate
(
BigDecimal
date
)
{
this
.
date
=
date
;
}
public
BigDecimal
getMdcNum
()
{
return
mdcNum
;
}
public
void
setMdcNum
(
BigDecimal
mdcNum
)
{
this
.
mdcNum
=
mdcNum
;
}
public
BigDecimal
getParentId
()
{
return
parentId
;
}
public
void
setParentId
(
BigDecimal
parentId
)
{
this
.
parentId
=
parentId
;
}
public
BigDecimal
getLevel
()
{
return
level
;
}
public
void
setLevel
(
BigDecimal
level
)
{
this
.
level
=
level
;
}
public
BigDecimal
getOrgId
()
{
return
orgId
;
}
public
void
setOrgId
(
BigDecimal
orgId
)
{
this
.
orgId
=
orgId
;
}
public
String
getOrgName
()
{
return
orgName
;
}
public
void
setOrgName
(
String
orgName
)
{
this
.
orgName
=
orgName
;
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SerDiseaseDocRs.java
0 → 100644
View file @
2de213e9
package
com
.
bsoft
.
api
.
model
;
import
java.math.BigDecimal
;
public
class
SerDiseaseDocRs
{
private
BigDecimal
id
;
private
BigDecimal
orgId
;
private
String
docCode
;
private
String
docName
;
private
String
mdcCode
;
private
BigDecimal
date
;
private
String
deptCode
;
private
String
deptName
;
public
BigDecimal
getId
()
{
return
id
;
}
public
void
setId
(
BigDecimal
id
)
{
this
.
id
=
id
;
}
public
BigDecimal
getOrgId
()
{
return
orgId
;
}
public
void
setOrgId
(
BigDecimal
orgId
)
{
this
.
orgId
=
orgId
;
}
public
String
getDocCode
()
{
return
docCode
;
}
public
void
setDocCode
(
String
docCode
)
{
this
.
docCode
=
docCode
;
}
public
String
getDocName
()
{
return
docName
;
}
public
void
setDocName
(
String
docName
)
{
this
.
docName
=
docName
;
}
public
String
getMdcCode
()
{
return
mdcCode
;
}
public
void
setMdcCode
(
String
mdcCode
)
{
this
.
mdcCode
=
mdcCode
;
}
public
BigDecimal
getDate
()
{
return
date
;
}
public
void
setDate
(
BigDecimal
date
)
{
this
.
date
=
date
;
}
public
String
getDeptCode
()
{
return
deptCode
;
}
public
void
setDeptCode
(
String
deptCode
)
{
this
.
deptCode
=
deptCode
;
}
public
String
getDeptName
()
{
return
deptName
;
}
public
void
setDeptName
(
String
deptName
)
{
this
.
deptName
=
deptName
;
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/reqmodel/Disease.java
View file @
2de213e9
package
com
.
bsoft
.
api
.
model
.
reqmodel
;
package
com
.
bsoft
.
api
.
model
.
reqmodel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
public
class
Disease
{
public
class
Disease
{
private
String
mdcCode
;
public
class
DiseaseByLevel
{
private
String
mdcName
;
@ApiModelProperty
(
value
=
"等级"
,
required
=
true
)
private
BigDecimal
level
;
@ApiModelProperty
(
value
=
"时间"
,
required
=
true
)
private
BigDecimal
date
;
private
BigDecimal
date
;
@ApiModelProperty
(
"编码"
)
private
String
mdcCode
;
public
BigDecimal
getLevel
()
{
return
level
;
}
public
void
setLevel
(
BigDecimal
level
)
{
this
.
level
=
level
;
}
public
BigDecimal
getDate
()
{
return
date
;
}
public
void
setDate
(
BigDecimal
date
)
{
this
.
date
=
date
;
}
public
String
getMdcCode
()
{
return
mdcCode
;
}
public
void
setMdcCode
(
String
mdcCode
)
{
this
.
mdcCode
=
mdcCode
;
}
}
}
}
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