Commit 67be7a1c authored by zhengjiangtao's avatar zhengjiangtao

fix bug

parent 618f20b8
...@@ -18,6 +18,11 @@ public class PointCheckInfoBusinessRespone { ...@@ -18,6 +18,11 @@ public class PointCheckInfoBusinessRespone {
private String nodeState; private String nodeState;
private Long checkId; private Long checkId;
/**
* 巡检人ID
*/
private String userId;
/** /**
* 检查项 * 检查项
*/ */
...@@ -77,4 +82,13 @@ public class PointCheckInfoBusinessRespone { ...@@ -77,4 +82,13 @@ public class PointCheckInfoBusinessRespone {
public void setItems(List<CheckInputBusinessResponse> items) { public void setItems(List<CheckInputBusinessResponse> items) {
this.items = items; this.items = items;
} }
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
} }
...@@ -1823,6 +1823,7 @@ ...@@ -1823,6 +1823,7 @@
<result property="id" column="pointId"/> <result property="id" column="pointId"/>
<result property="name" column="pointName"/> <result property="name" column="pointName"/>
<result property="nodeState" column="status"/> <result property="nodeState" column="status"/>
<result property="userId" column="user_id"/>
<collection property="pointInputitems" <collection property="pointInputitems"
ofType="com.yeejoin.amos.patrol.common.core.response.CheckInputBusinessResponse" ofType="com.yeejoin.amos.patrol.common.core.response.CheckInputBusinessResponse"
select="queryPointInputBu" column="{checkId=checkId}"> select="queryPointInputBu" column="{checkId=checkId}">
...@@ -1833,6 +1834,7 @@ ...@@ -1833,6 +1834,7 @@
pc.point_id pointId, pc.point_id pointId,
pp.`name` pointName, pp.`name` pointName,
pc.is_ok status, pc.is_ok status,
pc.user_id as userId,
pc.id checkId pc.id checkId
FROM FROM
p_check pc p_check pc
......
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