Commit 284a83e7 authored by “xuhd”'s avatar “xuhd”

问题96、疾病诊断新增维护

parent a8fb741e
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
disable.real_name realName, disable.real_name realName,
task.fcd fcd, task.fcd fcd,
disable.certi_code certiCode, disable.certi_code certiCode,
disable.disease_desc diseaseDesc,
disable.adress_detail operAddress,
report.pol_no polNo, report.pol_no polNo,
report.remark remark, report.remark remark,
disable.BIRTHDAY birthday, disable.BIRTHDAY birthday,
......
package com.hungraim.ltc.pojo.entity.disable; package com.hungraim.ltc.pojo.entity.disable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data; import lombok.Data;
...@@ -8,7 +11,9 @@ import lombok.Data; ...@@ -8,7 +11,9 @@ import lombok.Data;
*/ */
@Data @Data
@TableName("CH_FND_DISEASE_TYPE") @TableName("CH_FND_DISEASE_TYPE")
@KeySequence("SEQ_CH_FND_DISEASE_TYPE")
public class ChFndDiseaseType { public class ChFndDiseaseType {
@TableId(type = IdType.INPUT)
private Integer diseTypeId; private Integer diseTypeId;
private String diseTypeCode; private String diseTypeCode;
private Integer parDiseTypeId; private Integer parDiseTypeId;
......
...@@ -91,4 +91,8 @@ public class TaskDistributionVO { ...@@ -91,4 +91,8 @@ public class TaskDistributionVO {
private String refuseReason; private String refuseReason;
//备注 //备注
private String refuseRemark; private String refuseRemark;
//诊断详情
private String diseaseDesc;
//现住地址详细地址
private String operAddress;
} }
...@@ -15,10 +15,7 @@ import com.hungraim.ltc.util.ResultCode; ...@@ -15,10 +15,7 @@ import com.hungraim.ltc.util.ResultCode;
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.DeleteMapping; import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
...@@ -192,8 +189,9 @@ public class NursingServiceItemsController { ...@@ -192,8 +189,9 @@ public class NursingServiceItemsController {
* @param chFndDiseaseTypes 疾病修改的信息 * @param chFndDiseaseTypes 疾病修改的信息
* @return 返回执行结果 * @return 返回执行结果
*/ */
@DeleteMapping("/saveDisease") @RequestMapping("/saveDisease")
public Result saveDisease(List<ChFndDiseaseType> chFndDiseaseTypes) { public Result saveDisease(@RequestBody List<ChFndDiseaseType> chFndDiseaseTypes) {
log.info("saveDisease");
if (chFndDiseaseTypes == null || chFndDiseaseTypes.size() <= 0) { if (chFndDiseaseTypes == null || chFndDiseaseTypes.size() <= 0) {
return Result.failed(ResultCode.REQUEST_PARAM_ERROR); return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
} }
......
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