新增风险程度字段

This commit is contained in:
yuezhihang
2021-11-23 13:49:44 +08:00
parent 48bde6960b
commit ce7a6656b4
2 changed files with 6 additions and 1 deletions
@@ -79,7 +79,7 @@ public class SarStandardComplianceAssessResultController {
if (eo.getPosition() == 1) {
QueryWrapper<SarInterpretationNationalStandard> queryWrapper = new QueryWrapper<>();
IPage<SarInterpretationNationalStandard> iPage = new Page<>(eo.getCurrent(), eo.getSize());
queryWrapper.select("distinct STAND_ID, STAND_NUMBER, STAND_NAME, STAND_TYPE, INTERPRETATION_TIME");
queryWrapper.select("distinct STAND_ID, STAND_NUMBER, STAND_NAME, STAND_TYPE, INTERPRETATION_TIME,risk_degree");
if (eo.getStandName() != null && !eo.getStandName().trim().equals("")) {
queryWrapper.like("STAND_NAME", eo.getStandName().trim());
}
@@ -93,4 +93,9 @@ public class SarInterpretationNationalStandard extends BaseEntity {
@TableField("ID")
private String id;
@ApiModelProperty(value = "风险程度")
@TableField("risk_degree")
private String riskDegree;
}