Commit 17d940b4 authored by KeYong's avatar KeYong

巡检记录添加公司字段

parent dc746016
...@@ -45,6 +45,16 @@ public class CheckInfoVo { ...@@ -45,6 +45,16 @@ public class CheckInfoVo {
@Excel(name = "备注说明", orderNum = "14") @Excel(name = "备注说明", orderNum = "14")
private String remark; private String remark;
private String bizOrgName;
public void setBizOrgName(String bizOrgName) {
this.bizOrgName = bizOrgName;
}
public String getBizOrgName() {
return bizOrgName;
}
public String getId() { public String getId() {
return id; return id;
} }
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<result property="planTaskId" column="plan_Task_Id"/> <result property="planTaskId" column="plan_Task_Id"/>
<result property="catalogId" column="Catalog_Id"/> <result property="catalogId" column="Catalog_Id"/>
<result property="depId" column="departmentId"/> <result property="depId" column="departmentId"/>
<result property="bizOrgName" column="bizOrgName"/>
</resultMap> </resultMap>
<!--统计-记录统计 --> <!--统计-记录统计 -->
<select id="countCheckInfoData" resultType="long"> <select id="countCheckInfoData" resultType="long">
...@@ -272,7 +272,8 @@ ...@@ -272,7 +272,8 @@
a.`route_id`, a.`route_id`,
b.`catalog_id`, b.`catalog_id`,
a.error, a.error,
a.remark a.remark,
b.biz_org_name AS bizOrgName
FROM FROM
`p_check` `a` `p_check` `a`
LEFT JOIN `p_point` `b` ON `a`.`point_id` = `b`.`id` LEFT JOIN `p_point` `b` ON `a`.`point_id` = `b`.`id`
......
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