From 364d7d60f5f95aae57404b07abe9d013fb2e814f Mon Sep 17 00:00:00 2001 From: hshansha Date: Thu, 30 Oct 2025 11:50:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E5=88=86=E4=BB=BB=E5=8A=A1=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E6=9F=A5=E8=AF=A2=E5=B8=A6bkhdxType?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ruoyi/kaohe/domain/KhVote.java | 13 +++++++++++++ .../main/resources/mapper/kaohe/KhVoteMapper.xml | 16 ++++++++++------ 2 files changed, 23 insertions(+), 6 deletions(-) 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 - +