Commit 8b53b30c authored by 鲍德's avatar 鲍德

岗位巡查人员增加状态

parent 08aaf89f
...@@ -118,6 +118,7 @@ public class CurrentRiskPostController extends BaseController ...@@ -118,6 +118,7 @@ public class CurrentRiskPostController extends BaseController
currentRiskPostList.setCurrentRiskId(vo.getId()); currentRiskPostList.setCurrentRiskId(vo.getId());
currentRiskPostList.setPatrolType(vo.getPatrolType()); currentRiskPostList.setPatrolType(vo.getPatrolType());
currentRiskPostList.setCreateTime(new Date()); currentRiskPostList.setCreateTime(new Date());
currentRiskPostList.setStatus(vo.getStatus());
currentRiskPostLists.add(currentRiskPostList); currentRiskPostLists.add(currentRiskPostList);
}); });
if(!CollectionUtils.isEmpty(currentRiskPostLists)){ if(!CollectionUtils.isEmpty(currentRiskPostLists)){
......
...@@ -14,4 +14,6 @@ public class CurrentRiskPostListSaveVO { ...@@ -14,4 +14,6 @@ public class CurrentRiskPostListSaveVO {
@ApiModelProperty("巡查类型") @ApiModelProperty("巡查类型")
private String patrolType; private String patrolType;
private String status;
} }
...@@ -44,6 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -44,6 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.update_by, a.update_by,
a.update_time, a.update_time,
a.remark, a.remark,
a.status,
b.type currentRiskType b.type currentRiskType
FROM FROM
current_risk_post_list a current_risk_post_list a
......
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