diff --git a/ruoyi-kaohe/src/main/java/com/ruoyi/kaohe/domain/KhVote.java b/ruoyi-kaohe/src/main/java/com/ruoyi/kaohe/domain/KhVote.java index 31842d2..3875ebd 100644 --- a/ruoyi-kaohe/src/main/java/com/ruoyi/kaohe/domain/KhVote.java +++ b/ruoyi-kaohe/src/main/java/com/ruoyi/kaohe/domain/KhVote.java @@ -31,6 +31,10 @@ public class KhVote extends BaseEntity @Excel(name = "所属评测名称") private String pingceName; + /** 被考核对象类型 */ + //@Excel(name = "被考核对象类型") + private String bkhdxType; + /** 考核项id */ @Excel(name = "考核项id") private Long khitemId; @@ -100,6 +104,14 @@ public class KhVote extends BaseEntity return umax; } + public String getBkhdxType() { + return bkhdxType; + } + + public void setBkhdxType(String bkhdxType) { + this.bkhdxType = bkhdxType; + } + public void setUmax(Integer umax) { this.umax = umax; } @@ -272,6 +284,7 @@ public class KhVote extends BaseEntity .append("id", getId()) .append("pingceId", getPingceId()) .append("pingceName", getPingceName()) + .append("bkxdxType", getBkhdxType()) .append("khitemId", getKhitemId()) .append("khitemName", getKhitemName()) .append("khitemTypeid", getKhitemTypeid()) diff --git a/ruoyi-kaohe/src/main/resources/mapper/kaohe/KhVoteMapper.xml b/ruoyi-kaohe/src/main/resources/mapper/kaohe/KhVoteMapper.xml index cac924d..69d6a1c 100644 --- a/ruoyi-kaohe/src/main/resources/mapper/kaohe/KhVoteMapper.xml +++ b/ruoyi-kaohe/src/main/resources/mapper/kaohe/KhVoteMapper.xml @@ -8,6 +8,7 @@ + @@ -29,14 +30,16 @@ - select id, pingce_id, pingce_name, khitem_id, khitem_name, khitem_typeId, vote_items, vote_title, v_description, s_time, e_time, max_num, umax, percentage, `state`,same_percent, create_by, create_time, update_by, update_time, remark from kh_vote + select id, pingce_id, pingce_name,bkhdx_type, khitem_id, khitem_name, khitem_typeId, vote_items, vote_title, v_description, s_time, e_time, max_num, umax, percentage, `state`,same_percent, create_by, create_time, update_by, update_time, remark from kh_vote - +