Commit 38c89b47 authored by zhangch's avatar zhangch

提交接口以及实体类修改

parent 98834c98
......@@ -9,6 +9,7 @@ import com.hungraim.ltc.util.Result;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang.StringUtils;
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.RestController;
......@@ -136,7 +137,7 @@ public class DisableController {
* 新增失能申请
*/
@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())) {
......
......@@ -464,7 +464,7 @@ public class ChDisableApply implements Serializable {
private String acptSrvAddress;
/**
* 接受服务地址类型(现在址:0,护理机构地址:1,其他:2)
* 接受服务地址类型(现在址:0,护理机构地址:1,其他:2,接受评定地址:3)
*/
private Short acptSrvType;
......@@ -590,6 +590,11 @@ public class ChDisableApply implements Serializable {
private String operFixedTel;
/**
* 现住址类型(0:接受评定地址;1:接受服务地址;2:其他)
*/
private Short addressType;
/**
* 待遇类型(1失能、0失智)
*/
private Short treatmentType;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment