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

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

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