Commit 4ade0d40 authored by 周昊's avatar 周昊

1、现有风险评分保存

parent 8abd3356
...@@ -7,6 +7,8 @@ import com.baomidou.mybatisplus.annotation.TableName; ...@@ -7,6 +7,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity; import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data; import lombok.Data;
import java.math.BigDecimal;
/** /**
* 现有风险清单库对象 risk_plan_existing_list * 现有风险清单库对象 risk_plan_existing_list
* *
...@@ -72,6 +74,12 @@ public class RiskPlanExistingList extends BaseEntity { ...@@ -72,6 +74,12 @@ public class RiskPlanExistingList extends BaseEntity {
@TableField("level") @TableField("level")
private String level; private String level;
/**
* 风险等级分数
*/
@TableField("level_score")
private BigDecimal levelScore;
/** /**
* 存在部位 * 存在部位
*/ */
......
...@@ -5,6 +5,8 @@ import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; ...@@ -5,6 +5,8 @@ import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data; import lombok.Data;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import java.math.BigDecimal;
/** /**
* 固有风险清单库对象 risk_inherent_list * 固有风险清单库对象 risk_inherent_list
* *
...@@ -59,6 +61,11 @@ public class RiskExistingListSaveDto { ...@@ -59,6 +61,11 @@ public class RiskExistingListSaveDto {
*/ */
private String level; private String level;
/**
* 风险等级
*/
private BigDecimal levelScore;
/** /**
* 存在部位 * 存在部位
*/ */
......
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