Commit 83859cd8 authored by wangxl's avatar wangxl

1

parent 48d8f735
......@@ -41,4 +41,6 @@ public class ComEvaluationItem extends BaseEntity {
@ApiModelProperty(value = "备注", position = 6)
@Length(max=200, message = "备注不能大于200")
private String remark;
/** 状态 1 正常 0 注销 */
private Integer state;
}
......@@ -44,6 +44,8 @@ public class ComEvaluationItemDTO extends BaseDTO {
@ApiModelProperty(value = "备注", position = 6)
@Length(max=200, message = "备注不能大于200")
private String remark;
/** 状态 1 正常 0 注销 */
private Integer state;
/** 父Id */
@ApiModelProperty(value = "父Id", position = 2)
......
......@@ -11,7 +11,7 @@
FROM com_evaluation_item a
left join com_evaluation_item b on a.parent_id=b.id
left join com_evaluation_item c on b.parent_id=c.id
where a.evaluation_id=#{evaluationId} and b.id is not null and c.id is not null
where a.evaluation_id=#{evaluationId} and b.id is not null and c.id is not null and a.state=1 and b.state=1 and c.state=1
order by a.show_index asc
</select>
</mapper>
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