Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
long-tern-care-service
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hubin
long-tern-care-service
Commits
38c89b47
Commit
38c89b47
authored
Apr 12, 2021
by
zhangch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交接口以及实体类修改
parent
98834c98
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
DisableController.java
...n/java/com/hungraim/ism/controller/DisableController.java
+2
-1
ChDisableApply.java
.../com/hungraim/ltc/pojo/entity/disable/ChDisableApply.java
+6
-1
No files found.
apply/apply-service/src/main/java/com/hungraim/ism/controller/DisableController.java
View file @
38c89b47
...
@@ -9,6 +9,7 @@ import com.hungraim.ltc.util.Result;
...
@@ -9,6 +9,7 @@ import com.hungraim.ltc.util.Result;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
...
@@ -136,7 +137,7 @@ public class DisableController {
...
@@ -136,7 +137,7 @@ public class DisableController {
* 新增失能申请
* 新增失能申请
*/
*/
@RequestMapping
(
"/addDisable"
)
@RequestMapping
(
"/addDisable"
)
public
Result
addDisable
(
ChDisableApply
chDisableApply
)
{
public
Result
addDisable
(
@RequestBody
ChDisableApply
chDisableApply
)
{
//字段校验
//字段校验
//所在省市区
//所在省市区
if
(
StringUtils
.
isBlank
(
chDisableApply
.
getDistrictProvincial
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getDistrictCity
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getDistrictArea
()))
{
if
(
StringUtils
.
isBlank
(
chDisableApply
.
getDistrictProvincial
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getDistrictCity
())
||
StringUtils
.
isBlank
(
chDisableApply
.
getDistrictArea
()))
{
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/disable/ChDisableApply.java
View file @
38c89b47
...
@@ -464,7 +464,7 @@ public class ChDisableApply implements Serializable {
...
@@ -464,7 +464,7 @@ public class ChDisableApply implements Serializable {
private
String
acptSrvAddress
;
private
String
acptSrvAddress
;
/**
/**
* 接受服务地址类型
(现在址:0,护理机构地址:1,其他:2)
* 接受服务地址类型
(现在址:0,护理机构地址:1,其他:2,接受评定地址:3)
*/
*/
private
Short
acptSrvType
;
private
Short
acptSrvType
;
...
@@ -590,6 +590,11 @@ public class ChDisableApply implements Serializable {
...
@@ -590,6 +590,11 @@ public class ChDisableApply implements Serializable {
private
String
operFixedTel
;
private
String
operFixedTel
;
/**
/**
* 现住址类型(0:接受评定地址;1:接受服务地址;2:其他)
*/
private
Short
addressType
;
/**
* 待遇类型(1失能、0失智)
* 待遇类型(1失能、0失智)
*/
*/
private
Short
treatmentType
;
private
Short
treatmentType
;
...
...
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