Commit 18dc4947 authored by xixinzhao's avatar xixinzhao

增加字段

parent f289ac8f
...@@ -73,4 +73,7 @@ public class PowerStationDto extends BaseDto { ...@@ -73,4 +73,7 @@ public class PowerStationDto extends BaseDto {
private String nextProcessNode; private String nextProcessNode;
@ApiModelProperty(value = "计划实例id")
private String planInstanceId;
} }
...@@ -121,4 +121,10 @@ public class PowerStation extends BaseEntity { ...@@ -121,4 +121,10 @@ public class PowerStation extends BaseEntity {
*/ */
@TableField("flow_task_id") @TableField("flow_task_id")
private String flowTaskId; private String flowTaskId;
/**
* 计划实例id
*/
@TableField("plan_instance_id")
private String planInstanceId;
} }
...@@ -213,6 +213,7 @@ public class SurveyInformationServiceImpl extends BaseService<SurveyInformationD ...@@ -213,6 +213,7 @@ public class SurveyInformationServiceImpl extends BaseService<SurveyInformationD
peasantHousehold.setReview(1); peasantHousehold.setReview(1);
String code = submit.getResult(); String code = submit.getResult();
// 插入记录表 // 插入记录表
powerStation.setPlanInstanceId(planId);
powerStation.setPowerStationCode(peasantHousehold.getPeasantHouseholdNo()); powerStation.setPowerStationCode(peasantHousehold.getPeasantHouseholdNo());
powerStation.setOwnersName(peasantHousehold.getOwnersName()); powerStation.setOwnersName(peasantHousehold.getOwnersName());
powerStation.setProjectAddress(peasantHousehold.getProjectAddressName()); powerStation.setProjectAddress(peasantHousehold.getProjectAddressName());
......
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