Commit b1177d9d authored by chenzhao's avatar chenzhao

修改powerstation项目地址

parent 7f3dfb25
...@@ -294,8 +294,11 @@ public class SurveyInformationServiceImpl ...@@ -294,8 +294,11 @@ public class SurveyInformationServiceImpl
} }
peasantHousehold peasantHousehold
.setPermanentAddressName(permanentAddressName.substring(0, permanentAddressName.length() - 1)); .setPermanentAddressName(permanentAddressName.substring(0, permanentAddressName.length() - 1));
powerStation.setProjectAddress(projectAddressName.substring(0, projectAddressName.length() - 1)); if(ObjectUtils.isNotEmpty(powerStation)){
powerStationMapper.updateById(powerStation); powerStation.setProjectAddress(projectAddressName.substring(0, projectAddressName.length() - 1));
powerStationMapper.updateById(powerStation);
}
if (OPERATION_TYPE_SUBMIT.equals(operationType)) { if (OPERATION_TYPE_SUBMIT.equals(operationType)) {
// peasantHousehold.setSurveyOrNot(1); // peasantHousehold.setSurveyOrNot(1);
} else if (OPERATION_TYPE_APPLY.equals(operationType)) { } else if (OPERATION_TYPE_APPLY.equals(operationType)) {
......
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